Pull request #197 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 8edbf70e9bfcefad91fee21eff22228c4da60c16+6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 (d94ce28fa6ccbf620d61d30855623131193bcaa6) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a5c854593eac886f27ddeefb8920871132e8ed78 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a5c854593eac886f27ddeefb8920871132e8ed78 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-197/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-197/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # 'git version 2.16.6' fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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:[1.0.0], 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 DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-modbus-simulator-archive.tar.gz SEMVER_BUMP_LEVEL: pre SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: edgex-modbus-simulator DOCKER_CUSTOM_TAGS: 1.0.0 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14155 in /w/workspace/xfoundry_device-modbus-go_PR-197 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-197 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 Merging remotes/origin/edgex-modbus-simulator commit 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 into PR head commit 8edbf70e9bfcefad91fee21eff22228c4da60c16 Merge succeeded, producing 8edbf70e9bfcefad91fee21eff22228c4da60c16 Checking out Revision 8edbf70e9bfcefad91fee21eff22228c4da60c16 (PR-197) > git config core.sparsecheckout # timeout=10 > git checkout -f 8edbf70e9bfcefad91fee21eff22228c4da60c16 # 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 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8edbf70e9bfcefad91fee21eff22228c4da60c16 # timeout=10 Commit message: "feat: Upgrade modbus simulator version to 1.0.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:51:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:51:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:51:04 ========================================================= 07:51:04 EdgeX Global Pipelines Version Info 07:51:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:51:06 ------------------- 07:51:06 stable info: 07:51:06 ------------------- 07:51:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:51:06 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 07:51:06 Message: update stable to v1.0.169 07:51:07 ------------------- 07:51:07 experimental info: 07:51:07 ------------------- 07:51:07 Commited By: **** collab-it+edgex@linuxfoundation.org 07:51:07 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 07:51:07 Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:51:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:51:08 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-modbus-simulator [Pipeline] echo 07:51:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 07:51:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:51:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:51:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-modbus-simulator [Pipeline] echo 07:51:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 07:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 07:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 07:51:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:51:09 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 07:51:09 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-modbus-simulator-archive.tar.gz [Pipeline] echo 07:51:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:51:10 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:51:10 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = edgex-modbus-simulator [Pipeline] echo 07:51:10 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.0.0 [Pipeline] echo 07:51:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo 07:51:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo 07:51:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo 07:51:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8edbf70e9bfcefad91fee21eff22228c4da60c16 [Pipeline] echo 07:51:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8edbf70 [Pipeline] echo 07:51:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:51:11 provisioning config files... 07:51:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-197@tmp/config3770211128975763089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:12 ---> docker-login.sh 07:51:12 nexus3.edgexfoundry.org:10001 07:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:12 Configure a credential helper to remove this warning. See 07:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:12 07:51:12 Login Succeeded 07:51:12 nexus3.edgexfoundry.org:10002 07:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:12 Configure a credential helper to remove this warning. See 07:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:12 07:51:12 Login Succeeded 07:51:12 nexus3.edgexfoundry.org:10003 07:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:13 Configure a credential helper to remove this warning. See 07:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:13 07:51:13 Login Succeeded 07:51:13 nexus3.edgexfoundry.org:10004 07:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:13 Configure a credential helper to remove this warning. See 07:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:13 07:51:13 Login Succeeded 07:51:13 docker.io 07:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:13 Configure a credential helper to remove this warning. See 07:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:13 07:51:13 Login Succeeded 07:51:13 ---> docker-login.sh ends [Pipeline] } 07:51:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [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] sh 07:51:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:51:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:51:16 + sudo service docker restart 07:51:16 + true 07:51:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:51:17 provisioning config files... 07:51:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-197@tmp/config5464197092391078262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:18 ---> docker-login.sh 07:51:18 nexus3.edgexfoundry.org:10001 07:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:18 Configure a credential helper to remove this warning. See 07:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:18 07:51:18 Login Succeeded 07:51:18 nexus3.edgexfoundry.org:10002 07:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:18 Configure a credential helper to remove this warning. See 07:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:18 07:51:18 Login Succeeded 07:51:18 nexus3.edgexfoundry.org:10003 07:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:18 Configure a credential helper to remove this warning. See 07:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:18 07:51:18 Login Succeeded 07:51:18 nexus3.edgexfoundry.org:10004 07:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:19 Configure a credential helper to remove this warning. See 07:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:19 07:51:19 Login Succeeded 07:51:19 docker.io 07:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:19 Configure a credential helper to remove this warning. See 07:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:19 07:51:19 Login Succeeded 07:51:19 ---> docker-login.sh ends [Pipeline] } 07:51:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:51:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:51:23 + ls -al . 07:51:23 total 12 07:51:23 drwxrwxr-x. 3 jenkins jenkins 72 Dec 2 07:50 . 07:51:23 drwxrwxr-x. 4 jenkins jenkins 112 Dec 2 07:50 .. 07:51:23 -rw-rw-r--. 1 jenkins jenkins 1256 Dec 2 07:50 Dockerfile 07:51:23 drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 07:51 .git 07:51:23 -rw-rw-r--. 1 jenkins jenkins 912 Dec 2 07:50 Jenkinsfile 07:51:23 -rw-rw-r--. 1 jenkins jenkins 239 Dec 2 07:50 README.md [Pipeline] isUnix [Pipeline] sh 07:51:24 + docker build -t edgex-devops/edgex-modbus-simulator -f Dockerfile --build-arg ARCH=amd64 --label git_sha=8edbf70e9bfcefad91fee21eff22228c4da60c16 --label arch=amd64 . 07:51:24 Sending build context to Docker daemon 356.4kB 07:51:24 Step 1/15 : FROM golang:1.13-alpine AS builder 07:51:25 1.13-alpine: Pulling from library/golang 07:51:25 df20fa9351a1: Pulling fs layer 07:51:25 ed8968b2872e: Pulling fs layer 07:51:25 a92cc7c5fd73: Pulling fs layer 07:51:25 dd0b68742591: Pulling fs layer 07:51:25 fb4ae7ba1102: Pulling fs layer 07:51:25 dd0b68742591: Waiting 07:51:25 fb4ae7ba1102: Waiting 07:51:25 a92cc7c5fd73: Verifying Checksum 07:51:25 a92cc7c5fd73: Download complete 07:51:25 ed8968b2872e: Verifying Checksum 07:51:25 ed8968b2872e: Download complete 07:51:25 df20fa9351a1: Verifying Checksum 07:51:25 df20fa9351a1: Download complete 07:51:25 fb4ae7ba1102: Verifying Checksum 07:51:25 fb4ae7ba1102: Download complete 07:51:25 df20fa9351a1: Pull complete 07:51:25 ed8968b2872e: Pull complete 07:51:26 a92cc7c5fd73: Pull complete 07:51:27 dd0b68742591: Verifying Checksum 07:51:27 dd0b68742591: Download complete 07:51:29 Still waiting to schedule task 07:51:29 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:51:33 dd0b68742591: Pull complete 07:51:33 fb4ae7ba1102: Pull complete 07:51:33 Digest: sha256:e74b83b94d499cb34c7edf55fbdff9d3cfabd238a35f9cb1b59d0e74f50b1ddd 07:51:33 Status: Downloaded newer image for golang:1.13-alpine 07:51:33 ---> 5863598a981a 07:51:33 Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator 07:51:37 ---> Running in 2449711a44f6 07:51:37 Removing intermediate container 2449711a44f6 07:51:37 ---> df8601497720 07:51:37 Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:51:37 ---> Running in c4c0c48a95dd 07:51:38 Removing intermediate container c4c0c48a95dd 07:51:38 ---> 25b1dfa1d7b9 07:51:38 Step 4/15 : RUN apk update && apk add libsodium-dev pkgconfig build-base git 07:51:38 ---> Running in edff98cb183d 07:51:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:51:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:51:40 v3.12.1-67-ge0f25e8e68 [http://nl.alpinelinux.org/alpine/v3.12/main] 07:51:40 v3.12.1-65-gda4c4bae78 [http://nl.alpinelinux.org/alpine/v3.12/community] 07:51:40 OK: 12751 distinct packages available 07:51:40 (1/29) Upgrading musl (1.1.24-r9 -> 1.1.24-r10) 07:51:41 (2/29) Installing libgcc (9.3.0-r2) 07:51:41 (3/29) Installing libstdc++ (9.3.0-r2) 07:51:41 (4/29) Installing binutils (2.34-r1) 07:51:42 (5/29) Installing libmagic (5.38-r0) 07:51:42 (6/29) Installing file (5.38-r0) 07:51:42 (7/29) Installing gmp (6.2.0-r0) 07:51:42 (8/29) Installing isl (0.18-r0) 07:51:42 (9/29) Installing libgomp (9.3.0-r2) 07:51:42 (10/29) Installing libatomic (9.3.0-r2) 07:51:43 (11/29) Installing libgphobos (9.3.0-r2) 07:51:43 (12/29) Installing mpfr4 (4.0.2-r4) 07:51:43 (13/29) Installing mpc1 (1.1.0-r1) 07:51:43 (14/29) Installing gcc (9.3.0-r2) 07:51:55 (15/29) Installing musl-dev (1.1.24-r10) 07:51:56 (16/29) Installing libc-dev (0.7.2-r3) 07:51:56 (17/29) Installing g++ (9.3.0-r2) 07:52:18 (18/29) Installing make (4.3-r0) 07:52:18 (19/29) Installing fortify-headers (1.1-r0) 07:52:18 (20/29) Installing patch (2.7.6-r6) 07:52:18 (21/29) Installing build-base (0.5-r2) 07:52:18 (22/29) Installing nghttp2-libs (1.41.0-r0) 07:52:18 (23/29) Installing libcurl (7.69.1-r1) 07:52:18 (24/29) Installing expat (2.2.9-r1) 07:52:18 (25/29) Installing pcre2 (10.35-r0) 07:52:18 (26/29) Installing git (2.26.2-r0) 07:52:18 (27/29) Installing libsodium (1.0.18-r0) 07:52:18 (28/29) Installing pkgconf (1.7.2-r0) 07:52:18 (29/29) Installing libsodium-dev (1.0.18-r0) 07:52:18 Executing busybox-1.31.1-r16.trigger 07:52:18 OK: 223 MiB in 43 packages 07:52:23 Removing intermediate container edff98cb183d 07:52:23 ---> 0e73fae2d85d 07:52:23 Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git 07:52:23 ---> Running in a82788772fee 07:52:24 Cloning into 'device-modbus-go'... 07:52:25 Removing intermediate container a82788772fee 07:52:25 ---> 5089c49cfd8f 07:52:25 Step 6/15 : RUN mv ./device-modbus-go/simulator/* . 07:52:25 ---> Running in 7e8efa4bd75b 07:52:25 Removing intermediate container 7e8efa4bd75b 07:52:25 ---> 63af83eceb16 07:52:25 Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build 07:52:25 ---> Running in afe6e9f60154 07:52:26 go: downloading github.com/goburrow/serial v0.1.0 07:52:26 go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 07:52:26 go: extracting github.com/goburrow/serial v0.1.0 07:52:26 go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 07:52:26 go: finding github.com/goburrow/serial v0.1.0 07:52:26 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 07:52:32 Removing intermediate container afe6e9f60154 07:52:32 ---> 2bb9bec8dd0e 07:52:32 Step 8/15 : FROM scratch 07:52:32 ---> 07:52:32 Step 9/15 : ENV APP_PORT=1502 07:52:32 ---> Running in 8cd31e0d396e 07:52:32 Removing intermediate container 8cd31e0d396e 07:52:32 ---> 1655915bcd43 07:52:32 Step 10/15 : EXPOSE $APP_PORT 07:52:32 ---> Running in af45409edcaf 07:52:32 Removing intermediate container af45409edcaf 07:52:32 ---> 11d4e6fccca1 07:52:32 Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / 07:52:33 ---> 0fadc68c057f 07:52:33 Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 07:52:33 ---> Running in 9d896d9271f0 07:52:33 Removing intermediate container 9d896d9271f0 07:52:33 ---> e7871be20112 07:52:33 Step 13/15 : ENTRYPOINT ["/simulator"] 07:52:33 ---> Running in f76301a1dd8b 07:52:33 Removing intermediate container f76301a1dd8b 07:52:33 ---> 3fd97222f506 07:52:33 Step 14/15 : LABEL arch=amd64 07:52:33 ---> Running in bffb02806ae3 07:52:33 Removing intermediate container bffb02806ae3 07:52:33 ---> d97ea13af74d 07:52:33 Step 15/15 : LABEL git_sha=8edbf70e9bfcefad91fee21eff22228c4da60c16 07:52:33 ---> Running in 97bff720f23b 07:52:34 Removing intermediate container 97bff720f23b 07:52:34 ---> 1b0e75c25a8b 07:52:34 [Warning] One or more build-args [ARCH] were not consumed 07:52:34 Successfully built 1b0e75c25a8b 07:52:34 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] } 07:54:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14156 in /w/workspace/xfoundry_device-modbus-go_PR-197 [Pipeline] { [Pipeline] checkout 07:55:01 using credential edgex-jenkins-ssh 07:55:01 Cloning the remote Git repository 07:55:01 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:55:01 > git init /w/workspace/xfoundry_device-modbus-go_PR-197 # timeout=10 07:55:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:55:01 > git --version # timeout=10 07:55:01 > git --version # 'git version 2.17.1' 07:55:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:55:03 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:55:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:55:03 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:55:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:55:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 07:55:04 Merging remotes/origin/edgex-modbus-simulator commit 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 into PR head commit 8edbf70e9bfcefad91fee21eff22228c4da60c16 07:55:04 Merge succeeded, producing 8edbf70e9bfcefad91fee21eff22228c4da60c16 07:55:04 Checking out Revision 8edbf70e9bfcefad91fee21eff22228c4da60c16 (PR-197) 07:55:04 > git config core.sparsecheckout # timeout=10 07:55:04 > git checkout -f 8edbf70e9bfcefad91fee21eff22228c4da60c16 # timeout=10 07:55:04 > git remote # timeout=10 07:55:04 > git config --get remote.origin.url # timeout=10 07:55:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:04 > git merge 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 # timeout=10 07:55:04 > git rev-parse HEAD^{commit} # timeout=10 07:55:04 > git config core.sparsecheckout # timeout=10 07:55:04 > git checkout -f 8edbf70e9bfcefad91fee21eff22228c4da60c16 # timeout=10 07:55:09 Commit message: "feat: Upgrade modbus simulator version to 1.0.0" 07:55:09 > git --version # timeout=10 07:55:09 > git --version # 'git version 2.17.1' 07:55:09 fatal: bad object a5c854593eac886f27ddeefb8920871132e8ed78 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:55:10 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:55:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:55:11 + sudo service docker restart 07:55:11 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:55:14 provisioning config files... 07:55:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-197@tmp/config4935718755501283413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:15 ---> docker-login.sh 07:55:15 nexus3.edgexfoundry.org:10001 07:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:16 Configure a credential helper to remove this warning. See 07:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:16 07:55:16 Login Succeeded 07:55:16 nexus3.edgexfoundry.org:10002 07:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:16 Configure a credential helper to remove this warning. See 07:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:16 07:55:16 Login Succeeded 07:55:16 nexus3.edgexfoundry.org:10003 07:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:17 Configure a credential helper to remove this warning. See 07:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:17 07:55:17 Login Succeeded 07:55:17 nexus3.edgexfoundry.org:10004 07:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:17 Configure a credential helper to remove this warning. See 07:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:17 07:55:17 Login Succeeded 07:55:17 docker.io 07:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:19 Configure a credential helper to remove this warning. See 07:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:19 07:55:19 Login Succeeded 07:55:19 ---> docker-login.sh ends [Pipeline] } 07:55:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:55:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:55:21 + ls -al . 07:55:21 total 24 07:55:21 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 07:55 . 07:55:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 07:55 .. 07:55:21 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 07:55 .git 07:55:21 -rw-rw-r-- 1 jenkins jenkins 1256 Dec 2 07:55 Dockerfile 07:55:21 -rw-rw-r-- 1 jenkins jenkins 912 Dec 2 07:55 Jenkinsfile 07:55:21 -rw-rw-r-- 1 jenkins jenkins 239 Dec 2 07:55 README.md [Pipeline] isUnix [Pipeline] sh 07:55:21 + docker build -t edgex-devops/edgex-modbus-simulator-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=8edbf70e9bfcefad91fee21eff22228c4da60c16 --label arch=arm64 . 07:55:21 Sending build context to Docker daemon 355.3kB 07:55:21 Step 1/15 : FROM golang:1.13-alpine AS builder 07:55:22 1.13-alpine: Pulling from library/golang 07:55:22 b538f80385f9: Pulling fs layer 07:55:22 74f711af9a0d: Pulling fs layer 07:55:22 99f96fe45779: Pulling fs layer 07:55:22 098003ea900c: Pulling fs layer 07:55:22 03943c3330d5: Pulling fs layer 07:55:22 098003ea900c: Waiting 07:55:22 03943c3330d5: Waiting 07:55:23 99f96fe45779: Verifying Checksum 07:55:23 99f96fe45779: Download complete 07:55:23 b538f80385f9: Verifying Checksum 07:55:23 b538f80385f9: Download complete 07:55:23 74f711af9a0d: Verifying Checksum 07:55:23 74f711af9a0d: Download complete 07:55:23 03943c3330d5: Verifying Checksum 07:55:23 03943c3330d5: Download complete 07:55:23 b538f80385f9: Pull complete 07:55:24 74f711af9a0d: Pull complete 07:55:24 99f96fe45779: Pull complete 07:55:27 098003ea900c: Verifying Checksum 07:55:27 098003ea900c: Download complete 07:55:39 098003ea900c: Pull complete 07:55:39 03943c3330d5: Pull complete 07:55:39 Digest: sha256:e74b83b94d499cb34c7edf55fbdff9d3cfabd238a35f9cb1b59d0e74f50b1ddd 07:55:39 Status: Downloaded newer image for golang:1.13-alpine 07:55:39 ---> 13ecd043bf2d 07:55:39 Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator 07:55:40 ---> Running in b69631bf3e26 07:55:41 Removing intermediate container b69631bf3e26 07:55:41 ---> 10ec01b4e18a 07:55:41 Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:55:41 ---> Running in d38e133eb0cd 07:55:43 Removing intermediate container d38e133eb0cd 07:55:43 ---> 53095f2d70a5 07:55:43 Step 4/15 : RUN apk update && apk add libsodium-dev pkgconfig build-base git 07:55:43 ---> Running in 39cf01b55037 07:55:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:55:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:55:46 v3.12.1-67-ge0f25e8e68 [http://nl.alpinelinux.org/alpine/v3.12/main] 07:55:46 v3.12.1-65-gda4c4bae78 [http://nl.alpinelinux.org/alpine/v3.12/community] 07:55:46 OK: 12622 distinct packages available 07:55:46 (1/29) Upgrading musl (1.1.24-r9 -> 1.1.24-r10) 07:55:47 (2/29) Installing libgcc (9.3.0-r2) 07:55:47 (3/29) Installing libstdc++ (9.3.0-r2) 07:55:48 (4/29) Installing binutils (2.34-r1) 07:55:49 (5/29) Installing libmagic (5.38-r0) 07:55:49 (6/29) Installing file (5.38-r0) 07:55:49 (7/29) Installing gmp (6.2.0-r0) 07:55:49 (8/29) Installing isl (0.18-r0) 07:55:49 (9/29) Installing libgomp (9.3.0-r2) 07:55:49 (10/29) Installing libatomic (9.3.0-r2) 07:55:49 (11/29) Installing libgphobos (9.3.0-r2) 07:55:50 (12/29) Installing mpfr4 (4.0.2-r4) 07:55:50 (13/29) Installing mpc1 (1.1.0-r1) 07:55:50 (14/29) Installing gcc (9.3.0-r2) 07:56:00 (15/29) Installing musl-dev (1.1.24-r10) 07:56:01 (16/29) Installing libc-dev (0.7.2-r3) 07:56:01 (17/29) Installing g++ (9.3.0-r2) 07:56:05 (18/29) Installing make (4.3-r0) 07:56:05 (19/29) Installing fortify-headers (1.1-r0) 07:56:05 (20/29) Installing patch (2.7.6-r6) 07:56:05 (21/29) Installing build-base (0.5-r2) 07:56:05 (22/29) Installing nghttp2-libs (1.41.0-r0) 07:56:05 (23/29) Installing libcurl (7.69.1-r1) 07:56:05 (24/29) Installing expat (2.2.9-r1) 07:56:05 (25/29) Installing pcre2 (10.35-r0) 07:56:06 (26/29) Installing git (2.26.2-r0) 07:56:08 (27/29) Installing libsodium (1.0.18-r0) 07:56:08 (28/29) Installing pkgconf (1.7.2-r0) 07:56:08 (29/29) Installing libsodium-dev (1.0.18-r0) 07:56:08 Executing busybox-1.31.1-r16.trigger 07:56:08 OK: 207 MiB in 43 packages 07:56:16 Removing intermediate container 39cf01b55037 07:56:16 ---> a84729b9e696 07:56:16 Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git 07:56:17 ---> Running in b2d599718a22 07:56:18 Cloning into 'device-modbus-go'... 07:56:19 Removing intermediate container b2d599718a22 07:56:19 ---> eabbee9e2dfd 07:56:19 Step 6/15 : RUN mv ./device-modbus-go/simulator/* . 07:56:19 ---> Running in 103ad59d70bb 07:56:21 Removing intermediate container 103ad59d70bb 07:56:21 ---> 2391971f1285 07:56:21 Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build 07:56:21 ---> Running in 29fa80484894 07:56:23 go: downloading github.com/goburrow/serial v0.1.0 07:56:23 go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 07:56:23 go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 07:56:23 go: extracting github.com/goburrow/serial v0.1.0 07:56:23 go: finding github.com/goburrow/serial v0.1.0 07:56:23 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 07:56:38 Removing intermediate container 29fa80484894 07:56:38 ---> 8ba6fc09bd7c 07:56:38 Step 8/15 : FROM scratch 07:56:38 ---> 07:56:38 Step 9/15 : ENV APP_PORT=1502 07:56:38 ---> Running in 81af4770a80b 07:56:38 Removing intermediate container 81af4770a80b 07:56:38 ---> 558477d5785d 07:56:38 Step 10/15 : EXPOSE $APP_PORT 07:56:38 ---> Running in 5b0804b51a14 07:56:38 Removing intermediate container 5b0804b51a14 07:56:38 ---> 681237fd3ab1 07:56:38 Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / 07:56:38 ---> c975ec38b07a 07:56:38 Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 07:56:38 ---> Running in 71669914202b 07:56:39 Removing intermediate container 71669914202b 07:56:39 ---> 761c67464222 07:56:39 Step 13/15 : ENTRYPOINT ["/simulator"] 07:56:39 ---> Running in a8e18e5dc273 07:56:39 Removing intermediate container a8e18e5dc273 07:56:39 ---> 376053b9e1a3 07:56:39 Step 14/15 : LABEL arch=arm64 07:56:39 ---> Running in c940724f2b01 07:56:39 Removing intermediate container c940724f2b01 07:56:39 ---> b3c712079785 07:56:39 Step 15/15 : LABEL git_sha=8edbf70e9bfcefad91fee21eff22228c4da60c16 07:56:40 ---> Running in d64d892eaa8a 07:56:40 Removing intermediate container d64d892eaa8a 07:56:40 ---> d7e84f802d96 07:56:40 [Warning] One or more build-args [ARCH] were not consumed 07:56:40 Successfully built d7e84f802d96 07:56:40 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 07:56:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:56:45 ---> package-listing.sh 07:56:45 ++ facter osfamily 07:56:45 ++ tr '[:upper:]' '[:lower:]' 07:56:45 + OS_FAMILY=redhat 07:56:45 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-197 07:56:45 + START_PACKAGES=/tmp/packages_start.txt 07:56:45 + END_PACKAGES=/tmp/packages_end.txt 07:56:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:56:45 + PACKAGES=/tmp/packages_start.txt 07:56:45 + '[' /w/workspace/xfoundry_device-modbus-go_PR-197 ']' 07:56:45 + PACKAGES=/tmp/packages_end.txt 07:56:45 + case "${OS_FAMILY}" in 07:56:45 + rpm -qa 07:56:45 + sort 07:56:50 + '[' -f /tmp/packages_start.txt ']' 07:56:50 + '[' -f /tmp/packages_end.txt ']' 07:56:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:56:50 + '[' /w/workspace/xfoundry_device-modbus-go_PR-197 ']' 07:56:50 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-197/archives/ 07:56:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-197/archives/ [Pipeline] echo 07:56:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:56:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:56:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:56:51 07:56:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:56:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:56:51 alpine: Pulling from edgex-lftools-log-publisher 07:56:51 df20fa9351a1: Already exists 07:56:51 36b3adc4ff6f: Pulling fs layer 07:56:51 8ad3a11d3b57: Pulling fs layer 07:56:51 46f8f816bc3b: Pulling fs layer 07:56:51 93b61091891f: Pulling fs layer 07:56:51 93b9cdb0e59b: Pulling fs layer 07:56:51 5e14af77c1be: Pulling fs layer 07:56:51 01666e4c0597: Pulling fs layer 07:56:51 aa168da1d23b: Pulling fs layer 07:56:51 93b9cdb0e59b: Waiting 07:56:51 01666e4c0597: Waiting 07:56:51 5e14af77c1be: Waiting 07:56:51 aa168da1d23b: Waiting 07:56:51 46f8f816bc3b: Verifying Checksum 07:56:51 46f8f816bc3b: Download complete 07:56:51 36b3adc4ff6f: Verifying Checksum 07:56:51 36b3adc4ff6f: Download complete 07:56:51 93b9cdb0e59b: Verifying Checksum 07:56:51 93b9cdb0e59b: Download complete 07:56:51 5e14af77c1be: Verifying Checksum 07:56:51 5e14af77c1be: Download complete 07:56:51 01666e4c0597: Verifying Checksum 07:56:51 01666e4c0597: Download complete 07:56:51 93b61091891f: Verifying Checksum 07:56:51 93b61091891f: Download complete 07:56:51 36b3adc4ff6f: Pull complete 07:56:52 8ad3a11d3b57: Verifying Checksum 07:56:52 8ad3a11d3b57: Download complete 07:56:53 8ad3a11d3b57: Pull complete 07:56:53 46f8f816bc3b: Pull complete 07:56:54 93b61091891f: Pull complete 07:56:54 93b9cdb0e59b: Pull complete 07:56:54 aa168da1d23b: Verifying Checksum 07:56:54 aa168da1d23b: Download complete 07:56:54 5e14af77c1be: Pull complete 07:56:54 01666e4c0597: Pull complete 07:57:01 aa168da1d23b: Pull complete 07:57:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:57:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:57:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:57:01 prd-centos7-docker-4c-2g-14155 does not seem to be running inside a container 07:57:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-197 -v /w/workspace/xfoundry_device-modbus-go_PR-197:/w/workspace/xfoundry_device-modbus-go_PR-197:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-197@tmp:/w/workspace/xfoundry_device-modbus-go_PR-197@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:57:04 $ docker top f2022a2ceaca7f0f27a1d8714f6543cdd1f1e94d3de19a3e57b154965e86a8e6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:05 + touch /tmp/pre-build-complete [Pipeline] sh 07:57:06 + mkdir -p /var/log/sa [Pipeline] sh 07:57:06 + ls /var/log/sa-host 07:57:06 + sadf -c /var/log/sa-host/sa02 07:57:06 file_magic: OK 07:57:06 HZ: Using current value: 100 07:57:06 file_header: OK 07:57:06 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:57:06 Statistics: 07:57:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:57:06 File successfully converted to sysstat format version 12.2.1 07:57:06 + sadf -c /var/log/sa-host/sa23 07:57:06 file_magic: OK 07:57:06 HZ: Using current value: 100 07:57:06 file_header: OK 07:57:06 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:57:06 Statistics: 07:57:06 Hnuu...uuuununununu... 07:57:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:57:06 provisioning config files... 07:57:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-197@tmp/config6357658979710722334tmp [Pipeline] { [Pipeline] echo 07:57:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:57:07 ---> create-netrc.sh [Pipeline] } 07:57:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:57:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:57:07 ---> python-tools-install.sh [Pipeline] echo 07:57:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:57:08 ---> sudo-logs.sh 07:57:08 Archiving 'sudo' log.. [Pipeline] echo 07:57:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:57:08 ---> job-cost.sh 07:57:08 lf-activate-venv: SKIPPING 07:57:08 INFO: No Stack... 07:57:09 INFO: Retrieving Pricing Info for: v1-standard-2 07:57:10 INFO: Archiving Costs [Pipeline] echo 07:57:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:57:10 ---> logs-deploy.sh 07:57:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-197/1 07:57:10 INFO: archiving workspace using pattern(s): 07:57:12 Archives upload complete. 07:57:12 INFO: archiving logs to Nexus