The linux Docker tests run as root
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
Research direction
Read the Docker workflow and the referenced toolchain_matrix.yml line 30 to see how the Linux tests are launched. Check how the workflow sets the user inside its Docker container, then run the Linux Foundation tests and confirm they no longer run as root and the two reported failures are addressed.
Written by the indexing model from the issue text.
Description
We tried running the linux Foundation tests in this repo's Docker workflow and found that two tests are failing because they're run as root, which we had to work around, swiftlang/swift-corelibs-foundation#5659. This is not a good idea, both because most code won't run this way and because we're then testing a different scenario.
Apparently this is a known issue, @rnro, shouldn't we fix this?
- Dominant language
- Swift
- Stars
- 115
- Forks
- 60
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 21
Getting set up
- No Dockerfile or Docker Compose file
- No 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 swiftlang/github-workflows
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
swiftlang/github-workflows#261 ·
Maintainers usually reply within 1 day
-
Update from actions/checkout@v4 to v6Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
swiftlang/github-workflows#258 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
swiftlang/github-workflows#312 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
swiftlang/github-workflows#267 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
swiftlang/github-workflows#256 · 3 comments ·
Maintainers usually reply within 1 day
All issues in swiftlang/github-workflows
Similar issues
-
a: plugins d: docs/ fyi-macos P2 platform-ios platform-macos team-ios
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jphacks/kz_2601#1375 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day