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

extended flake: build without output image building from templates should create an image from ".../test-docker-no-outputname.json" docker template without an output image reference defined #9364

Closed
smarterclayton opened this issue Jun 15, 2016 · 7 comments
Assignees
Labels
component/containers kind/test-flake Categorizes issue or PR as related to test flakes. priority/P2

Comments

@smarterclayton
Copy link
Contributor

Extended.[builds][Conformance] build without output image building from templates should create an image from "/data/src/github.com/openshift/origin/test/extended/testdata/test-docker-no-outputname.json" docker template without an output image reference defined (from (conformance_parallel_01.xml))

Failing for the past 1 build (Since Failed#2124 )
Took 1 min 48 sec.
add description
Stacktrace

/data/src/github.com/openshift/origin/test/extended/builds/no_outputname.go:34
Expected error:
    <*exec.ExitError | 0xc820c6a020>: {
        ProcessState: {
            pid: 4414,
            status: 256,
            rusage: {
                Utime: {Sec: 0, Usec: 109285},
                Stime: {Sec: 0, Usec: 33530},
                Maxrss: 23828,
                Ixrss: 0,
                Idrss: 0,
                Isrss: 0,
                Minflt: 6055,
                Majflt: 0,
                Nswap: 0,
                Inblock: 0,
                Oublock: 0,
                Msgsnd: 0,
                Msgrcv: 0,
                Nsignals: 0,
                Nvcsw: 2638,
                Nivcsw: 13,
            },
        },
        Stderr: nil,
    }
    exit status 1
not to have occurred
Digest: sha256:e563afa6ad4c5308ce3d26fd8a77424fc872f34cf206463b9dc454bd68d4ee50
Status: Downloaded newer image for docker.io/centos/ruby-22-centos7:latest
 ---> d93cfcb54fe8
Step 2 : USER default
 ---> Running in bb3d80c6959e
 ---> 9a6b3145cabc
Removing intermediate container bb3d80c6959e
Step 3 : EXPOSE 8080
 ---> Running in ee59a789e1fc
 ---> 3d2a0a944806
Removing intermediate container ee59a789e1fc
Step 4 : ENV RACK_ENV production
 ---> Running in 5b46b4b6d5a5
 ---> 09d0dd34732a
Error removing intermediate container 5b46b4b6d5a5: rmdriverfs: Driver devicemapper failed to remove root filesystem 5b46b4b6d5a53536a0fe6544fe579046eed7f5d5f93db42b2e3de5583a916f11: remove /var/lib/docker/devicemapper/mnt/f90712833bdfc34abdd968c0e9f8799a398b0b8b76aaeed419e008e933eced2a: device or resource busy
Step 5 : ENV RAILS_ENV production
 ---> Running in a8e23203e9b3
 ---> d881e6d4c9a8
Error removing intermediate container 5b46b4b6d5a5: nosuchcontainer: No such container: 5b46b4b6d5a53536a0fe6544fe579046eed7f5d5f93db42b2e3de5583a916f11
Step 6 : COPY . /opt/app-root/src/
 ---> 618e6d3ace3d
Error removing intermediate container 5b46b4b6d5a5: nosuchcontainer: No such container: 5b46b4b6d5a53536a0fe6544fe579046eed7f5d5f93db42b2e3de5583a916f11
Step 7 : RUN scl enable rh-ruby22 "bundle install"
 ---> Running in 57cbc2ac27fe
Fetching gem metadata from https://rubygems.org/..........
Installing rake 10.3.2
Installing i18n 0.6.11
Installing json 1.8.3
Installing minitest 5.4.2
Installing thread_safe 0.3.4
Installing tzinfo 1.2.2
Installing activesupport 4.1.7
Installing builder 3.2.2
Installing activemodel 4.1.7
Installing arel 5.0.1.20140414130214
Installing activerecord 4.1.7
Installing mysql2 0.3.16
Installing rack 1.5.2
Installing rack-protection 1.5.3
Installing tilt 1.4.1
Installing sinatra 1.4.5
Installing sinatra-activerecord 2.0.3
Using bundler 1.7.8
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
 ---> 86329bbc64e8
Removing intermediate container a8e23203e9b3
Removing intermediate container a917812575ec
Removing intermediate container 57cbc2ac27fe
Error removing intermediate container 5b46b4b6d5a5: nosuchcontainer: No such container: 5b46b4b6d5a53536a0fe6544fe579046eed7f5d5f93db42b2e3de5583a916f11
Step 8 : CMD scl enable rh-ruby22 ./run.sh
F0615 20:08:14.104382       1 helpers.go:108] error: build error: devicemapper: Error running deviceResume dm_task_run failed
error: The build extended-test-build-no-outputname-mnkeq-yyh0o/test-docker-1 status is "Failed"
STEP: Collecting events from namespace "extended-test-build-no-outputname-mnkeq-yyh0o".
@smarterclayton smarterclayton changed the title extended flake: extended flake: build without output image building from templates should create an image from "/data/src/github.com/openshift/origin/test/extended/testdata/test-docker-no-outputname.json" docker template without an output image reference defined Jun 15, 2016
@smarterclayton smarterclayton changed the title extended flake: build without output image building from templates should create an image from "/data/src/github.com/openshift/origin/test/extended/testdata/test-docker-no-outputname.json" docker template without an output image reference defined extended flake: build without output image building from templates should create an image from ".../test-docker-no-outputname.json" docker template without an output image reference defined Jun 15, 2016
@smarterclayton
Copy link
Contributor Author

Docker failure in 1.10 in device mapper on RHEL7 @runcom @mrunalp

+ vagrant ssh -c 'sudo docker version'
Client:
 Version:         1.10.3
 API version:     1.22
 Package version: docker-common-1.10.3-40.el7.x86_64
 Go version:      go1.4.2
 Git commit:      7528fb1-unsupported
 Built:           Thu Jun  9 17:13:37 2016
 OS/Arch:         linux/amd64

Server:
 Version:         1.10.3
 API version:     1.22
 Package version: docker-common-1.10.3-40.el7.x86_64
 Go version:      go1.4.2
 Git commit:      7528fb1-unsupported
 Built:           Thu Jun  9 17:13:37 2016
 OS/Arch:         linux/amd64

@smarterclayton
Copy link
Contributor Author

This was in cleanup of a docker build

@runcom
Copy link
Member

runcom commented Jun 15, 2016

Ping @rhvgoyal

@danmcp danmcp added priority/P2 kind/test-flake Categorizes issue or PR as related to test flakes. labels Jun 15, 2016
@rhvgoyal
Copy link

I am wondering if we hit the device suspend/resume race here with deferred device removal. Shishir has queued up a patch upstream. hopefully that fixes it.

moby/moby#23497

@rhvgoyal
Copy link

CC @shishir-a412ed

@mrunalp
Copy link
Member

mrunalp commented Jun 16, 2016

We will need a backport though.

On Jun 16, 2016, at 12:01 PM, Vivek Goyal notifications@github.com wrote:

I am wondering if we hit the device suspend/resume race here with deferred device removal. Shishir has queued up a patch upstream. hopefully that fixes it.

moby/moby#23497


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@bparees
Copy link
Contributor

bparees commented Jul 20, 2016

duping to #9548

@bparees bparees closed this as completed Jul 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/containers kind/test-flake Categorizes issue or PR as related to test flakes. priority/P2
Projects
None yet
Development

No branches or pull requests

7 participants