Pull request #219 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 hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from f5ae1f548a223fa00a609c07100793691232eedb+a9406b88c5d39c328343188705a9257517158750 (6b0989031527dc74f89bb6ced9f0df79bd4b046d) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5798161037417432688.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1491047196468718882.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git 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-virtual-go/branches/PR-219/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-219/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2839739695200202054.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-219/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5862173380153357989.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8968868708886694157.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE 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-virtual-go/branches/PR-219/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-219/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh711191118579136351.key > 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 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var 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 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-43 in /w/workspace/foundry_device-virtual-go_PR-219 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-219 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-219@tmp/jenkins-gitclient-ssh1633756439166649915.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a9406b88c5d39c328343188705a9257517158750 into PR head commit f5ae1f548a223fa00a609c07100793691232eedb Merge succeeded, producing f5ae1f548a223fa00a609c07100793691232eedb Checking out Revision f5ae1f548a223fa00a609c07100793691232eedb (PR-219) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-219@tmp/jenkins-gitclient-ssh6467612674965466557.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-219@tmp/jenkins-gitclient-ssh6543567438727587991.key > git merge a9406b88c5d39c328343188705a9257517158750 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 Commit message: "fix: update separator for GET array value handler function" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:58:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:58:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:58:20 ========================================================= 04:58:20 EdgeX Global Pipelines Version Info 04:58:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:58:21 ------------------- 04:58:21 stable info: 04:58:21 ------------------- 04:58:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:58:21 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 04:58:21 Message: update stable to v1.0.192 04:58:22 ------------------- 04:58:22 experimental info: 04:58:22 ------------------- 04:58:22 Commited By: **** collab-it+edgex@linuxfoundation.org 04:58:22 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 04:58:22 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:58:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 04:58:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 04:58:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:58:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:58:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:58:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:58:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:58:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:58:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:58:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:58:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:58:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-219 [Pipeline] echo 04:58:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-219 [Pipeline] echo 04:58:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-219 [Pipeline] echo 04:58:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5ae1f548a223fa00a609c07100793691232eedb [Pipeline] echo 04:58:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5ae1f5 [Pipeline] echo 04:58:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:24 provisioning config files... 04:58:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-219@tmp/config4416905105506535747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:25 ---> docker-login.sh 04:58:25 nexus3.edgexfoundry.org:10001 04:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:25 Configure a credential helper to remove this warning. See 04:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:25 04:58:25 Login Succeeded 04:58:25 nexus3.edgexfoundry.org:10002 04:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:25 Configure a credential helper to remove this warning. See 04:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:25 04:58:25 Login Succeeded 04:58:25 nexus3.edgexfoundry.org:10003 04:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:25 Configure a credential helper to remove this warning. See 04:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:25 04:58:25 Login Succeeded 04:58:25 nexus3.edgexfoundry.org:10004 04:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:25 Configure a credential helper to remove this warning. See 04:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:25 04:58:25 Login Succeeded 04:58:25 docker.io 04:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:26 Configure a credential helper to remove this warning. See 04:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:26 04:58:26 Login Succeeded 04:58:26 ---> docker-login.sh ends [Pipeline] } 04:58:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:58:27 + git log --format=format:%s -1 f5ae1f548a223fa00a609c07100793691232eedb [Pipeline] echo 04:58:27 GIT_COMMIT: f5ae1f548a223fa00a609c07100793691232eedb, Commit Message: fix: update separator for GET array value handler function [Pipeline] echo 04:58:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:58:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:58:28 04:58:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:58:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:58:28 latest: Pulling from edgex-devops/git-semver 04:58:28 31603596830f: Pulling fs layer 04:58:28 54011a49482f: Pulling fs layer 04:58:28 a6820b24f6d8: Pulling fs layer 04:58:28 f581987b2513: Pulling fs layer 04:58:28 f581987b2513: Waiting 04:58:28 54011a49482f: Verifying Checksum 04:58:28 54011a49482f: Download complete 04:58:28 31603596830f: Verifying Checksum 04:58:28 31603596830f: Download complete 04:58:28 a6820b24f6d8: Verifying Checksum 04:58:28 a6820b24f6d8: Download complete 04:58:28 f581987b2513: Verifying Checksum 04:58:28 f581987b2513: Download complete 04:58:28 31603596830f: Pull complete 04:58:29 54011a49482f: Pull complete 04:58:29 a6820b24f6d8: Pull complete 04:58:30 f581987b2513: Pull complete 04:58:30 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 04:58:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:58:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:58:30 prd-centos7-docker-4c-2g-43 does not seem to be running inside a container 04:58:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-219 -v /w/workspace/foundry_device-virtual-go_PR-219:/w/workspace/foundry_device-virtual-go_PR-219:rw,z -v /w/workspace/foundry_device-virtual-go_PR-219@tmp:/w/workspace/foundry_device-virtual-go_PR-219@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:58:31 $ docker top f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:32 [ssh-agent] Looking for ssh-agent implementation... 04:58:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:32 $ docker exec f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 ssh-agent 04:58:32 SSH_AUTH_SOCK=/tmp/ssh-b7BSjOoTkik2/agent.14 04:58:32 SSH_AGENT_PID=19 04:58:32 Running ssh-add (command line suppressed) 04:58:32 Identity added: /w/workspace/foundry_device-virtual-go_PR-219@tmp/private_key_4404714737632077959.key (/w/workspace/foundry_device-virtual-go_PR-219@tmp/private_key_4404714737632077959.key) 04:58:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:32 + git tag --points-at HEAD [Pipeline] } 04:58:32 $ docker exec --env ******** --env ******** f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 ssh-agent -k 04:58:32 unset SSH_AUTH_SOCK; 04:58:32 unset SSH_AGENT_PID; 04:58:32 echo Agent pid 19 killed; 04:58:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:58:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:33 [ssh-agent] Looking for ssh-agent implementation... 04:58:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:33 $ docker exec f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 ssh-agent 04:58:33 SSH_AUTH_SOCK=/tmp/ssh-rarNAO1lS95e/agent.53 04:58:33 SSH_AGENT_PID=59 04:58:33 Running ssh-add (command line suppressed) 04:58:33 Identity added: /w/workspace/foundry_device-virtual-go_PR-219@tmp/private_key_5223267084667028863.key (/w/workspace/foundry_device-virtual-go_PR-219@tmp/private_key_5223267084667028863.key) 04:58:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:33 + git semver init 04:58:33 # -> Open(): unable to determine branch for HEAD 04:58:33 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-219/.git 04:58:33 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-219 04:58:33 # $SEMVER_REMOTE_NAME = origin 04:58:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:58:33 # $SEMVER_USER_NAME = edgex-jenkins 04:58:33 # $SEMVER_BRANCH = PR-219 04:58:33 # $SEMVER_TEMP = /tmp/semver-756497009 04:58:33 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 04:58:34 # '/tmp/semver-756497009' -> '/w/workspace/foundry_device-virtual-go_PR-219/.semver' 04:58:34 # -> Force: false 04:58:34 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-219/.semver [Pipeline] } 04:58:34 $ docker exec --env ******** --env ******** f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 ssh-agent -k 04:58:34 unset SSH_AUTH_SOCK; 04:58:34 unset SSH_AGENT_PID; 04:58:34 echo Agent pid 59 killed; 04:58:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:35 + git semver [Pipeline] } 04:58:35 $ docker stop --time=1 f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 04:58:36 $ docker rm -f f3953e214efd0600142588e797efbb76b68067a431f0208402c18ba6a8e23fb0 [Pipeline] // withDockerContainer [Pipeline] sh 04:58:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:58:37 Stashed 1 file(s) [Pipeline] echo 04:58:37 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 04:58:53 Still waiting to schedule task 04:58:53 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:58:53 Still waiting to schedule task 04:58:53 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:01:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-44 in /w/workspace/foundry_device-virtual-go_PR-219 [Pipeline] { [Pipeline] ws 05:01:01 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 05:01:01 The recommended git tool is: git 05:01:06 using credential edgex-jenkins-ssh 05:01:06 Cloning the remote Git repository 05:01:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:01:06 > git init /w/workspace/device-virtual-go/1 # timeout=10 05:01:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:01:07 > git --version # timeout=10 05:01:07 > git --version # 'git version 2.17.1' 05:01:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:01:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:01:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:01:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:01:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:01:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:01:10 Merging remotes/origin/master commit a9406b88c5d39c328343188705a9257517158750 into PR head commit f5ae1f548a223fa00a609c07100793691232eedb 05:01:10 Merge succeeded, producing f5ae1f548a223fa00a609c07100793691232eedb 05:01:10 Checking out Revision f5ae1f548a223fa00a609c07100793691232eedb (PR-219) 05:01:10 > git config core.sparsecheckout # timeout=10 05:01:10 > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 05:01:10 > git remote # timeout=10 05:01:10 > git config --get remote.origin.url # timeout=10 05:01:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:10 > git merge a9406b88c5d39c328343188705a9257517158750 # timeout=10 05:01:10 > git rev-parse HEAD^{commit} # timeout=10 05:01:10 > git config core.sparsecheckout # timeout=10 05:01:10 > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 05:01:15 Commit message: "fix: update separator for GET array value handler function" 05:01:15 > git --version # timeout=10 05:01:15 > git --version # 'git version 2.17.1' 05:01:15 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:01:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:01:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:01:17 + sudo service docker restart 05:01:17 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:36 provisioning config files... 05:01:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5812159223328599425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:36 ---> docker-login.sh 05:01:36 nexus3.edgexfoundry.org:10001 05:01:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:38 Configure a credential helper to remove this warning. See 05:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:38 05:01:38 Login Succeeded 05:01:38 nexus3.edgexfoundry.org:10002 05:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:38 Running on prd-centos7-docker-4c-2g-45 in /w/workspace/foundry_device-virtual-go_PR-219 [Pipeline] { [Pipeline] ws 05:01:38 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 05:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:38 Configure a credential helper to remove this warning. See 05:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:38 05:01:38 Login Succeeded 05:01:38 nexus3.edgexfoundry.org:10003 05:01:38 The recommended git tool is: git 05:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:39 Configure a credential helper to remove this warning. See 05:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:39 05:01:39 Login Succeeded 05:01:39 nexus3.edgexfoundry.org:10004 05:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:39 Configure a credential helper to remove this warning. See 05:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:39 05:01:39 Login Succeeded 05:01:39 docker.io 05:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:40 Configure a credential helper to remove this warning. See 05:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:40 05:01:40 Login Succeeded 05:01:40 ---> docker-login.sh ends [Pipeline] } 05:01:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:01:41 using credential edgex-jenkins-ssh 05:01:41 Cloning the remote Git repository [Pipeline] echo 05:01:41 ========================================================= 05:01:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:01:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:01:41 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 05:01:41 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:01:41 > git init /w/workspace/device-virtual-go/1 # timeout=10 05:01:41 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:01:41 > git --version # timeout=10 05:01:41 > git --version # 'git version 2.24.4' 05:01:41 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:41 [INFO] Currently running in a labeled security context 05:01:41 [INFO] Currently SELinux is 'enforcing' on the host 05:01:41 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh542555359658339494.key 05:01:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:01:42 Sending build context to Docker daemon 8.607MB 05:01:42 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:01:42 Step 2/8 : FROM ${BASE} 05:01:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:01:42 595b0fe564bb: Pulling fs layer 05:01:42 7186ed65a4f7: Pulling fs layer 05:01:42 316046926c0a: Pulling fs layer 05:01:42 4ebd0625c992: Pulling fs layer 05:01:42 207e8628e3a3: Pulling fs layer 05:01:42 c791037a9be2: Pulling fs layer 05:01:42 ffd874e62e21: Pulling fs layer 05:01:42 4ebd0625c992: Waiting 05:01:42 207e8628e3a3: Waiting 05:01:42 c791037a9be2: Waiting 05:01:42 ffd874e62e21: Waiting 05:01:42 316046926c0a: Download complete 05:01:42 7186ed65a4f7: Verifying Checksum 05:01:42 7186ed65a4f7: Download complete 05:01:42 207e8628e3a3: Verifying Checksum 05:01:42 595b0fe564bb: Verifying Checksum 05:01:42 595b0fe564bb: Download complete 05:01:42 c791037a9be2: Verifying Checksum 05:01:42 c791037a9be2: Download complete 05:01:43 595b0fe564bb: Pull complete 05:01:43 7186ed65a4f7: Pull complete 05:01:44 Merging remotes/origin/master commit a9406b88c5d39c328343188705a9257517158750 into PR head commit f5ae1f548a223fa00a609c07100793691232eedb 05:01:44 Merge succeeded, producing f5ae1f548a223fa00a609c07100793691232eedb 05:01:44 Checking out Revision f5ae1f548a223fa00a609c07100793691232eedb (PR-219) 05:01:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:01:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:01:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:01:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:01:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:43 [INFO] Currently running in a labeled security context 05:01:43 [INFO] Currently SELinux is 'enforcing' on the host 05:01:43 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh8584130943332135759.key 05:01:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:01:44 > git config core.sparsecheckout # timeout=10 05:01:44 > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 05:01:44 > git remote # timeout=10 05:01:44 > git config --get remote.origin.url # timeout=10 05:01:44 using GIT_SSH to set credentials SSH Credentials for GitHub 05:01:44 [INFO] Currently running in a labeled security context 05:01:44 [INFO] Currently SELinux is 'enforcing' on the host 05:01:44 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh3561707745576824473.key 05:01:44 > git merge a9406b88c5d39c328343188705a9257517158750 # timeout=10 05:01:44 > git rev-parse HEAD^{commit} # timeout=10 05:01:44 > git config core.sparsecheckout # timeout=10 05:01:44 > git checkout -f f5ae1f548a223fa00a609c07100793691232eedb # timeout=10 05:01:44 316046926c0a: Pull complete 05:01:45 ffd874e62e21: Download complete 05:01:46 4ebd0625c992: Verifying Checksum 05:01:46 4ebd0625c992: Download complete 05:01:47 Commit message: "fix: update separator for GET array value handler function" 05:01:47 > git --version # timeout=10 05:01:47 > git --version # 'git version 2.24.4' 05:01:48 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:01:49 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:01:49 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:01:49 + sudo service docker restart 05:01:49 + true 05:01:49 Redirecting to /bin/systemctl restart docker.service 05:01:56 4ebd0625c992: Pull complete 05:01:57 207e8628e3a3: Pull complete 05:01:57 c791037a9be2: Pull complete 05:02:01 ffd874e62e21: Pull complete 05:02:01 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:02:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:02:01 ---> cfc18b08335c 05:02:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:02:03 ---> Running in 2646f8f0e556 05:02:03 Removing intermediate container 2646f8f0e556 05:02:03 ---> 69a9341bf744 05:02:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:02:03 ---> Running in 714981214e6e 05:02:06 Removing intermediate container 714981214e6e 05:02:06 ---> 5b90dd7dab7a 05:02:06 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 05:02:06 ---> Running in d1d3910b6850 05:02:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:08 provisioning config files... 05:02:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7870399330275155852tmp 05:02:08 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:08 ---> docker-login.sh 05:02:08 nexus3.edgexfoundry.org:10001 05:02:09 (1/13) Installing libc-dev (0.7.2-r3) 05:02:09 (2/13) Installing libsodium (1.0.18-r0) 05:02:09 (3/13) Installing pkgconf (1.7.3-r0) 05:02:09 (4/13) Installing libsodium-dev (1.0.18-r0) 05:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:09 Configure a credential helper to remove this warning. See 05:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:09 05:02:09 Login Succeeded 05:02:09 nexus3.edgexfoundry.org:10002 05:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:09 Configure a credential helper to remove this warning. See 05:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:09 05:02:09 Login Succeeded 05:02:09 nexus3.edgexfoundry.org:10003 05:02:09 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:02:09 (6/13) Installing libedit (20191231.3.1-r1) 05:02:09 (7/13) Installing openssh-client (8.4_p1-r3) 05:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:09 Configure a credential helper to remove this warning. See 05:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:09 05:02:09 Login Succeeded 05:02:09 nexus3.edgexfoundry.org:10004 05:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:09 Configure a credential helper to remove this warning. See 05:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:09 05:02:09 Login Succeeded 05:02:09 docker.io 05:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:10 Configure a credential helper to remove this warning. See 05:02:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:10 05:02:10 Login Succeeded 05:02:10 ---> docker-login.sh ends 05:02:10 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:02:10 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:02:10 (10/13) Installing openssh-server (8.4_p1-r3) 05:02:10 (11/13) Installing openssh (8.4_p1-r3) [Pipeline] } 05:02:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:02:10 (12/13) Installing libzmq (4.3.3-r1) 05:02:10 (13/13) Installing zeromq-dev (4.3.3-r1) 05:02:10 Executing busybox-1.32.1-r6.trigger [Pipeline] echo 05:02:10 ========================================================= 05:02:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:02:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:02:10 OK: 145 MiB in 53 packages 05:02:10 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 05:02:10 Sending build context to Docker daemon 8.608MB 05:02:10 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:02:10 Step 2/8 : FROM ${BASE} 05:02:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:02:11 540db60ca938: Pulling fs layer 05:02:11 adcc1eea9eea: Pulling fs layer 05:02:11 4c4ab2625f07: Pulling fs layer 05:02:11 0510c868ecb4: Pulling fs layer 05:02:11 afea3b2eda06: Pulling fs layer 05:02:11 7809a108b3ef: Pulling fs layer 05:02:11 f706445af74f: Pulling fs layer 05:02:11 0510c868ecb4: Waiting 05:02:11 afea3b2eda06: Waiting 05:02:11 7809a108b3ef: Waiting 05:02:11 f706445af74f: Waiting 05:02:11 4c4ab2625f07: Verifying Checksum 05:02:11 4c4ab2625f07: Download complete 05:02:11 adcc1eea9eea: Verifying Checksum 05:02:11 adcc1eea9eea: Download complete 05:02:11 afea3b2eda06: Verifying Checksum 05:02:11 afea3b2eda06: Download complete 05:02:11 540db60ca938: Verifying Checksum 05:02:11 540db60ca938: Download complete 05:02:11 7809a108b3ef: Verifying Checksum 05:02:11 7809a108b3ef: Download complete 05:02:11 540db60ca938: Pull complete 05:02:11 adcc1eea9eea: Pull complete 05:02:11 4c4ab2625f07: Pull complete 05:02:12 Removing intermediate container d1d3910b6850 05:02:12 ---> b5b41ca0de24 05:02:12 Step 6/8 : WORKDIR /device-virtual-go 05:02:12 ---> Running in 96741a741c85 05:02:12 f706445af74f: Verifying Checksum 05:02:12 f706445af74f: Download complete 05:02:12 Removing intermediate container 96741a741c85 05:02:12 ---> b625543b7644 05:02:12 Step 7/8 : COPY . . 05:02:13 0510c868ecb4: Verifying Checksum 05:02:13 0510c868ecb4: Download complete 05:02:13 ---> 56f0fffb8796 05:02:13 Step 8/8 : RUN go mod download 05:02:13 ---> Running in bd90e3e603be 05:02:16 0510c868ecb4: Pull complete 05:02:16 afea3b2eda06: Pull complete 05:02:16 7809a108b3ef: Pull complete 05:02:17 f706445af74f: Pull complete 05:02:17 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:02:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:02:17 ---> b068be0155e3 05:02:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:02:23 ---> Running in 1e12bf823ec8 05:02:23 Removing intermediate container 1e12bf823ec8 05:02:23 ---> a394b895633f 05:02:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:02:23 ---> Running in c6ffa6cc4ef8 05:02:23 Removing intermediate container c6ffa6cc4ef8 05:02:23 ---> 84dc38e5e7cd 05:02:23 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 05:02:23 ---> Running in b84169d23c98 05:02:23 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:02:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:02:24 (1/13) Installing libc-dev (0.7.2-r3) 05:02:24 (2/13) Installing libsodium (1.0.18-r0) 05:02:24 (3/13) Installing pkgconf (1.7.3-r0) 05:02:24 (4/13) Installing libsodium-dev (1.0.18-r0) 05:02:25 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:02:25 (6/13) Installing libedit (20191231.3.1-r1) 05:02:25 (7/13) Installing openssh-client (8.4_p1-r3) 05:02:25 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:02:25 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:02:25 (10/13) Installing openssh-server (8.4_p1-r3) 05:02:26 (11/13) Installing openssh (8.4_p1-r3) 05:02:27 (12/13) Installing libzmq (4.3.3-r1) 05:02:27 (13/13) Installing zeromq-dev (4.3.3-r1) 05:02:27 Executing busybox-1.32.1-r6.trigger 05:02:27 OK: 156 MiB in 53 packages 05:02:27 Removing intermediate container b84169d23c98 05:02:27 ---> 46a8660b989e 05:02:27 Step 6/8 : WORKDIR /device-virtual-go 05:02:27 ---> Running in 3e9ce874fb56 05:02:27 Removing intermediate container 3e9ce874fb56 05:02:27 ---> 2b08cbf1c2a6 05:02:27 Step 7/8 : COPY . . 05:02:28 ---> 975935cf9cee 05:02:28 Step 8/8 : RUN go mod download 05:02:28 ---> Running in f65f656f63c5 05:02:43 Removing intermediate container f65f656f63c5 05:02:43 ---> 023f7b465527 05:02:43 Successfully built 023f7b465527 05:02:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:02:43 + docker inspect -f . ci-base-image-x86_64 05:02:43 . [Pipeline] withDockerContainer 05:02:43 prd-centos7-docker-4c-2g-45 does not seem to be running inside a container 05:02:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:02:44 $ docker top 02b126cf4e3e64f94d219d88518572e274f01b36e2a1289e0b3ec02ad5766a96 -eo pid,comm [Pipeline] { [Pipeline] sh 05:02:44 + go version 05:02:44 go version go1.16.3 linux/amd64 [Pipeline] } 05:02:44 $ docker stop --time=1 02b126cf4e3e64f94d219d88518572e274f01b36e2a1289e0b3ec02ad5766a96 05:02:45 $ docker rm -f 02b126cf4e3e64f94d219d88518572e274f01b36e2a1289e0b3ec02ad5766a96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script 05:02:46 Removing intermediate container bd90e3e603be 05:02:46 ---> 73bf572a3e05 05:02:46 Successfully built 73bf572a3e05 05:02:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 05:02:46 + docker inspect -f . ci-base-image-x86_64 05:02:46 . [Pipeline] withDockerContainer 05:02:46 + docker inspect -f . ci-base-image-arm64 05:02:46 . 05:02:46 prd-centos7-docker-4c-2g-45 does not seem to be running inside a container 05:02:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:02:47 $ docker top 417f9919a3e097ad6bb2939a3536bed096e41563f96cad7801e36e524b63edab -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 05:02:47 prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container 05:02:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:02:49 $ docker top 5cd8fb83c1f3986b13d4e420c79ad8a532711e06986a98aa23d5d45b5f874a3c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 05:02:49 + go mod tidy [Pipeline] sh 05:02:50 + go version 05:02:50 go version go1.16.3 linux/arm64 [Pipeline] } 05:02:50 $ docker stop --time=1 5cd8fb83c1f3986b13d4e420c79ad8a532711e06986a98aa23d5d45b5f874a3c 05:02:50 + make test 05:02:50 go mod tidy 05:02:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:02:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:02:52 $ docker rm -f 5cd8fb83c1f3986b13d4e420c79ad8a532711e06986a98aa23d5d45b5f874a3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:02:53 + docker inspect -f . ci-base-image-arm64 05:02:53 . [Pipeline] withDockerContainer 05:02:53 prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container 05:02:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:02:55 $ docker top fb72de97bc4e202bcc1d0affa945fd6f7b65a4ed62c2a67a34207c33954764cb -eo pid,comm [Pipeline] { [Pipeline] sh 05:02:56 + go mod tidy [Pipeline] sh 05:02:57 + make test 05:02:57 go mod tidy 05:02:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:02:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:03:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:03:09 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.253s coverage: 63.8% of statements 05:03:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:03:17 gofmt -l . 05:03:17 [ "`gofmt -l .`" = "" ] 05:03:17 ./bin/test-attribution-txt.sh 05:03:17 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:03:17 $ docker stop --time=1 417f9919a3e097ad6bb2939a3536bed096e41563f96cad7801e36e524b63edab 05:03:19 $ docker rm -f 417f9919a3e097ad6bb2939a3536bed096e41563f96cad7801e36e524b63edab [Pipeline] // withDockerContainer [Pipeline] sh 05:03:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:03:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:03:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:03:23 + ls -al . 05:03:23 total 132 05:03:23 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 2 05:03 . 05:03:23 drwxrwxr-x. 4 jenkins jenkins 28 Jun 2 05:01 .. 05:03:23 -rw-rw-r--. 1 jenkins jenkins 8153 Jun 2 05:01 Attribution.txt 05:03:23 drwxrwxr-x. 2 jenkins jenkins 64 Jun 2 05:01 bin 05:03:23 drwxrwxr-x. 3 jenkins jenkins 32 Jun 2 05:01 cmd 05:03:23 -rw-r--r--. 1 jenkins jenkins 47247 Jun 2 05:03 coverage.out 05:03:23 -rw-rw-r--. 1 jenkins jenkins 1921 Jun 2 05:01 Dockerfile 05:03:23 -rw-rw-r--. 1 jenkins jenkins 998 Jun 2 05:01 Dockerfile.build 05:03:23 drwxrwxr-x. 8 jenkins jenkins 179 Jun 2 05:01 .git 05:03:23 drwxrwxr-x. 2 jenkins jenkins 103 Jun 2 05:01 .github 05:03:23 -rw-rw-r--. 1 jenkins jenkins 277 Jun 2 05:01 .gitignore 05:03:23 -rw-r--r--. 1 jenkins jenkins 809 Jun 2 05:03 go.mod 05:03:23 -rw-r--r--. 1 jenkins jenkins 23431 Jun 2 05:02 go.sum 05:03:23 drwxrwxr-x. 3 jenkins jenkins 20 Jun 2 05:01 internal 05:03:23 -rw-rw-r--. 1 jenkins jenkins 660 Jun 2 05:01 Jenkinsfile 05:03:23 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 2 05:01 LICENSE 05:03:23 -rw-rw-r--. 1 jenkins jenkins 905 Jun 2 05:01 Makefile 05:03:23 -rw-rw-r--. 1 jenkins jenkins 2745 Jun 2 05:01 README.md 05:03:23 -rw-rw-r--. 1 jenkins jenkins 5 Jun 2 04:58 VERSION 05:03:23 -rw-rw-r--. 1 jenkins jenkins 235 Jun 2 05:01 version.go [Pipeline] isUnix [Pipeline] sh 05:03:23 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f5ae1f548a223fa00a609c07100793691232eedb --label arch=amd64 --label version=0.0.0 . 05:03:23 Sending build context to Docker daemon 8.68MB 05:03:23 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 05:03:23 Step 2/26 : FROM ${BASE} AS builder 05:03:23 ---> 023f7b465527 05:03:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:03:23 ---> Running in 9fb229b4a17b 05:03:23 Removing intermediate container 9fb229b4a17b 05:03:23 ---> 6729562b2e0d 05:03:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:03:23 ---> Running in 5602d8c418a8 05:03:23 Removing intermediate container 5602d8c418a8 05:03:23 ---> aa8b9309244e 05:03:23 Step 5/26 : WORKDIR /device-virtual-go 05:03:23 ---> Running in 1d8ed2593971 05:03:24 Removing intermediate container 1d8ed2593971 05:03:24 ---> 576e867de2cc 05:03:24 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:24 ---> Running in c020ce75fbad 05:03:24 Removing intermediate container c020ce75fbad 05:03:24 ---> cb4496a7666f 05:03:24 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:03:24 ---> Running in 327926d97c19 05:03:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:03:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:03:26 OK: 156 MiB in 53 packages 05:03:26 Removing intermediate container 327926d97c19 05:03:26 ---> f9be12d62a31 05:03:26 Step 8/26 : COPY . . 05:03:26 ---> 4849af158843 05:03:26 Step 9/26 : RUN go mod tidy 05:03:26 ---> Running in c386a79a8909 05:03:27 Removing intermediate container c386a79a8909 05:03:27 ---> ed382928225c 05:03:27 Step 10/26 : RUN go mod download 05:03:27 ---> Running in acfdffda4886 05:03:28 Removing intermediate container acfdffda4886 05:03:28 ---> fa11d85c40af 05:03:28 Step 11/26 : ARG MAKE='make build' 05:03:28 ---> Running in 43fa2a081812 05:03:28 Removing intermediate container 43fa2a081812 05:03:28 ---> e2254ce2b170 05:03:28 Step 12/26 : RUN $MAKE 05:03:28 ---> Running in 0c47c58b8780 05:03:28 go mod tidy 05:03:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 05:03:46 Removing intermediate container 0c47c58b8780 05:03:46 ---> af3d9581ada6 05:03:46 Step 13/26 : FROM alpine:3.12 05:03:46 3.12: Pulling from library/alpine 05:03:46 339de151aab4: Pulling fs layer 05:03:46 339de151aab4: Verifying Checksum 05:03:46 339de151aab4: Download complete 05:03:46 339de151aab4: Pull complete 05:03:46 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:03:46 Status: Downloaded newer image for alpine:3.12 05:03:46 ---> 13621d1b12d4 05:03:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:03:46 ---> Running in 94c3fd67d20d 05:03:46 Removing intermediate container 94c3fd67d20d 05:03:46 ---> ac1a9c34154f 05:03:46 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:46 ---> Running in 4359574f8ba1 05:03:46 Removing intermediate container 4359574f8ba1 05:03:46 ---> c1dbf88bef06 05:03:46 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:03:46 ---> Running in 66fa1b81ce6c 05:03:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:03:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:03:46 (1/6) Installing dumb-init (1.2.2-r1) 05:03:46 (2/6) Installing libgcc (9.3.0-r2) 05:03:47 (3/6) Installing libsodium (1.0.18-r0) 05:03:47 (4/6) Installing libstdc++ (9.3.0-r2) 05:03:48 (5/6) Installing libzmq (4.3.3-r0) 05:03:48 (6/6) Installing zeromq (4.3.3-r0) 05:03:48 Executing busybox-1.31.1-r20.trigger 05:03:48 OK: 8 MiB in 20 packages 05:03:48 Removing intermediate container 66fa1b81ce6c 05:03:48 ---> 8bd8775cb1a0 05:03:48 Step 17/26 : WORKDIR / 05:03:48 ---> Running in ce17985e0957 05:03:48 Removing intermediate container ce17985e0957 05:03:48 ---> 09ef7424e4b7 05:03:48 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:03:48 ---> bea70381c8ca 05:03:48 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 05:03:48 ---> 762fb99502e7 05:03:48 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 05:03:49 ---> 14479e9ec9ed 05:03:49 Step 21/26 : EXPOSE 59900 05:03:49 ---> Running in a59f3fbc4f97 05:03:49 Removing intermediate container a59f3fbc4f97 05:03:49 ---> 668fedfc2e36 05:03:49 Step 22/26 : ENTRYPOINT ["/device-virtual"] 05:03:49 ---> Running in 34bd68220b88 05:03:49 Removing intermediate container 34bd68220b88 05:03:49 ---> 7c25f1e8e466 05:03:49 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:03:49 ---> Running in 11fa438665a3 05:03:50 Removing intermediate container 11fa438665a3 05:03:50 ---> 0bc6b9cd39cb 05:03:50 Step 24/26 : LABEL arch=amd64 05:03:50 ---> Running in 6d6ae1e15be1 05:03:50 Removing intermediate container 6d6ae1e15be1 05:03:50 ---> e805ee8080be 05:03:50 Step 25/26 : LABEL git_sha=f5ae1f548a223fa00a609c07100793691232eedb 05:03:50 ---> Running in a6ce4081193e 05:03:50 Removing intermediate container a6ce4081193e 05:03:50 ---> 5e41c0c2aefd 05:03:50 Step 26/26 : LABEL version=0.0.0 05:03:50 ---> Running in 5193a67b753b 05:03:50 Removing intermediate container 5193a67b753b 05:03:50 ---> fe9aa4653422 05:03:50 [Warning] One or more build-args [ARCH] were not consumed 05:03:50 Successfully built fe9aa4653422 05:03:50 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:03:51 ---> job-cost.sh 05:03:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-X2Ke 05:04:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:04:07 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:04:07 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.758s coverage: 63.8% of statements 05:04:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:04:13 lf-activate-venv(): INFO: Adding /tmp/venv-X2Ke/bin to PATH 05:04:13 INFO: No Stack... 05:04:13 INFO: Retrieving Pricing Info for: v3-standard-2 05:04:14 INFO: Archiving Costs [Pipeline] sh 05:04:14 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 05:04:14 + cut -d, -f6 [Pipeline] lock 05:04:14 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] 05:04:14 Resource [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] did not exist. Created. 05:04:14 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:14 + echo total: 0.05999999865889549 [Pipeline] stash 05:04:14 Stashed 1 file(s) [Pipeline] } 05:04:14 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:04:34 gofmt -l . 05:04:34 [ "`gofmt -l .`" = "" ] 05:04:34 ./bin/test-attribution-txt.sh 05:04:34 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:04:34 $ docker stop --time=1 fb72de97bc4e202bcc1d0affa945fd6f7b65a4ed62c2a67a34207c33954764cb 05:04:36 $ docker rm -f fb72de97bc4e202bcc1d0affa945fd6f7b65a4ed62c2a67a34207c33954764cb [Pipeline] // withDockerContainer [Pipeline] sh 05:04:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:04:37 Warning: overwriting stash ‘coverage-report’ 05:04:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:04:39 + ls -al . 05:04:39 total 156 05:04:39 drwxrwxr-x 7 jenkins jenkins 4096 Jun 2 05:04 . 05:04:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 05:01 .. 05:04:39 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 05:01 .git 05:04:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 05:01 .github 05:04:39 -rw-rw-r-- 1 jenkins jenkins 277 Jun 2 05:01 .gitignore 05:04:39 -rw-rw-r-- 1 jenkins jenkins 8153 Jun 2 05:01 Attribution.txt 05:04:39 -rw-rw-r-- 1 jenkins jenkins 1921 Jun 2 05:01 Dockerfile 05:04:39 -rw-rw-r-- 1 jenkins jenkins 998 Jun 2 05:01 Dockerfile.build 05:04:39 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 05:01 Jenkinsfile 05:04:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 05:01 LICENSE 05:04:39 -rw-rw-r-- 1 jenkins jenkins 905 Jun 2 05:01 Makefile 05:04:39 -rw-rw-r-- 1 jenkins jenkins 2745 Jun 2 05:01 README.md 05:04:39 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 04:58 VERSION 05:04:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 05:01 bin 05:04:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 05:01 cmd 05:04:39 -rw-r--r-- 1 jenkins jenkins 47247 Jun 2 05:04 coverage.out 05:04:39 -rw-r--r-- 1 jenkins jenkins 809 Jun 2 05:04 go.mod 05:04:39 -rw-r--r-- 1 jenkins jenkins 23431 Jun 2 05:02 go.sum 05:04:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 05:01 internal 05:04:39 -rw-rw-r-- 1 jenkins jenkins 235 Jun 2 05:01 version.go [Pipeline] isUnix [Pipeline] sh 05:04:39 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f5ae1f548a223fa00a609c07100793691232eedb --label arch=arm64 --label version=0.0.0 . 05:04:40 Sending build context to Docker daemon 8.679MB 05:04:40 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 05:04:40 Step 2/26 : FROM ${BASE} AS builder 05:04:40 ---> 73bf572a3e05 05:04:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:40 ---> Running in 21916fbc961f 05:04:41 Removing intermediate container 21916fbc961f 05:04:41 ---> 5b7584646850 05:04:41 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:04:41 ---> Running in 606f2f098091 05:04:42 Removing intermediate container 606f2f098091 05:04:42 ---> 0dd375158253 05:04:42 Step 5/26 : WORKDIR /device-virtual-go 05:04:42 ---> Running in 44f2ac31e133 05:04:42 Removing intermediate container 44f2ac31e133 05:04:42 ---> 8fe6bccb651d 05:04:42 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:42 ---> Running in 7b43220a56a2 05:04:44 Removing intermediate container 7b43220a56a2 05:04:44 ---> 7c4d6cfee9cf 05:04:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:44 ---> Running in 2b3ee29942ae 05:04:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:04:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:04:47 OK: 145 MiB in 53 packages 05:04:48 Removing intermediate container 2b3ee29942ae 05:04:48 ---> 662b936da5d4 05:04:48 Step 8/26 : COPY . . 05:04:50 ---> 2f27d68f6972 05:04:50 Step 9/26 : RUN go mod tidy 05:04:50 ---> Running in 20f10e91b13f 05:04:52 Removing intermediate container 20f10e91b13f 05:04:52 ---> 4e3cce5eec3b 05:04:52 Step 10/26 : RUN go mod download 05:04:53 ---> Running in 75a06bff531a 05:04:55 Removing intermediate container 75a06bff531a 05:04:55 ---> c98dd862b3a6 05:04:55 Step 11/26 : ARG MAKE='make build' 05:04:55 ---> Running in b5514294c85c 05:04:56 Removing intermediate container b5514294c85c 05:04:56 ---> 88cfd6e2db25 05:04:56 Step 12/26 : RUN $MAKE 05:04:56 ---> Running in 13d871095160 05:04:57 go mod tidy 05:04:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 05:05:54 Removing intermediate container 13d871095160 05:05:54 ---> 366cdf989886 05:05:54 Step 13/26 : FROM alpine:3.12 05:05:54 3.12: Pulling from library/alpine 05:05:54 d2f70382dc9a: Pulling fs layer 05:05:54 d2f70382dc9a: Verifying Checksum 05:05:54 d2f70382dc9a: Download complete 05:05:54 d2f70382dc9a: Pull complete 05:05:54 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:05:54 Status: Downloaded newer image for alpine:3.12 05:05:54 ---> 9852663dfa18 05:05:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:05:54 ---> Running in 7b84facfab14 05:05:54 Removing intermediate container 7b84facfab14 05:05:54 ---> 81b2e3791f3b 05:05:54 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:54 ---> Running in 090a57efb456 05:05:54 Removing intermediate container 090a57efb456 05:05:54 ---> a6593283acce 05:05:54 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:05:54 ---> Running in 22db980f857c 05:05:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:05:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:05:54 (1/6) Installing dumb-init (1.2.2-r1) 05:05:54 (2/6) Installing libgcc (9.3.0-r2) 05:05:54 (3/6) Installing libsodium (1.0.18-r0) 05:05:54 (4/6) Installing libstdc++ (9.3.0-r2) 05:05:54 (5/6) Installing libzmq (4.3.3-r0) 05:05:54 (6/6) Installing zeromq (4.3.3-r0) 05:05:54 Executing busybox-1.31.1-r20.trigger 05:05:54 OK: 8 MiB in 20 packages 05:05:55 Removing intermediate container 22db980f857c 05:05:55 ---> 70cab9f90baa 05:05:55 Step 17/26 : WORKDIR / 05:05:56 ---> Running in 035cddafed39 05:05:56 Removing intermediate container 035cddafed39 05:05:56 ---> 4d493c4a1be3 05:05:56 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:05:57 ---> c0bea82755a3 05:05:57 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 05:05:57 ---> 2a4aebbfba2f 05:05:57 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 05:05:59 ---> 769c8232faaf 05:05:59 Step 21/26 : EXPOSE 59900 05:05:59 ---> Running in 12f5222e97bc 05:05:59 Removing intermediate container 12f5222e97bc 05:05:59 ---> 13e82d421149 05:05:59 Step 22/26 : ENTRYPOINT ["/device-virtual"] 05:06:00 ---> Running in d7e0e5d8aad9 05:06:00 Removing intermediate container d7e0e5d8aad9 05:06:00 ---> bf31da7b32e1 05:06:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:06:00 ---> Running in 65d98dc0826b 05:06:01 Removing intermediate container 65d98dc0826b 05:06:01 ---> 353745502957 05:06:01 Step 24/26 : LABEL arch=arm64 05:06:01 ---> Running in 558a8f70d32c 05:06:01 Removing intermediate container 558a8f70d32c 05:06:01 ---> 3eba64584592 05:06:01 Step 25/26 : LABEL git_sha=f5ae1f548a223fa00a609c07100793691232eedb 05:06:01 ---> Running in 8447e8b3f14c 05:06:02 Removing intermediate container 8447e8b3f14c 05:06:02 ---> 0a5da5bfa27b 05:06:02 Step 26/26 : LABEL version=0.0.0 05:06:02 ---> Running in 0d00562de363 05:06:03 Removing intermediate container 0d00562de363 05:06:03 ---> 05b186029b25 05:06:03 [Warning] One or more build-args [ARCH] were not consumed 05:06:03 Successfully built 05b186029b25 05:06:03 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:06:03 ---> job-cost.sh 05:06:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-19ZM 05:06:42 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:08:04 lf-activate-venv(): INFO: Adding /tmp/venv-19ZM/bin to PATH 05:08:04 INFO: No Stack... 05:08:05 INFO: Retrieving Pricing Info for: v2-standard-4 05:08:05 INFO: Archiving Costs [Pipeline] sh 05:08:06 + + cat /w/workspace/device-virtual-go/1/archives/cost.csv 05:08:06 cut -d, -f6 [Pipeline] lock 05:08:06 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] 05:08:06 Resource [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] did not exist. Created. 05:08:06 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:08:06 /w/workspace/device-virtual-go/1@tmp/durable-923f6bc4/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-923f6bc4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:08:07 + echo total: 0.18000000715255737 [Pipeline] stash 05:08:07 Warning: overwriting stash ‘stack-cost’ 05:08:07 Stashed 1 file(s) [Pipeline] } 05:08:07 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:08:08 provisioning config files... 05:08:08 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-219@tmp/config1405607571181183512tmp [Pipeline] { [Pipeline] sh 05:08:08 + set +x 05:08:08 + curl -s https://codecov.io/bash 05:08:08 + bash -s -- 05:08:08 05:08:08 _____ _ 05:08:08 / ____| | | 05:08:08 | | ___ __| | ___ ___ _____ __ 05:08:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:08:08 | |___| (_) | (_| | __/ (_| (_) \ V / 05:08:08 \_____\___/ \__,_|\___|\___\___/ \_/ 05:08:08 Bash-1.0.3 05:08:08 05:08:08 05:08:08 ==> git version 2.24.4 found 05:08:08 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 05:08:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:08:08 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:08:08 ==> Jenkins CI detected. 05:08:08 project root: . 05:08:08 --> token set from env 05:08:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:08:09 ==> Running gcov in . (disable via -X gcov) 05:08:09 ==> Python coveragepy not found 05:08:09 ==> Searching for coverage reports in: 05:08:09 + . 05:08:09 -> Found 1 reports 05:08:09 ==> Detecting git/mercurial file structure 05:08:09 ==> Reading reports 05:08:09 + ./coverage.out bytes=47247 05:08:09 ==> Appending adjustments 05:08:09 https://docs.codecov.io/docs/fixing-reports 05:08:09 + Found adjustments 05:08:09 ==> Gzipping contents 05:08:09 8.0K /tmp/codecov.9EmBuj.gz 05:08:09 ==> Uploading reports 05:08:09 url: https://codecov.io 05:08:09 query: branch=PR-219&commit=f5ae1f548a223fa00a609c07100793691232eedb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=219&job=&cmd_args= 05:08:09 -> Pinging Codecov 05:08:09 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-219&commit=f5ae1f548a223fa00a609c07100793691232eedb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=219&job=&cmd_args= 05:08:09 -> Uploading to 05:08:09 https://storage.googleapis.com/codecov/v4/raw/2021-06-02/5E52B4B073DB2E39498172D8E973AA87/f5ae1f548a223fa00a609c07100793691232eedb/610a1215-3ec9-4ac6-b840-fe9ae9cb8dd9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210602T050809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4734dbfc77ad2f390a03ae0b8ce922d12b540ffcfa77fcd687da97a3cb2ba6ca 05:08:09 % Total % Received % Xferd Average Speed Time Time Time Current 05:08:09 Dload Upload Total Spent Left Speed 05:08:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5788 0 0 100 5788 0 17261 --:--:-- --:--:-- --:--:-- 17277 05:08:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/f5ae1f548a223fa00a609c07100793691232eedb [Pipeline] } 05:08:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 05:08:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:08:13 ---> package-listing.sh 05:08:13 ++ facter osfamily 05:08:13 ++ tr '[:upper:]' '[:lower:]' 05:08:13 + OS_FAMILY=redhat 05:08:13 + workspace=/w/workspace/foundry_device-virtual-go_PR-219 05:08:13 + START_PACKAGES=/tmp/packages_start.txt 05:08:13 + END_PACKAGES=/tmp/packages_end.txt 05:08:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:08:13 + PACKAGES=/tmp/packages_start.txt 05:08:13 + '[' /w/workspace/foundry_device-virtual-go_PR-219 ']' 05:08:13 + PACKAGES=/tmp/packages_end.txt 05:08:13 + case "${OS_FAMILY}" in 05:08:13 + rpm -qa 05:08:13 + sort 05:08:14 + '[' -f /tmp/packages_start.txt ']' 05:08:14 + '[' -f /tmp/packages_end.txt ']' 05:08:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:08:14 + '[' /w/workspace/foundry_device-virtual-go_PR-219 ']' 05:08:14 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-219/archives/ 05:08:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-219/archives/ [Pipeline] echo 05:08:14 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/foundry_device-virtual-go_PR-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:08:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:08:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:08:15 05:08:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:08:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:08:15 alpine: Pulling from edgex-lftools-log-publisher 05:08:15 df20fa9351a1: Pulling fs layer 05:08:15 36b3adc4ff6f: Pulling fs layer 05:08:15 8ad3a11d3b57: Pulling fs layer 05:08:15 46f8f816bc3b: Pulling fs layer 05:08:15 93b61091891f: Pulling fs layer 05:08:15 93b9cdb0e59b: Pulling fs layer 05:08:15 5e14af77c1be: Pulling fs layer 05:08:15 01666e4c0597: Pulling fs layer 05:08:15 aa168da1d23b: Pulling fs layer 05:08:15 93b61091891f: Waiting 05:08:15 93b9cdb0e59b: Waiting 05:08:15 5e14af77c1be: Waiting 05:08:15 01666e4c0597: Waiting 05:08:15 aa168da1d23b: Waiting 05:08:15 46f8f816bc3b: Waiting 05:08:15 36b3adc4ff6f: Verifying Checksum 05:08:15 36b3adc4ff6f: Download complete 05:08:15 46f8f816bc3b: Verifying Checksum 05:08:15 46f8f816bc3b: Download complete 05:08:15 93b61091891f: Download complete 05:08:15 93b9cdb0e59b: Verifying Checksum 05:08:15 93b9cdb0e59b: Download complete 05:08:15 5e14af77c1be: Verifying Checksum 05:08:15 5e14af77c1be: Download complete 05:08:15 01666e4c0597: Verifying Checksum 05:08:15 01666e4c0597: Download complete 05:08:16 8ad3a11d3b57: Verifying Checksum 05:08:16 8ad3a11d3b57: Download complete 05:08:16 df20fa9351a1: Verifying Checksum 05:08:16 df20fa9351a1: Download complete 05:08:16 df20fa9351a1: Pull complete 05:08:16 36b3adc4ff6f: Pull complete 05:08:17 8ad3a11d3b57: Pull complete 05:08:17 46f8f816bc3b: Pull complete 05:08:17 93b61091891f: Pull complete 05:08:18 93b9cdb0e59b: Pull complete 05:08:18 5e14af77c1be: Pull complete 05:08:18 01666e4c0597: Pull complete 05:08:21 aa168da1d23b: Download complete 05:08:25 aa168da1d23b: Pull complete 05:08:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:08:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:08:26 prd-centos7-docker-4c-2g-43 does not seem to be running inside a container 05:08:26 $ 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/foundry_device-virtual-go_PR-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-219 -v /w/workspace/foundry_device-virtual-go_PR-219:/w/workspace/foundry_device-virtual-go_PR-219:rw,z -v /w/workspace/foundry_device-virtual-go_PR-219@tmp:/w/workspace/foundry_device-virtual-go_PR-219@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:08:41 $ docker top eb79954eff396ce4a6ff972fcd3c39bf26bed8ffea28d618af2052e5478c4d33 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:41 + touch /tmp/pre-build-complete [Pipeline] sh 05:08:41 + mkdir -p /var/log/sa [Pipeline] sh 05:08:42 + ls /var/log/sa-host 05:08:42 + sadf -c /var/log/sa-host/sa02 05:08:42 file_magic: OK 05:08:42 HZ: Using current value: 100 05:08:42 file_header: OK 05:08:42 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 05:08:42 Statistics: 05:08:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:08:42 File successfully converted to sysstat format version 12.2.1 05:08:42 + sadf -c /var/log/sa-host/sa05 05:08:42 file_magic: OK 05:08:42 HZ: Using current value: 100 05:08:42 file_header: OK 05:08:42 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 05:08:42 Statistics: 05:08:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:08:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:42 provisioning config files... 05:08:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-219@tmp/config4695488503315660077tmp [Pipeline] { [Pipeline] echo 05:08:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:08:43 ---> create-netrc.sh [Pipeline] } 05:08:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:08:43 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:08:43 ---> python-tools-install.sh [Pipeline] echo 05:08:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:08:44 ---> sudo-logs.sh 05:08:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:08:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:08:44 ---> job-cost.sh 05:08:44 lf-activate-venv: SKIPPING 05:08:44 DEBUG: total: 0.18000000715255737 05:08:44 INFO: Retrieving Stack Cost... 05:08:45 INFO: Retrieving Pricing Info for: v3-standard-2 05:08:46 INFO: Archiving Costs [Pipeline] echo 05:08:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:08:46 ---> logs-deploy.sh 05:08:46 lf-activate-venv: SKIPPING 05:08:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-219/1 05:08:46 INFO: archiving workspace using pattern(s): 05:08:47 Archives upload complete. 05:08:47 INFO: archiving logs to Nexus