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

CI: fix failed test_containerized.py integration test for containerized code #6707

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

unkcpz
Copy link
Member

@unkcpz unkcpz commented Jan 15, 2025

fixes #6709

The test is run in nightly.yml as integration test for running containerized code.
The problem may because the new ubuntu don't allow the container to get root permission even for singularity. Since singularity is anyway outdated and we support docker as containerized code engine. I change it to use docker to run the code from a image.
This also remove the CI action (which has no maintains for around 2 years) of building singularity.

@unkcpz unkcpz changed the title Manifest failed run Manifest failed test_container run Jan 15, 2025
@unkcpz unkcpz force-pushed the fail-container-ci branch 17 times, most recently from 68cd23a to 3dce90e Compare January 15, 2025 19:22
@unkcpz unkcpz force-pushed the fail-container-ci branch from 3dce90e to a15d772 Compare January 15, 2025 19:25
@unkcpz unkcpz changed the title Manifest failed test_container run CI: fix failed test_containerized.py integration test for containerized code Jan 15, 2025
@unkcpz unkcpz force-pushed the fail-container-ci branch 2 times, most recently from 90cbba7 to f548f6e Compare January 15, 2025 19:35
@unkcpz unkcpz force-pushed the fail-container-ci branch from c103b03 to 9ca39b6 Compare January 15, 2025 19:45
@unkcpz unkcpz force-pushed the fail-container-ci branch from acd6a15 to 237de85 Compare January 15, 2025 20:02
@unkcpz unkcpz requested a review from danielhollas January 15, 2025 20:03
Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.99%. Comparing base (b432611) to head (237de85).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6707   +/-   ##
=======================================
  Coverage   77.99%   77.99%           
=======================================
  Files         563      563           
  Lines       41762    41762           
=======================================
  Hits        32570    32570           
  Misses       9192     9192           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@danielhollas danielhollas left a comment

Choose a reason for hiding this comment

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

Nice cleanup!

- name: Run daemon nightly tests
id: daemon-tests
run: source .venv/bin/activate && .github/workflows/daemon_tests.sh
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
run: source .venv/bin/activate && .github/workflows/daemon_tests.sh
run: .github/workflows/daemon_tests.sh

I thing the venv is already activated by setup-uv action

@@ -55,9 +55,6 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: eWaterCycle/setup-singularity@v7 # for containerized code test
with:
singularity-version: 3.8.7

- name: Install system dependencies
run: sudo apt update && sudo apt install postgresql
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder if we should be installing graphviz here?

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.

Nightly test fails in ubuntu24.04 runner
2 participants