Wait for Foreman tasks in backup integration tests
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- cli, testing-qa
Research direction
Locate the backup integration fixture that invokes foremanctl backup, then compare its success-path setup with the failing CI jobs linked in the issue. Verify the fixture waits for active tasks while the user-facing default remains fail-fast, and rerun the Satellite and IOP integration jobs to confirm successful archive creation.
Written by the indexing model from the issue text.
Description
The backup integration fixture exercises successful archive creation immediately after deployment. Satellite and IOP deployments can still have valid Foreman tasks in progress, but the fixture invokes foremanctl backup without --wait-for-tasks. The production preflight then correctly rejects the backup before any archive is written.
This is reproducible in the exact-head CI for PR #892:
The success-path fixture should opt into waiting for active tasks. The user-facing default must remain fail-fast unless --wait-for-tasks is explicitly requested.
- Dominant language
- Python
- Stars
- 26
- Forks
- 56
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 34
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from theforeman/foremanctl
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
theforeman/foremanctl#982 · 1 comment ·
Maintainers usually reply within 1 day
-
Stop checking the removed Katello event daemonPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
theforeman/foremanctl#913 ·
Maintainers usually reply within 1 day
-
Serialize image service pullsPossibly taken @jakduch claimed this 45 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
theforeman/foremanctl#881 ·
Maintainers usually reply within 1 day
-
Use a larger fapolicyd subject cache in deployment testsPossibly taken @jakduch claimed this 45 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
theforeman/foremanctl#880 ·
Maintainers usually reply within 1 day
-
Avoid privilege escalation timeout while waiting for PostgreSQLPossibly taken @jakduch claimed this 47 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
theforeman/foremanctl#862 ·
Maintainers usually reply within 1 day
All issues in theforeman/foremanctl
Similar issues
-
physical
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
antonyrag/ragleap-core#1339 ·
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
AllenCell/SubCellSeg#5 ·
-
[🐛 Bug]: oidc_authverifier.py strips trailing slash causing "Invalid token: Invalid issuer" errorOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
keephq/keep#6934 · 1 reaction ·
Maintainers usually reply within 1 day
-
bug game: 01008BA02525A000 ios
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 87/100
gke-labs/kube-agents#5501 ·
Maintainers usually reply within 1 day