-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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/cirrus: use Fedora 35 #3261
Merged
Merged
ci/cirrus: use Fedora 35 #3261
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kolyshkin
force-pushed
the
test-f35
branch
2 times, most recently
from
November 4, 2021 01:49
b744b03
to
bb0f029
Compare
The misc cgroup controller, introduced in Linux 5.13, is still unknown to systemd, and thus it cannot delegate it. Add an appropriate fixup to the test case, similar to an earlier commit 601cf58. Signed-off-by: Kir Kolyshkin <[email protected]>
Some test directories are created using mktemp -d, and so they have permissions set to 0700 and are thus inaccessible to a user inside userns. This was workarounded for $ROOT in userns.bats before. Now, when we have updated Cirrus CI config to use Fedora 35 (rather than 34), userns tests fail: > runc run failed: unable to start container process: error during > container init: error preparing rootfs: mount > /tmp/bats-run-4pCERd/runc.f66gCC/bundle/rootfs:/tmp/bats-run-4pCERd/runc.f66gCC/bundle/rootfs, > flags: 0x5000: permission denied Fedora 34 image used kernel v5.11, while Fedora 35 has v5.15. Apparently, the newer kernel also checks that the parent directories are accessible by the user before doing mount. Move the old workaround from userns.bats to helpers.bats, drop the r bit (not needed), and add $BATS_RUN_TMPDIR (also created by mktemp -d) to fix userns.bats test failures under Fedora 35. Signed-off-by: Kir Kolyshkin <[email protected]>
Also rename `Vagrantfile.fedora%d` to `Vagrantfile.fedora` so that we do not need to reset the commit log on upgrading the Fedora release. Signed-off-by: Akihiro Suda <[email protected]>
@rata @AkihiroSuda PTAL |
AkihiroSuda
approved these changes
Nov 4, 2021
Thanks, still draft? |
No longer a draft. I have also changed the branch protection rules to require |
@thaJeztah @cyphar PTAL |
mrunalp
approved these changes
Nov 4, 2021
This was referenced Nov 4, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use Fedora 35 for testing; fix two test issues caused by the newer kernel.
This includes/carries #3258 and obsoletes #3260.
Closes: #3258
Closes: #3260