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

run e2e tests using crun #2943

Merged
merged 2 commits into from
Nov 27, 2019
Merged

Conversation

giuseppe
Copy link
Member

@giuseppe giuseppe commented Nov 4, 2019

Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Nov 4, 2019
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: giuseppe

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 4, 2019
@codecov
Copy link

codecov bot commented Nov 4, 2019

Codecov Report

Merging #2943 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2943   +/-   ##
=======================================
  Coverage   47.08%   47.08%           
=======================================
  Files          88       88           
  Lines        7155     7155           
=======================================
  Hits         3369     3369           
  Misses       3496     3496           
  Partials      290      290

@giuseppe giuseppe force-pushed the run-fedora-crun branch 3 times, most recently from 0ef0b3c to 21cba04 Compare November 5, 2019 08:11
@giuseppe
Copy link
Member Author

giuseppe commented Nov 5, 2019

@rhatdan @mrunalp tests pass on Fedora.

Failures on RHEL are expected as there are missing build dependencies

giuseppe added a commit to giuseppe/aos-cd-jobs that referenced this pull request Nov 5, 2019
Depends on: cri-o/cri-o#2943

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 5, 2019
@giuseppe
Copy link
Member Author

giuseppe commented Nov 5, 2019

I've pushed another version where crun installation can be configured.

crun tests won't run until openshift-eng/aos-cd-jobs#2027 is not merged

@giuseppe giuseppe force-pushed the run-fedora-crun branch 3 times, most recently from f2678a3 to a5f3bf4 Compare November 7, 2019 18:59
@haircommander
Copy link
Member

(this will need #2955 to be in before any jenkins tests will pass BTW)

@giuseppe giuseppe force-pushed the run-fedora-crun branch 2 times, most recently from f81dcb5 to bfd0925 Compare November 8, 2019 12:16
@giuseppe giuseppe force-pushed the run-fedora-crun branch 4 times, most recently from b28fa59 to b921dcc Compare November 13, 2019 15:55
@haircommander
Copy link
Member

LGTM @giuseppe can WIP be removed?

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe
Copy link
Member Author

@mrunalp @haircommander PTAL

@rhatdan rhatdan changed the title [WIP]: run e2e tests using crun run e2e tests using crun Nov 26, 2019
@openshift-ci-robot openshift-ci-robot removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Nov 26, 2019
@rhatdan
Copy link
Contributor

rhatdan commented Nov 26, 2019

LGTM, but you still had one test fail.
Removed the WIP.

@haircommander
Copy link
Member

Am i correct in thinking there aren't any tests running with crun yet? This seems to lay the skeleton

@TomSweeneyRedHat
Copy link
Contributor

LGTM assuming happy tests

@rhatdan
Copy link
Contributor

rhatdan commented Nov 26, 2019

@haircommander Yup that is the idea. The real goal is to get to the point we can run on cgroup V2 if kubernetes patches get in, prior to runc getting support.

@haircommander
Copy link
Member

I've triggered the tests again. integration-static-glibc failed twice on the same test, but there are no clear changes here that could cause it (it was in network.bats). I'm hoping some sun spot flips a bit and it goes green

@giuseppe
Copy link
Member Author

giuseppe commented Nov 26, 2019

in a previous version I manually forced to run with crun and the e2e tests passed. So I've changed it back to be configurable and we need: openshift-eng/aos-cd-jobs#2027 to run both crun and runc tests

@haircommander
Copy link
Member

finally happy tests
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 26, 2019
@saschagrunert
Copy link
Member

/retest

@openshift-merge-robot openshift-merge-robot merged commit a96cb04 into cri-o:master Nov 27, 2019
@openshift-ci-robot openshift-ci-robot mentioned this pull request Dec 3, 2019
@giuseppe
Copy link
Member Author

/cherrypick release-1.15

@openshift-cherrypick-robot

@giuseppe: #2943 failed to apply on top of branch "release-1.15":

error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	test/ctr.bats
Falling back to patching base and 3-way merge...
Auto-merging test/ctr.bats
CONFLICT (content): Merge conflict in test/ctr.bats
Patch failed at 0001 tests: adjust test to not depend on runc behavior

In response to this:

/cherrypick release-1.15

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.

1 similar comment
@openshift-cherrypick-robot

@giuseppe: #2943 failed to apply on top of branch "release-1.15":

error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	test/ctr.bats
Falling back to patching base and 3-way merge...
Auto-merging test/ctr.bats
CONFLICT (content): Merge conflict in test/ctr.bats
Patch failed at 0001 tests: adjust test to not depend on runc behavior

In response to this:

/cherrypick release-1.15

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants