Pull request #208 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from a7f3804febcb2520167f320cbc1de5c53dc490a7+3b22e0480bd67233e1fe9d34879779676ed28d7e (6cb3b31a8b97bba3bd02860234239ad5dfc0f563) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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-208/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 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-208/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 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4967 in /w/workspace/foundry_device-virtual-go_PR-208 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-208 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit a7f3804febcb2520167f320cbc1de5c53dc490a7 Merge succeeded, producing a7f3804febcb2520167f320cbc1de5c53dc490a7 Checking out Revision a7f3804febcb2520167f320cbc1de5c53dc490a7 (PR-208) > git config core.sparsecheckout # timeout=10 > git checkout -f a7f3804febcb2520167f320cbc1de5c53dc490a7 # 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 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7f3804febcb2520167f320cbc1de5c53dc490a7 # timeout=10 Commit message: "refactor: Update for new service key names and overides for hypen to underscore" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:20:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:20:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:20:10 ========================================================= 00:20:10 EdgeX Global Pipelines Version Info 00:20:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:20:12 ------------------- 00:20:12 stable info: 00:20:12 ------------------- 00:20:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:20:12 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 00:20:12 Message: update stable to v1.0.192 00:20:13 ------------------- 00:20:13 experimental info: 00:20:13 ------------------- 00:20:13 Commited By: **** collab-it+edgex@linuxfoundation.org 00:20:13 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 00:20:13 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:20:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:20:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:20:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:20:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:20:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:20:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:20:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:20:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:20:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:20:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:20:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-208 [Pipeline] echo 00:20:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-208 [Pipeline] echo 00:20:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-208 [Pipeline] echo 00:20:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7f3804febcb2520167f320cbc1de5c53dc490a7 [Pipeline] echo 00:20:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7f3804 [Pipeline] echo 00:20:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:20:15 provisioning config files... 00:20:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-208@tmp/config9122150302507815504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:20:16 ---> docker-login.sh 00:20:16 nexus3.edgexfoundry.org:10001 00:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:16 Configure a credential helper to remove this warning. See 00:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:16 00:20:16 Login Succeeded 00:20:16 nexus3.edgexfoundry.org:10002 00:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:16 Configure a credential helper to remove this warning. See 00:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:16 00:20:16 Login Succeeded 00:20:16 nexus3.edgexfoundry.org:10003 00:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:16 Configure a credential helper to remove this warning. See 00:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:16 00:20:16 Login Succeeded 00:20:16 nexus3.edgexfoundry.org:10004 00:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:17 Configure a credential helper to remove this warning. See 00:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:17 00:20:17 Login Succeeded 00:20:17 docker.io 00:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:17 Configure a credential helper to remove this warning. See 00:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:17 00:20:17 Login Succeeded 00:20:17 ---> docker-login.sh ends [Pipeline] } 00:20:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:20:18 + git log --format=format:%s -1 a7f3804febcb2520167f320cbc1de5c53dc490a7 [Pipeline] echo 00:20:18 GIT_COMMIT: a7f3804febcb2520167f320cbc1de5c53dc490a7, Commit Message: refactor: Update for new service key names and overides for hypen to underscore [Pipeline] echo 00:20:18 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:20:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:20:19 00:20:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:20:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:20:20 latest: Pulling from edgex-devops/git-semver 00:20:20 31603596830f: Pulling fs layer 00:20:20 54011a49482f: Pulling fs layer 00:20:20 a6820b24f6d8: Pulling fs layer 00:20:20 f581987b2513: Pulling fs layer 00:20:20 f581987b2513: Waiting 00:20:20 54011a49482f: Verifying Checksum 00:20:20 54011a49482f: Download complete 00:20:20 31603596830f: Verifying Checksum 00:20:20 31603596830f: Download complete 00:20:20 f581987b2513: Verifying Checksum 00:20:20 f581987b2513: Download complete 00:20:20 a6820b24f6d8: Verifying Checksum 00:20:20 a6820b24f6d8: Download complete 00:20:20 31603596830f: Pull complete 00:20:20 54011a49482f: Pull complete 00:20:21 a6820b24f6d8: Pull complete 00:20:21 f581987b2513: Pull complete 00:20:21 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 00:20:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:20:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:20:22 prd-centos7-docker-4c-2g-4967 does not seem to be running inside a container 00:20:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-208 -v /w/workspace/foundry_device-virtual-go_PR-208:/w/workspace/foundry_device-virtual-go_PR-208:rw,z -v /w/workspace/foundry_device-virtual-go_PR-208@tmp:/w/workspace/foundry_device-virtual-go_PR-208@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:20:24 $ docker top 9798d358bb50631f7aa67c5b08e48cc3050762e7a5a21ec3eb87adcd872d1ec7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:20:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:20:24 [ssh-agent] Looking for ssh-agent implementation... 00:20:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:20:24 $ docker exec 9798d358bb50631f7aa67c5b08e48cc3050762e7a5a21ec3eb87adcd872d1ec7 ssh-agent 00:20:25 SSH_AUTH_SOCK=/tmp/ssh-OhxYEjYPS1RV/agent.12 00:20:25 SSH_AGENT_PID=17 00:20:25 Running ssh-add (command line suppressed) 00:20:25 Identity added: /w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_7483597167468615303.key (/w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_7483597167468615303.key) 00:20:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:20:25 + git tag --points-at HEAD [Pipeline] } 00:20:25 $ docker exec --env ******** --env ******** 9798d358bb50631f7aa67c5b08e48cc3050762e7a5a21ec3eb87adcd872d1ec7 ssh-agent -k 00:20:25 unset SSH_AUTH_SOCK; 00:20:25 unset SSH_AGENT_PID; 00:20:25 echo Agent pid 17 killed; 00:20:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:20:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:20:26 [ssh-agent] Looking for ssh-agent implementation... 00:20:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:20:26 $ docker exec 9798d358bb50631f7aa67c5b08e48cc3050762e7a5a21ec3eb87adcd872d1ec7 ssh-agent 00:20:26 SSH_AUTH_SOCK=/tmp/ssh-YBgjlV94ryrI/agent.45 00:20:26 SSH_AGENT_PID=51 00:20:26 Running ssh-add (command line suppressed) 00:20:26 Identity added: /w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_624130809727913355.key (/w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_624130809727913355.key) 00:20:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:20:27 + git semver init 00:20:27 # -> Open(): unable to determine branch for HEAD 00:20:27 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-208/.git 00:20:27 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-208 00:20:27 # $SEMVER_REMOTE_NAME = origin 00:20:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:20:27 # $SEMVER_USER_NAME = edgex-jenkins 00:20:27 # $SEMVER_BRANCH = PR-208 00:20:27 # $SEMVER_TEMP = /tmp/semver-157266560 00:20:27 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 00:20:28 # '/tmp/semver-157266560' -> '/w/workspace/foundry_device-virtual-go_PR-208/.semver' 00:20:28 # -> Force: false 00:20:28 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-208/.semver [Pipeline] } 00:20:28 $ docker exec --env ******** --env ******** 9798d358bb50631f7aa67c5b08e48cc3050762e7a5a21ec3eb87adcd872d1ec7 ssh-agent -k 00:20:28 unset SSH_AUTH_SOCK; 00:20:28 unset SSH_AGENT_PID; 00:20:28 echo Agent pid 51 killed; 00:20:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:20:29 + git semver [Pipeline] } 00:20:29 $ docker stop --time=1 9798d358bb50631f7aa67c5b08e48cc3050762e7a5a21ec3eb87adcd872d1ec7 00:20:30 $ docker rm -f 9798d358bb50631f7aa67c5b08e48cc3050762e7a5a21ec3eb87adcd872d1ec7 [Pipeline] // withDockerContainer [Pipeline] sh 00:20:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:20:31 Stashed 1 file(s) [Pipeline] echo 00:20:31 [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 00:20:47 Still waiting to schedule task 00:20:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:20:47 Still waiting to schedule task 00:20:47 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:22:47 Running on prd-centos7-docker-4c-2g-4970 in /w/workspace/foundry_device-virtual-go_PR-208 [Pipeline] { [Pipeline] ws 00:22:47 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 00:22:49 using credential edgex-jenkins-ssh 00:22:49 Cloning the remote Git repository 00:22:49 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:22:49 > git init /w/workspace/device-virtual-go/1 # timeout=10 00:22:49 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:22:49 > git --version # timeout=10 00:22:49 > git --version # 'git version 2.24.3' 00:22:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:22:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:22:51 Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit a7f3804febcb2520167f320cbc1de5c53dc490a7 00:22:51 Merge succeeded, producing a7f3804febcb2520167f320cbc1de5c53dc490a7 00:22:51 Checking out Revision a7f3804febcb2520167f320cbc1de5c53dc490a7 (PR-208) 00:22:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:22:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:22:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:22:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:22:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:22:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:22:51 > git config core.sparsecheckout # timeout=10 00:22:51 > git checkout -f a7f3804febcb2520167f320cbc1de5c53dc490a7 # timeout=10 00:22:51 > git remote # timeout=10 00:22:51 > git config --get remote.origin.url # timeout=10 00:22:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:22:51 > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 00:22:51 > git rev-parse HEAD^{commit} # timeout=10 00:22:51 > git config core.sparsecheckout # timeout=10 00:22:51 > git checkout -f a7f3804febcb2520167f320cbc1de5c53dc490a7 # timeout=10 00:22:54 Commit message: "refactor: Update for new service key names and overides for hypen to underscore" 00:22:54 > git --version # timeout=10 00:22:54 > git --version # 'git version 2.24.3' 00:22:54 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:22:56 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:22:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:22:56 + sudo service docker restart 00:22:56 + true 00:22:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:22:57 provisioning config files... 00:22:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1036165202486417317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:58 ---> docker-login.sh 00:22:58 nexus3.edgexfoundry.org:10001 00:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:58 Configure a credential helper to remove this warning. See 00:22:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:58 00:22:58 Login Succeeded 00:22:58 nexus3.edgexfoundry.org:10002 00:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:58 Configure a credential helper to remove this warning. See 00:22:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:58 00:22:58 Login Succeeded 00:22:58 nexus3.edgexfoundry.org:10003 00:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:59 Configure a credential helper to remove this warning. See 00:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:59 00:22:59 Login Succeeded 00:22:59 nexus3.edgexfoundry.org:10004 00:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:59 Configure a credential helper to remove this warning. See 00:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:59 00:22:59 Login Succeeded 00:22:59 docker.io 00:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:59 Configure a credential helper to remove this warning. See 00:22:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:59 00:22:59 Login Succeeded 00:22:59 ---> docker-login.sh ends [Pipeline] } 00:22:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:23:00 ========================================================= 00:23:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:23:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:23:00 + 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 . 00:23:00 Sending build context to Docker daemon 8.601MB 00:23:00 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 00:23:00 Step 2/8 : FROM ${BASE} 00:23:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:23:00 540db60ca938: Pulling fs layer 00:23:00 adcc1eea9eea: Pulling fs layer 00:23:00 4c4ab2625f07: Pulling fs layer 00:23:00 0510c868ecb4: Pulling fs layer 00:23:00 afea3b2eda06: Pulling fs layer 00:23:00 7809a108b3ef: Pulling fs layer 00:23:00 f706445af74f: Pulling fs layer 00:23:00 7809a108b3ef: Waiting 00:23:00 afea3b2eda06: Waiting 00:23:00 f706445af74f: Waiting 00:23:00 4c4ab2625f07: Verifying Checksum 00:23:00 4c4ab2625f07: Download complete 00:23:00 adcc1eea9eea: Download complete 00:23:00 afea3b2eda06: Verifying Checksum 00:23:00 afea3b2eda06: Download complete 00:23:00 540db60ca938: Verifying Checksum 00:23:00 540db60ca938: Download complete 00:23:00 7809a108b3ef: Verifying Checksum 00:23:00 7809a108b3ef: Download complete 00:23:00 540db60ca938: Pull complete 00:23:01 adcc1eea9eea: Pull complete 00:23:01 4c4ab2625f07: Pull complete 00:23:02 f706445af74f: Verifying Checksum 00:23:02 f706445af74f: Download complete 00:23:03 0510c868ecb4: Verifying Checksum 00:23:03 0510c868ecb4: Download complete 00:23:08 0510c868ecb4: Pull complete 00:23:08 afea3b2eda06: Pull complete 00:23:08 7809a108b3ef: Pull complete 00:23:12 f706445af74f: Pull complete 00:23:12 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 00:23:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:23:13 ---> b068be0155e3 00:23:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 00:23:13 ---> Running in 979f4ca6cf1f 00:23:13 Removing intermediate container 979f4ca6cf1f 00:23:13 ---> d21d17d18424 00:23:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:23:13 ---> Running in 025bba4a98b8 00:23:15 Removing intermediate container 025bba4a98b8 00:23:15 ---> bb4045eb261e 00:23:15 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 00:23:15 ---> Running in a601fc375afb 00:23:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:23:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:23:16 (1/13) Installing libc-dev (0.7.2-r3) 00:23:17 (2/13) Installing libsodium (1.0.18-r0) 00:23:17 (3/13) Installing pkgconf (1.7.3-r0) 00:23:17 (4/13) Installing libsodium-dev (1.0.18-r0) 00:23:17 (5/13) Installing openssh-keygen (8.4_p1-r3) 00:23:17 (6/13) Installing libedit (20191231.3.1-r1) 00:23:17 (7/13) Installing openssh-client (8.4_p1-r3) 00:23:17 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 00:23:17 (9/13) Installing openssh-server-common (8.4_p1-r3) 00:23:17 (10/13) Installing openssh-server (8.4_p1-r3) 00:23:17 (11/13) Installing openssh (8.4_p1-r3) 00:23:18 (12/13) Installing libzmq (4.3.3-r1) 00:23:18 (13/13) Installing zeromq-dev (4.3.3-r1) 00:23:18 Executing busybox-1.32.1-r6.trigger 00:23:18 OK: 156 MiB in 53 packages 00:23:19 Removing intermediate container a601fc375afb 00:23:19 ---> 30aa1ef1ff70 00:23:19 Step 6/8 : WORKDIR /device-virtual-go 00:23:19 ---> Running in 85346c83fb7c 00:23:19 Removing intermediate container 85346c83fb7c 00:23:19 ---> 417dcf52ea3b 00:23:19 Step 7/8 : COPY . . 00:23:20 ---> 437852917565 00:23:20 Step 8/8 : RUN go mod download 00:23:20 ---> Running in 16d41552cc2b 00:23:22 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.58 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory 00:23:22 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 00:23:23 ---> job-cost.sh 00:23:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Tyy4 00:23:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:24:05 lf-activate-venv(): INFO: Adding /tmp/venv-Tyy4/bin to PATH 00:24:05 INFO: No Stack... 00:24:05 INFO: Retrieving Pricing Info for: v1-standard-2 00:24:05 INFO: Archiving Costs [Pipeline] sh 00:24:05 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 00:24:05 + cut -d, -f6 [Pipeline] lock 00:24:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-208-1-stack-cost] 00:24:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-208-1-stack-cost] did not exist. Created. 00:24:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:24:06 + echo total: 0.029999999329447746 [Pipeline] stash 00:24:06 Stashed 1 file(s) [Pipeline] } 00:24:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-208-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:24:07 Failed in branch amd64 00:24:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4972 in /w/workspace/foundry_device-virtual-go_PR-208 [Pipeline] { [Pipeline] ws 00:24:30 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 00:24:36 using credential edgex-jenkins-ssh 00:24:36 Cloning the remote Git repository 00:24:36 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:24:36 > git init /w/workspace/device-virtual-go/1 # timeout=10 00:24:36 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:24:36 > git --version # timeout=10 00:24:36 > git --version # 'git version 2.17.1' 00:24:36 using GIT_SSH to set credentials SSH Credentials for GitHub 00:24:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:24:39 Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit a7f3804febcb2520167f320cbc1de5c53dc490a7 00:24:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:24:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:24:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:24:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:24:38 using GIT_SSH to set credentials SSH Credentials for GitHub 00:24:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/208/head:refs/remotes/origin/PR-208 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:24:39 > git config core.sparsecheckout # timeout=10 00:24:39 > git checkout -f a7f3804febcb2520167f320cbc1de5c53dc490a7 # timeout=10 00:24:39 Merge succeeded, producing a7f3804febcb2520167f320cbc1de5c53dc490a7 00:24:39 Checking out Revision a7f3804febcb2520167f320cbc1de5c53dc490a7 (PR-208) 00:24:39 > git remote # timeout=10 00:24:39 > git config --get remote.origin.url # timeout=10 00:24:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:24:39 > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 00:24:39 > git rev-parse HEAD^{commit} # timeout=10 00:24:39 > git config core.sparsecheckout # timeout=10 00:24:39 > git checkout -f a7f3804febcb2520167f320cbc1de5c53dc490a7 # timeout=10 00:24:44 Commit message: "refactor: Update for new service key names and overides for hypen to underscore" 00:24:44 > git --version # timeout=10 00:24:44 > git --version # 'git version 2.17.1' 00:24:44 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:24:46 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:24:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:24:47 + sudo service docker restart+ 00:24:47 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:24:50 provisioning config files... 00:24:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config946517489127613033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:51 ---> docker-login.sh 00:24:51 nexus3.edgexfoundry.org:10001 00:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:52 Configure a credential helper to remove this warning. See 00:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:52 00:24:52 Login Succeeded 00:24:52 nexus3.edgexfoundry.org:10002 00:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:53 Configure a credential helper to remove this warning. See 00:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:53 00:24:53 Login Succeeded 00:24:53 nexus3.edgexfoundry.org:10003 00:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:53 Configure a credential helper to remove this warning. See 00:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:53 00:24:53 Login Succeeded 00:24:53 nexus3.edgexfoundry.org:10004 00:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:54 Configure a credential helper to remove this warning. See 00:24:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:54 00:24:54 Login Succeeded 00:24:54 docker.io 00:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:54 Configure a credential helper to remove this warning. See 00:24:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:54 00:24:54 Login Succeeded 00:24:54 ---> docker-login.sh ends [Pipeline] } 00:24:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:24:55 ========================================================= 00:24:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:24:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:24:56 + 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 . 00:24:56 Sending build context to Docker daemon 8.6MB 00:24:56 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 00:24:56 Step 2/8 : FROM ${BASE} 00:24:56 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:24:56 595b0fe564bb: Pulling fs layer 00:24:56 7186ed65a4f7: Pulling fs layer 00:24:56 316046926c0a: Pulling fs layer 00:24:56 4ebd0625c992: Pulling fs layer 00:24:56 207e8628e3a3: Pulling fs layer 00:24:56 c791037a9be2: Pulling fs layer 00:24:56 ffd874e62e21: Pulling fs layer 00:24:56 4ebd0625c992: Waiting 00:24:56 207e8628e3a3: Waiting 00:24:56 c791037a9be2: Waiting 00:24:56 ffd874e62e21: Waiting 00:24:56 316046926c0a: Verifying Checksum 00:24:56 316046926c0a: Download complete 00:24:56 7186ed65a4f7: Download complete 00:24:56 207e8628e3a3: Verifying Checksum 00:24:56 207e8628e3a3: Download complete 00:24:56 c791037a9be2: Verifying Checksum 00:24:56 c791037a9be2: Download complete 00:24:56 595b0fe564bb: Download complete 00:24:57 595b0fe564bb: Pull complete 00:24:58 7186ed65a4f7: Pull complete 00:24:58 316046926c0a: Pull complete 00:24:58 ffd874e62e21: Verifying Checksum 00:24:58 ffd874e62e21: Download complete 00:25:00 4ebd0625c992: Verifying Checksum 00:25:00 4ebd0625c992: Download complete 00:25:10 4ebd0625c992: Pull complete 00:25:10 207e8628e3a3: Pull complete 00:25:10 c791037a9be2: Pull complete 00:25:14 ffd874e62e21: Pull complete 00:25:14 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 00:25:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:25:14 ---> cfc18b08335c 00:25:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 00:25:17 ---> Running in 7e8f72582c25 00:25:18 Removing intermediate container 7e8f72582c25 00:25:18 ---> 70466f96e35a 00:25:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:25:18 ---> Running in 6007c56a98cd 00:25:20 Removing intermediate container 6007c56a98cd 00:25:20 ---> 240b726658ba 00:25:20 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 00:25:20 ---> Running in b66f681f0d5a 00:25:21 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:25:22 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:25:23 (1/13) Installing libc-dev (0.7.2-r3) 00:25:23 (2/13) Installing libsodium (1.0.18-r0) 00:25:23 (3/13) Installing pkgconf (1.7.3-r0) 00:25:23 (4/13) Installing libsodium-dev (1.0.18-r0) 00:25:24 (5/13) Installing openssh-keygen (8.4_p1-r3) 00:25:24 (6/13) Installing libedit (20191231.3.1-r1) 00:25:24 (7/13) Installing openssh-client (8.4_p1-r3) 00:25:24 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 00:25:24 (9/13) Installing openssh-server-common (8.4_p1-r3) 00:25:25 (10/13) Installing openssh-server (8.4_p1-r3) 00:25:25 (11/13) Installing openssh (8.4_p1-r3) 00:25:25 (12/13) Installing libzmq (4.3.3-r1) 00:25:25 (13/13) Installing zeromq-dev (4.3.3-r1) 00:25:25 Executing busybox-1.32.1-r6.trigger 00:25:25 OK: 145 MiB in 53 packages 00:25:27 Removing intermediate container b66f681f0d5a 00:25:27 ---> d23c21ace5cd 00:25:27 Step 6/8 : WORKDIR /device-virtual-go 00:25:27 ---> Running in 0e762a60b752 00:25:27 Removing intermediate container 0e762a60b752 00:25:27 ---> 595e5dbe914d 00:25:27 Step 7/8 : COPY . . 00:25:29 ---> c7743d3fba8f 00:25:29 Step 8/8 : RUN go mod download 00:25:29 ---> Running in c504d0955a88 00:25:30 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.58 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory 00:25:31 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 00:25:32 ---> job-cost.sh 00:25:32 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-M4GR 00:26:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:27:33 lf-activate-venv(): INFO: Adding /tmp/venv-M4GR/bin to PATH 00:27:33 INFO: No Stack... 00:27:33 INFO: Retrieving Pricing Info for: lf-standard-4 00:27:33 INFO: Archiving Costs [Pipeline] sh 00:27:33 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 00:27:33 + cut -d, -f6 [Pipeline] lock 00:27:33 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-208-1-stack-cost] 00:27:33 Resource [jenkins-edgexfoundry-device-virtual-go-PR-208-1-stack-cost] did not exist. Created. 00:27:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:27:34 /w/workspace/device-virtual-go/1@tmp/durable-6a39c661/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-6a39c661/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:27:34 + echo total: 0.20999999344348907 [Pipeline] stash 00:27:34 Warning: overwriting stash ‘stack-cost’ 00:27:35 Stashed 1 file(s) [Pipeline] } 00:27:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-208-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:27:36 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:27:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:27:39 ---> package-listing.sh 00:27:39 ++ facter osfamily 00:27:39 ++ tr '[:upper:]' '[:lower:]' 00:27:39 + OS_FAMILY=redhat 00:27:39 + workspace=/w/workspace/foundry_device-virtual-go_PR-208 00:27:39 + START_PACKAGES=/tmp/packages_start.txt 00:27:39 + END_PACKAGES=/tmp/packages_end.txt 00:27:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:27:39 + PACKAGES=/tmp/packages_start.txt 00:27:39 + '[' /w/workspace/foundry_device-virtual-go_PR-208 ']' 00:27:39 + PACKAGES=/tmp/packages_end.txt 00:27:39 + case "${OS_FAMILY}" in 00:27:39 + rpm -qa 00:27:39 + sort 00:27:44 + '[' -f /tmp/packages_start.txt ']' 00:27:44 + '[' -f /tmp/packages_end.txt ']' 00:27:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:27:44 + '[' /w/workspace/foundry_device-virtual-go_PR-208 ']' 00:27:44 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-208/archives/ 00:27:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-208/archives/ [Pipeline] echo 00:27:44 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-208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:27:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:27:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:27:45 00:27:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:27:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:27:45 alpine: Pulling from edgex-lftools-log-publisher 00:27:45 df20fa9351a1: Pulling fs layer 00:27:45 36b3adc4ff6f: Pulling fs layer 00:27:45 8ad3a11d3b57: Pulling fs layer 00:27:45 46f8f816bc3b: Pulling fs layer 00:27:45 93b61091891f: Pulling fs layer 00:27:45 93b9cdb0e59b: Pulling fs layer 00:27:45 5e14af77c1be: Pulling fs layer 00:27:45 01666e4c0597: Pulling fs layer 00:27:45 aa168da1d23b: Pulling fs layer 00:27:45 46f8f816bc3b: Waiting 00:27:45 93b61091891f: Waiting 00:27:45 93b9cdb0e59b: Waiting 00:27:45 5e14af77c1be: Waiting 00:27:45 01666e4c0597: Waiting 00:27:45 aa168da1d23b: Waiting 00:27:45 36b3adc4ff6f: Download complete 00:27:45 46f8f816bc3b: Verifying Checksum 00:27:45 46f8f816bc3b: Download complete 00:27:45 df20fa9351a1: Download complete 00:27:45 93b9cdb0e59b: Verifying Checksum 00:27:45 93b9cdb0e59b: Download complete 00:27:45 5e14af77c1be: Verifying Checksum 00:27:45 5e14af77c1be: Download complete 00:27:45 93b61091891f: Download complete 00:27:45 01666e4c0597: Verifying Checksum 00:27:45 01666e4c0597: Download complete 00:27:46 8ad3a11d3b57: Verifying Checksum 00:27:46 8ad3a11d3b57: Download complete 00:27:46 df20fa9351a1: Pull complete 00:27:46 36b3adc4ff6f: Pull complete 00:27:47 8ad3a11d3b57: Pull complete 00:27:48 aa168da1d23b: Verifying Checksum 00:27:48 aa168da1d23b: Download complete 00:27:48 46f8f816bc3b: Pull complete 00:27:48 93b61091891f: Pull complete 00:27:49 93b9cdb0e59b: Pull complete 00:27:49 5e14af77c1be: Pull complete 00:27:49 01666e4c0597: Pull complete 00:27:59 aa168da1d23b: Pull complete 00:27:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:27:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:27:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:27:59 prd-centos7-docker-4c-2g-4967 does not seem to be running inside a container 00:27:59 $ 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-208/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-208 -v /w/workspace/foundry_device-virtual-go_PR-208:/w/workspace/foundry_device-virtual-go_PR-208:rw,z -v /w/workspace/foundry_device-virtual-go_PR-208@tmp:/w/workspace/foundry_device-virtual-go_PR-208@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:10003/edgex-lftools-log-publisher:alpine cat 00:28:02 $ docker top 608a9232683920e7fe614fca3f8fe1bd530f0ce2a3c58facdf300cb7ed3141c2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:03 + touch /tmp/pre-build-complete [Pipeline] sh 00:28:03 + mkdir -p /var/log/sa [Pipeline] sh 00:28:04 + ls /var/log/sa-host 00:28:04 + sadf -c /var/log/sa-host/sa13 00:28:04 file_magic: OK 00:28:04 HZ: Using current value: 100 00:28:04 file_header: OK 00:28:04 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 00:28:04 Statistics: 00:28:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:28:04 File successfully converted to sysstat format version 12.2.1 00:28:04 + sadf -c /var/log/sa-host/sa23 00:28:04 file_magic: OK 00:28:04 HZ: Using current value: 100 00:28:04 file_header: OK 00:28:04 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 00:28:04 Statistics: 00:28:04 Hnuu...uuuununununu... 00:28:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:28:04 provisioning config files... 00:28:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-208@tmp/config3160150228872455505tmp [Pipeline] { [Pipeline] echo 00:28:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:28:05 ---> create-netrc.sh [Pipeline] } 00:28:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:28:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:28:05 ---> python-tools-install.sh [Pipeline] echo 00:28:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:28:06 ---> sudo-logs.sh 00:28:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:28:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:28:06 ---> job-cost.sh 00:28:06 lf-activate-venv: SKIPPING 00:28:06 DEBUG: total: 0.20999999344348907 00:28:06 INFO: Retrieving Stack Cost... 00:28:07 INFO: Retrieving Pricing Info for: v1-standard-2 00:28:08 INFO: Archiving Costs [Pipeline] echo 00:28:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:28:09 ---> logs-deploy.sh 00:28:09 lf-activate-venv: SKIPPING 00:28:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-208/1 00:28:09 INFO: archiving workspace using pattern(s): 00:28:10 Archives upload complete. 00:28:10 INFO: archiving logs to Nexus