Thanks Amith for the clarification. According to build logs in below link, you are using RBE in daily build. Is it possible to let people outside your company to have a try to see the potential of reducing the AOSP building time using RBE? https://ci.android.com/builds/submitted/8795921/aosp_arm64-userdebug/latest/view/logs/build.log
In our company the AOSP 11 building time is *1.5hr* which is still slow, as daily build and dev build are heavily depending on it. I have seen the large potential of RBE to improve the build efficiency, really appreciate if you could allow me to have a try on it. Thanks! Btw, I have checked services in your link ( https://bazel.build/community/remote-execution-services), seems they are all for Bazel project, but AOSP is based on Android.bp not Bazel. It will be much helpful if you could point me to a workable 3rd-party solution. Many thanks! Regards, John 在2022年6月28日星期二 UTC+8 23:51:47<Amith Dsouza> 写道: > Hi John, > > Google's RBE service is not generally available for building Android > Platform, please take a look at alternative options listed here - > https://bazel.build/community/remote-execution-services. > > Regards, > On Monday, June 27, 2022 at 11:02:37 AM UTC-7 [email protected] wrote: > >> Hi Android Building, >> >> I am following the site ( >> https://groups.google.com/g/android-building/c/EJradKEiPl0) to build >> AOSP 11 with Google RBE service. I have created the service account and >> enabled the "Remote Build Execution API" service in Google Cloud. After >> setup env variables, the make always show a TLS CA cert issue. Could you >> show me the correct way to get the TLS CA cert for Google RBE >> service?Thanks! >> >> Below is env variables setup: >> export RBE_service=remotebuildexecution.googleapis.com:443 >> export RBE_tls_ca_cert=rbe.crt >> export RBE_use_rpc_credentials=true >> export >> GOOGLE_APPLICATION_CREDENTIALS=loyal-theater-204209-c0471ad7c674.json >> ... >> >> I got rbe.cert using command "openssl s_client -connect >> remotebuildexecution.googleapis.com:443 -showcerts" and converted to DER >> format, and loyal-theater-204209-c0471ad7c674.json is my service account >> key file. >> >> Afte make, it always output below error, seems the TLS CA cert is wrong: >> E0626 12:33:13.387181 10559 bootstrap.go:91] Unable to start reproxy: >> F0626 12:32:53.444195 10569 main.go:122] Error connecting to remote >> execution client: Could not create TLS config: failed to load TLS CA >> certificates from rbe.crt >> >> I tried several ways to get the TLS CA cert, neither works, it always >> show above error. Really appreciated your help on it. Thank! >> >> Regards, >> John >> >> -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/89acfd24-3e87-45dd-b6e1-2b10e9545328n%40googlegroups.com.
