Pull request #137 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 0f55954cd1db4e9f5dc250a63f863780bd8d98a7+251ac84f7228ae0fb6e27216846c283c9f5cee26 (ec8653fe2bec13bc2623fc849750c1eb863115db) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4038 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 Fetching 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 > 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 Merging remotes/origin/edgex-modbus-simulator commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 0f55954cd1db4e9f5dc250a63f863780bd8d98a7 Merge succeeded, producing 0f55954cd1db4e9f5dc250a63f863780bd8d98a7 Checking out Revision 0f55954cd1db4e9f5dc250a63f863780bd8d98a7 (PR-137) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f55954cd1db4e9f5dc250a63f863780bd8d98a7 # 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 0f55954cd1db4e9f5dc250a63f863780bd8d98a7 # 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 12:27:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 011d86c4eeebadc1dfe59a4975a29441f105db7a # 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 12:27:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:27:43 + ls -al . 12:27:43 total 12 12:27:43 drwxrwxr-x. 3 jenkins jenkins 72 Apr 15 12:27 . 12:27:43 drwxrwxr-x. 4 jenkins jenkins 112 Apr 15 12:27 .. 12:27:43 -rw-rw-r--. 1 jenkins jenkins 1256 Apr 15 12:27 Dockerfile 12:27:43 drwxrwxr-x. 8 jenkins jenkins 179 Apr 15 12:27 .git 12:27:43 -rw-rw-r--. 1 jenkins jenkins 918 Apr 15 12:27 Jenkinsfile 12:27:43 -rw-rw-r--. 1 jenkins jenkins 125 Apr 15 12:27 README.md [Pipeline] isUnix [Pipeline] sh 12:27:44 + docker build -t edgex-devops/edgex-modbus-simulator -f Dockerfile --build-arg ARCH=amd64 --label git_sha=0f55954cd1db4e9f5dc250a63f863780bd8d98a7 --label arch=amd64 . 12:27:44 Sending build context to Docker daemon 217.1kB 12:27:44 Step 1/15 : FROM golang:1.13-alpine AS builder 12:27:45 1.13-alpine: Pulling from library/golang 12:27:45 aad63a933944: Pulling fs layer 12:27:45 c732a2540651: Pulling fs layer 12:27:45 7b2225181d6b: Pulling fs layer 12:27:45 c7df7edfcd79: Pulling fs layer 12:27:45 5871566633bc: Pulling fs layer 12:27:45 c7df7edfcd79: Waiting 12:27:45 5871566633bc: Waiting 12:27:45 7b2225181d6b: Verifying Checksum 12:27:45 7b2225181d6b: Download complete 12:27:45 c732a2540651: Verifying Checksum 12:27:45 c732a2540651: Download complete 12:27:45 aad63a933944: Verifying Checksum 12:27:45 aad63a933944: Download complete 12:27:45 5871566633bc: Verifying Checksum 12:27:45 5871566633bc: Download complete 12:27:45 aad63a933944: Pull complete 12:27:45 c732a2540651: Pull complete 12:27:46 7b2225181d6b: Pull complete 12:27:47 c7df7edfcd79: Verifying Checksum 12:27:47 c7df7edfcd79: Download complete 12:27:52 c7df7edfcd79: Pull complete 12:27:52 5871566633bc: Pull complete 12:27:52 Digest: sha256:84a409b4c174965a51e393064e46f6eb32adb80daa6097851268458136fd68b6 12:27:52 Status: Downloaded newer image for golang:1.13-alpine 12:27:52 ---> 3369136a43d1 12:27:52 Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator 12:27:52 ---> Running in 2a98f5eef6d4 12:27:52 Removing intermediate container 2a98f5eef6d4 12:27:52 ---> 063fbbe3f8f2 12:27:52 Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:27:52 ---> Running in ab5c39d669fd 12:27:53 Removing intermediate container ab5c39d669fd 12:27:53 ---> 3706ebeb24d1 12:27:53 Step 4/15 : RUN apk update && apk add libsodium-dev pkgconfig build-base git 12:27:53 ---> Running in 32988b07c4dd 12:27:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 12:27:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 12:27:55 v3.11.5-53-ga12cc12667 [http://nl.alpinelinux.org/alpine/v3.11/main] 12:27:55 v3.11.5-52-g704ace2837 [http://nl.alpinelinux.org/alpine/v3.11/community] 12:27:55 OK: 11271 distinct packages available 12:27:55 (1/26) Installing libgcc (9.2.0-r4) 12:27:55 (2/26) Installing libstdc++ (9.2.0-r4) 12:27:56 (3/26) Installing binutils (2.33.1-r0) 12:27:56 Still waiting to schedule task 12:27:56 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline 12:27:57 (4/26) Installing libmagic (5.37-r1) 12:27:57 (5/26) Installing file (5.37-r1) 12:27:57 (6/26) Installing gmp (6.1.2-r1) 12:27:57 (7/26) Installing isl (0.18-r0) 12:27:57 (8/26) Installing libgomp (9.2.0-r4) 12:27:57 (9/26) Installing libatomic (9.2.0-r4) 12:27:57 (10/26) Installing mpfr4 (4.0.2-r1) 12:27:57 (11/26) Installing mpc1 (1.1.0-r1) 12:27:57 (12/26) Installing gcc (9.2.0-r4) 12:28:03 (13/26) Installing musl-dev (1.1.24-r2) 12:28:03 (14/26) Installing libc-dev (0.7.2-r0) 12:28:03 (15/26) Installing g++ (9.2.0-r4) 12:28:05 (16/26) Installing make (4.2.1-r2) 12:28:05 (17/26) Installing fortify-headers (1.1-r0) 12:28:05 (18/26) Installing build-base (0.5-r1) 12:28:05 (19/26) Installing nghttp2-libs (1.40.0-r0) 12:28:05 (20/26) Installing libcurl (7.67.0-r0) 12:28:05 (21/26) Installing expat (2.2.9-r1) 12:28:06 (22/26) Installing pcre2 (10.34-r1) 12:28:06 (23/26) Installing git (2.24.2-r0) 12:28:07 (24/26) Installing libsodium (1.0.18-r0) 12:28:07 (25/26) Installing pkgconf (1.6.3-r0) 12:28:07 (26/26) Installing libsodium-dev (1.0.18-r0) 12:28:07 Executing busybox-1.31.1-r9.trigger 12:28:07 OK: 194 MiB in 41 packages 12:28:11 Removing intermediate container 32988b07c4dd 12:28:11 ---> aef1d5d00c63 12:28:11 Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git 12:28:11 ---> Running in e0f50841b43c 12:28:11 Cloning into 'device-modbus-go'... 12:28:11 Removing intermediate container e0f50841b43c 12:28:11 ---> 6a0089182e77 12:28:11 Step 6/15 : RUN mv ./device-modbus-go/simulator/* . 12:28:11 ---> Running in 05ee44f5b934 12:28:12 Removing intermediate container 05ee44f5b934 12:28:12 ---> d96a3e2af96d 12:28:12 Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build 12:28:12 ---> Running in 08336bda5d75 12:28:14 go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 12:28:14 go: downloading github.com/goburrow/serial v0.1.0 12:28:14 go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 12:28:14 go: extracting github.com/goburrow/serial v0.1.0 12:28:14 go: finding github.com/goburrow/serial v0.1.0 12:28:14 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 12:28:16 Removing intermediate container 08336bda5d75 12:28:16 ---> f2cdf77ed1f6 12:28:16 Step 8/15 : FROM scratch 12:28:16 ---> 12:28:16 Step 9/15 : ENV APP_PORT=1502 12:28:16 ---> Running in a3567bd867b0 12:28:16 Removing intermediate container a3567bd867b0 12:28:16 ---> 041b38558092 12:28:16 Step 10/15 : EXPOSE $APP_PORT 12:28:16 ---> Running in 8f4f68e681fb 12:28:16 Removing intermediate container 8f4f68e681fb 12:28:16 ---> cf848a76a0fd 12:28:16 Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / 12:28:17 ---> 7dbd496ef527 12:28:17 Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 12:28:17 ---> Running in 1867ec996f01 12:28:17 Removing intermediate container 1867ec996f01 12:28:17 ---> 99a690a64a32 12:28:17 Step 13/15 : ENTRYPOINT ["/simulator"] 12:28:17 ---> Running in 3a78f0b0f939 12:28:17 Removing intermediate container 3a78f0b0f939 12:28:17 ---> ae40770fc084 12:28:17 Step 14/15 : LABEL arch=amd64 12:28:17 ---> Running in 6e59dc45b8ba 12:28:17 Removing intermediate container 6e59dc45b8ba 12:28:17 ---> 7b94aeb60b12 12:28:17 Step 15/15 : LABEL git_sha=0f55954cd1db4e9f5dc250a63f863780bd8d98a7 12:28:17 ---> Running in d8a262532329 12:28:17 Removing intermediate container d8a262532329 12:28:17 ---> 615d4fe7f1ec 12:28:17 [Warning] One or more build-args [ARCH] were not consumed 12:28:17 Successfully built 615d4fe7f1ec 12:28:17 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] } 12:29:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4039 in /w/workspace/xfoundry_device-modbus-go_PR-137 [Pipeline] { [Pipeline] checkout 12:29:54 using credential edgex-jenkins-ssh 12:29:54 Cloning the remote Git repository 12:29:54 Cloning with configured refspecs honoured and without tags 12:29:54 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 12:29:54 > git init /w/workspace/xfoundry_device-modbus-go_PR-137 # timeout=10 12:29:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 12:29:54 > git --version # timeout=10 12:29:54 using GIT_SSH to set credentials SSH Credentials for GitHub 12:29:54 > 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 12:29:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 12:29:55 > git config --add remote.origin.fetch +refs/pull/137/head:refs/remotes/origin/PR-137 # timeout=10 12:29:55 > git config --add remote.origin.fetch +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 12:29:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 12:29:55 Fetching without tags 12:29:56 Merging remotes/origin/edgex-modbus-simulator commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 0f55954cd1db4e9f5dc250a63f863780bd8d98a7 12:29:56 Merge succeeded, producing 0f55954cd1db4e9f5dc250a63f863780bd8d98a7 12:29:56 Checking out Revision 0f55954cd1db4e9f5dc250a63f863780bd8d98a7 (PR-137) 12:29:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 12:29:55 using GIT_SSH to set credentials SSH Credentials for GitHub 12:29:55 > 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 12:29:56 > git config core.sparsecheckout # timeout=10 12:29:56 > git checkout -f 0f55954cd1db4e9f5dc250a63f863780bd8d98a7 # timeout=10 12:29:56 > git remote # timeout=10 12:29:56 > git config --get remote.origin.url # timeout=10 12:29:56 using GIT_SSH to set credentials SSH Credentials for GitHub 12:29:56 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 12:29:56 > git rev-parse HEAD^{commit} # timeout=10 12:29:56 > git config core.sparsecheckout # timeout=10 12:29:56 > git checkout -f 0f55954cd1db4e9f5dc250a63f863780bd8d98a7 # timeout=10 12:30:01 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 12:30:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:30:03 + ls -al . 12:30:03 total 24 12:30:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 12:29 . 12:30:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:29 .. 12:30:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:30 .git 12:30:03 -rw-rw-r-- 1 jenkins jenkins 1256 Apr 15 12:29 Dockerfile 12:30:03 -rw-rw-r-- 1 jenkins jenkins 918 Apr 15 12:29 Jenkinsfile 12:30:03 -rw-rw-r-- 1 jenkins jenkins 125 Apr 15 12:29 README.md [Pipeline] isUnix [Pipeline] sh 12:30:03 + docker build -t edgex-devops/edgex-modbus-simulator-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=0f55954cd1db4e9f5dc250a63f863780bd8d98a7 --label arch=arm64 . 12:30:04 Sending build context to Docker daemon 217.1kB 12:30:04 Step 1/15 : FROM golang:1.13-alpine AS builder 12:30:05 1.13-alpine: Pulling from library/golang 12:30:05 8a0637ca1ac9: Pulling fs layer 12:30:05 e42d4106c439: Pulling fs layer 12:30:05 c9f0a4e33d45: Pulling fs layer 12:30:05 7aa87fa8eef9: Pulling fs layer 12:30:05 82fc38e3111d: Pulling fs layer 12:30:05 82fc38e3111d: Waiting 12:30:05 7aa87fa8eef9: Waiting 12:30:05 c9f0a4e33d45: Verifying Checksum 12:30:05 c9f0a4e33d45: Download complete 12:30:05 e42d4106c439: Verifying Checksum 12:30:05 e42d4106c439: Download complete 12:30:05 82fc38e3111d: Verifying Checksum 12:30:05 82fc38e3111d: Download complete 12:30:05 8a0637ca1ac9: Verifying Checksum 12:30:06 8a0637ca1ac9: Pull complete 12:30:07 e42d4106c439: Pull complete 12:30:07 c9f0a4e33d45: Pull complete 12:30:17 7aa87fa8eef9: Verifying Checksum 12:30:17 7aa87fa8eef9: Download complete 12:30:29 7aa87fa8eef9: Pull complete 12:30:29 82fc38e3111d: Pull complete 12:30:29 Digest: sha256:84a409b4c174965a51e393064e46f6eb32adb80daa6097851268458136fd68b6 12:30:29 Status: Downloaded newer image for golang:1.13-alpine 12:30:29 ---> 48f4f582ba7c 12:30:29 Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator 12:30:31 ---> Running in 96843235a6a0 12:30:31 Removing intermediate container 96843235a6a0 12:30:31 ---> 357659f4fce8 12:30:31 Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:30:31 ---> Running in dd1a9016f512 12:30:34 Removing intermediate container dd1a9016f512 12:30:34 ---> 3595b956aa56 12:30:34 Step 4/15 : RUN apk update && apk add libsodium-dev pkgconfig build-base git 12:30:34 ---> Running in 8c17f3ed329f 12:30:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 12:30:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 12:30:36 v3.11.5-53-ga12cc12667 [http://nl.alpinelinux.org/alpine/v3.11/main] 12:30:36 v3.11.5-52-g704ace2837 [http://nl.alpinelinux.org/alpine/v3.11/community] 12:30:36 OK: 11160 distinct packages available 12:30:37 (1/26) Installing libgcc (9.2.0-r4) 12:30:37 (2/26) Installing libstdc++ (9.2.0-r4) 12:30:37 (3/26) Installing binutils (2.33.1-r0) 12:30:38 (4/26) Installing libmagic (5.37-r1) 12:30:38 (5/26) Installing file (5.37-r1) 12:30:38 (6/26) Installing gmp (6.1.2-r1) 12:30:38 (7/26) Installing isl (0.18-r0) 12:30:38 (8/26) Installing libgomp (9.2.0-r4) 12:30:38 (9/26) Installing libatomic (9.2.0-r4) 12:30:38 (10/26) Installing mpfr4 (4.0.2-r1) 12:30:38 (11/26) Installing mpc1 (1.1.0-r1) 12:30:38 (12/26) Installing gcc (9.2.0-r4) 12:30:41 (13/26) Installing musl-dev (1.1.24-r2) 12:30:41 (14/26) Installing libc-dev (0.7.2-r0) 12:30:41 (15/26) Installing g++ (9.2.0-r4) 12:30:44 (16/26) Installing make (4.2.1-r2) 12:30:44 (17/26) Installing fortify-headers (1.1-r0) 12:30:44 (18/26) Installing build-base (0.5-r1) 12:30:44 (19/26) Installing nghttp2-libs (1.40.0-r0) 12:30:44 (20/26) Installing libcurl (7.67.0-r0) 12:30:44 (21/26) Installing expat (2.2.9-r1) 12:30:44 (22/26) Installing pcre2 (10.34-r1) 12:30:44 (23/26) Installing git (2.24.2-r0) 12:30:45 (24/26) Installing libsodium (1.0.18-r0) 12:30:45 (25/26) Installing pkgconf (1.6.3-r0) 12:30:45 (26/26) Installing libsodium-dev (1.0.18-r0) 12:30:46 Executing busybox-1.31.1-r9.trigger 12:30:46 OK: 184 MiB in 41 packages 12:30:54 Removing intermediate container 8c17f3ed329f 12:30:54 ---> 96d20f696f42 12:30:54 Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git 12:30:54 ---> Running in 18de54b6c264 12:30:55 Cloning into 'device-modbus-go'... 12:30:57 Removing intermediate container 18de54b6c264 12:30:57 ---> c50ac2b38adb 12:30:57 Step 6/15 : RUN mv ./device-modbus-go/simulator/* . 12:30:57 ---> Running in 3c0e6c8cacaa 12:31:00 Removing intermediate container 3c0e6c8cacaa 12:31:00 ---> a424c91003f2 12:31:00 Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build 12:31:00 ---> Running in a33142d41e9b 12:31:01 go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 12:31:01 go: downloading github.com/goburrow/serial v0.1.0 12:31:01 go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 12:31:01 go: extracting github.com/goburrow/serial v0.1.0 12:31:01 go: finding github.com/goburrow/serial v0.1.0 12:31:01 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 12:31:08 Removing intermediate container a33142d41e9b 12:31:08 ---> 04b84fcc65b1 12:31:08 Step 8/15 : FROM scratch 12:31:08 ---> 12:31:08 Step 9/15 : ENV APP_PORT=1502 12:31:08 ---> Running in 67b5540fc8ec 12:31:08 Removing intermediate container 67b5540fc8ec 12:31:08 ---> c4aeea901e62 12:31:08 Step 10/15 : EXPOSE $APP_PORT 12:31:08 ---> Running in 144240a475f1 12:31:08 Removing intermediate container 144240a475f1 12:31:08 ---> da07963c46b3 12:31:08 Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / 12:31:09 ---> 5a23dd76d0db 12:31:09 Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 12:31:09 ---> Running in 038eda3bb73b 12:31:10 Removing intermediate container 038eda3bb73b 12:31:10 ---> 10c3c2eb447e 12:31:10 Step 13/15 : ENTRYPOINT ["/simulator"] 12:31:10 ---> Running in c45c4a5db2c2 12:31:10 Removing intermediate container c45c4a5db2c2 12:31:10 ---> 085bf2c2fbb0 12:31:10 Step 14/15 : LABEL arch=arm64 12:31:10 ---> Running in d1010dd28d81 12:31:10 Removing intermediate container d1010dd28d81 12:31:10 ---> 49b020e70a69 12:31:10 Step 15/15 : LABEL git_sha=0f55954cd1db4e9f5dc250a63f863780bd8d98a7 12:31:11 ---> Running in 0431ebad7a64 12:31:11 Removing intermediate container 0431ebad7a64 12:31:11 ---> 4812fe441f5a 12:31:11 [Warning] One or more build-args [ARCH] were not consumed 12:31:11 Successfully built 4812fe441f5a 12:31:11 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 12:31:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:31:13 ---> package-listing.sh 12:31:13 ++ facter osfamily 12:31:13 ++ tr '[:upper:]' '[:lower:]' 12:31:13 + OS_FAMILY=redhat 12:31:13 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-137 12:31:13 + START_PACKAGES=/tmp/packages_start.txt 12:31:13 + END_PACKAGES=/tmp/packages_end.txt 12:31:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:31:13 + PACKAGES=/tmp/packages_start.txt 12:31:13 + '[' /w/workspace/xfoundry_device-modbus-go_PR-137 ']' 12:31:13 + PACKAGES=/tmp/packages_end.txt 12:31:13 + case "${OS_FAMILY}" in 12:31:13 + rpm -qa 12:31:13 + sort 12:31:17 + '[' -f /tmp/packages_start.txt ']' 12:31:17 + '[' -f /tmp/packages_end.txt ']' 12:31:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:31:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-137 ']' 12:31:17 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-137/archives/ 12:31:17 + 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 12:31:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:31:18 12:31:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:31:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:31:18 alpine: Pulling from edgex-lftools-log-publisher 12:31:18 c9b1b535fdd9: Pulling fs layer 12:31:18 2cc5ad85d9ab: Pulling fs layer 12:31:18 756a868c4378: Pulling fs layer 12:31:18 444b2fc9a129: Pulling fs layer 12:31:18 ea15f1150254: Pulling fs layer 12:31:18 41b27a9f41bf: Pulling fs layer 12:31:18 28c525ee5125: Pulling fs layer 12:31:18 094b1ea09ed8: Pulling fs layer 12:31:18 138eaada9080: Pulling fs layer 12:31:18 0622d0fa9048: Pulling fs layer 12:31:18 28c525ee5125: Waiting 12:31:18 444b2fc9a129: Waiting 12:31:18 ea15f1150254: Waiting 12:31:18 41b27a9f41bf: Waiting 12:31:18 094b1ea09ed8: Waiting 12:31:18 0622d0fa9048: Waiting 12:31:18 138eaada9080: Waiting 12:31:18 2cc5ad85d9ab: Verifying Checksum 12:31:18 2cc5ad85d9ab: Download complete 12:31:18 444b2fc9a129: Download complete 12:31:18 c9b1b535fdd9: Verifying Checksum 12:31:18 c9b1b535fdd9: Download complete 12:31:18 ea15f1150254: Verifying Checksum 12:31:18 ea15f1150254: Download complete 12:31:18 28c525ee5125: Verifying Checksum 12:31:18 28c525ee5125: Download complete 12:31:18 c9b1b535fdd9: Pull complete 12:31:19 756a868c4378: Verifying Checksum 12:31:19 756a868c4378: Download complete 12:31:19 138eaada9080: Verifying Checksum 12:31:19 138eaada9080: Download complete 12:31:19 2cc5ad85d9ab: Pull complete 12:31:19 0622d0fa9048: Verifying Checksum 12:31:19 0622d0fa9048: Download complete 12:31:19 094b1ea09ed8: Verifying Checksum 12:31:19 094b1ea09ed8: Download complete 12:31:19 41b27a9f41bf: Verifying Checksum 12:31:19 41b27a9f41bf: Download complete 12:31:20 756a868c4378: Pull complete 12:31:20 444b2fc9a129: Pull complete 12:31:21 ea15f1150254: Pull complete 12:31:25 41b27a9f41bf: Pull complete 12:31:25 28c525ee5125: Pull complete 12:31:27 094b1ea09ed8: Pull complete 12:31:27 138eaada9080: Pull complete 12:31:27 0622d0fa9048: Pull complete 12:31:27 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 12:31:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:31:28 prd-centos7-docker-4c-2g-4038 does not seem to be running inside a container 12:31:28 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 12:31:28 $ docker top 624ffdf8cfc98bc42204ea846170b1e13f26804a53a2f0e8a2dfa883e38c7de3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:31:29 provisioning config files... 12:31:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-137@tmp/config8555736904946209003tmp [Pipeline] { [Pipeline] echo 12:31:29 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:31:29 ---> create-netrc.sh [Pipeline] echo 12:31:29 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:31:29 ---> logs-deploy.sh 12:31:29 + ARCHIVE_ARTIFACTS= 12:31:29 + LOGS_SERVER=https://logs.edgexfoundry.org 12:31:29 + '[' https://logs.edgexfoundry.org == None ']' 12:31:29 + NEXUS_URL=https://nexus.edgexfoundry.org 12:31:29 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-137/2 12:31:29 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-137/2/ 12:31:29 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-137/2 /w/workspace/xfoundry_device-modbus-go_PR-137 12:31:30 Archives upload complete. 12:31:31 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-137/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-137/2/