feat: Add integration test framework#126
Draft
lurtz wants to merge 49 commits into
Draft
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
This reverts commit 8f84bd0.
Bazel 8.3.0 introduced a repo_contents_cache feature (--repo_contents_cache) that has a known bug (#26450): root-level non-directory files (such as symlinks) are silently removed from cached repository contents. This causes the rules_python 1.9.0 host_compatible_python_repo rule to fail: execvp(.../python_3_12_host/python, ...): No such file or directory Because python_3_12_host/python is an absolute symlink to the python binary in the impl repo (python_3_12_x86_64-unknown-linux-gnu), and that symlink is a root-level file that gets dropped by the buggy cache. Bazel 8.4.0 disables repo_contents_cache by default as a workaround. This upgrade from 8.3.0 to 8.4.1 fixes the QNX CI python_3_12_host failure. Also fix Starlark formatting in quality/integration_testing/plugins/linux_qemu/BUILD: reorder py_test attributes to satisfy buildifier ordering requirements.
lurtz
commented
May 22, 2026
| @@ -1 +1 @@ | |||
| 8.3.0 | |||
| 8.4.1 | |||
Contributor
Author
There was a problem hiding this comment.
With older bazel version Python 3.12 is not found in QNX builds
| module_name = "score_bazel_cpp_toolchains", | ||
| commit = "30d9f4151db55af066e5bbf8a0a3672469ec0293", # Last verified: 2026-04-09 | ||
| remote = "https://github.com/etas-contrib/score_bazel_cpp_toolchains.git", | ||
| ) |
Contributor
Author
There was a problem hiding this comment.
can likely be removed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We need a way to run integration tests and in the best case they are oblivious to the platform they are run on. For that reason the code from communication/quality has been copied, but the sanitizer tests have been excluded.
It abstracts at the moment running the test in Docker on Linux and QEMU on QNX. Optionally on Linux tests can be run using QEMU.
#19 is similar. It focuses only on QNX and runs two QEMU instances.