jenkinsci / jenkinsci/durable-task-plugin
[JENKINS-39307] pipeline docker execution aborts without reason
- Dominant language
- Java
- Stars
- 30
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to compile ArangoDB in one of these docker containers:
https://github.com/arangodb-helper/build-docker-containers/tree/master/distros
It works flawless for most of the containers, however I've seen it abort without any reason for docker containers derived of these two base contaires:
fedora:23 ubuntu:12.04
The output in the webinterface looks like that:
[ 24%] Building CXX object lib/CMakeFiles/arango.dir/ApplicationFeatures/ApplicationServer.cpp.o
CXX(target) /var/lib/jenkins/workspace/ArangoDB_Release/build-EPpackage-ubuntutwelveofour/3rdParty/V8/v8/x64.release/obj.target/icui18n/third_party/icu/source/i18n/fpositer.o
CXX(target) /var/lib/jenkins/workspace/ArangoDB_Release/build-EPpackage-ubuntutwelveofour/3rdParty/V8/v8/x64.release/obj.target/icui18n/third_party/icu/source/i18n/funcrepl.o
CXX(target) /var/lib/jenkins/workspace/ArangoDB_Release/build-EPpackage-ubuntutwelveofour/3rdParty/V8/v8/x64.release/obj.target/icui18n/third_party/icu/source/i18n/gender.oCXX(target) /var/lib/jenkins/workspace/ArangoDB_Release/build-EPpackage-ubuntutwelveofour/3rdParty/V8/v8/x64.release/obj.target/icui18n/third_party/icu/source/i18n/gregocal.o
[ 24%] Building CXX object 3rdParty/rocksdb/rocksdb/CMakeFiles/rocksdblib.dir/db/db_iter.cc.o
CXX(target) /var/lib/jenkins/workspace/ArangoDB_Release/build-EPpackage-ubuntutwelveofour/3rdParty/V8/v8/x64.release/obj.target/icui18n/third_party/icu/source/i18n/gregoimp.o
[Pipeline] stage
[Pipeline] { (Send Notification for failed build)
[Pipeline] sh
[ArangoDB_Release] Running shell script
+ git --no-pager show -s --format=%ae
[Pipeline] mail[Pipeline] }
[Pipeline] // stage[Pipeline] }
$ docker stop --time=1 e0c5a42869989172c87fd272a714980602d7ec6c6b1be4655589b23f88b54760
$ docker rm -f e0c5a42869989172c87fd272a714980602d7ec6c6b1be4655589b23f88b54760
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] stage (Send Notification for build)
Using the ‘stage’ step without a block argument is deprecated
Entering stage Send Notification for build
Proceeding
[Pipeline] mail
In the Ubuntu 12 container. In the Fedora container, it barely gets to start running the configure part of cmake and aborts that in a similar manner without any particular reason.
When running the container on an interactive terminal session, the whole build goes through without any issues.
---
Originally reported by
dothebart, imported from: pipeline docker execution aborts without reason
kufi
Raw content of original issue
I'm trying to compile ArangoDB in one of these docker containers:
https://github.com/arangodb-helper/build-docker-containers/tree/master/distros
It works flawless for most of the containers, however I've seen it abort without any reason for docker containers derived of these two base contaires:fedora:23 ubuntu:12.04
The output in the webinterface looks like that:
[ 24%] Building CXX object lib/CMakeFiles/arango.dir/ApplicationFeatures/ApplicationServer.cpp.o
CXX(target) /var/lib/jenkins/workspace/ArangoDB_Release/build-EPpackage-ubuntutwelveofour/3rdParty/V8/v8/x64.release/obj.target/icui18n/third_party/icu/source/i18n/fpositer.o
CXX(target) /var/lib/jenkins/workspace/ArangoDB_Release/build-EPpackage-ubuntutwelveofour/3rdParty/V8/v8/x64.release/obj.target/icui18n/third_party/icu/source/i18n/funcrepl.o
CXX(target) /var/lib/jenkins/workspace/ArangoDB_Release/build-EPpackage-ubuntutwelveofour/3rdParty/V8/v8/x64.release/obj.target/icui18n/third_party/icu/source/i18n/gender.oCXX(target) /var/lib/jenkins/workspace/ArangoDB_Release/build-EPpackage-ubuntutwelveofour/3rdParty/V8/v8/x64.release/obj.target/icui18n/third_party/icu/source/i18n/gregocal.o
[ 24%] Building CXX object 3rdParty/rocksdb/rocksdb/CMakeFiles/rocksdblib.dir/db/db_iter.cc.o
CXX(target) /var/lib/jenkins/workspace/ArangoDB_Release/build-EPpackage-ubuntutwelveofour/3rdParty/V8/v8/x64.release/obj.target/icui18n/third_party/icu/source/i18n/gregoimp.o
[Pipeline] stage
[Pipeline] { (Send Notification for failed build)
[Pipeline] sh
[ArangoDB_Release] Running shell script
+ git --no-pager show -s --format=%ae
[Pipeline] mail[Pipeline] }
[Pipeline] // stage[Pipeline] }
$ docker stop --time=1 e0c5a42869989172c87fd272a714980602d7ec6c6b1be4655589b23f88b54760
$ docker rm -f e0c5a42869989172c87fd272a714980602d7ec6c6b1be4655589b23f88b54760
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] stage (Send Notification for build)
Using the ‘stage’ step without a block argument is deprecated
Entering stage Send Notification for build
Proceeding
[Pipeline] mailIn the Ubuntu 12 container. In the Fedora container, it barely gets to start running the configure part of cmake and aborts that in a similar manner without any particular reason.
When running the container on an interactive terminal session, the whole build goes through without any issues.
- environment:
Ubuntu 16.04, Docker version 1.12.1, build 23cf638, Jenkins 2.27; CloudBees Docker Pipeline 1.9
Contributor guide
Assessment
This issue has not been assessed yet.