Pull request #136 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 011d86c4eeebadc1dfe59a4975a29441f105db7a+251ac84f7228ae0fb6e27216846c283c9f5cee26 (2419728099eeb43c35a8705b9c2dbacf7ba6b08c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-modbus-simulator, mavenSettings:edgex-modbus-simulator-settings, dockerImageName:edgex-modbus-simulator, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[0.0.1], releaseBranchOverride:edgex-modbus-simulator] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-modbus-simulator-settings PROJECT: edgex-modbus-simulator USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-modbus-simulator DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-modbus-simulator-archive.tar.gz SEMVER_BUMP_LEVEL: pre RELEASE_BRANCH_OVERRIDE: edgex-modbus-simulator DOCKER_CUSTOM_TAGS: 0.0.1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4009’ Running on prd-centos7-docker-4c-2g-4014 in /w/workspace/xfoundry_device-modbus-go_PR-136 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-136 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/136/head:refs/remotes/origin/PR-136 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 011d86c4eeebadc1dfe59a4975a29441f105db7a Merge succeeded, producing 011d86c4eeebadc1dfe59a4975a29441f105db7a Checking out Revision 011d86c4eeebadc1dfe59a4975a29441f105db7a (PR-136) > git config core.sparsecheckout # timeout=10 > git checkout -f 011d86c4eeebadc1dfe59a4975a29441f105db7a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 011d86c4eeebadc1dfe59a4975a29441f105db7a # timeout=10 Commit message: "Add Jenkinsfile and Dockerfile to build the Modbus simulator" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:56:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 6836bb5979b98a1d30f9933377cf4afb5ccbbd95 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:56:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:56:40 + ls -al . 08:56:40 total 12 08:56:40 drwxrwxr-x. 3 jenkins jenkins 72 Apr 15 08:56 . 08:56:40 drwxrwxr-x. 4 jenkins jenkins 112 Apr 15 08:56 .. 08:56:40 -rw-rw-r--. 1 jenkins jenkins 1267 Apr 15 08:56 Dockerfile 08:56:40 drwxrwxr-x. 8 jenkins jenkins 179 Apr 15 08:56 .git 08:56:40 -rw-rw-r--. 1 jenkins jenkins 918 Apr 15 08:56 Jenkinsfile 08:56:40 -rw-rw-r--. 1 jenkins jenkins 125 Apr 15 08:56 README.md [Pipeline] isUnix [Pipeline] sh 08:56:41 + docker build -t edgex-devops/edgex-modbus-simulator -f Dockerfile --build-arg ARCH=amd64 --label git_sha=011d86c4eeebadc1dfe59a4975a29441f105db7a --label arch=amd64 . 08:56:41 Sending build context to Docker daemon 217.1kB 08:56:41 Step 1/15 : FROM golang:1.13-alpine AS builder 08:56:42 1.13-alpine: Pulling from library/golang 08:56:42 aad63a933944: Pulling fs layer 08:56:42 c732a2540651: Pulling fs layer 08:56:42 7b2225181d6b: Pulling fs layer 08:56:42 c7df7edfcd79: Pulling fs layer 08:56:42 5871566633bc: Pulling fs layer 08:56:42 c7df7edfcd79: Waiting 08:56:42 5871566633bc: Waiting 08:56:42 c732a2540651: Verifying Checksum 08:56:42 c732a2540651: Download complete 08:56:42 7b2225181d6b: Verifying Checksum 08:56:42 7b2225181d6b: Download complete 08:56:42 aad63a933944: Verifying Checksum 08:56:42 aad63a933944: Download complete 08:56:42 5871566633bc: Verifying Checksum 08:56:42 5871566633bc: Download complete 08:56:42 c7df7edfcd79: Retrying in 5 seconds 08:56:42 aad63a933944: Pull complete 08:56:42 c732a2540651: Pull complete 08:56:43 7b2225181d6b: Pull complete 08:56:43 c7df7edfcd79: Retrying in 4 seconds 08:56:44 c7df7edfcd79: Retrying in 3 seconds 08:56:45 c7df7edfcd79: Retrying in 2 seconds 08:56:46 c7df7edfcd79: Retrying in 1 second 08:56:49 c7df7edfcd79: Verifying Checksum 08:56:49 c7df7edfcd79: Download complete 08:56:53 Still waiting to schedule task 08:56:53 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:56:57 c7df7edfcd79: Pull complete 08:56:57 5871566633bc: Pull complete 08:56:57 Digest: sha256:84a409b4c174965a51e393064e46f6eb32adb80daa6097851268458136fd68b6 08:56:57 Status: Downloaded newer image for golang:1.13-alpine 08:56:57 ---> 3369136a43d1 08:56:57 Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator 08:56:57 ---> Running in d3d08208f6f4 08:56:57 Removing intermediate container d3d08208f6f4 08:56:57 ---> e47d5e667070 08:56:57 Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:56:58 ---> Running in 723a4d9fb569 08:56:59 Removing intermediate container 723a4d9fb569 08:56:59 ---> e8d315f19f18 08:56:59 Step 4/15 : RUN apk update && apk add zeromq-dev libsodium-dev pkgconfig build-base git 08:56:59 ---> Running in 16b9730f6107 08:56:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:57:01 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:57:01 v3.11.5-53-ga12cc12667 [http://nl.alpinelinux.org/alpine/v3.11/main] 08:57:01 v3.11.5-52-g704ace2837 [http://nl.alpinelinux.org/alpine/v3.11/community] 08:57:01 OK: 11271 distinct packages available 08:57:01 (1/28) Installing libgcc (9.2.0-r4) 08:57:01 (2/28) Installing libstdc++ (9.2.0-r4) 08:57:02 (3/28) Installing binutils (2.33.1-r0) 08:57:03 (4/28) Installing libmagic (5.37-r1) 08:57:03 (5/28) Installing file (5.37-r1) 08:57:03 (6/28) Installing gmp (6.1.2-r1) 08:57:03 (7/28) Installing isl (0.18-r0) 08:57:04 (8/28) Installing libgomp (9.2.0-r4) 08:57:04 (9/28) Installing libatomic (9.2.0-r4) 08:57:04 (10/28) Installing mpfr4 (4.0.2-r1) 08:57:04 (11/28) Installing mpc1 (1.1.0-r1) 08:57:04 (12/28) Installing gcc (9.2.0-r4) 08:57:19 (13/28) Installing musl-dev (1.1.24-r2) 08:57:20 (14/28) Installing libc-dev (0.7.2-r0) 08:57:21 (15/28) Installing g++ (9.2.0-r4) 08:57:33 (16/28) Installing make (4.2.1-r2) 08:57:33 (17/28) Installing fortify-headers (1.1-r0) 08:57:33 (18/28) Installing build-base (0.5-r1) 08:57:33 (19/28) Installing nghttp2-libs (1.40.0-r0) 08:57:33 (20/28) Installing libcurl (7.67.0-r0) 08:57:33 (21/28) Installing expat (2.2.9-r1) 08:57:33 (22/28) Installing pcre2 (10.34-r1) 08:57:33 (23/28) Installing git (2.24.2-r0) 08:57:36 (24/28) Installing libsodium (1.0.18-r0) 08:57:36 (25/28) Installing pkgconf (1.6.3-r0) 08:57:36 (26/28) Installing libsodium-dev (1.0.18-r0) 08:57:36 (27/28) Installing libzmq (4.3.2-r0) 08:57:36 (28/28) Installing zeromq-dev (4.3.2-r0) 08:57:36 Executing busybox-1.31.1-r9.trigger 08:57:36 OK: 194 MiB in 43 packages 08:57:41 Removing intermediate container 16b9730f6107 08:57:41 ---> 1878695c8301 08:57:41 Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git 08:57:41 ---> Running in 5428f3c0b764 08:57:41 Cloning into 'device-modbus-go'... 08:57:42 Removing intermediate container 5428f3c0b764 08:57:42 ---> 5c69d71b1435 08:57:42 Step 6/15 : RUN mv ./device-modbus-go/simulator/* . 08:57:42 ---> Running in 4195bc3e34df 08:57:43 Removing intermediate container 4195bc3e34df 08:57:43 ---> 0b3eaf5d1ecb 08:57:43 Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build 08:57:43 ---> Running in 7e8a1a02b3e7 08:57:44 go: downloading github.com/goburrow/serial v0.1.0 08:57:44 go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 08:57:44 go: extracting github.com/goburrow/serial v0.1.0 08:57:44 go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 08:57:44 go: finding github.com/goburrow/serial v0.1.0 08:57:44 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 08:57:46 Removing intermediate container 7e8a1a02b3e7 08:57:46 ---> 5b1a2edfcffd 08:57:46 Step 8/15 : FROM scratch 08:57:46 ---> 08:57:46 Step 9/15 : ENV APP_PORT=1502 08:57:46 ---> Running in 2c77c3527437 08:57:46 Removing intermediate container 2c77c3527437 08:57:46 ---> 867e5f9928ed 08:57:46 Step 10/15 : EXPOSE $APP_PORT 08:57:46 ---> Running in 8e8bc8f9d8ab 08:57:46 Removing intermediate container 8e8bc8f9d8ab 08:57:46 ---> c87c190d0cf9 08:57:46 Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / 08:57:47 ---> ccdfd4ba50a5 08:57:47 Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 08:57:47 ---> Running in 042f3245af70 08:57:47 Removing intermediate container 042f3245af70 08:57:47 ---> 2e0429a2420a 08:57:47 Step 13/15 : ENTRYPOINT ["/simulator"] 08:57:47 ---> Running in ee52279f9840 08:57:47 Removing intermediate container ee52279f9840 08:57:47 ---> db6a054a5c05 08:57:47 Step 14/15 : LABEL arch=amd64 08:57:47 ---> Running in 679bd529fbc8 08:57:47 Removing intermediate container 679bd529fbc8 08:57:47 ---> a1119c695860 08:57:47 Step 15/15 : LABEL git_sha=011d86c4eeebadc1dfe59a4975a29441f105db7a 08:57:47 ---> Running in 8bbcc87e2f8f 08:57:48 Removing intermediate container 8bbcc87e2f8f 08:57:48 ---> 41ea5023ffe2 08:57:48 [Warning] One or more build-args [ARCH] were not consumed 08:57:48 Successfully built 41ea5023ffe2 08:57:48 Successfully tagged edgex-devops/edgex-modbus-simulator:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:59:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4015 in /w/workspace/xfoundry_device-modbus-go_PR-136 [Pipeline] { [Pipeline] checkout 09:00:02 using credential edgex-jenkins-ssh 09:00:02 Cloning the remote Git repository 09:00:02 Cloning with configured refspecs honoured and without tags 09:00:02 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:00:02 > git init /w/workspace/xfoundry_device-modbus-go_PR-136 # timeout=10 09:00:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:00:03 > git --version # timeout=10 09:00:03 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:00:05 Fetching without tags 09:00:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:00:05 > git config --add remote.origin.fetch +refs/pull/136/head:refs/remotes/origin/PR-136 # timeout=10 09:00:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:00:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:00:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:00:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/136/head:refs/remotes/origin/PR-136 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:00:06 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 011d86c4eeebadc1dfe59a4975a29441f105db7a 09:00:06 Merge succeeded, producing 011d86c4eeebadc1dfe59a4975a29441f105db7a 09:00:06 Checking out Revision 011d86c4eeebadc1dfe59a4975a29441f105db7a (PR-136) 09:00:06 > git config core.sparsecheckout # timeout=10 09:00:06 > git checkout -f 011d86c4eeebadc1dfe59a4975a29441f105db7a # timeout=10 09:00:06 > git remote # timeout=10 09:00:06 > git config --get remote.origin.url # timeout=10 09:00:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:00:06 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 09:00:06 > git rev-parse HEAD^{commit} # timeout=10 09:00:06 > git config core.sparsecheckout # timeout=10 09:00:06 > git checkout -f 011d86c4eeebadc1dfe59a4975a29441f105db7a # timeout=10 09:00:10 Commit message: "Add Jenkinsfile and Dockerfile to build the Modbus simulator" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:00:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:00:14 + ls -al . 09:00:14 total 24 09:00:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 09:00 . 09:00:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 09:00 .. 09:00:14 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 09:00 .git 09:00:14 -rw-rw-r-- 1 jenkins jenkins 1267 Apr 15 09:00 Dockerfile 09:00:14 -rw-rw-r-- 1 jenkins jenkins 918 Apr 15 09:00 Jenkinsfile 09:00:14 -rw-rw-r-- 1 jenkins jenkins 125 Apr 15 09:00 README.md [Pipeline] isUnix [Pipeline] sh 09:00:14 + docker build -t edgex-devops/edgex-modbus-simulator-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=011d86c4eeebadc1dfe59a4975a29441f105db7a --label arch=arm64 . 09:00:15 Sending build context to Docker daemon 217.1kB 09:00:15 Step 1/15 : FROM golang:1.13-alpine AS builder 09:00:15 1.13-alpine: Pulling from library/golang 09:00:16 8a0637ca1ac9: Pulling fs layer 09:00:16 e42d4106c439: Pulling fs layer 09:00:16 c9f0a4e33d45: Pulling fs layer 09:00:16 7aa87fa8eef9: Pulling fs layer 09:00:16 82fc38e3111d: Pulling fs layer 09:00:16 7aa87fa8eef9: Waiting 09:00:16 82fc38e3111d: Waiting 09:00:16 c9f0a4e33d45: Verifying Checksum 09:00:16 c9f0a4e33d45: Download complete 09:00:16 e42d4106c439: Verifying Checksum 09:00:16 e42d4106c439: Download complete 09:00:16 8a0637ca1ac9: Verifying Checksum 09:00:16 8a0637ca1ac9: Download complete 09:00:16 82fc38e3111d: Download complete 09:00:17 8a0637ca1ac9: Pull complete 09:00:17 e42d4106c439: Pull complete 09:00:18 c9f0a4e33d45: Pull complete 09:00:28 7aa87fa8eef9: Verifying Checksum 09:00:28 7aa87fa8eef9: Download complete 09:00:40 7aa87fa8eef9: Pull complete 09:00:40 82fc38e3111d: Pull complete 09:00:40 Digest: sha256:84a409b4c174965a51e393064e46f6eb32adb80daa6097851268458136fd68b6 09:00:40 Status: Downloaded newer image for golang:1.13-alpine 09:00:40 ---> 48f4f582ba7c 09:00:40 Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator 09:00:42 ---> Running in bc5dc642d35f 09:00:42 Removing intermediate container bc5dc642d35f 09:00:42 ---> bfb8f457c79d 09:00:42 Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:00:42 ---> Running in 7215f3b1660a 09:00:44 Removing intermediate container 7215f3b1660a 09:00:44 ---> 20aad13d9fc9 09:00:44 Step 4/15 : RUN apk update && apk add zeromq-dev libsodium-dev pkgconfig build-base git 09:00:44 ---> Running in 88bb9b4579fd 09:00:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:00:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:00:47 v3.11.5-53-ga12cc12667 [http://nl.alpinelinux.org/alpine/v3.11/main] 09:00:47 v3.11.5-52-g704ace2837 [http://nl.alpinelinux.org/alpine/v3.11/community] 09:00:47 OK: 11160 distinct packages available 09:00:48 (1/28) Installing libgcc (9.2.0-r4) 09:00:48 (2/28) Installing libstdc++ (9.2.0-r4) 09:00:48 (3/28) Installing binutils (2.33.1-r0) 09:00:51 (4/28) Installing libmagic (5.37-r1) 09:00:51 (5/28) Installing file (5.37-r1) 09:00:51 (6/28) Installing gmp (6.1.2-r1) 09:00:51 (7/28) Installing isl (0.18-r0) 09:00:52 (8/28) Installing libgomp (9.2.0-r4) 09:00:52 (9/28) Installing libatomic (9.2.0-r4) 09:00:52 (10/28) Installing mpfr4 (4.0.2-r1) 09:00:52 (11/28) Installing mpc1 (1.1.0-r1) 09:00:53 (12/28) Installing gcc (9.2.0-r4) 09:01:15 (13/28) Installing musl-dev (1.1.24-r2) 09:01:15 (14/28) Installing libc-dev (0.7.2-r0) 09:01:15 (15/28) Installing g++ (9.2.0-r4) 09:01:33 (16/28) Installing make (4.2.1-r2) 09:01:33 (17/28) Installing fortify-headers (1.1-r0) 09:01:33 (18/28) Installing build-base (0.5-r1) 09:01:33 (19/28) Installing nghttp2-libs (1.40.0-r0) 09:01:33 (20/28) Installing libcurl (7.67.0-r0) 09:01:33 (21/28) Installing expat (2.2.9-r1) 09:01:33 (22/28) Installing pcre2 (10.34-r1) 09:01:33 (23/28) Installing git (2.24.2-r0) 09:01:35 (24/28) Installing libsodium (1.0.18-r0) 09:01:35 (25/28) Installing pkgconf (1.6.3-r0) 09:01:35 (26/28) Installing libsodium-dev (1.0.18-r0) 09:01:35 (27/28) Installing libzmq (4.3.2-r0) 09:01:36 (28/28) Installing zeromq-dev (4.3.2-r0) 09:01:36 Executing busybox-1.31.1-r9.trigger 09:01:36 OK: 184 MiB in 43 packages 09:01:44 Removing intermediate container 88bb9b4579fd 09:01:44 ---> 5521b5316de6 09:01:44 Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git 09:01:44 ---> Running in 1166c81f0c5c 09:01:45 Cloning into 'device-modbus-go'... 09:01:46 Removing intermediate container 1166c81f0c5c 09:01:46 ---> 58c12db01fd1 09:01:46 Step 6/15 : RUN mv ./device-modbus-go/simulator/* . 09:01:46 ---> Running in 41197c57dff5 09:01:48 Removing intermediate container 41197c57dff5 09:01:48 ---> 74faea555cac 09:01:48 Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build 09:01:48 ---> Running in 056730393bd9 09:01:50 go: downloading github.com/goburrow/serial v0.1.0 09:01:50 go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 09:01:50 go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 09:01:50 go: extracting github.com/goburrow/serial v0.1.0 09:01:50 go: finding github.com/goburrow/serial v0.1.0 09:01:50 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 09:01:55 Removing intermediate container 056730393bd9 09:01:55 ---> 8bdf67a87249 09:01:55 Step 8/15 : FROM scratch 09:01:55 ---> 09:01:55 Step 9/15 : ENV APP_PORT=1502 09:01:55 ---> Running in f7a0077c3966 09:01:55 Removing intermediate container f7a0077c3966 09:01:55 ---> 3952ed84ff35 09:01:55 Step 10/15 : EXPOSE $APP_PORT 09:01:55 ---> Running in 4677b6f524e5 09:01:55 Removing intermediate container 4677b6f524e5 09:01:55 ---> ba2a769078d6 09:01:55 Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / 09:01:57 ---> f5eb234df58f 09:01:57 Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:01:57 ---> Running in 1565a0a54719 09:01:57 Removing intermediate container 1565a0a54719 09:01:57 ---> 2bdae357aacc 09:01:57 Step 13/15 : ENTRYPOINT ["/simulator"] 09:01:57 ---> Running in 701fd8e862e7 09:01:58 Removing intermediate container 701fd8e862e7 09:01:58 ---> ffd27dec5155 09:01:58 Step 14/15 : LABEL arch=arm64 09:01:58 ---> Running in b280877e72ec 09:01:58 Removing intermediate container b280877e72ec 09:01:58 ---> 3b383fcc4c54 09:01:58 Step 15/15 : LABEL git_sha=011d86c4eeebadc1dfe59a4975a29441f105db7a 09:01:58 ---> Running in 1c8a6fad36fd 09:01:58 Removing intermediate container 1c8a6fad36fd 09:01:58 ---> 9dc492b6b0ee 09:01:58 [Warning] One or more build-args [ARCH] were not consumed 09:01:58 Successfully built 9dc492b6b0ee 09:01:58 Successfully tagged edgex-devops/edgex-modbus-simulator-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:02:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:02:01 ---> package-listing.sh 09:02:01 ++ facter osfamily 09:02:01 ++ tr '[:upper:]' '[:lower:]' 09:02:01 + OS_FAMILY=redhat 09:02:01 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-136 09:02:01 + START_PACKAGES=/tmp/packages_start.txt 09:02:01 + END_PACKAGES=/tmp/packages_end.txt 09:02:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:02:01 + PACKAGES=/tmp/packages_start.txt 09:02:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-136 ']' 09:02:01 + PACKAGES=/tmp/packages_end.txt 09:02:01 + case "${OS_FAMILY}" in 09:02:01 + rpm -qa 09:02:01 + sort 09:02:04 + '[' -f /tmp/packages_start.txt ']' 09:02:04 + '[' -f /tmp/packages_end.txt ']' 09:02:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:02:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-136 ']' 09:02:04 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-136/archives/ 09:02:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-136/archives/ [Pipeline] isUnix [Pipeline] sh 09:02:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:02:05 09:02:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:02:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:02:05 alpine: Pulling from edgex-lftools-log-publisher 09:02:05 c9b1b535fdd9: Pulling fs layer 09:02:05 2cc5ad85d9ab: Pulling fs layer 09:02:05 756a868c4378: Pulling fs layer 09:02:05 444b2fc9a129: Pulling fs layer 09:02:05 ea15f1150254: Pulling fs layer 09:02:05 41b27a9f41bf: Pulling fs layer 09:02:05 28c525ee5125: Pulling fs layer 09:02:05 094b1ea09ed8: Pulling fs layer 09:02:05 138eaada9080: Pulling fs layer 09:02:05 0622d0fa9048: Pulling fs layer 09:02:05 41b27a9f41bf: Waiting 09:02:05 28c525ee5125: Waiting 09:02:05 094b1ea09ed8: Waiting 09:02:05 138eaada9080: Waiting 09:02:05 0622d0fa9048: Waiting 09:02:05 444b2fc9a129: Waiting 09:02:05 ea15f1150254: Waiting 09:02:05 2cc5ad85d9ab: Download complete 09:02:05 444b2fc9a129: Verifying Checksum 09:02:05 444b2fc9a129: Download complete 09:02:05 c9b1b535fdd9: Verifying Checksum 09:02:05 c9b1b535fdd9: Download complete 09:02:05 ea15f1150254: Verifying Checksum 09:02:05 ea15f1150254: Download complete 09:02:05 28c525ee5125: Verifying Checksum 09:02:05 28c525ee5125: Download complete 09:02:05 c9b1b535fdd9: Pull complete 09:02:05 756a868c4378: Verifying Checksum 09:02:05 756a868c4378: Download complete 09:02:05 2cc5ad85d9ab: Pull complete 09:02:05 094b1ea09ed8: Verifying Checksum 09:02:05 094b1ea09ed8: Download complete 09:02:05 138eaada9080: Verifying Checksum 09:02:05 138eaada9080: Download complete 09:02:06 0622d0fa9048: Verifying Checksum 09:02:06 0622d0fa9048: Download complete 09:02:06 41b27a9f41bf: Verifying Checksum 09:02:06 41b27a9f41bf: Download complete 09:02:08 756a868c4378: Pull complete 09:02:08 444b2fc9a129: Pull complete 09:02:08 ea15f1150254: Pull complete 09:02:11 41b27a9f41bf: Pull complete 09:02:11 28c525ee5125: Pull complete 09:02:14 094b1ea09ed8: Pull complete 09:02:14 138eaada9080: Pull complete 09:02:14 0622d0fa9048: Pull complete 09:02:14 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:02:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:02:14 prd-centos7-docker-4c-2g-4014 does not seem to be running inside a container 09:02:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-136 -v /w/workspace/xfoundry_device-modbus-go_PR-136:/w/workspace/xfoundry_device-modbus-go_PR-136:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-136@tmp:/w/workspace/xfoundry_device-modbus-go_PR-136@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 ******** -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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:02:15 $ docker top 5cfaf1aaac491ec9e22c7c89858f45e17cd30ab4bcabcd0bae86a4c1c9161424 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:02:16 provisioning config files... 09:02:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-136@tmp/config4247104729167052820tmp [Pipeline] { [Pipeline] echo 09:02:16 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:02:16 ---> create-netrc.sh [Pipeline] echo 09:02:16 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:02:16 ---> logs-deploy.sh 09:02:16 + ARCHIVE_ARTIFACTS= 09:02:16 + LOGS_SERVER=https://logs.edgexfoundry.org 09:02:16 + '[' https://logs.edgexfoundry.org == None ']' 09:02:16 + NEXUS_URL=https://nexus.edgexfoundry.org 09:02:16 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-136/2 09:02:16 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-136/2/ 09:02:16 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-136/2 /w/workspace/xfoundry_device-modbus-go_PR-136 09:02:17 Archives upload complete. 09:02:17 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-136/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-136/2/