Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

backport: 1.6.3 rel #1525

Merged
merged 6 commits into from
May 2, 2019
Merged

Conversation

ganeshmaharaj
Copy link

Backporting below patches for 1.6.3 release.

#1484
#1494
#1503
#1505
#1508

gnawux and others added 6 commits May 1, 2019 12:47
Fixes: kata-containers#1483

Use git ls-remote instead of curl for git URL check

Signed-off-by: Xu Wang <[email protected]>
(cherry picked from commit 0d28f77)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Do not restrict ubuntu version to run with devicemapper.
We have now moved most of our jobs to ubuntu 18.04
and we were not testing with devicemapper.
With this change, we will test cri-o with devicemapper
on all ubuntu versions.

Fixes: kata-containers#1493.

Signed-off-by: Salvador Fuentes <[email protected]>
(cherry picked from commit 77a8cd5)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
The `kata-manager` script needs to download `git` repos. But if `git`
isn't available, it can fall back to using `curl` or `wget`. However, if
none of these tools are available, it should exit before any changes are
made to the system.

Note: The script _could_ install one of the tools of course. However,
all known Linux distro "default installs" provide at least one of these
tools, so this scenario should only be hit on very minimal systems. In
that case, install one of the tools the error mentions and re-run
`kata-manager`.

Fixes kata-containers#1502.

Signed-off-by: James O. D. Hunt <[email protected]>
(cherry picked from commit cfa9c82)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Consume twice the memory hot added to the container to guarantee
the `out of memory` error.

fixes kata-containers#1504

Signed-off-by: Julio Montes <[email protected]>
(cherry picked from commit bb49514)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Modify the `check_vendor()` function in the static check script. Rather
than exiting the function as early as possible, change the logic to
allow follow on future checks to be added.

Signed-off-by: James O. D. Hunt <[email protected]>
(cherry picked from commit 50f3b03)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Update the `check_vendor()` function in the static check script to run
our current vendoring tool (`dep`) in check mode. This will ensure our
vendoring does not get silently broken [1].

Fixes kata-containers#1506.

[1] - See for example kata-containers/runtime#1442.

Signed-off-by: James O. D. Hunt <[email protected]>
(cherry picked from commit 830983f)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
@ganeshmaharaj
Copy link
Author

/test

@ganeshmaharaj
Copy link
Author

centos-7-4-q-35

14:38:54 [1] • Failure [35.325 seconds]
14:38:54 [1] Hot plug CPUs
14:38:54 [1] /tmp/jenkins/workspace/kata-containers-tests-centos-7-4-q-35-PR/go/src/github.com/kata-containers/tests/integration/docker/cpu_test.go:54
14:38:54 [1]   container with CPU period and quota
14:38:54 [1]   /tmp/jenkins/workspace/kata-containers-tests-centos-7-4-q-35-PR/go/src/github.com/kata-containers/tests/vendor/github.com/onsi/ginkgo/extensions/table/table.go:92
14:38:54 [1]     should have 1 CPUs [It]
14:38:54 [1]     /tmp/jenkins/workspace/kata-containers-tests-centos-7-4-q-35-PR/go/src/github.com/kata-containers/tests/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
14:38:54 [1] 
14:38:54 [1]     Expected
14:38:54 [1]         <int>: 1
14:38:54 [1]     to be zero-valued
14:38:54 [1] 
14:38:54 [1]     /tmp/jenkins/workspace/kata-containers-tests-centos-7-4-q-35-PR/go/src/github.com/kata-containers/tests/integration/docker/cpu_test.go:88
14:38:54 [1] ------------------------------
14:38:54 [1] SSSSSSSSSSSSSSSSSSS
14:38:54 [1] 
14:38:54 [1] Summarizing 1 Failure:
14:38:54 [1] 
14:38:54 [1] [Fail] Hot plug CPUs container with CPU period and quota [It] should have 1 CPUs 
14:38:54 [1] /tmp/jenkins/workspace/kata-containers-tests-centos-7-4-q-35-PR/go/src/github.com/kata-containers/tests/integration/docker/cpu_test.go:88
14:38:54 [1] 
14:38:54 [1] Ran 47 of 67 Specs in 627.312 seconds
14:38:54 [1] FAIL! -- 46 Passed | 1 Failed | 0 Pending | 20 Skipped --- FAIL: TestIntegration (627.32s)
14:38:54 [1] FAIL

