Pull request #208 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 5ed0bc6c495197241639c0668bdd50184b82949f+702ee4ef1a6f7523fa240909d56a13b89c8d46ac (502250b153cd5e10fb38e190040b1ae54d95f4e2) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh7517939216604729648.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-ssh7290683016244135108.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-208/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-208/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9178750579769503284.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 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-ssh3895684325843606266.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-208/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-208/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4949003913991239161.key > 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 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-442 in /w/workspace/foundry_device-virtual-go_PR-208 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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 [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-208@tmp/jenkins-gitclient-ssh3243795492264306204.key > 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 [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-208@tmp/jenkins-gitclient-ssh6106763517102975586.key > 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 702ee4ef1a6f7523fa240909d56a13b89c8d46ac into PR head commit 5ed0bc6c495197241639c0668bdd50184b82949f Merge succeeded, producing 5ed0bc6c495197241639c0668bdd50184b82949f Checking out Revision 5ed0bc6c495197241639c0668bdd50184b82949f (PR-208) > git config core.sparsecheckout # timeout=10 > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # 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-208@tmp/jenkins-gitclient-ssh6523472252263716404.key > git merge 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # timeout=10 Commit message: "refactor: Update for new service key names and overides for hypen to underscore" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:17:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:17:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:17:10 ========================================================= 19:17:10 EdgeX Global Pipelines Version Info 19:17:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 225b20e37c4eb252b79ed5f9d6fcd3c0c3f9721d # timeout=10 19:17:12 ------------------- 19:17:12 stable info: 19:17:12 ------------------- 19:17:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:17:12 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 19:17:12 Message: update stable to v1.0.192 19:17:13 ------------------- 19:17:13 experimental info: 19:17:13 ------------------- 19:17:13 Commited By: **** collab-it+edgex@linuxfoundation.org 19:17:13 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 19:17:13 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:17:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:17:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:17:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:17:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:17:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:17:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-208 [Pipeline] echo 19:17:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-208 [Pipeline] echo 19:17:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-208 [Pipeline] echo 19:17:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ed0bc6c495197241639c0668bdd50184b82949f [Pipeline] echo 19:17:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ed0bc6 [Pipeline] echo 19:17:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:17:14 provisioning config files... 19:17:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-208@tmp/config4427264985915065202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:14 ---> docker-login.sh 19:17:14 nexus3.edgexfoundry.org:10001 19:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:15 Configure a credential helper to remove this warning. See 19:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:15 19:17:15 Login Succeeded 19:17:15 nexus3.edgexfoundry.org:10002 19:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:15 Configure a credential helper to remove this warning. See 19:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:15 19:17:15 Login Succeeded 19:17:15 nexus3.edgexfoundry.org:10003 19:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:15 Configure a credential helper to remove this warning. See 19:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:15 19:17:15 Login Succeeded 19:17:15 nexus3.edgexfoundry.org:10004 19:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:15 Configure a credential helper to remove this warning. See 19:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:15 19:17:15 Login Succeeded 19:17:15 docker.io 19:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:16 Configure a credential helper to remove this warning. See 19:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:16 19:17:16 Login Succeeded 19:17:16 ---> docker-login.sh ends [Pipeline] } 19:17:16 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 19:17:16 + git log --format=format:%s -1 5ed0bc6c495197241639c0668bdd50184b82949f [Pipeline] echo 19:17:16 GIT_COMMIT: 5ed0bc6c495197241639c0668bdd50184b82949f, Commit Message: refactor: Update for new service key names and overides for hypen to underscore [Pipeline] echo 19:17:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:17:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:17:17 19:17:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:17:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:17:18 latest: Pulling from edgex-devops/git-semver 19:17:18 31603596830f: Pulling fs layer 19:17:18 54011a49482f: Pulling fs layer 19:17:18 a6820b24f6d8: Pulling fs layer 19:17:18 f581987b2513: Pulling fs layer 19:17:18 f581987b2513: Waiting 19:17:18 54011a49482f: Download complete 19:17:18 31603596830f: Verifying Checksum 19:17:18 31603596830f: Download complete 19:17:18 a6820b24f6d8: Verifying Checksum 19:17:18 a6820b24f6d8: Download complete 19:17:18 f581987b2513: Verifying Checksum 19:17:18 f581987b2513: Download complete 19:17:18 31603596830f: Pull complete 19:17:19 54011a49482f: Pull complete 19:17:20 a6820b24f6d8: Pull complete 19:17:20 f581987b2513: Pull complete 19:17:20 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 19:17:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:17:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:17:20 prd-centos7-docker-4c-2g-442 does not seem to be running inside a container 19:17:20 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:17:22 $ docker top a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:17:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:17:22 [ssh-agent] Looking for ssh-agent implementation... 19:17:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:22 $ docker exec a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 ssh-agent 19:17:22 SSH_AUTH_SOCK=/tmp/ssh-Btte9o0ktum7/agent.12 19:17:22 SSH_AGENT_PID=18 19:17:22 Running ssh-add (command line suppressed) 19:17:23 Identity added: /w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_2685006479730726413.key (/w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_2685006479730726413.key) 19:17:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:17:23 + git tag --points-at HEAD [Pipeline] } 19:17:23 $ docker exec --env ******** --env ******** a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 ssh-agent -k 19:17:23 unset SSH_AUTH_SOCK; 19:17:23 unset SSH_AGENT_PID; 19:17:23 echo Agent pid 18 killed; 19:17:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:17:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:17:23 [ssh-agent] Looking for ssh-agent implementation... 19:17:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:23 $ docker exec a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 ssh-agent 19:17:24 SSH_AUTH_SOCK=/tmp/ssh-Gh4ZQ5WaIian/agent.46 19:17:24 SSH_AGENT_PID=51 19:17:24 Running ssh-add (command line suppressed) 19:17:24 Identity added: /w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_7330481267136995223.key (/w/workspace/foundry_device-virtual-go_PR-208@tmp/private_key_7330481267136995223.key) 19:17:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:17:24 + git semver init 19:17:24 # -> Open(): unable to determine branch for HEAD 19:17:24 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-208/.git 19:17:24 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-208 19:17:24 # $SEMVER_REMOTE_NAME = origin 19:17:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:17:24 # $SEMVER_USER_NAME = edgex-jenkins 19:17:24 # $SEMVER_BRANCH = PR-208 19:17:24 # $SEMVER_TEMP = /tmp/semver-058472427 19:17:24 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 19:17:25 # '/tmp/semver-058472427' -> '/w/workspace/foundry_device-virtual-go_PR-208/.semver' 19:17:25 # -> Force: false 19:17:25 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-208/.semver [Pipeline] } 19:17:25 $ docker exec --env ******** --env ******** a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 ssh-agent -k 19:17:26 unset SSH_AUTH_SOCK; 19:17:26 unset SSH_AGENT_PID; 19:17:26 echo Agent pid 51 killed; 19:17:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:17:26 + git semver [Pipeline] } 19:17:26 $ docker stop --time=1 a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 19:17:27 $ docker rm -f a6c21abb8c7f669bd49cd3978ff27cc017b5b7905644f0858ff763b099695f43 [Pipeline] // withDockerContainer [Pipeline] sh 19:17:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:17:28 Stashed 1 file(s) [Pipeline] echo 19:17:28 [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 19:17:44 Still waiting to schedule task 19:17:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:17:44 Still waiting to schedule task 19:17:44 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 19:19:17 Running on prd-centos7-docker-4c-2g-444 in /w/workspace/foundry_device-virtual-go_PR-208 [Pipeline] { [Pipeline] ws 19:19:17 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 19:19:18 Selected Git installation does not exist. Using Default 19:19:18 The recommended git tool is: NONE 19:19:23 using credential edgex-jenkins-ssh 19:19:23 Cloning the remote Git repository 19:19:24 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:19:24 > git init /w/workspace/device-virtual-go/3 # timeout=10 19:19:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:19:24 > git --version # timeout=10 19:19:24 > git --version # 'git version 2.24.3' 19:19:24 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:24 [INFO] Currently running in a labeled security context 19:19:24 [INFO] Currently SELinux is 'enforcing' on the host 19:19:24 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh6870871536656637711.key 19:19:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:19:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:19:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:19:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:19:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:19:25 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:25 [INFO] Currently running in a labeled security context 19:19:25 [INFO] Currently SELinux is 'enforcing' on the host 19:19:25 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh7297136845660750723.key 19:19:25 > 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 19:19:26 Merging remotes/origin/master commit 702ee4ef1a6f7523fa240909d56a13b89c8d46ac into PR head commit 5ed0bc6c495197241639c0668bdd50184b82949f 19:19:26 Merge succeeded, producing 5ed0bc6c495197241639c0668bdd50184b82949f 19:19:26 Checking out Revision 5ed0bc6c495197241639c0668bdd50184b82949f (PR-208) 19:19:26 > git config core.sparsecheckout # timeout=10 19:19:26 > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # timeout=10 19:19:26 > git remote # timeout=10 19:19:26 > git config --get remote.origin.url # timeout=10 19:19:26 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:26 [INFO] Currently running in a labeled security context 19:19:26 [INFO] Currently SELinux is 'enforcing' on the host 19:19:26 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh3124436248438523117.key 19:19:26 > git merge 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 19:19:26 > git rev-parse HEAD^{commit} # timeout=10 19:19:26 > git config core.sparsecheckout # timeout=10 19:19:26 > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # timeout=10 19:19:31 Commit message: "refactor: Update for new service key names and overides for hypen to underscore" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:32 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:19:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:19:33 + sudo service docker restart 19:19:33 + true 19:19:33 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:35 provisioning config files... 19:19:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config8979198605502648007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:36 ---> docker-login.sh 19:19:36 nexus3.edgexfoundry.org:10001 19:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:36 Configure a credential helper to remove this warning. See 19:19:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:36 19:19:36 Login Succeeded 19:19:36 nexus3.edgexfoundry.org:10002 19:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:37 Configure a credential helper to remove this warning. See 19:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:37 19:19:37 Login Succeeded 19:19:37 nexus3.edgexfoundry.org:10003 19:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:37 Configure a credential helper to remove this warning. See 19:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:37 19:19:37 Login Succeeded 19:19:37 nexus3.edgexfoundry.org:10004 19:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:38 Configure a credential helper to remove this warning. See 19:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:38 19:19:38 Login Succeeded 19:19:38 docker.io 19:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:38 Configure a credential helper to remove this warning. See 19:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:38 19:19:38 Login Succeeded 19:19:38 ---> docker-login.sh ends [Pipeline] } 19:19:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:19:38 ========================================================= 19:19:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:19:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:19:39 + 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 . 19:19:39 Sending build context to Docker daemon 8.599MB 19:19:39 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 19:19:39 Step 2/8 : FROM ${BASE} 19:19:39 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:19:39 540db60ca938: Pulling fs layer 19:19:39 adcc1eea9eea: Pulling fs layer 19:19:39 4c4ab2625f07: Pulling fs layer 19:19:39 0510c868ecb4: Pulling fs layer 19:19:39 afea3b2eda06: Pulling fs layer 19:19:39 7809a108b3ef: Pulling fs layer 19:19:39 f706445af74f: Pulling fs layer 19:19:39 afea3b2eda06: Waiting 19:19:39 7809a108b3ef: Waiting 19:19:39 f706445af74f: Waiting 19:19:39 0510c868ecb4: Waiting 19:19:39 4c4ab2625f07: Verifying Checksum 19:19:39 4c4ab2625f07: Download complete 19:19:39 adcc1eea9eea: Download complete 19:19:39 afea3b2eda06: Verifying Checksum 19:19:39 afea3b2eda06: Download complete 19:19:39 540db60ca938: Verifying Checksum 19:19:39 540db60ca938: Download complete 19:19:39 7809a108b3ef: Verifying Checksum 19:19:39 7809a108b3ef: Download complete 19:19:40 540db60ca938: Pull complete 19:19:40 adcc1eea9eea: Pull complete 19:19:40 4c4ab2625f07: Pull complete 19:19:42 f706445af74f: Verifying Checksum 19:19:42 f706445af74f: Download complete 19:19:43 0510c868ecb4: Verifying Checksum 19:19:43 0510c868ecb4: Download complete 19:19:50 0510c868ecb4: Pull complete 19:19:50 afea3b2eda06: Pull complete 19:19:50 7809a108b3ef: Pull complete 19:19:56 f706445af74f: Pull complete 19:19:56 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 19:19:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:19:56 ---> b068be0155e3 19:19:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 19:19:58 ---> Running in 76d2995c28a8 19:19:58 Removing intermediate container 76d2995c28a8 19:19:58 ---> 350669ddbc07 19:19:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:19:58 ---> Running in 14d093e8d622 19:19:59 Removing intermediate container 14d093e8d622 19:19:59 ---> 0e9d0abfdbd8 19:19:59 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 19:19:59 ---> Running in 653003c0c852 19:20:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:20:01 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:20:01 (1/13) Installing libc-dev (0.7.2-r3) 19:20:01 (2/13) Installing libsodium (1.0.18-r0) 19:20:02 (3/13) Installing pkgconf (1.7.3-r0) 19:20:02 (4/13) Installing libsodium-dev (1.0.18-r0) 19:20:02 (5/13) Installing openssh-keygen (8.4_p1-r3) 19:20:02 (6/13) Installing libedit (20191231.3.1-r1) 19:20:02 (7/13) Installing openssh-client (8.4_p1-r3) 19:20:02 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 19:20:03 (9/13) Installing openssh-server-common (8.4_p1-r3) 19:20:03 (10/13) Installing openssh-server (8.4_p1-r3) 19:20:03 (11/13) Installing openssh (8.4_p1-r3) 19:20:03 (12/13) Installing libzmq (4.3.3-r1) 19:20:03 (13/13) Installing zeromq-dev (4.3.3-r1) 19:20:03 Executing busybox-1.32.1-r6.trigger 19:20:03 OK: 156 MiB in 53 packages 19:20:04 Removing intermediate container 653003c0c852 19:20:04 ---> fc7234809bee 19:20:04 Step 6/8 : WORKDIR /device-virtual-go 19:20:04 ---> Running in b8728e9791b9 19:20:04 Removing intermediate container b8728e9791b9 19:20:04 ---> 699e978c6bd5 19:20:04 Step 7/8 : COPY . . 19:20:05 ---> 625f5bd4c2b5 19:20:05 Step 8/8 : RUN go mod download 19:20:05 ---> Running in 9ff7cb01c3d5 19:20:07 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 19:20:07 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 19:20:08 ---> job-cost.sh 19:20:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Tjw9 19:20:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 19:20:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-445 in /w/workspace/foundry_device-virtual-go_PR-208 [Pipeline] { [Pipeline] ws 19:20:34 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 19:20:35 Selected Git installation does not exist. Using Default 19:20:35 The recommended git tool is: NONE 19:20:40 using credential edgex-jenkins-ssh 19:20:40 Cloning the remote Git repository 19:20:40 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:20:40 > git init /w/workspace/device-virtual-go/3 # timeout=10 19:20:40 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:20:40 > git --version # timeout=10 19:20:41 > git --version # 'git version 2.17.1' 19:20:41 using GIT_SSH to set credentials SSH Credentials for GitHub 19:20:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:20:43 Merging remotes/origin/master commit 702ee4ef1a6f7523fa240909d56a13b89c8d46ac into PR head commit 5ed0bc6c495197241639c0668bdd50184b82949f 19:20:43 Merge succeeded, producing 5ed0bc6c495197241639c0668bdd50184b82949f 19:20:43 Checking out Revision 5ed0bc6c495197241639c0668bdd50184b82949f (PR-208) 19:20:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:20:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:20:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:20:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:20:42 using GIT_SSH to set credentials SSH Credentials for GitHub 19:20:42 > 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 19:20:43 > git config core.sparsecheckout # timeout=10 19:20:43 > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # timeout=10 19:20:43 > git remote # timeout=10 19:20:43 > git config --get remote.origin.url # timeout=10 19:20:43 using GIT_SSH to set credentials SSH Credentials for GitHub 19:20:43 > git merge 702ee4ef1a6f7523fa240909d56a13b89c8d46ac # timeout=10 19:20:43 > git rev-parse HEAD^{commit} # timeout=10 19:20:43 > git config core.sparsecheckout # timeout=10 19:20:43 > git checkout -f 5ed0bc6c495197241639c0668bdd50184b82949f # timeout=10 19:20:47 Commit message: "refactor: Update for new service key names and overides for hypen to underscore" 19:20:48 19:20:48 GitHub has been notified of this commit’s build result 19:20:48 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:20:49 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 19:20:49 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:20:50 + true 19:20:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:20:52 provisioning config files... 19:20:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config2469975332216496060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:20:53 ---> docker-login.sh 19:20:53 nexus3.edgexfoundry.org:10001 19:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:54 Configure a credential helper to remove this warning. See 19:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:54 19:20:54 Login Succeeded 19:20:54 nexus3.edgexfoundry.org:10002 19:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:55 Configure a credential helper to remove this warning. See 19:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:55 19:20:55 Login Succeeded 19:20:55 nexus3.edgexfoundry.org:10003 19:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:55 Configure a credential helper to remove this warning. See 19:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:55 19:20:55 Login Succeeded 19:20:55 nexus3.edgexfoundry.org:10004 19:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:55 Configure a credential helper to remove this warning. See 19:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:55 19:20:55 Login Succeeded 19:20:55 docker.io 19:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:56 Configure a credential helper to remove this warning. See 19:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:56 19:20:56 Login Succeeded 19:20:56 ---> docker-login.sh ends [Pipeline] } 19:20:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:20:57 ========================================================= 19:20:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:20:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:20:57 + 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 . 19:20:58 Sending build context to Docker daemon 8.598MB 19:20:58 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 19:20:58 Step 2/8 : FROM ${BASE} 19:20:58 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:20:58 595b0fe564bb: Pulling fs layer 19:20:58 7186ed65a4f7: Pulling fs layer 19:20:58 316046926c0a: Pulling fs layer 19:20:58 4ebd0625c992: Pulling fs layer 19:20:58 207e8628e3a3: Pulling fs layer 19:20:58 c791037a9be2: Pulling fs layer 19:20:58 ffd874e62e21: Pulling fs layer 19:20:58 4ebd0625c992: Waiting 19:20:58 207e8628e3a3: Waiting 19:20:58 ffd874e62e21: Waiting 19:20:58 c791037a9be2: Waiting 19:20:58 316046926c0a: Verifying Checksum 19:20:58 316046926c0a: Download complete 19:20:58 7186ed65a4f7: Verifying Checksum 19:20:58 7186ed65a4f7: Download complete 19:20:58 207e8628e3a3: Verifying Checksum 19:20:58 207e8628e3a3: Download complete 19:20:58 c791037a9be2: Verifying Checksum 19:20:58 c791037a9be2: Download complete 19:20:58 595b0fe564bb: Verifying Checksum 19:20:58 595b0fe564bb: Download complete 19:20:58 595b0fe564bb: Pull complete 19:20:59 lf-activate-venv(): INFO: Adding /tmp/venv-Tjw9/bin to PATH 19:20:59 INFO: No Stack... 19:20:59 INFO: Retrieving Pricing Info for: v1-standard-2 19:20:59 INFO: Archiving Costs [Pipeline] sh 19:20:59 7186ed65a4f7: Pull complete 19:20:59 316046926c0a: Pull complete 19:20:59 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 19:20:59 + cut -d, -f6 [Pipeline] lock 19:20:59 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] 19:20:59 Resource [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] did not exist. Created. 19:20:59 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:21:00 + echo total: 0.029999999329447746 [Pipeline] stash 19:21:00 ffd874e62e21: Verifying Checksum 19:21:00 ffd874e62e21: Download complete 19:21:00 Stashed 1 file(s) [Pipeline] } 19:21:00 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:21:00 Failed in branch amd64 19:21:02 4ebd0625c992: Verifying Checksum 19:21:02 4ebd0625c992: Download complete 19:21:12 4ebd0625c992: Pull complete 19:21:12 207e8628e3a3: Pull complete 19:21:12 c791037a9be2: Pull complete 19:21:17 ffd874e62e21: Pull complete 19:21:17 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 19:21:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:21:17 ---> cfc18b08335c 19:21:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 19:21:19 ---> Running in a6d6b58b0dfb 19:21:19 Removing intermediate container a6d6b58b0dfb 19:21:19 ---> f45a53fa504d 19:21:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:21:20 ---> Running in f85749e702ea 19:21:23 Removing intermediate container f85749e702ea 19:21:23 ---> 2eb81fbf8622 19:21:23 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 19:21:23 ---> Running in d980f422d29c 19:21:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:21:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:21:25 (1/13) Installing libc-dev (0.7.2-r3) 19:21:25 (2/13) Installing libsodium (1.0.18-r0) 19:21:25 (3/13) Installing pkgconf (1.7.3-r0) 19:21:25 (4/13) Installing libsodium-dev (1.0.18-r0) 19:21:26 (5/13) Installing openssh-keygen (8.4_p1-r3) 19:21:26 (6/13) Installing libedit (20191231.3.1-r1) 19:21:26 (7/13) Installing openssh-client (8.4_p1-r3) 19:21:26 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 19:21:26 (9/13) Installing openssh-server-common (8.4_p1-r3) 19:21:26 (10/13) Installing openssh-server (8.4_p1-r3) 19:21:26 (11/13) Installing openssh (8.4_p1-r3) 19:21:26 (12/13) Installing libzmq (4.3.3-r1) 19:21:27 (13/13) Installing zeromq-dev (4.3.3-r1) 19:21:27 Executing busybox-1.32.1-r6.trigger 19:21:27 OK: 145 MiB in 53 packages 19:21:29 Removing intermediate container d980f422d29c 19:21:29 ---> 3a7931b9b646 19:21:29 Step 6/8 : WORKDIR /device-virtual-go 19:21:29 ---> Running in e98ed594a961 19:21:29 Removing intermediate container e98ed594a961 19:21:29 ---> 422b260eac61 19:21:29 Step 7/8 : COPY . . 19:21:31 ---> 1c5d31fa464d 19:21:31 Step 8/8 : RUN go mod download 19:21:31 ---> Running in e13b40c7f28b 19:21:32 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 19:21:33 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 19:21:33 ---> job-cost.sh 19:21:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ED5o 19:22:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 19:23:34 lf-activate-venv(): INFO: Adding /tmp/venv-ED5o/bin to PATH 19:23:34 INFO: No Stack... 19:23:34 INFO: Retrieving Pricing Info for: lf-standard-4 19:23:34 INFO: Archiving Costs [Pipeline] sh 19:23:35 + + catcut /w/workspace/device-virtual-go/3/archives/cost.csv -d, 19:23:35 -f6 [Pipeline] lock 19:23:35 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] 19:23:35 Resource [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] did not exist. Created. 19:23:35 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:23:35 /w/workspace/device-virtual-go/3@tmp/durable-e48d4b60/script.sh: 1: /w/workspace/device-virtual-go/3@tmp/durable-e48d4b60/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 19:23:35 + echo total: 0.20999999344348907 [Pipeline] stash 19:23:35 Warning: overwriting stash ‘stack-cost’ 19:23:36 Stashed 1 file(s) [Pipeline] } 19:23:36 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-208-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:23: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 19:23:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:23:38 ---> package-listing.sh 19:23:38 ++ facter osfamily 19:23:38 ++ tr '[:upper:]' '[:lower:]' 19:23:38 + OS_FAMILY=redhat 19:23:38 + workspace=/w/workspace/foundry_device-virtual-go_PR-208 19:23:38 + START_PACKAGES=/tmp/packages_start.txt 19:23:38 + END_PACKAGES=/tmp/packages_end.txt 19:23:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:23:38 + PACKAGES=/tmp/packages_start.txt 19:23:38 + '[' /w/workspace/foundry_device-virtual-go_PR-208 ']' 19:23:38 + PACKAGES=/tmp/packages_end.txt 19:23:38 + case "${OS_FAMILY}" in 19:23:38 + rpm -qa 19:23:38 + sort 19:23:42 + '[' -f /tmp/packages_start.txt ']' 19:23:42 + '[' -f /tmp/packages_end.txt ']' 19:23:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:23:42 + '[' /w/workspace/foundry_device-virtual-go_PR-208 ']' 19:23:42 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-208/archives/ 19:23:42 + 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 19:23:43 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 19:23:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:23:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:23:43 19:23:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:23:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:23:44 alpine: Pulling from edgex-lftools-log-publisher 19:23:44 df20fa9351a1: Pulling fs layer 19:23:44 36b3adc4ff6f: Pulling fs layer 19:23:44 8ad3a11d3b57: Pulling fs layer 19:23:44 46f8f816bc3b: Pulling fs layer 19:23:44 93b61091891f: Pulling fs layer 19:23:44 93b9cdb0e59b: Pulling fs layer 19:23:44 5e14af77c1be: Pulling fs layer 19:23:44 01666e4c0597: Pulling fs layer 19:23:44 aa168da1d23b: Pulling fs layer 19:23:44 93b9cdb0e59b: Waiting 19:23:44 5e14af77c1be: Waiting 19:23:44 01666e4c0597: Waiting 19:23:44 46f8f816bc3b: Waiting 19:23:44 93b61091891f: Waiting 19:23:44 36b3adc4ff6f: Verifying Checksum 19:23:44 36b3adc4ff6f: Download complete 19:23:44 df20fa9351a1: Verifying Checksum 19:23:44 df20fa9351a1: Download complete 19:23:44 46f8f816bc3b: Verifying Checksum 19:23:44 46f8f816bc3b: Download complete 19:23:44 93b9cdb0e59b: Verifying Checksum 19:23:44 93b9cdb0e59b: Download complete 19:23:44 5e14af77c1be: Verifying Checksum 19:23:44 5e14af77c1be: Download complete 19:23:44 01666e4c0597: Verifying Checksum 19:23:44 01666e4c0597: Download complete 19:23:44 93b61091891f: Verifying Checksum 19:23:44 93b61091891f: Download complete 19:23:44 8ad3a11d3b57: Verifying Checksum 19:23:44 8ad3a11d3b57: Download complete 19:23:44 df20fa9351a1: Pull complete 19:23:44 36b3adc4ff6f: Pull complete 19:23:45 8ad3a11d3b57: Pull complete 19:23:46 46f8f816bc3b: Pull complete 19:23:46 93b61091891f: Pull complete 19:23:46 aa168da1d23b: Verifying Checksum 19:23:46 aa168da1d23b: Download complete 19:23:46 93b9cdb0e59b: Pull complete 19:23:46 5e14af77c1be: Pull complete 19:23:46 01666e4c0597: Pull complete 19:23:55 aa168da1d23b: Pull complete 19:23:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:23:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:23:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:23:55 prd-centos7-docker-4c-2g-442 does not seem to be running inside a container 19:23:55 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:23:57 $ docker top e8d749131243507fb245aa31d505910394fc2571c5e2c29acd987375f6244b3f -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:58 + touch /tmp/pre-build-complete [Pipeline] sh 19:23:58 + mkdir -p /var/log/sa [Pipeline] sh 19:23:58 + ls /var/log/sa-host 19:23:58 + sadf -c /var/log/sa-host/sa17 19:23:58 file_magic: OK 19:23:58 HZ: Using current value: 100 19:23:58 file_header: OK 19:23:58 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 19:23:58 Statistics: 19:23:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:23:58 File successfully converted to sysstat format version 12.2.1 19:23:58 + sadf -c /var/log/sa-host/sa23 19:23:58 file_magic: OK 19:23:58 HZ: Using current value: 100 19:23:58 file_header: OK 19:23:58 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 19:23:58 Statistics: 19:23:58 Hnuu...uuuununununu... 19:23:58 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:23:59 provisioning config files... 19:23:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-208@tmp/config8516670569083476164tmp [Pipeline] { [Pipeline] echo 19:23:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:23:59 ---> create-netrc.sh [Pipeline] } 19:23:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:23:59 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:23:59 ---> python-tools-install.sh [Pipeline] echo 19:23:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:24:00 ---> sudo-logs.sh 19:24:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:24:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:24:00 ---> job-cost.sh 19:24:00 lf-activate-venv: SKIPPING 19:24:00 DEBUG: total: 0.20999999344348907 19:24:00 INFO: Retrieving Stack Cost... 19:24:01 INFO: Retrieving Pricing Info for: v1-standard-2 19:24:02 INFO: Archiving Costs [Pipeline] echo 19:24:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:24:02 ---> logs-deploy.sh 19:24:02 lf-activate-venv: SKIPPING 19:24:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-208/3 19:24:02 INFO: archiving workspace using pattern(s): 19:24:04 Archives upload complete. 19:24:04 INFO: archiving logs to Nexus