-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connectivity issue to GitHub on the CI #980
Comments
@davido We run most tests on CI without network access and instead inject the external repositories from the outside. This saves a lot of network traffic and I/O (because the Bazel integration tests don't have to extract the repository archives again and again). You can look at this PR where I explained yesterday to someone else how to fix test failures like this: bazelbuild/bazel#11436 |
I added an FAQ section to our docs and this question there now: https://github.com/bazelbuild/continuous-integration/blob/master/buildkite/README.md#my-tests-fail-on-bazel-ci-due-to-error-downloading :) |
Thanks @philwo for your help, code pointers and FAQ. Will adapt my PR correspondingly ;-) Some verification jobs for my PR were successful. Why would that be the case? Is connectivity only disabled for some jobs, while the other jobs are still fetching the data over the wire? Should this be fixed to be consistent? And this issue could be re-opened with the changed title: "Consistently disable connectivity for all CI Bazel jobs"? |
Unrelated to this issue, but one crucial link description is missing in the documentation: If one test is failing, then the log can be downloaded from the buildkite site. It took me quite some time to figure this out, under the section artifacts, ... This would be very usefel addition to the documentation. |
Yes, we cannot inject these repositories when running the tests on RBE, so tests running on that platform will fetch external repositories over the internet as before. I think it's actually good to have both kind of tests - e.g. we get the speed-up and hermeticity testing on non-RBE platforms via injected repos, but we also test that without all that injection magic the tests still work fine (or fail when they should) on RBE. |
Thanks for the suggestion. Fixed, see the new page: https://github.com/bazelbuild/continuous-integration/tree/master/buildkite#useful-links :) |
Thank for clarifying.
Great! Thanks ;-) |
I'm wondering why some tests are failing on Bazel CI.
For example in:
https://buildkite.com/bazel/bazel-bazel-github-presubmit/builds/6074#52c9f049-c069-4386-8353-82ec0e0a401d
where I added java_tools release on GitHub, it is failing to fetch:
https://storage.googleapis.com/bazel-untrusted-buildkite-artifacts/52c9f049-c069-4386-8353-82ec0e0a401d/src/test/shell/bazel/workspace_resolved_test/attempt_1.log
What am I missing? Should this dependency be added to the bazel mirror?
//CC @meteorcloudy @philwo
The text was updated successfully, but these errors were encountered: