Branch indexing 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 a8427ad9f313fd36a07394be183da3e7678cbf3a+f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 (d94365270736dc1a86cf2d31576d41b935b78a7a) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 > 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 > git rev-parse --is-inside-work-tree # 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 > 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: docker-device-virtual-go 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3930 in /w/workspace/foundry_device-virtual-go_PR-199 [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-199 # 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/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit a8427ad9f313fd36a07394be183da3e7678cbf3a Merge succeeded, producing a93c29b19bcd7027390851b324489ace61268ced Checking out Revision a93c29b19bcd7027390851b324489ace61268ced (PR-199) > git config core.sparsecheckout # timeout=10 > git checkout -f a8427ad9f313fd36a07394be183da3e7678cbf3a # 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 f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a93c29b19bcd7027390851b324489ace61268ced # timeout=10 Commit message: "Merge commit 'f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1' into HEAD" > git rev-list --no-walk a8427ad9f313fd36a07394be183da3e7678cbf3a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:13:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:13:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:13:36 ========================================================= 04:13:36 EdgeX Global Pipelines Version Info 04:13:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:13:37 ------------------- 04:13:37 stable info: 04:13:37 ------------------- 04:13:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:13:37 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 04:13:37 Message: update stable to v1.0.191 04:13:38 ------------------- 04:13:38 experimental info: 04:13:38 ------------------- 04:13:38 Commited By: **** collab-it+edgex@linuxfoundation.org 04:13:38 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 04:13:38 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a93c29b19bcd7027390851b324489ace61268ced [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a93c29b [Pipeline] echo 04:13:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:13:39 provisioning config files... 04:13:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-199@tmp/config2731959670604874018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:40 ---> docker-login.sh 04:13:40 nexus3.edgexfoundry.org:10001 04:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:40 Configure a credential helper to remove this warning. See 04:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:40 04:13:40 Login Succeeded 04:13:40 nexus3.edgexfoundry.org:10002 04:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:40 Configure a credential helper to remove this warning. See 04:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:40 04:13:40 Login Succeeded 04:13:40 nexus3.edgexfoundry.org:10003 04:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:40 Configure a credential helper to remove this warning. See 04:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:40 04:13:40 Login Succeeded 04:13:40 nexus3.edgexfoundry.org:10004 04:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:41 Configure a credential helper to remove this warning. See 04:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:41 04:13:41 Login Succeeded 04:13:41 docker.io 04:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:41 Configure a credential helper to remove this warning. See 04:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:41 04:13:41 Login Succeeded 04:13:41 ---> docker-login.sh ends [Pipeline] } 04:13:41 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 04:13:42 + git log --format=format:%s -1 a93c29b19bcd7027390851b324489ace61268ced [Pipeline] echo 04:13:42 GIT_COMMIT: a93c29b19bcd7027390851b324489ace61268ced, Commit Message: Merge commit 'f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1' into HEAD [Pipeline] echo 04:13:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:13:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:13:43 04:13:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:13:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:13:43 latest: Pulling from edgex-devops/git-semver 04:13:43 31603596830f: Pulling fs layer 04:13:43 54011a49482f: Pulling fs layer 04:13:43 a6820b24f6d8: Pulling fs layer 04:13:43 f581987b2513: Pulling fs layer 04:13:43 f581987b2513: Waiting 04:13:43 54011a49482f: Verifying Checksum 04:13:43 54011a49482f: Download complete 04:13:43 31603596830f: Verifying Checksum 04:13:43 31603596830f: Download complete 04:13:43 f581987b2513: Verifying Checksum 04:13:43 f581987b2513: Download complete 04:13:43 a6820b24f6d8: Verifying Checksum 04:13:43 a6820b24f6d8: Download complete 04:13:44 31603596830f: Pull complete 04:13:44 54011a49482f: Pull complete 04:13:45 a6820b24f6d8: Pull complete 04:13:45 f581987b2513: Pull complete 04:13:45 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 04:13:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:13:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:13:45 prd-centos7-docker-4c-2g-3930 does not seem to be running inside a container 04:13:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-199 -v /w/workspace/foundry_device-virtual-go_PR-199:/w/workspace/foundry_device-virtual-go_PR-199:rw,z -v /w/workspace/foundry_device-virtual-go_PR-199@tmp:/w/workspace/foundry_device-virtual-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:13:47 $ docker top 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:13:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:13:47 [ssh-agent] Looking for ssh-agent implementation... 04:13:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:13:47 $ docker exec 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 ssh-agent 04:13:48 SSH_AUTH_SOCK=/tmp/ssh-OusxL5ULsNy3/agent.11 04:13:48 SSH_AGENT_PID=17 04:13:48 Running ssh-add (command line suppressed) 04:13:48 Identity added: /w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_6873067079007979249.key (/w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_6873067079007979249.key) 04:13:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:13:48 + git tag --points-at HEAD [Pipeline] } 04:13:48 $ docker exec --env ******** --env ******** 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 ssh-agent -k 04:13:48 unset SSH_AUTH_SOCK; 04:13:48 unset SSH_AGENT_PID; 04:13:48 echo Agent pid 17 killed; 04:13:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:13:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:13:48 [ssh-agent] Looking for ssh-agent implementation... 04:13:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:13:48 $ docker exec 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 ssh-agent 04:13:49 SSH_AUTH_SOCK=/tmp/ssh-s7FNaz3RFNpd/agent.47 04:13:49 SSH_AGENT_PID=52 04:13:49 Running ssh-add (command line suppressed) 04:13:49 Identity added: /w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_463239730934724413.key (/w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_463239730934724413.key) 04:13:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:13:49 + git semver init 04:13:49 # -> Open(): unable to determine branch for HEAD 04:13:49 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-199/.git 04:13:49 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-199 04:13:49 # $SEMVER_REMOTE_NAME = origin 04:13:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:13:49 # $SEMVER_USER_NAME = edgex-jenkins 04:13:49 # $SEMVER_BRANCH = PR-199 04:13:49 # $SEMVER_TEMP = /tmp/semver-159770797 04:13:49 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 04:13:50 # '/tmp/semver-159770797' -> '/w/workspace/foundry_device-virtual-go_PR-199/.semver' 04:13:50 # -> Force: false 04:13:50 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-199/.semver [Pipeline] } 04:13:50 $ docker exec --env ******** --env ******** 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 ssh-agent -k 04:13:50 unset SSH_AUTH_SOCK; 04:13:50 unset SSH_AGENT_PID; 04:13:50 echo Agent pid 52 killed; 04:13:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:13:50 + git semver [Pipeline] } 04:13:50 $ docker stop --time=1 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 04:13:52 $ docker rm -f 1b9ea8535e3d1274d6b7d4351c4d039230ddb9a1d533c707c3d415d474c6aca5 [Pipeline] // withDockerContainer [Pipeline] sh 04:13:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:13:52 Stashed 1 file(s) [Pipeline] echo 04:13:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 04:14:07 Still waiting to schedule task 04:14:07 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3930’ 04:14:07 Still waiting to schedule task 04:14:07 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 04:16:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3931 in /w/workspace/foundry_device-virtual-go_PR-199 [Pipeline] { [Pipeline] ws 04:16:05 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 04:16:10 using credential edgex-jenkins-ssh 04:16:10 Cloning the remote Git repository 04:16:10 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:16:11 > git init /w/workspace/device-virtual-go/2 # timeout=10 04:16:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:16:11 > git --version # timeout=10 04:16:11 > git --version # 'git version 2.17.1' 04:16:11 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:16:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:16:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:16:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:16:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:16:12 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:16:14 Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit a8427ad9f313fd36a07394be183da3e7678cbf3a 04:16:15 Merge succeeded, producing 2d78992aaf5c3f8de47ffcdea1d21d94eb385ec5 04:16:15 Checking out Revision 2d78992aaf5c3f8de47ffcdea1d21d94eb385ec5 (PR-199) 04:16:14 > git config core.sparsecheckout # timeout=10 04:16:14 > git checkout -f a8427ad9f313fd36a07394be183da3e7678cbf3a # timeout=10 04:16:14 > git remote # timeout=10 04:16:14 > git config --get remote.origin.url # timeout=10 04:16:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:15 > git merge f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 04:16:15 > git rev-parse HEAD^{commit} # timeout=10 04:16:15 > git config core.sparsecheckout # timeout=10 04:16:15 > git checkout -f 2d78992aaf5c3f8de47ffcdea1d21d94eb385ec5 # timeout=10 04:16:19 Commit message: "Merge commit 'f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1' into HEAD" 04:16:19 > git rev-list --no-walk a8427ad9f313fd36a07394be183da3e7678cbf3a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:16:20 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:16:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:16:21 + true 04:16:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:16:24 provisioning config files... 04:16:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config5465086702649724870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:24 ---> docker-login.sh 04:16:24 nexus3.edgexfoundry.org:10001 04:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:26 Configure a credential helper to remove this warning. See 04:16:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:26 04:16:26 Login Succeeded 04:16:26 nexus3.edgexfoundry.org:10002 04:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:26 Configure a credential helper to remove this warning. See 04:16:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:26 04:16:26 Login Succeeded 04:16:26 nexus3.edgexfoundry.org:10003 04:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:27 Configure a credential helper to remove this warning. See 04:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:27 04:16:27 Login Succeeded 04:16:27 nexus3.edgexfoundry.org:10004 04:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:27 Configure a credential helper to remove this warning. See 04:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:27 04:16:27 Login Succeeded 04:16:27 docker.io 04:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:28 Configure a credential helper to remove this warning. See 04:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:28 04:16:28 Login Succeeded 04:16:28 ---> docker-login.sh ends [Pipeline] } 04:16:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:16:28 ========================================================= 04:16:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:16:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:16:28 + 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 . 04:16:29 Sending build context to Docker daemon 9.178MB 04:16:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:16:29 Step 2/8 : FROM ${BASE} 04:16:29 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:16:29 595b0fe564bb: Pulling fs layer 04:16:29 7186ed65a4f7: Pulling fs layer 04:16:29 316046926c0a: Pulling fs layer 04:16:29 4ebd0625c992: Pulling fs layer 04:16:29 207e8628e3a3: Pulling fs layer 04:16:29 c791037a9be2: Pulling fs layer 04:16:29 ffd874e62e21: Pulling fs layer 04:16:29 4ebd0625c992: Waiting 04:16:29 207e8628e3a3: Waiting 04:16:29 c791037a9be2: Waiting 04:16:29 316046926c0a: Verifying Checksum 04:16:29 316046926c0a: Download complete 04:16:29 7186ed65a4f7: Download complete 04:16:29 207e8628e3a3: Verifying Checksum 04:16:29 207e8628e3a3: Download complete 04:16:29 c791037a9be2: Verifying Checksum 04:16:29 c791037a9be2: Download complete 04:16:29 595b0fe564bb: Verifying Checksum 04:16:29 595b0fe564bb: Download complete 04:16:30 595b0fe564bb: Pull complete 04:16:30 7186ed65a4f7: Pull complete 04:16:31 316046926c0a: Pull complete 04:16:32 ffd874e62e21: Download complete 04:16:34 4ebd0625c992: Verifying Checksum 04:16:34 4ebd0625c992: Download complete 04:16:37 Running on prd-centos7-docker-4c-2g-3932 in /w/workspace/foundry_device-virtual-go_PR-199 [Pipeline] { [Pipeline] ws 04:16:37 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 04:16:40 using credential edgex-jenkins-ssh 04:16:40 Cloning the remote Git repository 04:16:40 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:16:40 > git init /w/workspace/device-virtual-go/2 # timeout=10 04:16:40 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:16:40 > git --version # timeout=10 04:16:40 > git --version # 'git version 2.24.3' 04:16:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:16:41 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:16:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:16:41 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:16:41 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:16:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:16:44 4ebd0625c992: Pull complete 04:16:44 207e8628e3a3: Pull complete 04:16:44 c791037a9be2: Pull complete 04:16:44 Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit a8427ad9f313fd36a07394be183da3e7678cbf3a 04:16:45 Merge succeeded, producing bd8c143db4c39ab9daf18666d4498788588b15bc 04:16:45 Checking out Revision bd8c143db4c39ab9daf18666d4498788588b15bc (PR-199) 04:16:44 > git config core.sparsecheckout # timeout=10 04:16:44 > git checkout -f a8427ad9f313fd36a07394be183da3e7678cbf3a # timeout=10 04:16:45 > git remote # timeout=10 04:16:45 > git config --get remote.origin.url # timeout=10 04:16:45 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:45 > git merge f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 04:16:45 > git rev-parse HEAD^{commit} # timeout=10 04:16:45 > git config core.sparsecheckout # timeout=10 04:16:45 > git checkout -f bd8c143db4c39ab9daf18666d4498788588b15bc # timeout=10 04:16:48 Commit message: "Merge commit 'f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1' into HEAD" 04:16:48 > git rev-list --no-walk a8427ad9f313fd36a07394be183da3e7678cbf3a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 04:16:49 ffd874e62e21: Pull complete 04:16:49 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 04:16:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:16:49 ---> cfc18b08335c 04:16:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:16:49 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:16:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:16:50 + sudo service docker restart 04:16:50 + true 04:16:50 Redirecting to /bin/systemctl restart docker.service 04:16:51 ---> Running in 748652b2d908 04:16:51 Removing intermediate container 748652b2d908 04:16:51 ---> 54b65e180870 04:16:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:51 ---> Running in be7ac47b9055 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:16:51 provisioning config files... 04:16:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config1328246225404595934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:52 ---> docker-login.sh 04:16:52 nexus3.edgexfoundry.org:10001 04:16:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:52 Configure a credential helper to remove this warning. See 04:16:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:52 04:16:52 Login Succeeded 04:16:52 nexus3.edgexfoundry.org:10002 04:16:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:52 Configure a credential helper to remove this warning. See 04:16:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:52 04:16:52 Login Succeeded 04:16:52 nexus3.edgexfoundry.org:10003 04:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:53 Configure a credential helper to remove this warning. See 04:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:53 04:16:53 Login Succeeded 04:16:53 nexus3.edgexfoundry.org:10004 04:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:53 Configure a credential helper to remove this warning. See 04:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:53 04:16:53 Login Succeeded 04:16:53 docker.io 04:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:53 Configure a credential helper to remove this warning. See 04:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:53 04:16:53 Login Succeeded 04:16:53 ---> docker-login.sh ends [Pipeline] } 04:16:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:16:53 ========================================================= 04:16:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:16:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:16:54 + 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 . 04:16:54 Removing intermediate container be7ac47b9055 04:16:54 ---> a0e32f9bf1b5 04:16:54 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 04:16:54 ---> Running in 38791fca48c5 04:16:54 Sending build context to Docker daemon 9.179MB 04:16:54 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:16:54 Step 2/8 : FROM ${BASE} 04:16:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:16:54 540db60ca938: Pulling fs layer 04:16:54 adcc1eea9eea: Pulling fs layer 04:16:54 4c4ab2625f07: Pulling fs layer 04:16:54 0510c868ecb4: Pulling fs layer 04:16:54 afea3b2eda06: Pulling fs layer 04:16:54 7809a108b3ef: Pulling fs layer 04:16:54 f706445af74f: Pulling fs layer 04:16:54 afea3b2eda06: Waiting 04:16:54 7809a108b3ef: Waiting 04:16:54 f706445af74f: Waiting 04:16:54 0510c868ecb4: Waiting 04:16:54 4c4ab2625f07: Verifying Checksum 04:16:54 4c4ab2625f07: Download complete 04:16:54 adcc1eea9eea: Download complete 04:16:54 afea3b2eda06: Verifying Checksum 04:16:54 afea3b2eda06: Download complete 04:16:54 540db60ca938: Verifying Checksum 04:16:54 540db60ca938: Download complete 04:16:54 7809a108b3ef: Verifying Checksum 04:16:54 7809a108b3ef: Download complete 04:16:54 540db60ca938: Pull complete 04:16:54 adcc1eea9eea: Pull complete 04:16:55 4c4ab2625f07: Pull complete 04:16:55 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 04:16:56 f706445af74f: Download complete 04:16:57 0510c868ecb4: Verifying Checksum 04:16:57 0510c868ecb4: Download complete 04:16:57 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 04:16:59 (1/13) Installing libc-dev (0.7.2-r3) 04:16:59 (2/13) Installing libsodium (1.0.18-r0) 04:16:59 (3/13) Installing pkgconf (1.7.3-r0) 04:16:59 (4/13) Installing libsodium-dev (1.0.18-r0) 04:17:00 (5/13) Installing openssh-keygen (8.4_p1-r3) 04:17:00 (6/13) Installing libedit (20191231.3.1-r1) 04:17:00 (7/13) Installing openssh-client (8.4_p1-r3) 04:17:02 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 04:17:02 0510c868ecb4: Pull complete 04:17:02 afea3b2eda06: Pull complete 04:17:02 (9/13) Installing openssh-server-common (8.4_p1-r3) 04:17:02 (10/13) Installing openssh-server (8.4_p1-r3) 04:17:02 7809a108b3ef: Pull complete 04:17:03 (11/13) Installing openssh (8.4_p1-r3) 04:17:03 (12/13) Installing libzmq (4.3.3-r1) 04:17:03 (13/13) Installing zeromq-dev (4.3.3-r1) 04:17:03 Executing busybox-1.32.1-r6.trigger 04:17:03 OK: 145 MiB in 53 packages 04:17:05 Removing intermediate container 38791fca48c5 04:17:05 ---> 09b8cc1a2562 04:17:05 Step 6/8 : WORKDIR /device-virtual-go 04:17:05 ---> Running in efe6486c5aab 04:17:06 Removing intermediate container efe6486c5aab 04:17:06 ---> 8cc79791e4e6 04:17:06 Step 7/8 : COPY . . 04:17:07 ---> 3c3e93c3e706 04:17:07 Step 8/8 : RUN go mod download 04:17:07 ---> Running in d08db389008a 04:17:10 f706445af74f: Pull complete 04:17:10 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 04:17:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:17:10 ---> b068be0155e3 04:17:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 04:17:10 ---> Running in 66dc35b26d1b 04:17:10 Removing intermediate container 66dc35b26d1b 04:17:10 ---> 4aa7e5ba9402 04:17:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:17:10 ---> Running in 8b0fbfd5ef36 04:17:11 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.51 requires 04:17:11 github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.34 (replaced by ./go-mod-bootstrap): reading go-mod-bootstrap/go.mod: open /device-virtual-go/go-mod-bootstrap/go.mod: no such file or directory 04:17:11 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script 04:17:11 Removing intermediate container 8b0fbfd5ef36 04:17:11 ---> 11aea282ad85 04:17:11 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 04:17:11 ---> Running in 4c325d9c402e [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 04:17:12 ---> job-cost.sh 04:17:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GpC8 04:17:12 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 04:17:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 04:17:14 (1/13) Installing libc-dev (0.7.2-r3) 04:17:15 (2/13) Installing libsodium (1.0.18-r0) 04:17:15 (3/13) Installing pkgconf (1.7.3-r0) 04:17:15 (4/13) Installing libsodium-dev (1.0.18-r0) 04:17:15 (5/13) Installing openssh-keygen (8.4_p1-r3) 04:17:15 (6/13) Installing libedit (20191231.3.1-r1) 04:17:15 (7/13) Installing openssh-client (8.4_p1-r3) 04:17:16 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 04:17:16 (9/13) Installing openssh-server-common (8.4_p1-r3) 04:17:16 (10/13) Installing openssh-server (8.4_p1-r3) 04:17:16 (11/13) Installing openssh (8.4_p1-r3) 04:17:17 (12/13) Installing libzmq (4.3.3-r1) 04:17:17 (13/13) Installing zeromq-dev (4.3.3-r1) 04:17:17 Executing busybox-1.32.1-r6.trigger 04:17:17 OK: 156 MiB in 53 packages 04:17:18 Removing intermediate container 4c325d9c402e 04:17:18 ---> 8e5b3258a71f 04:17:18 Step 6/8 : WORKDIR /device-virtual-go 04:17:18 ---> Running in 62e1ffbf59bd 04:17:18 Removing intermediate container 62e1ffbf59bd 04:17:18 ---> 0d8947284b0b 04:17:18 Step 7/8 : COPY . . 04:17:19 ---> 53b677355963 04:17:19 Step 8/8 : RUN go mod download 04:17:19 ---> Running in db8991fd3151 04:17:22 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.51 requires 04:17:22 github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.34 (replaced by ./go-mod-bootstrap): reading go-mod-bootstrap/go.mod: open /device-virtual-go/go-mod-bootstrap/go.mod: no such file or directory 04:17:23 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 04:17:23 ---> job-cost.sh 04:17:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wG7J 04:17:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:17:50 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:18:05 lf-activate-venv(): INFO: Adding /tmp/venv-wG7J/bin to PATH 04:18:05 INFO: No Stack... 04:18:05 INFO: Retrieving Pricing Info for: v1-standard-2 04:18:05 INFO: Archiving Costs [Pipeline] sh 04:18:05 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 04:18:05 + cut -d, -f6 [Pipeline] lock 04:18:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] 04:18:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] did not exist. Created. 04:18:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:18:06 + echo total: 0.029999999329447746 [Pipeline] stash 04:18:06 Stashed 1 file(s) [Pipeline] } 04:18:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:18:06 Failed in branch amd64 04:19:12 lf-activate-venv(): INFO: Adding /tmp/venv-GpC8/bin to PATH 04:19:12 INFO: No Stack... 04:19:12 INFO: Retrieving Pricing Info for: lf-standard-4 04:19:12 INFO: Archiving Costs [Pipeline] sh 04:19:13 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 04:19:13 + cut -d, -f6 [Pipeline] lock 04:19:13 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] 04:19:13 Resource [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] did not exist. Created. 04:19:13 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:19:13 /w/workspace/device-virtual-go/2@tmp/durable-d6b87194/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-d6b87194/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:19:14 + echo total: 0.20999999344348907 [Pipeline] stash 04:19:14 Warning: overwriting stash ‘stack-cost’ 04:19:15 Stashed 1 file(s) [Pipeline] } 04:19:15 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-199-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:19:15 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 04:19:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:19:16 ---> package-listing.sh 04:19:16 ++ facter osfamily 04:19:16 ++ tr '[:upper:]' '[:lower:]' 04:19:16 + OS_FAMILY=redhat 04:19:16 + workspace=/w/workspace/foundry_device-virtual-go_PR-199 04:19:16 + START_PACKAGES=/tmp/packages_start.txt 04:19:16 + END_PACKAGES=/tmp/packages_end.txt 04:19:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:19:16 + PACKAGES=/tmp/packages_start.txt 04:19:16 + '[' /w/workspace/foundry_device-virtual-go_PR-199 ']' 04:19:16 + PACKAGES=/tmp/packages_end.txt 04:19:16 + case "${OS_FAMILY}" in 04:19:16 + rpm -qa 04:19:16 + sort 04:19:22 + '[' -f /tmp/packages_start.txt ']' 04:19:22 + '[' -f /tmp/packages_end.txt ']' 04:19:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:19:22 + '[' /w/workspace/foundry_device-virtual-go_PR-199 ']' 04:19:22 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-199/archives/ 04:19:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-199/archives/ [Pipeline] echo 04:19:22 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-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:19:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:19:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:19:22 04:19:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:19:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:19:23 alpine: Pulling from edgex-lftools-log-publisher 04:19:23 df20fa9351a1: Pulling fs layer 04:19:23 36b3adc4ff6f: Pulling fs layer 04:19:23 8ad3a11d3b57: Pulling fs layer 04:19:23 46f8f816bc3b: Pulling fs layer 04:19:23 93b61091891f: Pulling fs layer 04:19:23 93b9cdb0e59b: Pulling fs layer 04:19:23 5e14af77c1be: Pulling fs layer 04:19:23 01666e4c0597: Pulling fs layer 04:19:23 aa168da1d23b: Pulling fs layer 04:19:23 46f8f816bc3b: Waiting 04:19:23 5e14af77c1be: Waiting 04:19:23 93b9cdb0e59b: Waiting 04:19:23 93b61091891f: Waiting 04:19:23 36b3adc4ff6f: Verifying Checksum 04:19:23 36b3adc4ff6f: Download complete 04:19:23 46f8f816bc3b: Verifying Checksum 04:19:23 46f8f816bc3b: Download complete 04:19:23 df20fa9351a1: Download complete 04:19:23 93b9cdb0e59b: Verifying Checksum 04:19:23 93b9cdb0e59b: Download complete 04:19:23 5e14af77c1be: Verifying Checksum 04:19:23 5e14af77c1be: Download complete 04:19:23 93b61091891f: Verifying Checksum 04:19:23 93b61091891f: Download complete 04:19:23 01666e4c0597: Verifying Checksum 04:19:23 01666e4c0597: Download complete 04:19:23 8ad3a11d3b57: Verifying Checksum 04:19:23 8ad3a11d3b57: Download complete 04:19:23 df20fa9351a1: Pull complete 04:19:24 36b3adc4ff6f: Pull complete 04:19:24 8ad3a11d3b57: Pull complete 04:19:24 46f8f816bc3b: Pull complete 04:19:25 93b61091891f: Pull complete 04:19:25 93b9cdb0e59b: Pull complete 04:19:26 aa168da1d23b: Verifying Checksum 04:19:26 aa168da1d23b: Download complete 04:19:26 5e14af77c1be: Pull complete 04:19:26 01666e4c0597: Pull complete 04:19:34 aa168da1d23b: Pull complete 04:19:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:19:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:19:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:19:35 prd-centos7-docker-4c-2g-3930 does not seem to be running inside a container 04:19:35 $ 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-199/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-199 -v /w/workspace/foundry_device-virtual-go_PR-199:/w/workspace/foundry_device-virtual-go_PR-199:rw,z -v /w/workspace/foundry_device-virtual-go_PR-199@tmp:/w/workspace/foundry_device-virtual-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:19:38 $ docker top e373d7ef5084e27bffaad784818f58e2ff3f89c18471c76e358ec73d85c3c8a8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:38 + touch /tmp/pre-build-complete [Pipeline] sh 04:19:39 + mkdir -p /var/log/sa [Pipeline] sh 04:19:39 + ls /var/log/sa-host 04:19:39 + sadf -c /var/log/sa-host/sa10 04:19:39 file_magic: OK 04:19:39 HZ: Using current value: 100 04:19:39 file_header: OK 04:19:39 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 04:19:39 Statistics: 04:19:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:19:39 File successfully converted to sysstat format version 12.2.1 04:19:39 + sadf -c /var/log/sa-host/sa23 04:19:39 file_magic: OK 04:19:39 HZ: Using current value: 100 04:19:39 file_header: OK 04:19:39 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 04:19:39 Statistics: 04:19:39 Hnuu...uuuununununu... 04:19:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:40 provisioning config files... 04:19:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-199@tmp/config9216374263562071891tmp [Pipeline] { [Pipeline] echo 04:19:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:19:40 ---> create-netrc.sh [Pipeline] } 04:19:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:19:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:19:40 ---> python-tools-install.sh [Pipeline] echo 04:19:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:19:41 ---> sudo-logs.sh 04:19:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:19:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:19:41 ---> job-cost.sh 04:19:41 lf-activate-venv: SKIPPING 04:19:41 DEBUG: total: 0.20999999344348907 04:19:41 INFO: Retrieving Stack Cost... 04:19:42 INFO: Retrieving Pricing Info for: v1-standard-2 04:19:42 INFO: Archiving Costs [Pipeline] echo 04:19:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:19:43 ---> logs-deploy.sh 04:19:43 lf-activate-venv: SKIPPING 04:19:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-199/2 04:19:43 INFO: archiving workspace using pattern(s): 04:19:45 Archives upload complete. 04:19:45 INFO: archiving logs to Nexus