Repository navigation
Closed
Labels
component/storagedependency/devicemapperkind/test-flakeCategorizes issue or PR as related to test flakes.priority/P1vendor-updateTouching vendor dir or related files
Description
Looks like this:
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/test/extended/registry/registry.go:122
Expected error:
<*errors.errorString | 0xc42142d2f0>: {
s: "failed to build \"172.30.224.63:5000/extended-test-registry-migration-psd4k-jlm2p/app:latest\" image: devmapper: Error activating devmapper device for 'a721ecc5ef5f87103044fdef40a4ad072d830b333c1a76fa1fac4b23f3d2e6fd-init': devicemapper: Error running deviceCreate (ActivateDevice) dm_task_run failed",
}
failed to build "172.30.224.63:5000/extended-test-registry-migration-psd4k-jlm2p/app:latest" image: devmapper: Error activating devmapper device for 'a721ecc5ef5f87103044fdef40a4ad072d830b333c1a76fa1fac4b23f3d2e6fd-init': devicemapper: Error running deviceCreate (ActivateDevice) dm_task_run failed
not to have occurred
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/test/extended/registry/registry.go:54
Click for full output:
Stacktrace
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/test/extended/registry/registry.go:122
Expected error:
<*errors.errorString | 0xc42142d2f0>: {
s: "failed to build \"172.30.224.63:5000/extended-test-registry-migration-psd4k-jlm2p/app:latest\" image: devmapper: Error activating devmapper device for 'a721ecc5ef5f87103044fdef40a4ad072d830b333c1a76fa1fac4b23f3d2e6fd-init': devicemapper: Error running deviceCreate (ActivateDevice) dm_task_run failed",
}
failed to build "172.30.224.63:5000/extended-test-registry-migration-psd4k-jlm2p/app:latest" image: devmapper: Error activating devmapper device for 'a721ecc5ef5f87103044fdef40a4ad072d830b333c1a76fa1fac4b23f3d2e6fd-init': devicemapper: Error running deviceCreate (ActivateDevice) dm_task_run failed
not to have occurred
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/test/extended/registry/registry.go:54
Standard Output
[BeforeEach] [Top Level]
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/test/extended/util/test.go:47
[BeforeEach] [registry][migration] manifest migration from etcd to registry storage
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/framework/framework.go:141
STEP: Creating a kubernetes client
Feb 18 05:54:29.699: INFO: >>> kubeConfig: /tmp/openshift/test-extended/core/openshift.local.config/master/admin.kubeconfig
STEP: Building a namespace api object
Feb 18 05:54:29.727: INFO: configPath is now "/tmp/extended-test-registry-migration-psd4k-jlm2p-user.kubeconfig"
Feb 18 05:54:29.727: INFO: The user is now "extended-test-registry-migration-psd4k-jlm2p-user"
Feb 18 05:54:29.727: INFO: Creating project "extended-test-registry-migration-psd4k-jlm2p"
STEP: Waiting for a default service account to be provisioned in namespace
[It] registry can get access to manifest [local]
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/test/extended/registry/registry.go:122
STEP: set up policy for registry to have anonymous access to images
Feb 18 05:54:29.805: INFO: Running 'oc policy --config=/tmp/extended-test-registry-migration-psd4k-jlm2p-user.kubeconfig --namespace=extended-test-registry-migration-psd4k-jlm2p add-role-to-user registry-viewer system:anonymous'
role "registry-viewer" added: "system:anonymous"
STEP: pushing image...
Step 1 : FROM scratch
--->
Step 2 : COPY data1 /data1
STEP: Deleting images and image streams in project "extended-test-registry-migration-psd4k-jlm2p"
[AfterEach] [registry][migration] manifest migration from etcd to registry storage
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/framework/framework.go:142
STEP: Collecting events from namespace "extended-test-registry-migration-psd4k-jlm2p".
STEP: Found 0 events.
Feb 18 05:54:30.675: INFO: POD NODE PHASE GRACE CONDITIONS
Feb 18 05:54:30.675: INFO: docker-registry-1-gkdx6 172.18.7.169 Running [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:39:02 -0500 EST } {Ready True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:39:08 -0500 EST } {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:39:02 -0500 EST }]
Feb 18 05:54:30.675: INFO: router-2-kw776 172.18.7.169 Running [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:40:32 -0500 EST } {Ready True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:40:53 -0500 EST } {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:40:32 -0500 EST }]
Feb 18 05:54:30.675: INFO: history-limit-2-0lc0t 172.18.7.169 Running 30s [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:53:48 -0500 EST } {Ready True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:53:51 -0500 EST } {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:53:48 -0500 EST }]
Feb 18 05:54:30.675: INFO: history-limit-3-zt7n8 172.18.7.169 Running 30s [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:09 -0500 EST } {Ready True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:13 -0500 EST } {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:09 -0500 EST }]
Feb 18 05:54:30.675: INFO: history-limit-4-683l8 172.18.7.169 Running [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:22 -0500 EST } {Ready True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:26 -0500 EST } {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:22 -0500 EST }]
Feb 18 05:54:30.675: INFO: history-limit-5-deploy 172.18.7.169 Pending [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:28 -0500 EST } {Ready False 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:28 -0500 EST ContainersNotReady containers with unready status: [deployment]} {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:28 -0500 EST }]
Feb 18 05:54:30.675: INFO: example-1-3g31x 172.18.7.169 Running 30s [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:53:57 -0500 EST } {Ready True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:08 -0500 EST } {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:53:57 -0500 EST }]
Feb 18 05:54:30.675: INFO: hello-openshift 172.18.7.169 Running 30s [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:24 -0500 EST } {Ready True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:27 -0500 EST } {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-02-18 05:54:24 -0500 EST }]
Feb 18 05:54:30.675: INFO:
Feb 18 05:54:30.678: INFO:
Logging node info for node 172.18.7.169
Feb 18 05:54:30.680: INFO: Node Info: &TypeMeta{Kind:,APIVersion:,}
Feb 18 05:54:30.680: INFO:
Logging kubelet events for node 172.18.7.169
Feb 18 05:54:30.681: INFO:
Logging pods the kubelet thinks is on node 172.18.7.169
Feb 18 05:54:30.687: INFO: router-2-kw776 started at 2017-02-18 05:40:32 -0500 EST (0+1 container statuses recorded)
Feb 18 05:54:30.687: INFO: Container router ready: true, restart count 0
Feb 18 05:54:30.687: INFO: history-limit-2-0lc0t started at 2017-02-18 05:53:48 -0500 EST (0+1 container statuses recorded)
Feb 18 05:54:30.687: INFO: Container myapp ready: true, restart count 0
Feb 18 05:54:30.687: INFO: history-limit-4-683l8 started at 2017-02-18 05:54:22 -0500 EST (0+1 container statuses recorded)
Feb 18 05:54:30.687: INFO: Container myapp ready: true, restart count 0
Feb 18 05:54:30.687: INFO: history-limit-3-zt7n8 started at 2017-02-18 05:54:09 -0500 EST (0+1 container statuses recorded)
Feb 18 05:54:30.687: INFO: Container myapp ready: true, restart count 0
Feb 18 05:54:30.687: INFO: docker-registry-1-gkdx6 started at 2017-02-18 05:39:02 -0500 EST (0+1 container statuses recorded)
Feb 18 05:54:30.687: INFO: Container registry ready: true, restart count 0
Feb 18 05:54:30.687: INFO: history-limit-5-deploy started at 2017-02-18 05:54:28 -0500 EST (0+1 container statuses recorded)
Feb 18 05:54:30.687: INFO: Container deployment ready: false, restart count 0
Feb 18 05:54:30.687: INFO: example-1-3g31x started at 2017-02-18 05:53:57 -0500 EST (0+2 container statuses recorded)
Feb 18 05:54:30.687: INFO: Container ruby ready: true, restart count 0
Feb 18 05:54:30.687: INFO: Container ruby2 ready: true, restart count 0
Feb 18 05:54:30.687: INFO: hello-openshift started at 2017-02-18 05:54:24 -0500 EST (0+1 container statuses recorded)
Feb 18 05:54:30.687: INFO: Container hello-openshift ready: true, restart count 0
Feb 18 05:54:30.951: INFO:
Latency metrics for node 172.18.7.169
Feb 18 05:54:30.951: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:2m1.684048s}
Feb 18 05:54:30.951: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.9 Latency:2m1.684048s}
Feb 18 05:54:30.951: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.5 Latency:2m1.014738s}
Feb 18 05:54:30.951: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:2m0.001054s}
Feb 18 05:54:30.951: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.5 Latency:2m0.001054s}
Feb 18 05:54:30.951: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:2m0.001054s}
Feb 18 05:54:30.951: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:1m3.972613s}
Feb 18 05:54:30.951: INFO: {Operation:stop_container Method:docker_operations_latency_microseconds Quantile:0.99 Latency:30.317455s}
Feb 18 05:54:30.951: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:18.110643s}
STEP: Dumping a list of prepulled images on each node
Feb 18 05:54:30.953: INFO: Waiting up to 3m0s for all (but 0) nodes to be ready
STEP: Destroying namespace "extended-test-registry-migration-psd4k-jlm2p" for this suite.
Feb 18 05:54:36.072: INFO: namespace: extended-test-registry-migration-psd4k-jlm2p, resource: bindings, ignored listing per whitelist
Metadata
Metadata
Assignees
Labels
component/storagedependency/devicemapperkind/test-flakeCategorizes issue or PR as related to test flakes.priority/P1vendor-updateTouching vendor dir or related files
Activity
stevekuznetsov commentedon Feb 20, 2017
@runcom could you please triage this
/cc @smarterclayton @bparees
runcom commentedon Feb 20, 2017
/cc @rhvgoyal
jwhonce commentedon Feb 20, 2017
@stevekuznetsov Please provide some additional information.
Output of docker version and info subcommands, lvs, dmsetup table and status, and journald entries for the period of failure. Thanks!
smarterclayton commentedon Feb 20, 2017
stevekuznetsov commentedon Feb 20, 2017
@jwhonce I can't get you system journal entries as the machine on which this happened was deprovisioned, but here are some of the other info:
To stand up a reproducer you could launch the AMI (ami-f1b3a8e6) or install the
origin-ci-tooland provision a VM:pweil- commentedon Jun 20, 2017
Some logs of a build failing with devmapper issues ending in the same
Error running deviceCreate (ActivateDevice) dm_task_run failederrorhttps://ci.openshift.redhat.com/jenkins/job/merge_pull_request_openshift_ansible/581/testReport/junit/(root)/Extended/_builds__Conformance__build_without_output_image_building_from_templates_should_create_an_image_from_a_docker_template_without_an_output_image_reference_defined/
jwhonce commentedon Jun 20, 2017
@pweil- Do you know the version of docker rpm currently being used on that build?
stevekuznetsov commentedon Jun 20, 2017
@jwhonce the repo we use for Docker today is here and the job we use to update it is here. An email is sent out when a new version is brought in. Today we are running
docker-1.12.6-28.git1398f24.el7.x86_64.rhatdan commentedon Jun 20, 2017
docker-1.12.6-32.git88a4867.el7 Has it I believe.
10 remaining items
stevekuznetsov commentedon Aug 29, 2017
We're running
docker-1.12.6-40.1.gitf55a118.el7.x86_64.rpmin CI right now so the fix should have landed a long time ago.jim-minter commentedon Aug 31, 2017
https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended_conformance_install_update/5182/
stevekuznetsov commentedon Aug 31, 2017
@jwhonce
bparees commentedon Oct 5, 2017
https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/16698/test_pull_request_origin_extended_builds/427/
devicemapper: Error running deviceCreate (ActivateDevice) dm_task_run failed,StartedAt:2017-10-05 18:24:08 +0000 UTC,FinishedAt:2017-10-05 18:24:08 +0000 UTC,ContainerID:docker://cdd5bf0b45d0a538e41aa436ea211138f0c8e75de947506fd8c9ee06ae811d49jwhonce commentedon Oct 5, 2017
@bparees Do you know if it's possible to see the /etc/sysconfig/docker-storage* files or the
systemctl status dockerof a run with one of these flakes?bparees commentedon Oct 5, 2017
@jwhonce everything that's gathered is here:
https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended_builds/427/s3/
if what you need isn't in there, you can work with @stevekuznetsov to update our test jobs+scripts to get it to start gathering what you need.
bparees commentedon Oct 11, 2017
https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/16745/test_pull_request_origin_extended_conformance_install_update/7672/?
bparees commentedon Oct 14, 2017
https://ci.openshift.redhat.com/jenkins/job/test_branch_origin_extended_builds/239/testReport/junit/(root)/Extended/_Feature_Builds__Slow__completed_builds_should_have_digest_of_the_image_in_their_status__S2I_build_started_with_normal_log_level_should_save_the_image_digest_when_finished__Suite_openshift_/
bparees commentedon Oct 18, 2017
https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/16924/test_pull_request_origin_extended_builds/504/
stevekuznetsov commentedon Oct 18, 2017
@jwhonce are we still missing information here?
bparees commentedon Nov 2, 2017
https://ci.openshift.redhat.com/jenkins/job/test_branch_origin_extended_builds/265/testReport/junit/(root)/Extended/_Feature_Builds__Conformance__oc_new_app__should_succeed_with_a___name_of_58_characters__Suite_openshift_conformance_parallel_/
@jim-minter is this the issue you addressed (race condition in systemd and docker?)
jim-minter commentedon Nov 9, 2017
@bparees not connected
smarterclayton commentedon Jan 24, 2018
We haven't seen this in a while. Closing
bparees commentedon Jan 24, 2018
Well, there's another issue open for what I think is the same thing:
#17787
so we can close this as a dupe of that, but i think it's still happening. (perhaps it will be resolved by the same thing that fixes #17330, which we're supposed to be getting in our AMIs very soon now)