SuccessConsole Output

Push event to branch master
09:45:19 Connecting to https://api.github.com using dwightguth/****** (GitHub Access Token)
Obtained Jenkinsfile from 4787e05b17b8e39426b399a87b137baf844863ca
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on rvwork-3 in /home/jenkins-slave/workspace/firefly-demo_master
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential github
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/runtimeverification/firefly-demo.git
 > git init /home/jenkins-slave/workspace/firefly-demo_master # timeout=10
Using reference repository: /home/jenkins-slave/devops.git
Fetching upstream changes from https://github.com/runtimeverification/firefly-demo.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials GitHub Access Token
 > git fetch --tags --progress -- https://github.com/runtimeverification/firefly-demo.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/runtimeverification/firefly-demo.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/runtimeverification/firefly-demo.git # timeout=10
Fetching upstream changes from https://github.com/runtimeverification/firefly-demo.git
using GIT_ASKPASS to set credentials GitHub Access Token
 > git fetch --tags --progress -- https://github.com/runtimeverification/firefly-demo.git +refs/heads/master:refs/remotes/origin/master # timeout=10
Checking out Revision 4787e05b17b8e39426b399a87b137baf844863ca (master)
Commit message: "Add ownerOnly modifier (#23)"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4787e05b17b8e39426b399a87b137baf844863ca # timeout=10
 > git rev-list --no-walk 75fc4916a75094c958677b0e362b6510831444df # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Agent Setup)
[Pipeline] isUnix
[Pipeline] readFile
[Pipeline] sh
+ id -u
+ id -g
+ docker build -t 9cce09c2e9b6ba3c010238cbddbe9dc626c74395 --build-arg USER_ID=1001 --build-arg GROUP_ID=1001 --build-arg DOCKERHUB_TAG=ubuntu-bionic-master -f Dockerfile .
Sending build context to Docker daemon  253.4kB

Step 1/13 : ARG DOCKERHUB_TAG
Step 2/13 : FROM runtimeverificationinc/runtimeverification-firefly:${DOCKERHUB_TAG}
 ---> b754855e282f
Step 3/13 : RUN    apt-get update                              && apt-get upgrade --yes                       && apt-get install --yes                                       curl                                           git                                            software-properties-common
 ---> Using cache
 ---> c96193eec096
Step 4/13 : RUN    curl -sL https://deb.nodesource.com/setup_10.x | bash -     && apt-get update                                              && apt-get upgrade --yes                                       && apt-get install --yes nodejs
 ---> Using cache
 ---> 464327a1c15c
Step 5/13 : ARG USER_ID=1000
 ---> Using cache
 ---> c40caaf2d628
Step 6/13 : ARG GROUP_ID=1000
 ---> Using cache
 ---> 0ae818ae2b29
Step 7/13 : RUN groupadd -g $GROUP_ID user && useradd -m -u $USER_ID -s /bin/sh -g user user
 ---> Using cache
 ---> c2277a3cee18
Step 8/13 : USER user:user
 ---> Using cache
 ---> 3c8d6e4c4a34
Step 9/13 : WORKDIR /home/user
 ---> Using cache
 ---> 367031aa2bee
Step 10/13 : ENV NPM_PACKAGES=/home/user/.npm-packages
 ---> Using cache
 ---> 67511297c982
Step 11/13 : ENV PATH=$NPM_PACKAGES/bin:$PATH
 ---> Using cache
 ---> 8f84c56c2d5c
Step 12/13 : RUN npm config set prefix $NPM_PACKAGES
 ---> Using cache
 ---> cbc371c91bea
Step 13/13 : ENV LC_ALL=C.UTF-8
 ---> Using cache
 ---> 7ecb6f1fb32f
