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

vm_factory: Add clean_vm_template in setup #1364

Merged
merged 1 commit into from
Apr 1, 2019

Conversation

teawater
Copy link
Member

Clean the vm_template dir before test executes.

Fixes: #1363

Signed-off-by: Hui Zhu [email protected]

@teawater
Copy link
Member Author

/test

@teawater
Copy link
Member Author

jenkins-ci-opensuse-15 failed:

5:23:25 Cloning repository https://github.com/kata-containers/tests.git
15:23:25  > git init /tmp/jenkins/workspace/kata-containers-tests-opensuse-15-PR # timeout=10
15:23:25 ERROR: Error cloning remote repo 'origin'
15:23:25 hudson.plugins.git.GitException: Could not init /tmp/jenkins/workspace/kata-containers-tests-opensuse-15-PR
15:23:25 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:882)
15:23:25 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:662)
15:23:25 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161)
15:23:25 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:154)
15:23:25 	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
15:23:25 	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
15:23:25 	at hudson.remoting.Request$2.run(Request.java:369)
15:23:25 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
15:23:25 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
15:23:25 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
15:23:25 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
15:23:25 	at java.lang.Thread.run(Thread.java:748)
15:23:25 	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to opensuse15-azurec5e160

jenkins-ci-ubuntu-18-04-initrd failed:

16:16:58 • Failure in Spec Teardown (AfterEach) [71.507 seconds]
16:16:58 [k8s.io] Container
16:16:58 /tmp/jenkins/workspace/kata-containers-tests-ubuntu-18-04-PR-initrd/go/src/github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:72
16:16:58   runtime should support basic operations on container
16:16:58   /tmp/jenkins/workspace/kata-containers-tests-ubuntu-18-04-PR-initrd/go/src/github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:68
16:16:58     runtime should support stopping container [Conformance] [AfterEach]
16:16:58     /tmp/jenkins/workspace/kata-containers-tests-ubuntu-18-04-PR-initrd/go/src/github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:100
16:16:58 
16:16:58     failed to stop container: rpc error: code = Unknown desc = failed to stop container "62b1de97012db9ec92c2c0a2366d47ce7b0bfe77e78b9f10a28417487f58205e": container not running: unknown
16:16:58     Expected error:
16:16:58         <*status.statusError | 0xc00026eb70>: {
16:16:58             Code: 2,
16:16:58             Message: "failed to stop container \"62b1de97012db9ec92c2c0a2366d47ce7b0bfe77e78b9f10a28417487f58205e\": container not running: unknown",
16:16:58             Details: nil,
16:16:58         }
16:16:58         rpc error: code = Unknown desc = failed to stop container "62b1de97012db9ec92c2c0a2366d47ce7b0bfe77e78b9f10a28417487f58205e": container not running: unknown
16:16:58     not to have occurred
16:16:58 

jenkins-metrics-ubuntu-16-04 failed:

15:22:23 Report Summary:
15:22:23 +-----+----------------------+-------+--------+--------+-------+--------+--------+-------+------+-----+
15:22:23 | P/F |         NAME         |  FLR  |  MEAN  |  CEIL  |  GAP  |  MIN   |  MAX   |  RNG  | COV  | ITS |
15:22:23 +-----+----------------------+-------+--------+--------+-------+--------+--------+-------+------+-----+
15:22:23 | P   | boot-times           | 95.0% | 100.9% | 105.0% | 10.0% | 94.6%  | 107.5% | 13.7% | 3.7% |  20 |
15:22:23 | P   | memory-footprint     | 95.0% | 102.1% | 105.0% | 10.0% | 102.1% | 102.1% | 0.0%  | 0.0% |   1 |
15:22:23 | *F* | memory-footprint-ksm | 95.0% | 125.0% | 105.0% | 10.0% | 125.0% | 125.0% | 0.0%  | 0.0% |   1 |
15:22:23 +-----+----------------------+-------+--------+--------+-------+--------+--------+-------+------+-----+
15:22:23 Fails: 1, Passes 2
15:22:23 Failed
15:22:23 checkmetrics FAILED (1)

I think this PR does not relate to these fails.

@teawater teawater force-pushed the clean_vm_template branch from e4f4526 to 36a4ad0 Compare March 29, 2019 01:52
@teawater
Copy link
Member Author

/test

@teawater teawater force-pushed the clean_vm_template branch from 36a4ad0 to a6dc6ab Compare March 30, 2019 01:05
@teawater
Copy link
Member Author

/test

@teawater
Copy link
Member Author

jenkins-ci-opensuse-15 failed:

13:33:47 GitHub pull request #1364 of commit a6dc6ab6c507401aaff7609daee6c79f5a553ddb, no merge conflicts.
13:33:47 Setting status of a6dc6ab6c507401aaff7609daee6c79f5a553ddb to PENDING with url http://jenkins.katacontainers.io/job/kata-containers-tests-opensuse-15-PR/163/ and message: 'Build running'
13:33:47 Using context: jenkins-ci-opensuse-15
13:33:48 Building remotely on opensuse15-azure212ff0 (opensuse15-azure opensuse15_azure) in workspace /tmp/jenkins/workspace/kata-containers-tests-opensuse-15-PR
13:33:55 No credentials specified
13:33:55 Cloning the remote Git repository
13:33:55 Cloning repository https://github.com/kata-containers/tests.git
13:33:55  > git init /tmp/jenkins/workspace/kata-containers-tests-opensuse-15-PR # timeout=10
13:33:56 ERROR: Error cloning remote repo 'origin'
13:33:56 hudson.plugins.git.GitException: Could not init /tmp/jenkins/workspace/kata-containers-tests-opensuse-15-PR
13:33:56 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:882)
13:33:56 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:662)
13:33:56 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161)
13:33:56 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:154)
13:33:56 	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
13:33:56 	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
13:33:56 	at hudson.remoting.Request$2.run(Request.java:369)

So I think this PR does not relate to this fail.

Clean the vm_template dir before test executes.

Fixes: kata-containers#1363

Signed-off-by: Hui Zhu <[email protected]>
@teawater teawater force-pushed the clean_vm_template branch from a6dc6ab to 4cf7911 Compare April 1, 2019 03:41
@teawater
Copy link
Member Author

teawater commented Apr 1, 2019

/test

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.

vm-factory tests are failing in the initrd CI
5 participants