fedora

14:25:59 [2] • Failure [8.898 seconds]
14:25:59 [2] Update number of CPUs
14:25:59 [2] /tmp/jenkins/workspace/kata-containers-tests-fedora-PR/go/src/github.com/kata-containers/tests/integration/docker/cpu_test.go:228
14:25:59 [2]   Update CPU constraint
14:25:59 [2]   /tmp/jenkins/workspace/kata-containers-tests-fedora-PR/go/src/github.com/kata-containers/tests/vendor/github.com/onsi/ginkgo/extensions/table/table.go:92
14:25:59 [2]     should have 2 CPUs [It]
14:25:59 [2]     /tmp/jenkins/workspace/kata-containers-tests-fedora-PR/go/src/github.com/kata-containers/tests/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
14:25:59 [2] 
14:25:59 [2]     Expected
14:25:59 [2]         <int>: 126
14:25:59 [2]     to be zero-valued
14:25:59 [2] 
14:25:59 [2]     /tmp/jenkins/workspace/kata-containers-tests-fedora-PR/go/src/github.com/kata-containers/tests/integration/docker/cpu_test.go:299
14:25:59 [2] ------------------------------
14:25:59 [2] SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
14:25:59 [2] 
14:25:59 [2] Summarizing 1 Failure:
14:25:59 [2] 
14:25:59 [2] [Fail] Update number of CPUs Update CPU constraint [It] should have 2 CPUs 
14:25:59 [2] /tmp/jenkins/workspace/kata-containers-tests-fedora-PR/go/src/github.com/kata-containers/tests/integration/docker/cpu_test.go:299
14:25:59 [2] 
14:25:59 [2] Ran 38 of 104 Specs in 497.918 seconds
14:25:59 [2] FAIL! -- 37 Passed | 1 Failed | 0 Pending | 66 Skipped --- FAIL: TestIntegration (497.92s)
14:25:59 [2] FAIL

RHEL 7

14:35:46 [3] • Failure [32.661 seconds]
14:35:46 [3] Update number of CPUs
14:35:46 [3] /tmp/jenkins/workspace/kata-containers-tests-rhel-7-PR/go/src/github.com/kata-containers/tests/integration/docker/cpu_test.go:228
14:35:46 [3]   Update CPU constraint
14:35:46 [3]   /tmp/jenkins/workspace/kata-containers-tests-rhel-7-PR/go/src/github.com/kata-containers/tests/vendor/github.com/onsi/ginkgo/extensions/table/table.go:92
14:35:46 [3]     should have 3 CPUs [It]
14:35:46 [3]     /tmp/jenkins/workspace/kata-containers-tests-rhel-7-PR/go/src/github.com/kata-containers/tests/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:46
14:35:46 [3] 
14:35:46 [3]     Expected
14:35:46 [3]         <int>: 1
14:35:46 [3]     to be zero-valued
14:35:46 [3] 
14:35:46 [3]     /tmp/jenkins/workspace/kata-containers-tests-rhel-7-PR/go/src/github.com/kata-containers/tests/integration/docker/cpu_test.go:299
14:35:46 [3] ------------------------------
14:35:46 [3] SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
14:35:46 [3] 
14:35:46 [3] Summarizing 1 Failure:
14:35:46 [3] 
14:35:46 [3] [Fail] Update number of CPUs Update CPU constraint [It] should have 3 CPUs 
14:35:46 [3] /tmp/jenkins/workspace/kata-containers-tests-rhel-7-PR/go/src/github.com/kata-containers/tests/integration/docker/cpu_test.go:299
14:35:46 [3] 
14:35:46 [3] Ran 28 of 125 Specs in 435.921 seconds
14:35:46 [3] FAIL! -- 27 Passed | 1 Failed | 0 Pending | 97 Skipped --- FAIL: TestIntegration (435.92s)
14:35:46 [3] FAIL

@GabyCT GabyCT merged commit 69747ed into kata-containers:stable-1.6 May 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants