Pull request #137 opened 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 (49916e6c3f64697aeae0955abbca3388aec098a1) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-137/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 > git --version # 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4019 in /w/workspace/xfoundry_device-modbus-go_PR-137 [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 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-137 # 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/137/head:refs/remotes/origin/PR-137 +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 Fetching without tags Merging remotes/origin/edgex-modbus-simulator commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 011d86c4eeebadc1dfe59a4975a29441f105db7a Merge succeeded, producing 011d86c4eeebadc1dfe59a4975a29441f105db7a Checking out Revision 011d86c4eeebadc1dfe59a4975a29441f105db7a (PR-137) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/137/head:refs/remotes/origin/PR-137 # timeout=10 > git config --add remote.origin.fetch +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # 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/137/head:refs/remotes/origin/PR-137 +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 > 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. > git --version # timeout=10 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:09:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [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 09:10:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:10:03 + ls -al . 09:10:03 total 12 09:10:03 drwxrwxr-x. 3 jenkins jenkins 72 Apr 15 09:09 . 09:10:03 drwxrwxr-x. 4 jenkins jenkins 112 Apr 15 09:09 .. 09:10:03 -rw-rw-r--. 1 jenkins jenkins 1267 Apr 15 09:09 Dockerfile 09:10:03 drwxrwxr-x. 8 jenkins jenkins 179 Apr 15 09:09 .git 09:10:03 -rw-rw-r--. 1 jenkins jenkins 918 Apr 15 09:09 Jenkinsfile 09:10:03 -rw-rw-r--. 1 jenkins jenkins 125 Apr 15 09:09 README.md [Pipeline] isUnix [Pipeline] sh 09:10:03 + docker build -t edgex-devops/edgex-modbus-simulator -f Dockerfile --build-arg ARCH=amd64 --label git_sha=011d86c4eeebadc1dfe59a4975a29441f105db7a --label arch=amd64 . 09:10:04 Sending build context to Docker daemon 217.1kB 09:10:04 Step 1/15 : FROM golang:1.13-alpine AS builder 09:10:04 1.13-alpine: Pulling from library/golang 09:10:04 aad63a933944: Pulling fs layer 09:10:04 c732a2540651: Pulling fs layer 09:10:04 7b2225181d6b: Pulling fs layer 09:10:04 c7df7edfcd79: Pulling fs layer 09:10:04 5871566633bc: Pulling fs layer 09:10:04 c7df7edfcd79: Waiting 09:10:04 5871566633bc: Waiting 09:10:04 7b2225181d6b: Verifying Checksum 09:10:04 7b2225181d6b: Download complete 09:10:04 c732a2540651: Verifying Checksum 09:10:04 c732a2540651: Download complete 09:10:04 aad63a933944: Verifying Checksum 09:10:04 aad63a933944: Download complete 09:10:04 5871566633bc: Verifying Checksum 09:10:04 5871566633bc: Download complete 09:10:05 aad63a933944: Pull complete 09:10:05 c732a2540651: Pull complete 09:10:05 7b2225181d6b: Pull complete 09:10:06 c7df7edfcd79: Verifying Checksum 09:10:06 c7df7edfcd79: Download complete 09:10:13 c7df7edfcd79: Pull complete 09:10:13 5871566633bc: Pull complete 09:10:13 Digest: sha256:84a409b4c174965a51e393064e46f6eb32adb80daa6097851268458136fd68b6 09:10:13 Status: Downloaded newer image for golang:1.13-alpine 09:10:13 ---> 3369136a43d1 09:10:13 Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator 09:10:13 ---> Running in 942bd117f4f5 09:10:13 Removing intermediate container 942bd117f4f5 09:10:13 ---> dd3b5342bb3c 09:10:13 Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:13 ---> Running in 548e666210a4 09:10:14 Removing intermediate container 548e666210a4 09:10:14 ---> 944cff6a8f33 09:10:14 Step 4/15 : RUN apk update && apk add zeromq-dev libsodium-dev pkgconfig build-base git 09:10:14 ---> Running in 6d9ecd718298 09:10:14 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:10:15 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:10:16 v3.11.5-53-ga12cc12667 [http://nl.alpinelinux.org/alpine/v3.11/main] 09:10:16 v3.11.5-52-g704ace2837 [http://nl.alpinelinux.org/alpine/v3.11/community] 09:10:16 OK: 11271 distinct packages available 09:10:16 (1/28) Installing libgcc (9.2.0-r4) 09:10:16 Still waiting to schedule task 09:10:16 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline 09:10:16 (2/28) Installing libstdc++ (9.2.0-r4) 09:10:17 (3/28) Installing binutils (2.33.1-r0) 09:10:19 (4/28) Installing libmagic (5.37-r1) 09:10:19 (5/28) Installing file (5.37-r1) 09:10:19 (6/28) Installing gmp (6.1.2-r1) 09:10:19 (7/28) Installing isl (0.18-r0) 09:10:20 (8/28) Installing libgomp (9.2.0-r4) 09:10:20 (9/28) Installing libatomic (9.2.0-r4) 09:10:20 (10/28) Installing mpfr4 (4.0.2-r1) 09:10:20 (11/28) Installing mpc1 (1.1.0-r1) 09:10:20 (12/28) Installing gcc (9.2.0-r4) 09:10:52 (13/28) Installing musl-dev (1.1.24-r2) 09:10:52 (14/28) Installing libc-dev (0.7.2-r0) 09:10:52 (15/28) Installing g++ (9.2.0-r4) 09:11:04 (16/28) Installing make (4.2.1-r2) 09:11:04 (17/28) Installing fortify-headers (1.1-r0) 09:11:04 (18/28) Installing build-base (0.5-r1) 09:11:04 (19/28) Installing nghttp2-libs (1.40.0-r0) 09:11:04 (20/28) Installing libcurl (7.67.0-r0) 09:11:04 (21/28) Installing expat (2.2.9-r1) 09:11:04 (22/28) Installing pcre2 (10.34-r1) 09:11:04 (23/28) Installing git (2.24.2-r0) 09:11:10 (24/28) Installing libsodium (1.0.18-r0) 09:11:10 (25/28) Installing pkgconf (1.6.3-r0) 09:11:10 (26/28) Installing libsodium-dev (1.0.18-r0) 09:11:10 (27/28) Installing libzmq (4.3.2-r0) 09:11:10 (28/28) Installing zeromq-dev (4.3.2-r0) 09:11:10 Executing busybox-1.31.1-r9.trigger 09:11:10 OK: 194 MiB in 43 packages 09:11:14 Removing intermediate container 6d9ecd718298 09:11:14 ---> e9e301e8f54b 09:11:14 Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git 09:11:14 ---> Running in 6cf258ef227b 09:11:14 Cloning into 'device-modbus-go'... 09:11:15 Removing intermediate container 6cf258ef227b 09:11:15 ---> 7c7e44e5c554 09:11:15 Step 6/15 : RUN mv ./device-modbus-go/simulator/* . 09:11:15 ---> Running in a8ffe28fa4b0 09:11:15 Removing intermediate container a8ffe28fa4b0 09:11:15 ---> b7442eae95c7 09:11:15 Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build 09:11:15 ---> Running in a4122c7adab4 09:11:16 go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 09:11:16 go: downloading github.com/goburrow/serial v0.1.0 09:11:16 go: extracting github.com/goburrow/serial v0.1.0 09:11:16 go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 09:11:16 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 09:11:16 go: finding github.com/goburrow/serial v0.1.0 09:11:18 Removing intermediate container a4122c7adab4 09:11:18 ---> d953005a5126 09:11:18 Step 8/15 : FROM scratch 09:11:18 ---> 09:11:18 Step 9/15 : ENV APP_PORT=1502 09:11:18 ---> Running in a59ee6cde671 09:11:18 Removing intermediate container a59ee6cde671 09:11:18 ---> 33daaa9eec21 09:11:18 Step 10/15 : EXPOSE $APP_PORT 09:11:18 ---> Running in aaa92ef8f58d 09:11:18 Removing intermediate container aaa92ef8f58d 09:11:18 ---> 75d12d42fe4a 09:11:18 Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / 09:11:18 ---> e203e905a7fc 09:11:18 Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:11:18 ---> Running in 95c9496f65b3 09:11:18 Removing intermediate container 95c9496f65b3 09:11:18 ---> b0be6f511df9 09:11:18 Step 13/15 : ENTRYPOINT ["/simulator"] 09:11:18 ---> Running in 3f7af05d0cfe 09:11:19 Removing intermediate container 3f7af05d0cfe 09:11:19 ---> fbbd41d63517 09:11:19 Step 14/15 : LABEL arch=amd64 09:11:19 ---> Running in d3e624c798e3 09:11:19 Removing intermediate container d3e624c798e3 09:11:19 ---> fea2072ce930 09:11:19 Step 15/15 : LABEL git_sha=011d86c4eeebadc1dfe59a4975a29441f105db7a 09:11:20 ---> Running in ecd107128563 09:11:20 Removing intermediate container ecd107128563 09:11:20 ---> edaeb9d32408 09:11:20 [Warning] One or more build-args [ARCH] were not consumed 09:11:20 Successfully built edaeb9d32408 09:11:20 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] } 09:12:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4021 in /w/workspace/xfoundry_device-modbus-go_PR-137 [Pipeline] { [Pipeline] checkout 09:12:13 using credential edgex-jenkins-ssh 09:12:13 Cloning the remote Git repository 09:12:13 Cloning with configured refspecs honoured and without tags 09:12:13 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:12:13 > git init /w/workspace/xfoundry_device-modbus-go_PR-137 # timeout=10 09:12:13 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:12:13 > git --version # timeout=10 09:12:13 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 09:12:14 Fetching without tags 09:12:14 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:12:14 > git config --add remote.origin.fetch +refs/pull/137/head:refs/remotes/origin/PR-137 # timeout=10 09:12:14 > git config --add remote.origin.fetch +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 09:12:14 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:12:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:12:14 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 09:12:15 Merging remotes/origin/edgex-modbus-simulator commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 011d86c4eeebadc1dfe59a4975a29441f105db7a 09:12:15 Merge succeeded, producing 011d86c4eeebadc1dfe59a4975a29441f105db7a 09:12:15 Checking out Revision 011d86c4eeebadc1dfe59a4975a29441f105db7a (PR-137) 09:12:15 > git config core.sparsecheckout # timeout=10 09:12:15 > git checkout -f 011d86c4eeebadc1dfe59a4975a29441f105db7a # timeout=10 09:12:15 > git remote # timeout=10 09:12:15 > git config --get remote.origin.url # timeout=10 09:12:15 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:15 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 09:12:15 > git rev-parse HEAD^{commit} # timeout=10 09:12:15 > git config core.sparsecheckout # timeout=10 09:12:15 > git checkout -f 011d86c4eeebadc1dfe59a4975a29441f105db7a # timeout=10 09:12:20 Commit message: "Add Jenkinsfile and Dockerfile to build the Modbus simulator" 09:12:20 > git --version # timeout=10 09:12:20 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [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:12:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:12:22 + ls -al . 09:12:22 total 24 09:12:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 09:12 . 09:12:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 09:12 .. 09:12:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 09:12 .git 09:12:22 -rw-rw-r-- 1 jenkins jenkins 1267 Apr 15 09:12 Dockerfile 09:12:22 -rw-rw-r-- 1 jenkins jenkins 918 Apr 15 09:12 Jenkinsfile 09:12:22 -rw-rw-r-- 1 jenkins jenkins 125 Apr 15 09:12 README.md [Pipeline] isUnix [Pipeline] sh 09:12:23 + docker build -t edgex-devops/edgex-modbus-simulator-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=011d86c4eeebadc1dfe59a4975a29441f105db7a --label arch=arm64 . 09:12:23 Sending build context to Docker daemon 217.1kB 09:12:24 Step 1/15 : FROM golang:1.13-alpine AS builder 09:12:24 1.13-alpine: Pulling from library/golang 09:12:24 8a0637ca1ac9: Pulling fs layer 09:12:24 e42d4106c439: Pulling fs layer 09:12:24 c9f0a4e33d45: Pulling fs layer 09:12:24 7aa87fa8eef9: Pulling fs layer 09:12:24 82fc38e3111d: Pulling fs layer 09:12:24 7aa87fa8eef9: Waiting 09:12:24 82fc38e3111d: Waiting 09:12:24 c9f0a4e33d45: Download complete 09:12:24 e42d4106c439: Verifying Checksum 09:12:24 e42d4106c439: Download complete 09:12:24 82fc38e3111d: Verifying Checksum 09:12:24 82fc38e3111d: Download complete 09:12:25 8a0637ca1ac9: Verifying Checksum 09:12:25 8a0637ca1ac9: Download complete 09:12:25 8a0637ca1ac9: Pull complete 09:12:26 e42d4106c439: Pull complete 09:12:26 c9f0a4e33d45: Pull complete 09:12:36 7aa87fa8eef9: Download complete 09:12:48 7aa87fa8eef9: Pull complete 09:12:48 82fc38e3111d: Pull complete 09:12:48 Digest: sha256:84a409b4c174965a51e393064e46f6eb32adb80daa6097851268458136fd68b6 09:12:48 Status: Downloaded newer image for golang:1.13-alpine 09:12:48 ---> 48f4f582ba7c 09:12:48 Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator 09:12:49 ---> Running in 642abd116283 09:12:50 Removing intermediate container 642abd116283 09:12:50 ---> 13a47113b824 09:12:50 Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:50 ---> Running in 01bf2ba7e145 09:12:52 Removing intermediate container 01bf2ba7e145 09:12:52 ---> 6cf9049f7989 09:12:52 Step 4/15 : RUN apk update && apk add zeromq-dev libsodium-dev pkgconfig build-base git 09:12:52 ---> Running in 68c446f6dfea 09:12:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:12:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:12:55 v3.11.5-53-ga12cc12667 [http://nl.alpinelinux.org/alpine/v3.11/main] 09:12:55 v3.11.5-52-g704ace2837 [http://nl.alpinelinux.org/alpine/v3.11/community] 09:12:55 OK: 11160 distinct packages available 09:12:56 (1/28) Installing libgcc (9.2.0-r4) 09:12:56 (2/28) Installing libstdc++ (9.2.0-r4) 09:12:56 (3/28) Installing binutils (2.33.1-r0) 09:12:58 (4/28) Installing libmagic (5.37-r1) 09:12:58 (5/28) Installing file (5.37-r1) 09:12:58 (6/28) Installing gmp (6.1.2-r1) 09:12:59 (7/28) Installing isl (0.18-r0) 09:12:59 (8/28) Installing libgomp (9.2.0-r4) 09:12:59 (9/28) Installing libatomic (9.2.0-r4) 09:13:00 (10/28) Installing mpfr4 (4.0.2-r1) 09:13:00 (11/28) Installing mpc1 (1.1.0-r1) 09:13:00 (12/28) Installing gcc (9.2.0-r4) 09:13:22 (13/28) Installing musl-dev (1.1.24-r2) 09:13:22 (14/28) Installing libc-dev (0.7.2-r0) 09:13:22 (15/28) Installing g++ (9.2.0-r4) 09:13:22 (16/28) Installing make (4.2.1-r2) 09:13:23 (17/28) Installing fortify-headers (1.1-r0) 09:13:23 (18/28) Installing build-base (0.5-r1) 09:13:23 (19/28) Installing nghttp2-libs (1.40.0-r0) 09:13:23 (20/28) Installing libcurl (7.67.0-r0) 09:13:23 (21/28) Installing expat (2.2.9-r1) 09:13:23 (22/28) Installing pcre2 (10.34-r1) 09:13:23 (23/28) Installing git (2.24.2-r0) 09:13:28 (24/28) Installing libsodium (1.0.18-r0) 09:13:28 (25/28) Installing pkgconf (1.6.3-r0) 09:13:29 (26/28) Installing libsodium-dev (1.0.18-r0) 09:13:29 (27/28) Installing libzmq (4.3.2-r0) 09:13:29 (28/28) Installing zeromq-dev (4.3.2-r0) 09:13:29 Executing busybox-1.31.1-r9.trigger 09:13:29 OK: 184 MiB in 43 packages 09:13:39 Removing intermediate container 68c446f6dfea 09:13:39 ---> aeab36252df4 09:13:39 Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git 09:13:39 ---> Running in 400cbcb84442 09:13:39 Cloning into 'device-modbus-go'... 09:13:40 Removing intermediate container 400cbcb84442 09:13:40 ---> 31da56a17192 09:13:40 Step 6/15 : RUN mv ./device-modbus-go/simulator/* . 09:13:40 ---> Running in 0830c2b5cd7f 09:13:42 Removing intermediate container 0830c2b5cd7f 09:13:42 ---> 88ff862a9f38 09:13:42 Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build 09:13:42 ---> Running in c74f09cb5aa3 09:13:43 go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 09:13:43 go: downloading github.com/goburrow/serial v0.1.0 09:13:43 go: extracting github.com/goburrow/serial v0.1.0 09:13:43 go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 09:13:43 go: finding github.com/goburrow/serial v0.1.0 09:13:43 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 09:13:49 Removing intermediate container c74f09cb5aa3 09:13:49 ---> 841d8a13a34c 09:13:49 Step 8/15 : FROM scratch 09:13:49 ---> 09:13:49 Step 9/15 : ENV APP_PORT=1502 09:13:49 ---> Running in 578d560f2364 09:13:49 Removing intermediate container 578d560f2364 09:13:49 ---> c08e46c06131 09:13:49 Step 10/15 : EXPOSE $APP_PORT 09:13:49 ---> Running in f7f432432dc0 09:13:49 Removing intermediate container f7f432432dc0 09:13:49 ---> 197f11e6d846 09:13:49 Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / 09:13:50 ---> f3b0576eff4d 09:13:50 Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:13:50 ---> Running in a59203c02853 09:13:51 Removing intermediate container a59203c02853 09:13:51 ---> a3d35cfebe1d 09:13:51 Step 13/15 : ENTRYPOINT ["/simulator"] 09:13:51 ---> Running in 439314dcaae8 09:13:51 Removing intermediate container 439314dcaae8 09:13:51 ---> 6c1c36cf6c4f 09:13:51 Step 14/15 : LABEL arch=arm64 09:13:51 ---> Running in 70cdd00de2de 09:13:52 Removing intermediate container 70cdd00de2de 09:13:52 ---> 3cf9a9c718e4 09:13:52 Step 15/15 : LABEL git_sha=011d86c4eeebadc1dfe59a4975a29441f105db7a 09:13:52 ---> Running in 8f4cf73a6f38 09:13:52 Removing intermediate container 8f4cf73a6f38 09:13:52 ---> f5f2751ecde8 09:13:52 [Warning] One or more build-args [ARCH] were not consumed 09:13:52 Successfully built f5f2751ecde8 09:13:52 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:13:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:13:55 ---> package-listing.sh 09:13:55 ++ facter osfamily 09:13:55 ++ tr '[:upper:]' '[:lower:]' 09:13:55 + OS_FAMILY=redhat 09:13:55 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-137 09:13:55 + START_PACKAGES=/tmp/packages_start.txt 09:13:55 + END_PACKAGES=/tmp/packages_end.txt 09:13:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:13:55 + PACKAGES=/tmp/packages_start.txt 09:13:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-137 ']' 09:13:55 + PACKAGES=/tmp/packages_end.txt 09:13:55 + case "${OS_FAMILY}" in 09:13:55 + rpm -qa 09:13:55 + sort 09:13:59 + '[' -f /tmp/packages_start.txt ']' 09:13:59 + '[' -f /tmp/packages_end.txt ']' 09:13:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:13:59 + '[' /w/workspace/xfoundry_device-modbus-go_PR-137 ']' 09:13:59 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-137/archives/ 09:13:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-137/archives/ [Pipeline] isUnix [Pipeline] sh 09:14:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:14:00 09:14:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:14:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:14:00 alpine: Pulling from edgex-lftools-log-publisher 09:14:00 c9b1b535fdd9: Pulling fs layer 09:14:00 2cc5ad85d9ab: Pulling fs layer 09:14:00 756a868c4378: Pulling fs layer 09:14:00 444b2fc9a129: Pulling fs layer 09:14:00 ea15f1150254: Pulling fs layer 09:14:00 41b27a9f41bf: Pulling fs layer 09:14:00 28c525ee5125: Pulling fs layer 09:14:00 094b1ea09ed8: Pulling fs layer 09:14:00 138eaada9080: Pulling fs layer 09:14:00 0622d0fa9048: Pulling fs layer 09:14:00 28c525ee5125: Waiting 09:14:00 138eaada9080: Waiting 09:14:00 094b1ea09ed8: Waiting 09:14:00 444b2fc9a129: Waiting 09:14:00 41b27a9f41bf: Waiting 09:14:00 0622d0fa9048: Waiting 09:14:00 ea15f1150254: Waiting 09:14:00 2cc5ad85d9ab: Verifying Checksum 09:14:00 2cc5ad85d9ab: Download complete 09:14:00 444b2fc9a129: Verifying Checksum 09:14:00 444b2fc9a129: Download complete 09:14:00 c9b1b535fdd9: Verifying Checksum 09:14:00 c9b1b535fdd9: Download complete 09:14:00 ea15f1150254: Verifying Checksum 09:14:00 ea15f1150254: Download complete 09:14:01 28c525ee5125: Verifying Checksum 09:14:01 28c525ee5125: Download complete 09:14:01 756a868c4378: Verifying Checksum 09:14:01 756a868c4378: Download complete 09:14:01 c9b1b535fdd9: Pull complete 09:14:01 138eaada9080: Verifying Checksum 09:14:01 138eaada9080: Download complete 09:14:01 094b1ea09ed8: Verifying Checksum 09:14:01 094b1ea09ed8: Download complete 09:14:01 0622d0fa9048: Verifying Checksum 09:14:01 0622d0fa9048: Download complete 09:14:01 2cc5ad85d9ab: Pull complete 09:14:01 41b27a9f41bf: Verifying Checksum 09:14:01 41b27a9f41bf: Download complete 09:14:03 756a868c4378: Pull complete 09:14:03 444b2fc9a129: Pull complete 09:14:03 ea15f1150254: Pull complete 09:14:07 41b27a9f41bf: Pull complete 09:14:07 28c525ee5125: Pull complete 09:14:08 094b1ea09ed8: Pull complete 09:14:08 138eaada9080: Pull complete 09:14:09 0622d0fa9048: Pull complete 09:14:09 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:14:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:14:09 prd-centos7-docker-4c-2g-4019 does not seem to be running inside a container 09:14:09 $ 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-137 -v /w/workspace/xfoundry_device-modbus-go_PR-137:/w/workspace/xfoundry_device-modbus-go_PR-137:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-137@tmp:/w/workspace/xfoundry_device-modbus-go_PR-137@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:14:10 $ docker top bc85a14cdf4017befa9a5cde68e5fc3abd85954ab9339bdb0868ce96b42b1d7c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:11 provisioning config files... 09:14:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-137@tmp/config7333933077059330698tmp [Pipeline] { [Pipeline] echo 09:14:11 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:14:11 ---> create-netrc.sh [Pipeline] echo 09:14:11 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:14:11 ---> logs-deploy.sh 09:14:11 + ARCHIVE_ARTIFACTS= 09:14:11 + LOGS_SERVER=https://logs.edgexfoundry.org 09:14:11 + '[' https://logs.edgexfoundry.org == None ']' 09:14:11 + NEXUS_URL=https://nexus.edgexfoundry.org 09:14:11 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-137/1 09:14:11 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-137/1/ 09:14:11 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-137/1 /w/workspace/xfoundry_device-modbus-go_PR-137 09:14:12 Archives upload complete. 09:14:13 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-137/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-137/1/