Skip to content
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

Many tests failing on Buildkite nightly #143

Closed
jin opened this issue Jul 31, 2018 · 4 comments
Closed

Many tests failing on Buildkite nightly #143

jin opened this issue Jul 31, 2018 · 4 comments
Assignees

Comments

@jin
Copy link
Member

jin commented Jul 31, 2018

They all have the same error message:

exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //configs/debian8_clang:debian8-clang-0.3.0-bazel_0.14.1-autoconfig_test
-----------------------------------------------------------------------------
++ main
+++ pwd
++ export PYTHON_RUNFILES=/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/7dff7d5699a88cff8b8587d4b4e0a89c/sandbox/linux-sandbox/524/execroot/bazel_toolchains/bazel-out/k8-fastbuild/bin/configs/debian8_clang/debian8-clang-0.3.0-bazel_0.14.1-autoconfig_test.runfiles/bazel_toolchains/../
++ PYTHON_RUNFILES=/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/7dff7d5699a88cff8b8587d4b4e0a89c/sandbox/linux-sandbox/524/execroot/bazel_toolchains/bazel-out/k8-fastbuild/bin/configs/debian8_clang/debian8-clang-0.3.0-bazel_0.14.1-autoconfig_test.runfiles/bazel_toolchains/../
++ trap cleanup_on_finish EXIT
++ mkdir ./project_src
++ tar -xf external/bazel_toolchains/rules/cc-sample-project-tar.tar -C ./project_src
tar: external/bazel_toolchains/rules/cc-sample-project-tar.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
++ cleanup_on_finish
++ rm -drf ./project_src
++ rm outputs.tar
rm: cannot remove 'outputs.tar': No such file or directory
=== Deleting images  ===
Deleting all dangling images...

Please see https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/364#b650c23a-0a24-4f32-bf61-a070bbe9fc2f

ping @nlopezgi @xingao267

@xingao267
Copy link
Member

Will take a look.

@xingao267 xingao267 self-assigned this Jul 31, 2018
@xingao267
Copy link
Member

I assume the nightly is built and tested using Bazel HEAD or some commit close Bazel HEAD. I tested it locally and they are find. These tests also pass in presubmit as well. Maybe something in Bazel between HEAD and 0.15.2 breaks this?

@jin
Copy link
Member Author

jin commented Jul 31, 2018

Pulling in @philwo @buchgr, any ideas?

@philwo
Copy link
Member

philwo commented Aug 2, 2018

tar: external/bazel_toolchains/rules/cc-sample-project-tar.tar: Cannot open: No such file or directory

The "Bazel (with downstream projects)" uses a Bazel built from HEAD to test the downstream projects. So, considering that https://buildkite.com/bazel/bazel-toolchains/builds/668 is green but https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/367#3e3b5f1a-1c6e-4323-9d6b-bd0d2e6bc259 is red, I'd assume that something between Bazel 0.16.0 and Bazel HEAD broke.

Can you repro the failure when you build Bazel from HEAD and then use that Bazel to run the tests? If yes, I'd recommend a git bisect. I can help with that, but I have to fix another blocking bug for Nick first today and I'll be out of office tomorrow :|

freeformstu pushed a commit to freeformstu/bazel-toolchains that referenced this issue Nov 11, 2023
freeformstu pushed a commit to freeformstu/bazel-toolchains that referenced this issue Nov 11, 2023
External tests still need to be on 14, because of crashes in some tests
with LLVM 15.

Suse tests work with LLVM 13 now, so they have been re-enabled
(fixes bazelbuild#143).

For macOS, Intel binaries are available only for 15.0.7, but for Linux,
binaries are available only for 15.0.6. So we now include a mechanism to
provide different version strings for different {os, arch} pair.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants