Skip to content

skip arm package failures #8588

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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Conversation

edmundmiller
Copy link
Contributor

@edmundmiller edmundmiller commented Jun 2, 2025

Follow-up to #8586

When an ARM build fails in either the conda-wave or dockerfile-wave jobs, it will:

  1. Create a simple .skip-arm file in the module directory
  2. Put the GitHub Actions run URL in the file (e.g., https://github.com/nf-core/modules/actions/runs/12345)
  3. This will automatically cause future ARM tests to be skipped for that module
  4. The URL provides direct access to the failed build logs

@edmundmiller edmundmiller self-assigned this Jun 2, 2025
@edmundmiller edmundmiller force-pushed the skip-arm-package-failures branch from e34b9f2 to 88c55d5 Compare June 2, 2025 17:40
@edmundmiller edmundmiller marked this pull request as ready for review June 2, 2025 19:06
@edmundmiller edmundmiller requested review from mashehu and ewels June 2, 2025 19:06
@edmundmiller edmundmiller moved this to Waiting to be merged in arm64 software builds Jun 2, 2025
@edmundmiller edmundmiller force-pushed the skip-arm-package-failures branch from bc4491b to 83a6d7c Compare June 2, 2025 19:23
@edmundmiller edmundmiller force-pushed the skip-arm-package-failures branch from 2a5983e to b1e9b57 Compare June 3, 2025 15:44
- Introduced `filter_arm_failure_tests.py` to filter test paths based on ARM build failure markers.
- Added `manage_arm_failures.py` for adding, removing, and listing ARM failure markers for modules.
- Created `report_arm_build_failure.py` to filter ARM builds based on failure markers in CI workflows.
- Updated GitHub Actions workflows to integrate ARM failure filtering.
- Documented ARM build failure management in `ARM_BUILD_FAILURES.md`.
- Added example failure marker for `fastqc` module.
- Removed scripts for managing ARM build failures and filtering tests.
- Introduced `filter_arm_tests.py` to skip ARM tests based on `.skip-arm` marker files.
- Updated GitHub Actions workflows to utilize the new skip marker system.
- Revised documentation to reflect changes in ARM test management.
- Changed the path for the `.skip-arm` marker from the module root to the `tests` directory in `filter_arm_tests.py` and GitHub Actions workflows.
- Updated documentation in `ARM_BUILD_FAILURES.md` to reflect the new path for skipping ARM tests.
- Added a new `.skip-arm` file for the `kraken2` module in the `tests` directory.
- Introduced a step to commit and push ARM skip markers when tests fail on the linux/arm64 platform.
- Configured Git user details for the bot to handle commits automatically.
@edmundmiller edmundmiller force-pushed the skip-arm-package-failures branch 2 times, most recently from 7232766 to a02529f Compare June 3, 2025 16:10
- Introduced `add_arm_failure_tag.py` script to append the `arm_failure` tag to nf-test files for modules that fail on ARM architecture.
- Updated GitHub workflows to utilize the new script for tagging during ARM test failures.
- Removed obsolete `.skip-arm` files in favor of the new tagging system.
@edmundmiller edmundmiller linked an issue Jun 3, 2025 that may be closed by this pull request
@edmundmiller edmundmiller force-pushed the skip-arm-package-failures branch from a02529f to 3d8a24e Compare June 3, 2025 16:24
@edmundmiller edmundmiller enabled auto-merge June 3, 2025 17:23
@@ -188,7 +187,7 @@ jobs:
run: exit 1

- name: If no tests run, but filtered_paths was not empty and no tests succeeded, fail
if: ${{ needs.nf-test.outputs.filtered_paths != '' && !contains(needs.*.result, 'success') }}
if: ${{ needs.nf-test.outputs.arm_filtered_paths != '' && !contains(needs.*.result, 'success') }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is arm_filtered_paths defined?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no docs in this repo please. this should be on the website.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also I think this is outdated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting to be merged
Status: In Progress
Development

Successfully merging this pull request may close these issues.

Turn of dockerfile arm builds
4 participants