Skip to content

Run the O2DPG simulation tests against a CVMFS release instead of building O2sim - #2470

Merged
sawenzel merged 1 commit into
masterfrom
cvmfs-sim-tests
Sep 22, 2026
Merged

sawenzel merged 1 commit into
masterfrom
cvmfs-sim-tests

Conversation

@sawenzel

@sawenzel sawenzel commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Replaces the build/O2DPG/sim/o2 aliBuild check with a GitHub Actions job that runs the existing tests against a published O2PDPSuite release from CVMFS. Nothing is compiled, so an unrelated recipe failure elsewhere in the stack can no longer fail an O2DPG pull request.

Also fixes two exit-code bugs in test/run_workflow_tests.sh: ret_global_pwg never reached the final exit code, and the AnalysisQC execution block was gated differently from the announcement above it.

The alidist recipe and the ali-bot check stay in place until this has run green beside them.

Draft: open to exercise the new job on real CI.

@github-actions

Copy link
Copy Markdown

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

This replaces the aliBuild-based simulation-test check with a GitHub Actions
job that runs the existing tests against a published O2PDPSuite release, and
fixes two exit-code problems in the workflow tests.

- test/run_tests.sh now owns the environment setup, sub-test selection and
  exit-code aggregation that lived in the alidist recipe body.
- The new job runs on a self-hosted runner with CVMFS and compiles nothing.
- run_workflow_tests.sh dropped ret_global_pwg from its final exit code, so a
  failed PWG workflow creation reported FAILED and still passed.
- The AnalysisQC execution block was gated differently from the announcement
  above it; both now agree.
- Three offline harnesses under test/tests/ check the entrypoint, the tag
  selection and the exit-code aggregation, and syntax-checks.yml runs them.
- Touching test/needs-o2-dev opts a pull request into a source build against
  O2 dev, for changes that cannot use a published release.
- curl's include directory is added to ROOT_INCLUDE_PATH, derived from
  curl-config, because O2's CCDB dictionary payload includes curl/curl.h and a
  runtime environment carries no curl headers.
- The alidist recipe and the ali-bot check are left in place for now.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sawenzel
sawenzel marked this pull request as ready for review September 22, 2026 06:10
@sawenzel
sawenzel merged commit 8d5dc8b into master Sep 22, 2026
17 checks passed
@sawenzel
sawenzel deleted the cvmfs-sim-tests branch September 22, 2026 06:10
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

Successfully merging this pull request may close these issues.

1 participant