Successfully built 7ecb6f1fb32f
Successfully tagged 9cce09c2e9b6ba3c010238cbddbe9dc626c74395:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] isUnix
[Pipeline] sh
+ docker inspect -f . 9cce09c2e9b6ba3c010238cbddbe9dc626c74395
.
[Pipeline] withDockerContainer
rvwork-3 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 -w /home/jenkins-slave/workspace/firefly-demo_master -v /home/jenkins-slave/workspace/firefly-demo_master:/home/jenkins-slave/workspace/firefly-demo_master:rw,z -v /home/jenkins-slave/workspace/firefly-demo_master@tmp:/home/jenkins-slave/workspace/firefly-demo_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** 9cce09c2e9b6ba3c010238cbddbe9dc626c74395 cat
$ docker top c9ce389714a233decca2e5dd5cec4efeca7ef8c3aadfc5487e4e4e525e303797 -eo pid,comm
ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements).
Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
[Pipeline] {
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] stage [Pipeline] { (Init title) Stage "Init title" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test with truffle) [Pipeline] timeout Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh + npm install npm WARN deprecated @types/bignumber.js@5.0.0: This is a stub types definition for bignumber.js (https://github.com/MikeMcl/bignumber.js/). bignumber.js provides its own type definitions, so you don't need @types/bignumber.js installed! npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. npm WARN deprecated flat@4.1.0: Fixed a prototype pollution security issue in 4.1.0, please upgrade to ^4.1.1 or ^5.0.1. npm WARN deprecated multicodec@0.5.7: stable api reached npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported > bufferutil@4.0.1 install /home/jenkins-slave/workspace/firefly-demo_master/node_modules/bufferutil > node-gyp-build > keccak@3.0.1 install /home/jenkins-slave/workspace/firefly-demo_master/node_modules/keccak > node-gyp-build || exit 0 > secp256k1@4.0.2 install /home/jenkins-slave/workspace/firefly-demo_master/node_modules/secp256k1 > node-gyp-build || exit 0 > utf-8-validate@5.0.2 install /home/jenkins-slave/workspace/firefly-demo_master/node_modules/utf-8-validate > node-gyp-build > websocket@1.0.29 install /home/jenkins-slave/workspace/firefly-demo_master/node_modules/websocket > (node-gyp rebuild 2> builderror.log) || (exit 0) make: Entering directory '/home/jenkins-slave/workspace/firefly-demo_master/node_modules/websocket/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node COPY Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node COPY Release/validation.node make: Leaving directory '/home/jenkins-slave/workspace/firefly-demo_master/node_modules/websocket/build' > core-js-pure@3.6.5 postinstall /home/jenkins-slave/workspace/firefly-demo_master/node_modules/core-js-pure > node -e "try{require('./postinstall')}catch(e){}" > web3@1.3.0 postinstall /home/jenkins-slave/workspace/firefly-demo_master/node_modules/web3 > node angular-patch.js > truffle@5.1.44 postinstall /home/jenkins-slave/workspace/firefly-demo_master/node_modules/truffle > node ./scripts/postinstall.js - Fetching solc version list from solc-bin. Attempt #1 ✔ Downloading compiler. Attempt #1. npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN HelloWorld@1.0.0 No repository field. added 832 packages from 513 contributors and audited 834 packages in 21.146s 41 packages are looking for funding run `npm fund` for details found 8 vulnerabilities (4 low, 4 high) run `npm audit fix` to fix them, or `npm audit` for details + firefly compile == Found truffle config, using truffle. == Compiler output path is ./build/contracts == Compiling Contracts Compiling your contracts... =========================== > Compiling ./contracts/ERC20.sol > Compiling ./contracts/ERC20EXT.sol > Compiling ./contracts/Owned.sol > Artifacts written to /home/jenkins-slave/workspace/firefly-demo_master/build/contracts > Compiled successfully using: - solc: 0.5.16+commit.9c3226ce.Emscripten.clang adding: ERC20.json (deflated 94%) adding: ERC20EXT.json (deflated 92%) adding: Owned.json (deflated 88%) + sleep 2 + firefly launch -p 8145 --quiet --shutdownable --respond-to-notifications == Found truffle config, using truffle. == Launching Firefly Client == Initializing State + npx truffle test Using network 'development'. Compiling your contracts... =========================== > Everything is up to date, there is nothing to compile. Contract: ERC20 Initial mint works (1605ms) Transfer decreases/increases amount (97ms) Total supply stays constant (73ms) Contract: ERC20EXT Initial mint works (49ms) Transfer decreases/increases amount (86ms) Call owner only functions (50ms) 6 passing (2s) + firefly coverage -p 8145 == Found truffle config, using truffle. == Retrieving Coverage Data == Retrieving Bytecode Maps adding: firefly_coverage/0x580ce973d47d8cf6f45e558a343bd961ccce294eb8560736df2828903e1db04a.json (deflated 92%) adding: firefly_coverage/0x6a84f92402326e97907e0fda9f02bf84478b5d8a4231839f6b0b60e5fb84c436.json (deflated 91%) adding: firefly_coverage/0x6c1c8c755611846dd2bdbc9dc9b34720f72858ef148049a8007cb4d55dcea80f.json (deflated 92%) adding: firefly_coverage/0xc03effde1fe133321760101b73eaa469d02a0025b6f138b68a16dae270971a2b.json (deflated 92%) adding: firefly_coverage/bytecodes.json (deflated 93%) adding: firefly_coverage/coverage.json (deflated 42%) + firefly close -p 8145 == Found truffle config, using truffle. == Closing Firefly [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test with buidler) [Pipeline] timeout Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh + npm install npm WARN HelloWorld@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) audited 834 packages in 3.029s 41 packages are looking for funding run `npm fund` for details found 8 vulnerabilities (4 low, 4 high) run `npm audit fix` to fix them, or `npm audit` for details + firefly compile == Found truffle config, using truffle. == Compiler output path is ./build/contracts == Compiling Contracts Compiling your contracts... =========================== > Everything is up to date, there is nothing to compile. updating: ERC20.json (deflated 94%) updating: ERC20EXT.json (deflated 92%) updating: Owned.json (deflated 88%) + sleep 2 + firefly launch -p 8145 --quiet --shutdownable --respond-to-notifications == Found truffle config, using truffle. == Launching Firefly Client == Initializing State + npx buidler --network localhost test Compiling... Downloading compiler version 0.5.16 Compiled 3 contracts successfully Contract: ERC20 ✓ Initial mint works (215ms) ✓ Transfer decreases/increases amount (290ms) ✓ Total supply stays constant (245ms) Contract: ERC20EXT ✓ Initial mint works (174ms) ✓ Transfer decreases/increases amount (287ms) ✓ Call owner only functions (178ms) 6 passing (1s) + firefly coverage -p 8145 == Found truffle config, using truffle. == Retrieving Coverage Data == Retrieving Bytecode Maps updating: firefly_coverage/0x580ce973d47d8cf6f45e558a343bd961ccce294eb8560736df2828903e1db04a.json (deflated 92%) updating: firefly_coverage/0x6a84f92402326e97907e0fda9f02bf84478b5d8a4231839f6b0b60e5fb84c436.json (deflated 91%) updating: firefly_coverage/0x6c1c8c755611846dd2bdbc9dc9b34720f72858ef148049a8007cb4d55dcea80f.json (deflated 92%) updating: firefly_coverage/0xc03effde1fe133321760101b73eaa469d02a0025b6f138b68a16dae270971a2b.json (deflated 92%) updating: firefly_coverage/bytecodes.json (deflated 93%) updating: firefly_coverage/coverage.json (deflated 42%) adding: firefly_coverage/0x1b8e9d0c5007747a1702673d34c8be3735a685a5570055638d6dd43aa173d093.json (deflated 92%) adding: firefly_coverage/0x398b806f10d98b065ceba95f34a8ff07e2bb12b7202a24f44f6da01993d1351f.json (deflated 91%) adding: firefly_coverage/0xd244762c7616ff5e826c52201f613dcb1121c27345a81d852bb52643e85b84f1.json (deflated 92%) adding: firefly_coverage/0xdafdec8dd43efafb6a53f6f6cf725fbb821fb20247b00dc40de8ce0bac9c4edd.json (deflated 92%) + firefly close -p 8145 == Found truffle config, using truffle. == Closing Firefly [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Update Firefly Submodule) [Pipeline] build Scheduling project: rv-devops » master [Pipeline] } [Pipeline] // stage [Pipeline] }
[Pipeline] // ansiColor [Pipeline] } $ docker stop --time=1 c9ce389714a233decca2e5dd5cec4efeca7ef8c3aadfc5487e4e4e525e303797 $ docker rm -f c9ce389714a233decca2e5dd5cec4efeca7ef8c3aadfc5487e4e4e525e303797 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result Finished: SUCCESS