Skip to content

Run integration tests on QNX via QEMU#328

Open
danth wants to merge 4 commits into
eclipse-score:mainfrom
etas-contrib:qemu-integration
Open

Run integration tests on QNX via QEMU#328
danth wants to merge 4 commits into
eclipse-score:mainfrom
etas-contrib:qemu-integration

Conversation

@danth

@danth danth commented Jul 16, 2026

Copy link
Copy Markdown
Member

Closes #316.

Outstanding issues:

  • A separate --config argument is now needed to run unit tests, as otherwise the unit test framework adds an unwanted second layer of emulation to the integration tests. Since they are using --run_under it is difficult to avoid this.
    • As a result, QNX unit tests now fail when running with the old flag, as they try to run directly on the local machine. Ideally they would be skipped instead.
  • Likely some unnecessary things installed in the VM, due to most of the configuration being copied from the communication repository.
  • Missing documentation on how to obtain a QNX license / credentials to be able to run this locally.

Some of these could be tackled in future PRs.

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: fdc67a84-022c-4c32-8c5b-fa3546f7c315
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)

Analyzing: target //:license-check (37 packages loaded, 10 targets configured)

Analyzing: target //:license-check (80 packages loaded, 10 targets configured)

Analyzing: target //:license-check (86 packages loaded, 10 targets configured)

Analyzing: target //:license-check (144 packages loaded, 2767 targets configured)

Analyzing: target //:license-check (152 packages loaded, 6184 targets configured)

Analyzing: target //:license-check (156 packages loaded, 8212 targets configured)

Analyzing: target //:license-check (159 packages loaded, 8222 targets configured)

Analyzing: target //:license-check (164 packages loaded, 8271 targets configured)

Analyzing: target //:license-check (164 packages loaded, 8271 targets configured)

Analyzing: target //:license-check (164 packages loaded, 8271 targets configured)

Analyzing: target //:license-check (168 packages loaded, 10283 targets configured)

INFO: Analyzed target //:license-check (169 packages loaded, 10409 targets configured).
[4 / 15] [Prepa] Creating runfiles tree bazel-out/k8-fastbuild/bin/license.check.license_check.runfiles
[12 / 16] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s disk-cache, processwrapper-sandbox ... (2 actions running)
[14 / 16] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 0s disk-cache, processwrapper-sandbox
[15 / 16] Building license.check.license_check.jar (); 0s disk-cache, multiplex-worker
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 25.450s, Critical Path: 2.65s
INFO: 16 processes: 12 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 16 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt <args omitted>
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

@danth
danth force-pushed the qemu-integration branch from 69a20dc to c34280f Compare July 22, 2026 14:50
@danth
danth requested a deployment to workflow-approval July 22, 2026 14:50 — with GitHub Actions Waiting
@danth
danth requested a deployment to workflow-approval July 22, 2026 14:50 — with GitHub Actions Waiting
@danth
danth force-pushed the qemu-integration branch from c34280f to 4ced14b Compare July 22, 2026 14:55
@danth
danth requested a deployment to workflow-approval July 22, 2026 14:56 — with GitHub Actions Waiting
@danth
danth requested a deployment to workflow-approval July 22, 2026 14:56 — with GitHub Actions Waiting
@danth
danth force-pushed the qemu-integration branch from 4ced14b to 6ff365d Compare July 22, 2026 15:37
@danth
danth requested a deployment to workflow-approval July 22, 2026 15:37 — with GitHub Actions Waiting
@danth
danth requested a deployment to workflow-approval July 22, 2026 15:37 — with GitHub Actions Waiting
danth added 3 commits July 23, 2026 10:21
Our Bazel toolchain for Python does not work with QNX, so we need to use built-in libraries to parse the results instead.
@danth
danth force-pushed the qemu-integration branch from 6ff365d to 196beb3 Compare July 23, 2026 09:34
@danth
danth requested a deployment to workflow-approval July 23, 2026 09:34 — with GitHub Actions Waiting
@danth
danth requested a deployment to workflow-approval July 23, 2026 09:34 — with GitHub Actions Waiting
@github-actions

Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

With proper use of Bazel platforms rather than configs, I think it would be possible to do this in a much cleaner way.
However that would require deeper changes across our codebase and possibly in the test frameworks as well.
@danth
danth requested a deployment to workflow-approval July 23, 2026 14:14 — with GitHub Actions Waiting
@danth
danth requested a deployment to workflow-approval July 23, 2026 14:14 — with GitHub Actions Waiting
@danth
danth marked this pull request as ready for review July 23, 2026 14:18
@danth

danth commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

Introduce QNX8 support for feature integration tests

1 participant