Pull request #140 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 528f2e728b90b8de65baaefc481c037934102771+d43d1415fbfa6de37978484360a4bdfd43c5e881 (95a4afed91e85c57b0ecc5b79a5ea2a4c07ac2a1) 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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-140/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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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:device-modbus-go-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: device-modbus-go-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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4168 in /w/workspace/xfoundry_device-modbus-go_PR-140 [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-140 # 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/140/head:refs/remotes/origin/PR-140 +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 Fetching without tags Merging remotes/origin/edgex-modbus-simulator commit d43d1415fbfa6de37978484360a4bdfd43c5e881 into PR head commit 528f2e728b90b8de65baaefc481c037934102771 Merge succeeded, producing 910e3a8fa54d2a9da1ecc4ada8ddb64a713a2b40 Checking out Revision 910e3a8fa54d2a9da1ecc4ada8ddb64a713a2b40 (PR-140) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/140/head:refs/remotes/origin/PR-140 # 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/140/head:refs/remotes/origin/PR-140 +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 528f2e728b90b8de65baaefc481c037934102771 # 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 d43d1415fbfa6de37978484360a4bdfd43c5e881 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 910e3a8fa54d2a9da1ecc4ada8ddb64a713a2b40 # timeout=10 Commit message: "Merge commit 'd43d1415fbfa6de37978484360a4bdfd43c5e881' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:01:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:01:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:01:12 ========================================================= 02:01:12 EdgeX Global Pipelines Version Info 02:01:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:01:14 ------------------- 02:01:14 stable info: 02:01:14 ------------------- 02:01:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:01:14 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 02:01:14 Message: update stable to v1.0.73 02:01:15 ------------------- 02:01:15 experimental info: 02:01:15 ------------------- 02:01:15 Commited By: **** collab-it+edgex@linuxfoundation.org 02:01:15 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 02:01:15 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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 02:01:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:01:18 + ls -al . 02:01:18 total 12 02:01:18 drwxrwxr-x. 3 jenkins jenkins 72 Apr 16 02:01 . 02:01:18 drwxrwxr-x. 4 jenkins jenkins 112 Apr 16 02:01 .. 02:01:18 -rw-rw-r--. 1 jenkins jenkins 1256 Apr 16 02:01 Dockerfile 02:01:18 drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 02:01 .git 02:01:18 -rw-rw-r--. 1 jenkins jenkins 912 Apr 16 02:01 Jenkinsfile 02:01:18 -rw-rw-r--. 1 jenkins jenkins 125 Apr 16 02:01 README.md [Pipeline] isUnix [Pipeline] sh 02:01:19 + docker build -t edgex-devops/edgex-modbus-simulator -f Dockerfile --build-arg ARCH=amd64 --label git_sha=910e3a8fa54d2a9da1ecc4ada8ddb64a713a2b40 --label arch=amd64 . 02:01:19 Sending build context to Docker daemon 220.2kB 02:01:19 Step 1/15 : FROM golang:1.13-alpine AS builder 02:01:20 1.13-alpine: Pulling from library/golang 02:01:20 aad63a933944: Pulling fs layer 02:01:20 c732a2540651: Pulling fs layer 02:01:20 7b2225181d6b: Pulling fs layer 02:01:20 c7df7edfcd79: Pulling fs layer 02:01:20 5871566633bc: Pulling fs layer 02:01:20 c7df7edfcd79: Waiting 02:01:20 5871566633bc: Waiting 02:01:20 c732a2540651: Verifying Checksum 02:01:20 c732a2540651: Download complete 02:01:20 7b2225181d6b: Verifying Checksum 02:01:20 7b2225181d6b: Download complete 02:01:20 aad63a933944: Verifying Checksum 02:01:20 aad63a933944: Download complete 02:01:20 5871566633bc: Verifying Checksum 02:01:20 5871566633bc: Download complete 02:01:21 aad63a933944: Pull complete 02:01:21 c732a2540651: Pull complete 02:01:22 7b2225181d6b: Pull complete 02:01:23 c7df7edfcd79: Verifying Checksum 02:01:23 c7df7edfcd79: Download complete 02:01:32 Still waiting to schedule task 02:01:32 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4165’ is offline 02:01:36 c7df7edfcd79: Pull complete 02:01:36 5871566633bc: Pull complete 02:01:36 Digest: sha256:84a409b4c174965a51e393064e46f6eb32adb80daa6097851268458136fd68b6 02:01:36 Status: Downloaded newer image for golang:1.13-alpine 02:01:36 ---> 3369136a43d1 02:01:36 Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator 02:01:36 ---> Running in c2ef5c7fb9cc 02:01:36 Removing intermediate container c2ef5c7fb9cc 02:01:36 ---> 5390b927f986 02:01:36 Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:01:36 ---> Running in e7afec7feaaa 02:01:37 Removing intermediate container e7afec7feaaa 02:01:37 ---> ba1c3a43af48 02:01:37 Step 4/15 : RUN apk update && apk add libsodium-dev pkgconfig build-base git 02:01:37 ---> Running in 8054bd805bf0 02:01:37 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:01:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:01:39 v3.11.5-53-ga12cc12667 [http://nl.alpinelinux.org/alpine/v3.11/main] 02:01:39 v3.11.5-52-g704ace2837 [http://nl.alpinelinux.org/alpine/v3.11/community] 02:01:39 OK: 11271 distinct packages available 02:01:39 (1/26) Installing libgcc (9.2.0-r4) 02:01:39 (2/26) Installing libstdc++ (9.2.0-r4) 02:01:40 (3/26) Installing binutils (2.33.1-r0) 02:01:40 (4/26) Installing libmagic (5.37-r1) 02:01:41 (5/26) Installing file (5.37-r1) 02:01:41 (6/26) Installing gmp (6.1.2-r1) 02:01:41 (7/26) Installing isl (0.18-r0) 02:01:42 (8/26) Installing libgomp (9.2.0-r4) 02:01:42 (9/26) Installing libatomic (9.2.0-r4) 02:01:42 (10/26) Installing mpfr4 (4.0.2-r1) 02:01:42 (11/26) Installing mpc1 (1.1.0-r1) 02:01:42 (12/26) Installing gcc (9.2.0-r4) 02:01:52 (13/26) Installing musl-dev (1.1.24-r2) 02:01:54 (14/26) Installing libc-dev (0.7.2-r0) 02:01:54 (15/26) Installing g++ (9.2.0-r4) 02:01:58 (16/26) Installing make (4.2.1-r2) 02:01:58 (17/26) Installing fortify-headers (1.1-r0) 02:01:58 (18/26) Installing build-base (0.5-r1) 02:01:58 (19/26) Installing nghttp2-libs (1.40.0-r0) 02:01:58 (20/26) Installing libcurl (7.67.0-r0) 02:01:58 (21/26) Installing expat (2.2.9-r1) 02:01:58 (22/26) Installing pcre2 (10.34-r1) 02:01:58 (23/26) Installing git (2.24.2-r0) 02:02:00 (24/26) Installing libsodium (1.0.18-r0) 02:02:00 (25/26) Installing pkgconf (1.6.3-r0) 02:02:00 (26/26) Installing libsodium-dev (1.0.18-r0) 02:02:00 Executing busybox-1.31.1-r9.trigger 02:02:00 OK: 194 MiB in 41 packages 02:02:07 Removing intermediate container 8054bd805bf0 02:02:07 ---> 2c4d037e3d48 02:02:07 Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git 02:02:07 ---> Running in f06860d28170 02:02:07 Cloning into 'device-modbus-go'... 02:02:07 Removing intermediate container f06860d28170 02:02:07 ---> e67abe90558a 02:02:07 Step 6/15 : RUN mv ./device-modbus-go/simulator/* . 02:02:07 ---> Running in fe99685ab237 02:02:08 Removing intermediate container fe99685ab237 02:02:08 ---> e23a0a11ba17 02:02:08 Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build 02:02:08 ---> Running in 64f8f692a2f7 02:02:10 go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 02:02:10 go: downloading github.com/goburrow/serial v0.1.0 02:02:10 go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 02:02:10 go: extracting github.com/goburrow/serial v0.1.0 02:02:10 go: finding github.com/goburrow/serial v0.1.0 02:02:10 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 02:02:12 Removing intermediate container 64f8f692a2f7 02:02:12 ---> a24714577b31 02:02:12 Step 8/15 : FROM scratch 02:02:12 ---> 02:02:12 Step 9/15 : ENV APP_PORT=1502 02:02:12 ---> Running in 2d4a166f39e7 02:02:12 Removing intermediate container 2d4a166f39e7 02:02:12 ---> 0398fbe891b8 02:02:12 Step 10/15 : EXPOSE $APP_PORT 02:02:12 ---> Running in 47d125e476a5 02:02:13 Removing intermediate container 47d125e476a5 02:02:13 ---> 345da356d075 02:02:13 Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / 02:02:13 ---> 3cb237d1de80 02:02:13 Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 02:02:13 ---> Running in dfd59d538cb6 02:02:13 Removing intermediate container dfd59d538cb6 02:02:13 ---> a5a682dc81ca 02:02:13 Step 13/15 : ENTRYPOINT ["/simulator"] 02:02:13 ---> Running in fa74300d4cfb 02:02:13 Removing intermediate container fa74300d4cfb 02:02:13 ---> 38781d32a8e6 02:02:13 Step 14/15 : LABEL arch=amd64 02:02:13 ---> Running in b552caeb89a3 02:02:14 Removing intermediate container b552caeb89a3 02:02:14 ---> 6ce700d0ae72 02:02:14 Step 15/15 : LABEL git_sha=910e3a8fa54d2a9da1ecc4ada8ddb64a713a2b40 02:02:14 ---> Running in a81fbb231a40 02:02:14 Removing intermediate container a81fbb231a40 02:02:14 ---> b1d1beaa13fb 02:02:14 [Warning] One or more build-args [ARCH] were not consumed 02:02:14 Successfully built b1d1beaa13fb 02:02:14 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] } 02:03:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4169 in /w/workspace/xfoundry_device-modbus-go_PR-140 [Pipeline] { [Pipeline] checkout 02:03:22 using credential edgex-jenkins-ssh 02:03:22 Cloning the remote Git repository 02:03:22 Cloning with configured refspecs honoured and without tags 02:03:22 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 02:03:23 > git init /w/workspace/xfoundry_device-modbus-go_PR-140 # timeout=10 02:03:24 Fetching without tags 02:03:23 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:03:23 > git --version # timeout=10 02:03:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 02:03:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:03:24 > git config --add remote.origin.fetch +refs/pull/140/head:refs/remotes/origin/PR-140 # timeout=10 02:03:24 > git config --add remote.origin.fetch +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 02:03:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:03:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:03:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 02:03:24 Merging remotes/origin/edgex-modbus-simulator commit d43d1415fbfa6de37978484360a4bdfd43c5e881 into PR head commit 528f2e728b90b8de65baaefc481c037934102771 02:03:25 Merge succeeded, producing ef6a0e5459a91d3d0038a98413ad2b6c943f8bf1 02:03:25 Checking out Revision ef6a0e5459a91d3d0038a98413ad2b6c943f8bf1 (PR-140) 02:03:24 > git config core.sparsecheckout # timeout=10 02:03:24 > git checkout -f 528f2e728b90b8de65baaefc481c037934102771 # timeout=10 02:03:24 > git remote # timeout=10 02:03:24 > git config --get remote.origin.url # timeout=10 02:03:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:24 > git merge d43d1415fbfa6de37978484360a4bdfd43c5e881 # timeout=10 02:03:24 > git rev-parse HEAD^{commit} # timeout=10 02:03:25 > git config core.sparsecheckout # timeout=10 02:03:25 > git checkout -f ef6a0e5459a91d3d0038a98413ad2b6c943f8bf1 # timeout=10 02:03:29 Commit message: "Merge commit 'd43d1415fbfa6de37978484360a4bdfd43c5e881' into HEAD" 02:03:29 First time build. Skipping changelog. 02:03:29 > git --version # timeout=10 02:03:29 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [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 02:03:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:03:32 + ls -al . 02:03:32 total 24 02:03:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 02:03 . 02:03:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 02:03 .. 02:03:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 02:03 .git 02:03:32 -rw-rw-r-- 1 jenkins jenkins 1256 Apr 16 02:03 Dockerfile 02:03:32 -rw-rw-r-- 1 jenkins jenkins 912 Apr 16 02:03 Jenkinsfile 02:03:32 -rw-rw-r-- 1 jenkins jenkins 125 Apr 16 02:03 README.md [Pipeline] isUnix [Pipeline] sh 02:03:32 + docker build -t edgex-devops/edgex-modbus-simulator-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=910e3a8fa54d2a9da1ecc4ada8ddb64a713a2b40 --label arch=arm64 . 02:03:33 Sending build context to Docker daemon 220.2kB 02:03:33 Step 1/15 : FROM golang:1.13-alpine AS builder 02:03:33 1.13-alpine: Pulling from library/golang 02:03:34 8a0637ca1ac9: Pulling fs layer 02:03:34 e42d4106c439: Pulling fs layer 02:03:34 c9f0a4e33d45: Pulling fs layer 02:03:34 7aa87fa8eef9: Pulling fs layer 02:03:34 82fc38e3111d: Pulling fs layer 02:03:34 7aa87fa8eef9: Waiting 02:03:34 82fc38e3111d: Waiting 02:03:34 c9f0a4e33d45: Download complete 02:03:34 e42d4106c439: Verifying Checksum 02:03:34 e42d4106c439: Download complete 02:03:34 82fc38e3111d: Verifying Checksum 02:03:34 82fc38e3111d: Download complete 02:03:34 8a0637ca1ac9: Verifying Checksum 02:03:34 8a0637ca1ac9: Download complete 02:03:35 8a0637ca1ac9: Pull complete 02:03:35 e42d4106c439: Pull complete 02:03:36 c9f0a4e33d45: Pull complete 02:03:46 7aa87fa8eef9: Verifying Checksum 02:03:46 7aa87fa8eef9: Download complete 02:03:56 7aa87fa8eef9: Pull complete 02:03:57 82fc38e3111d: Pull complete 02:03:57 Digest: sha256:84a409b4c174965a51e393064e46f6eb32adb80daa6097851268458136fd68b6 02:03:57 Status: Downloaded newer image for golang:1.13-alpine 02:03:57 ---> 48f4f582ba7c 02:03:57 Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator 02:03:59 ---> Running in 473c9fc3b115 02:04:00 Removing intermediate container 473c9fc3b115 02:04:00 ---> 9f87d2d91a3e 02:04:00 Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:04:00 ---> Running in ce80e2fdeb79 02:04:02 Removing intermediate container ce80e2fdeb79 02:04:02 ---> e73f622d78a4 02:04:02 Step 4/15 : RUN apk update && apk add libsodium-dev pkgconfig build-base git 02:04:02 ---> Running in 17d3cd0a84b5 02:04:03 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:04:04 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:04:04 v3.11.5-53-ga12cc12667 [http://nl.alpinelinux.org/alpine/v3.11/main] 02:04:04 v3.11.5-52-g704ace2837 [http://nl.alpinelinux.org/alpine/v3.11/community] 02:04:04 OK: 11160 distinct packages available 02:04:04 (1/26) Installing libgcc (9.2.0-r4) 02:04:05 (2/26) Installing libstdc++ (9.2.0-r4) 02:04:05 (3/26) Installing binutils (2.33.1-r0) 02:04:06 (4/26) Installing libmagic (5.37-r1) 02:04:07 (5/26) Installing file (5.37-r1) 02:04:07 (6/26) Installing gmp (6.1.2-r1) 02:04:07 (7/26) Installing isl (0.18-r0) 02:04:07 (8/26) Installing libgomp (9.2.0-r4) 02:04:07 (9/26) Installing libatomic (9.2.0-r4) 02:04:07 (10/26) Installing mpfr4 (4.0.2-r1) 02:04:07 (11/26) Installing mpc1 (1.1.0-r1) 02:04:07 (12/26) Installing gcc (9.2.0-r4) 02:04:12 (13/26) Installing musl-dev (1.1.24-r2) 02:04:12 (14/26) Installing libc-dev (0.7.2-r0) 02:04:12 (15/26) Installing g++ (9.2.0-r4) 02:04:16 (16/26) Installing make (4.2.1-r2) 02:04:16 (17/26) Installing fortify-headers (1.1-r0) 02:04:16 (18/26) Installing build-base (0.5-r1) 02:04:16 (19/26) Installing nghttp2-libs (1.40.0-r0) 02:04:16 (20/26) Installing libcurl (7.67.0-r0) 02:04:16 (21/26) Installing expat (2.2.9-r1) 02:04:16 (22/26) Installing pcre2 (10.34-r1) 02:04:16 (23/26) Installing git (2.24.2-r0) 02:04:18 (24/26) Installing libsodium (1.0.18-r0) 02:04:18 (25/26) Installing pkgconf (1.6.3-r0) 02:04:18 (26/26) Installing libsodium-dev (1.0.18-r0) 02:04:18 Executing busybox-1.31.1-r9.trigger 02:04:18 OK: 184 MiB in 41 packages 02:04:26 Removing intermediate container 17d3cd0a84b5 02:04:26 ---> fb4adaab0f2f 02:04:26 Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git 02:04:27 ---> Running in 486d343b4969 02:04:28 Cloning into 'device-modbus-go'... 02:04:29 Removing intermediate container 486d343b4969 02:04:29 ---> b4eeab85f701 02:04:29 Step 6/15 : RUN mv ./device-modbus-go/simulator/* . 02:04:29 ---> Running in bf6ec23b5597 02:04:31 Removing intermediate container bf6ec23b5597 02:04:31 ---> 4fa925bd16b2 02:04:31 Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build 02:04:31 ---> Running in 86242915b0d1 02:04:33 go: downloading github.com/goburrow/serial v0.1.0 02:04:33 go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 02:04:33 go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 02:04:33 go: extracting github.com/goburrow/serial v0.1.0 02:04:33 go: finding github.com/goburrow/serial v0.1.0 02:04:33 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 02:04:38 Removing intermediate container 86242915b0d1 02:04:38 ---> 03bd59891726 02:04:38 Step 8/15 : FROM scratch 02:04:38 ---> 02:04:38 Step 9/15 : ENV APP_PORT=1502 02:04:38 ---> Running in 8f5090d2576c 02:04:38 Removing intermediate container 8f5090d2576c 02:04:38 ---> 0a187c1090ab 02:04:38 Step 10/15 : EXPOSE $APP_PORT 02:04:38 ---> Running in c4e40ed081e4 02:04:39 Removing intermediate container c4e40ed081e4 02:04:39 ---> e5af95618bd1 02:04:39 Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / 02:04:40 ---> 206e952882fb 02:04:40 Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 02:04:40 ---> Running in 0716fb91d147 02:04:40 Removing intermediate container 0716fb91d147 02:04:40 ---> d3540bb02f61 02:04:40 Step 13/15 : ENTRYPOINT ["/simulator"] 02:04:40 ---> Running in 66279751ae46 02:04:40 Removing intermediate container 66279751ae46 02:04:40 ---> 8df725bf9e7a 02:04:40 Step 14/15 : LABEL arch=arm64 02:04:40 ---> Running in 32930140b8fa 02:04:41 Removing intermediate container 32930140b8fa 02:04:41 ---> 96878b0ad12a 02:04:41 Step 15/15 : LABEL git_sha=910e3a8fa54d2a9da1ecc4ada8ddb64a713a2b40 02:04:41 ---> Running in 4d9b4dee8b43 02:04:42 Removing intermediate container 4d9b4dee8b43 02:04:42 ---> 050dd4db52f6 02:04:42 [Warning] One or more build-args [ARCH] were not consumed 02:04:42 Successfully built 050dd4db52f6 02:04:42 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 02:04:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:04:45 ---> package-listing.sh 02:04:45 ++ facter osfamily 02:04:45 ++ tr '[:upper:]' '[:lower:]' 02:04:45 + OS_FAMILY=redhat 02:04:45 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-140 02:04:45 + START_PACKAGES=/tmp/packages_start.txt 02:04:45 + END_PACKAGES=/tmp/packages_end.txt 02:04:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:04:45 + PACKAGES=/tmp/packages_start.txt 02:04:45 + '[' /w/workspace/xfoundry_device-modbus-go_PR-140 ']' 02:04:45 + PACKAGES=/tmp/packages_end.txt 02:04:45 + case "${OS_FAMILY}" in 02:04:45 + rpm -qa 02:04:45 + sort 02:04:50 + '[' -f /tmp/packages_start.txt ']' 02:04:50 + '[' -f /tmp/packages_end.txt ']' 02:04:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:04:50 + '[' /w/workspace/xfoundry_device-modbus-go_PR-140 ']' 02:04:50 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-140/archives/ 02:04:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-140/archives/ [Pipeline] isUnix [Pipeline] sh 02:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:04:51 02:04:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:04:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:04:52 alpine: Pulling from edgex-lftools-log-publisher 02:04:52 c9b1b535fdd9: Pulling fs layer 02:04:52 2cc5ad85d9ab: Pulling fs layer 02:04:52 756a868c4378: Pulling fs layer 02:04:52 444b2fc9a129: Pulling fs layer 02:04:52 ea15f1150254: Pulling fs layer 02:04:52 41b27a9f41bf: Pulling fs layer 02:04:52 28c525ee5125: Pulling fs layer 02:04:52 094b1ea09ed8: Pulling fs layer 02:04:52 138eaada9080: Pulling fs layer 02:04:52 0622d0fa9048: Pulling fs layer 02:04:52 41b27a9f41bf: Waiting 02:04:52 28c525ee5125: Waiting 02:04:52 094b1ea09ed8: Waiting 02:04:52 444b2fc9a129: Waiting 02:04:52 ea15f1150254: Waiting 02:04:52 138eaada9080: Waiting 02:04:52 0622d0fa9048: Waiting 02:04:52 2cc5ad85d9ab: Verifying Checksum 02:04:52 2cc5ad85d9ab: Download complete 02:04:52 444b2fc9a129: Verifying Checksum 02:04:52 444b2fc9a129: Download complete 02:04:52 c9b1b535fdd9: Verifying Checksum 02:04:52 c9b1b535fdd9: Download complete 02:04:52 ea15f1150254: Download complete 02:04:52 28c525ee5125: Verifying Checksum 02:04:52 28c525ee5125: Download complete 02:04:52 c9b1b535fdd9: Pull complete 02:04:53 2cc5ad85d9ab: Pull complete 02:04:53 756a868c4378: Verifying Checksum 02:04:53 756a868c4378: Download complete 02:04:53 138eaada9080: Verifying Checksum 02:04:53 138eaada9080: Download complete 02:04:53 0622d0fa9048: Verifying Checksum 02:04:53 0622d0fa9048: Download complete 02:04:54 094b1ea09ed8: Verifying Checksum 02:04:54 094b1ea09ed8: Download complete 02:04:55 41b27a9f41bf: Verifying Checksum 02:04:55 41b27a9f41bf: Download complete 02:04:56 756a868c4378: Pull complete 02:04:57 444b2fc9a129: Pull complete 02:04:57 ea15f1150254: Pull complete 02:05:02 41b27a9f41bf: Pull complete 02:05:02 28c525ee5125: Pull complete 02:05:06 094b1ea09ed8: Pull complete 02:05:06 138eaada9080: Pull complete 02:05:06 0622d0fa9048: Pull complete 02:05:06 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:05:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:05:07 prd-centos7-docker-4c-2g-4168 does not seem to be running inside a container 02:05:07 $ 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-140 -v /w/workspace/xfoundry_device-modbus-go_PR-140:/w/workspace/xfoundry_device-modbus-go_PR-140:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-140@tmp:/w/workspace/xfoundry_device-modbus-go_PR-140@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 02:05:09 $ docker top 5520ed49715838d1b834b33e41043615eee64f6e5e99a3da53b44f7dc6d54e59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:09 provisioning config files... 02:05:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-140@tmp/config2304778296722824398tmp [Pipeline] { [Pipeline] echo 02:05:09 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:05:10 ---> create-netrc.sh [Pipeline] echo 02:05:10 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:05:11 ---> logs-deploy.sh 02:05:11 + ARCHIVE_ARTIFACTS= 02:05:11 + LOGS_SERVER=https://logs.edgexfoundry.org 02:05:11 + '[' https://logs.edgexfoundry.org == None ']' 02:05:11 + NEXUS_URL=https://nexus.edgexfoundry.org 02:05:11 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-140/1 02:05:11 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-140/1/ 02:05:11 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-140/1 /w/workspace/xfoundry_device-modbus-go_PR-140 02:05:12 Archives upload complete. 02:05:12 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-140/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-140/1/ 02:05:14 ---> uname -a: 02:05:14 Linux 5520ed497158 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 02:05:14 02:05:14 02:05:14 ---> lscpu: 02:05:14 Architecture: x86_64 02:05:14 CPU op-mode(s): 32-bit, 64-bit 02:05:14 Byte Order: Little Endian 02:05:14 Address sizes: 40 bits physical, 48 bits virtual 02:05:14 CPU(s): 4 02:05:14 On-line CPU(s) list: 0-3 02:05:14 Thread(s) per core: 1 02:05:14 Core(s) per socket: 1 02:05:14 Socket(s): 4 02:05:14 NUMA node(s): 1 02:05:14 Vendor ID: GenuineIntel 02:05:14 CPU family: 6 02:05:14 Model: 44 02:05:14 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:05:14 Stepping: 1 02:05:14 CPU MHz: 2933.438 02:05:14 BogoMIPS: 5866.87 02:05:14 Virtualization: VT-x 02:05:14 Hypervisor vendor: KVM 02:05:14 Virtualization type: full 02:05:14 L1d cache: 128 KiB 02:05:14 L1i cache: 128 KiB 02:05:14 L2 cache: 16 MiB 02:05:14 L3 cache: 64 MiB 02:05:14 NUMA node0 CPU(s): 0-3 02:05:14 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 02:05:14 Vulnerability Meltdown: Mitigation; PTI 02:05:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:05:14 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 02:05:14 Vulnerability Spectre v2: Mitigation; Full retpoline 02:05:14 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:05:14 02:05:14 02:05:14 ---> nproc: 02:05:14 4 02:05:14 02:05:14 02:05:14 ---> df -h: 02:05:14 Filesystem Size Used Available Use% Mounted on 02:05:14 overlay 50.0G 6.8G 43.1G 14% / 02:05:14 tmpfs 64.0M 0 64.0M 0% /dev 02:05:14 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 02:05:14 shm 64.0M 0 64.0M 0% /dev/shm 02:05:14 /dev/vda1 50.0G 6.8G 43.1G 14% /etc/resolv.conf 02:05:14 /dev/vda1 50.0G 6.8G 43.1G 14% /etc/hostname 02:05:14 /dev/vda1 50.0G 6.8G 43.1G 14% /etc/hosts 02:05:14 /dev/vda1 50.0G 6.8G 43.1G 14% /var/log/sa 02:05:14 /dev/vda1 50.0G 6.8G 43.1G 14% /w/workspace/xfoundry_device-modbus-go_PR-140 02:05:14 /dev/vda1 50.0G 6.8G 43.1G 14% /w/workspace/xfoundry_device-modbus-go_PR-140@tmp 02:05:14 02:05:14 02:05:14 ---> free -m: 02:05:14 total used free shared buff/cache available 02:05:14 Mem: 1838 604 73 0 1160 1133 02:05:14 Swap: 1023 1 1022 02:05:14 02:05:14