Skip to content

Conversation

@thaJeztah
Copy link
Member

Testing the latest master of runc; a significant amount of fixes/improvements went in runc since the latest release, so it's good to test if everything works well in containerd with those changes (and if a new release should be cut).

diffs:

The updated version of runc and gocapability add support for new capabilities
added in kernel 5.9

  • CAP_PERFMON
  • CAP_BPF
  • CAP_CHECKPOINT_RESTORE

@k8s-ci-robot
Copy link

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@thaJeztah
Copy link
Member Author

/test all

@k8s-ci-robot
Copy link

@thaJeztah: No jobs can be run with /test all.
The following commands are available to trigger jobs:

  • /test pull-containerd-build
  • /test pull-containerd-node-e2e
Details

In response to this:

/test all

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@thaJeztah
Copy link
Member Author

/test pull-containerd-build

@thaJeztah
Copy link
Member Author

/test pull-containerd-node-e2e

@theopenlab-ci
Copy link

theopenlab-ci bot commented Oct 30, 2020

Build succeeded.

@thaJeztah
Copy link
Member Author

@AkihiroSuda dod you know if the node-e2e is just a flaky, or is there a regression?

@thaJeztah
Copy link
Member Author

/test pull-containerd-node-e2e

2 similar comments
@AkihiroSuda
Copy link
Member

/test pull-containerd-node-e2e

@AkihiroSuda
Copy link
Member

/test pull-containerd-node-e2e

@k8s-ci-robot
Copy link

@thaJeztah: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-containerd-node-e2e 85eb13eae1b3d3a0c5807a63e344969853a74c7f link /test pull-containerd-node-e2e

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@AkihiroSuda
Copy link
Member

@thaJeztah Could you change PR to only update runc binary but keep libcontainer library?

@thaJeztah
Copy link
Member Author

@AkihiroSuda I see you used a more recent version in the moby PR as well; opencontainers/runc@cf6c074...8591c33

oh, nevermind, looks to be only test-changes, so should not make a different

Let me push a "revert" of this commit, and patch hack/install/install-runc.sh to hard-code this version of the binary 👍

@thaJeztah
Copy link
Member Author

Rebased as well while I'm at it

@theopenlab-ci
Copy link

theopenlab-ci bot commented Nov 6, 2020

Build succeeded.

@thaJeztah
Copy link
Member Author

Looks like it's green with just the binary updated, so may indeed be something in libcontainer? Let me try going back to the original version (both runc and libcontainer updated)

Copy link
Member

Choose a reason for hiding this comment

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

This line might be related, I guess

Copy link
Member Author

Choose a reason for hiding this comment

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

Not at my computer right now; would you be able to open a ticket in runc?

Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure we should have a ticket in runc repo, if the runc binary itself isn't breaking compatibility. runc basically doesn't care about compatibility of libcontainer Go pkgs.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Nov 6, 2020

Build succeeded.

@AkihiroSuda
Copy link
Member

Could you try this

diff --git a/pkg/cri/server/helpers_linux.go b/pkg/cri/server/helpers_linux.go
index 6fc70ede8..b0d1c93e5 100644
--- a/pkg/cri/server/helpers_linux.go
+++ b/pkg/cri/server/helpers_linux.go
@@ -142,6 +142,9 @@ func checkSelinuxLevel(level string) error {
 }
 
 func (c *criService) apparmorEnabled() bool {
+       if _, err := os.Stat("/sbin/apparmor_parser"); err != nil {
+               return false
+       }
        return runcapparmor.IsEnabled() && !c.config.DisableApparmor
 }
 

@thaJeztah
Copy link
Member Author

@AkihiroSuda added; wondering if that check should ideally be separate (also if we should log a warning if AppArmor is enabled, but the binary is missing 🤔)

@theopenlab-ci
Copy link

theopenlab-ci bot commented Nov 10, 2020

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Jan 11, 2021

Build succeeded.

  • containerd-build-arm64 : RETRY_LIMIT in 1m 00s (non-voting)

diffs:

- opencontainers/runc@v1.0.0-rc92...v1.0.0-rc92-215-gcf6c0741
- opencontainers/runtime-spec@4d89ac9...f9c09b4
- syndtr/gocapability@d983527...42c35b4

The updated version of runc and gocapability add support for new capabilities
added in kernel 5.9

- CAP_PERFMON
- CAP_BPF
- CAP_CHECKPOINT_RESTORE

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@theopenlab-ci
Copy link

theopenlab-ci bot commented Jan 11, 2021

Build succeeded.

  • containerd-build-arm64 : RETRY_LIMIT in 1m 00s (non-voting)

@AkihiroSuda
Copy link
Member

CI failing: error: pathspec 'v1.0.0-rc92.0.20201029234006-cf6c074115d0' did not match any file(s) known to git

@AkihiroSuda
Copy link
Member

v1.0.0-rc93 is now ready

@dims dims mentioned this pull request Feb 4, 2021
@thaJeztah
Copy link
Member Author

closing in favor of #4717

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.

3 participants