SuccessConsole Output

Push event to branch master
14:02:38 Connecting to https://api.github.com using dwightguth/****** (GitHub Access Token)
Obtained Jenkinsfile from 0e2fada11a8127ec3074cb822c50693568f6a0c7
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
Checking out Revision 0e2fada11a8127ec3074cb822c50693568f6a0c7 (master)
Commit message: "Solidity contracts for whitebox testing (#25)"
 > 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
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0e2fada11a8127ec3074cb822c50693568f6a0c7 # timeout=10
 > git rev-list --no-walk 5dec2ee4619c5447a6a981e37338799ffdf49154 # 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  100.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 7d50a5029a89254e2cf95e5bb3385283111746f6adddc54d8ebc0b275f70ece7 -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 multicodec@0.5.7: stable api reached 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 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.45 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 514 contributors and audited 834 packages in 20.856s 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... =========================== > Compiling ./test/TestERC20Firefly.sol > Compiling ./test/firefly/FireflyCheck.sol > Artifacts written to /tmp/test--342-40Qaa64p6UO3 > Compiled successfully using: - solc: 0.5.16+commit.9c3226ce.Emscripten.clang Contract: ERC20 Initial mint works (1383ms) Transfer decreases/increases amount (85ms) Total supply stays constant (61ms) Contract: ERC20EXT Initial mint works (48ms) Transfer decreases/increases amount (97ms) 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/0x4e29de4287f9f636c9510eea5a9efbbb4b5a652cc090c4e1e79208bd7d6cde3e.json (deflated 92%) adding: firefly_coverage/0x580ce973d47d8cf6f45e558a343bd961ccce294eb8560736df2828903e1db04a.json (deflated 92%) adding: firefly_coverage/0x6a84f92402326e97907e0fda9f02bf84478b5d8a4231839f6b0b60e5fb84c436.json (deflated 91%) adding: firefly_coverage/0xcf577cb1a603c5ef5d8b3210063cbeb7b78d1395876aa0a3061e482c102ec94b.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.064s 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 5 contracts successfully Contract: ERC20 ✓ Initial mint works (190ms) ✓ Transfer decreases/increases amount (257ms) ✓ Total supply stays constant (243ms) Contract: ERC20EXT ✓ Initial mint works (158ms) ✓ Transfer decreases/increases amount (243ms) ✓ Call owner only functions (160ms) 6 passing (1s) + firefly coverage -p 8145 == Found truffle config, using truffle. == Retrieving Coverage Data == Retrieving Bytecode Maps updating: firefly_coverage/0x4e29de4287f9f636c9510eea5a9efbbb4b5a652cc090c4e1e79208bd7d6cde3e.json (deflated 92%) updating: firefly_coverage/0x580ce973d47d8cf6f45e558a343bd961ccce294eb8560736df2828903e1db04a.json (deflated 92%) updating: firefly_coverage/0x6a84f92402326e97907e0fda9f02bf84478b5d8a4231839f6b0b60e5fb84c436.json (deflated 91%) updating: firefly_coverage/0xcf577cb1a603c5ef5d8b3210063cbeb7b78d1395876aa0a3061e482c102ec94b.json (deflated 92%) updating: firefly_coverage/bytecodes.json (deflated 93%) updating: firefly_coverage/coverage.json (deflated 43%) adding: firefly_coverage/0x398b806f10d98b065ceba95f34a8ff07e2bb12b7202a24f44f6da01993d1351f.json (deflated 91%) adding: firefly_coverage/0x39f9d2a66b8b394972a0e523fe3618fcbe0fa151f2ce7223e56b3b62ecc86a50.json (deflated 92%) adding: firefly_coverage/0xacfebff9740f6278dd62b7ac715e248991b38ad5895d7a2c1b5bc7a61d3f66b4.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] sh + git rev-parse HEAD [Pipeline] withEnv [Pipeline] { [Pipeline] build Scheduling project: rv-devops » master [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] }
[Pipeline] // ansiColor [Pipeline] } $ docker stop --time=1 7d50a5029a89254e2cf95e5bb3385283111746f6adddc54d8ebc0b275f70ece7 $ docker rm -f 7d50a5029a89254e2cf95e5bb3385283111746f6adddc54d8ebc0b275f70ece7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result Finished: SUCCESS