Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #3839

/assign haircommander


turns out, the PID 42 (as idiomatic a test variable it is) is not the best PID to use.
NamespacePaths() returns /proc entries if the PID is running, so sometimes there was a PID 42 on the system, and the tests returned valid paths, causing the test to fail

This PR updates the tests to use the values 0 (unset pid), 1 (running pid), and 4194305 (never running pid, as it's max_pid+1)

it also fixes a small inconsistency in reserving space for the slice of namespace paths

Signed-off-by: Peter Hunt <[email protected]>
@openshift-ci-robot openshift-ci-robot added the dco-signoff: yes Indicates the PR's author has DCO signed all their commits. label Jun 8, 2020
@codecov
Copy link

codecov bot commented Jun 8, 2020

Codecov Report

Merging #3847 into release-1.18 will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@               Coverage Diff                @@
##           release-1.18    #3847      +/-   ##
================================================
+ Coverage         40.42%   40.43%   +0.01%     
================================================
  Files               105      105              
  Lines              8628     8628              
================================================
+ Hits               3488     3489       +1     
+ Misses             4828     4827       -1     
  Partials            312      312              

@haircommander
Copy link
Member

/test e2e_rhel

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: openshift-cherrypick-robot, saschagrunert

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

The pull request process is described here

Details 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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 8, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: openshift-cherrypick-robot, saschagrunert

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

The pull request process is described here

Details 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

@haircommander
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added lgtm Indicates that a PR is ready to be merged. labels Jun 8, 2020
@haircommander
Copy link
Member

/retest

@umohnani8
Copy link
Member

/retest
LGTM

@haircommander
Copy link
Member

/retest

@haircommander
Copy link
Member

gah, we're hitting an issue where sometimes nodes don't come up on fedora:
https://deck-ci.apps.ci.l2s4.p1.openshiftapps.com/view/gcs/origin-federated-results/pr-logs/pull/cri-o_cri-o/3847/test_pull_request_crio_e2e_features_fedora/11341/
in 1.18 and master...
/retest

@haircommander
Copy link
Member

/retest

3 similar comments
@umohnani8
Copy link
Member

/retest

@umohnani8
Copy link
Member

/retest

@umohnani8
Copy link
Member

/retest

@openshift-merge-robot openshift-merge-robot merged commit 6d00f64 into cri-o:release-1.18 Jun 17, 2020
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants