Pull request #182 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 6ead4b4314fe4c754254279faf995032dd66a7c5+0ad834929aa8e9ec52e16888807ba544aec55768 (d92e793e1f944f7230259208eee2d8a3efc7f505) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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-33204 in /w/workspace/foundry_device-virtual-go_PR-182 [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-182 # 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/182/head:refs/remotes/origin/PR-182 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit 6ead4b4314fe4c754254279faf995032dd66a7c5 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 6ead4b4314fe4c754254279faf995032dd66a7c5 Checking out Revision 6ead4b4314fe4c754254279faf995032dd66a7c5 (PR-182) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 Commit message: "feat: Add Registry/Config Access token capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:34 ========================================================= 22:41:34 EdgeX Global Pipelines Version Info 22:41:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:38 ------------------- 22:41:38 stable info: 22:41:38 ------------------- 22:41:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:38 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 22:41:38 Message: update stable to v1.0.186 22:41:39 ------------------- 22:41:39 experimental info: 22:41:39 ------------------- 22:41:39 Commited By: **** collab-it+edgex@linuxfoundation.org 22:41:39 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 22:41:39 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:41:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:41:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:41:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:41:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:41:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:41:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:41:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo 22:41:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo 22:41:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo 22:41:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ead4b4314fe4c754254279faf995032dd66a7c5 [Pipeline] echo 22:41:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ead4b4 [Pipeline] echo 22:41:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:41:43 provisioning config files... 22:41:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-182@tmp/config4670854847442322353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:44 ---> docker-login.sh 22:41:44 nexus3.edgexfoundry.org:10001 22:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:45 Configure a credential helper to remove this warning. See 22:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:45 22:41:45 Login Succeeded 22:41:45 nexus3.edgexfoundry.org:10002 22:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:45 Configure a credential helper to remove this warning. See 22:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:45 22:41:45 Login Succeeded 22:41:45 nexus3.edgexfoundry.org:10003 22:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:47 Configure a credential helper to remove this warning. See 22:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:47 22:41:47 Login Succeeded 22:41:47 nexus3.edgexfoundry.org:10004 22:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:47 Configure a credential helper to remove this warning. See 22:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:47 22:41:47 Login Succeeded 22:41:47 docker.io 22:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:48 Configure a credential helper to remove this warning. See 22:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:48 22:41:48 Login Succeeded 22:41:48 ---> docker-login.sh ends [Pipeline] } 22:41:48 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 22:41:49 + git log --format=format:%s -1 6ead4b4314fe4c754254279faf995032dd66a7c5 [Pipeline] echo 22:41:49 GIT_COMMIT: 6ead4b4314fe4c754254279faf995032dd66a7c5, Commit Message: feat: Add Registry/Config Access token capability [Pipeline] echo 22:41:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:41:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:50 22:41:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:41:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:51 latest: Pulling from edgex-devops/git-semver 22:41:51 31603596830f: Pulling fs layer 22:41:51 2a8b12db71e7: Pulling fs layer 22:41:51 6ca5941a6612: Pulling fs layer 22:41:51 ecc8261a40a4: Pulling fs layer 22:41:51 ecc8261a40a4: Waiting 22:41:51 2a8b12db71e7: Verifying Checksum 22:41:51 2a8b12db71e7: Download complete 22:41:52 31603596830f: Verifying Checksum 22:41:52 31603596830f: Download complete 22:41:52 ecc8261a40a4: Verifying Checksum 22:41:52 ecc8261a40a4: Download complete 22:41:52 6ca5941a6612: Verifying Checksum 22:41:52 6ca5941a6612: Download complete 22:41:53 31603596830f: Pull complete 22:41:53 2a8b12db71e7: Pull complete 22:41:56 6ca5941a6612: Pull complete 22:41:57 ecc8261a40a4: Pull complete 22:41:57 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:41:57 prd-centos7-docker-4c-2g-33204 does not seem to be running inside a container 22:41:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-182 -v /w/workspace/foundry_device-virtual-go_PR-182:/w/workspace/foundry_device-virtual-go_PR-182:rw,z -v /w/workspace/foundry_device-virtual-go_PR-182@tmp:/w/workspace/foundry_device-virtual-go_PR-182@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:42:00 $ docker top f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:00 [ssh-agent] Looking for ssh-agent implementation... 22:42:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:01 $ docker exec f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 ssh-agent 22:42:02 SSH_AUTH_SOCK=/tmp/ssh-K4QflOvGeC04/agent.11 22:42:02 SSH_AGENT_PID=16 22:42:02 Running ssh-add (command line suppressed) 22:42:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-182@tmp/private_key_4420454338996288593.key (/w/workspace/foundry_device-virtual-go_PR-182@tmp/private_key_4420454338996288593.key) 22:42:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:03 + git tag --points-at HEAD [Pipeline] } 22:42:04 $ docker exec --env ******** --env ******** f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 ssh-agent -k 22:42:04 unset SSH_AUTH_SOCK; 22:42:04 unset SSH_AGENT_PID; 22:42:04 echo Agent pid 16 killed; 22:42:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:05 [ssh-agent] Looking for ssh-agent implementation... 22:42:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:06 $ docker exec f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 ssh-agent 22:42:06 SSH_AUTH_SOCK=/tmp/ssh-TD0pxCWmtLzv/agent.44 22:42:06 SSH_AGENT_PID=49 22:42:06 Running ssh-add (command line suppressed) 22:42:07 Identity added: /w/workspace/foundry_device-virtual-go_PR-182@tmp/private_key_239278399397212656.key (/w/workspace/foundry_device-virtual-go_PR-182@tmp/private_key_239278399397212656.key) 22:42:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:08 + git semver init 22:42:08 # -> Open(): unable to determine branch for HEAD 22:42:08 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-182/.git 22:42:08 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-182 22:42:08 # $SEMVER_REMOTE_NAME = origin 22:42:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:42:08 # $SEMVER_USER_NAME = edgex-jenkins 22:42:08 # $SEMVER_BRANCH = PR-182 22:42:08 # $SEMVER_TEMP = /tmp/semver-750796498 22:42:08 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 22:42:09 # '/tmp/semver-750796498' -> '/w/workspace/foundry_device-virtual-go_PR-182/.semver' 22:42:09 # -> Force: false 22:42:09 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-182/.semver [Pipeline] } 22:42:09 $ docker exec --env ******** --env ******** f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 ssh-agent -k 22:42:09 unset SSH_AUTH_SOCK; 22:42:09 unset SSH_AGENT_PID; 22:42:09 echo Agent pid 49 killed; 22:42:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:11 + git semver [Pipeline] } 22:42:11 $ docker stop --time=1 f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 22:42:12 $ docker rm -f f5494616413a361483244a447090c0ea495e1b2b0402d356b59501af4a722ad5 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:42:15 Stashed 1 file(s) [Pipeline] echo 22:42:15 [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 22:42:15 Running on prd-centos7-docker-4c-2g-33208 in /w/workspace/foundry_device-virtual-go_PR-182 [Pipeline] { [Pipeline] ws 22:42:15 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 22:42:18 using credential edgex-jenkins-ssh 22:42:18 Cloning the remote Git repository 22:42:18 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:42:18 > git init /w/workspace/device-virtual-go/2 # timeout=10 22:42:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:42:18 > git --version # timeout=10 22:42:18 > git --version # 'git version 2.24.3' 22:42:18 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:19 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:42:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:19 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:42:19 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:42:19 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:42:20 Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit 6ead4b4314fe4c754254279faf995032dd66a7c5 22:42:20 Merge succeeded, producing 6ead4b4314fe4c754254279faf995032dd66a7c5 22:42:20 Checking out Revision 6ead4b4314fe4c754254279faf995032dd66a7c5 (PR-182) 22:42:20 > git config core.sparsecheckout # timeout=10 22:42:20 > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 22:42:20 > git remote # timeout=10 22:42:20 > git config --get remote.origin.url # timeout=10 22:42:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:20 > git merge 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 22:42:20 > git rev-parse HEAD^{commit} # timeout=10 22:42:20 > git config core.sparsecheckout # timeout=10 22:42:20 > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 22:42:24 Commit message: "feat: Add Registry/Config Access token capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:25 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:42:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:42:26 + sudo service docker restart 22:42:26 + true 22:42:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:42:27 provisioning config files... 22:42:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config1414586647620054393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:28 ---> docker-login.sh 22:42:28 nexus3.edgexfoundry.org:10001 22:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:28 Configure a credential helper to remove this warning. See 22:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:28 22:42:28 Login Succeeded 22:42:28 nexus3.edgexfoundry.org:10002 22:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:28 Configure a credential helper to remove this warning. See 22:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:28 22:42:28 Login Succeeded 22:42:28 nexus3.edgexfoundry.org:10003 22:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:28 Configure a credential helper to remove this warning. See 22:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:28 22:42:28 Login Succeeded 22:42:28 nexus3.edgexfoundry.org:10004 22:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:29 Configure a credential helper to remove this warning. See 22:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:29 22:42:29 Login Succeeded 22:42:29 docker.io 22:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:29 Configure a credential helper to remove this warning. See 22:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:29 22:42:29 Login Succeeded 22:42:29 ---> docker-login.sh ends [Pipeline] } 22:42:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:29 ========================================================= 22:42:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:42:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:42:30 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 22:42:30 Sending build context to Docker daemon 26.3MB 22:42:30 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:42:30 Step 2/8 : FROM ${BASE} 22:42:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:42:30 188c0c94c7c5: Pulling fs layer 22:42:30 0ef7d3d256c8: Pulling fs layer 22:42:30 de9db76c5a1d: Pulling fs layer 22:42:30 bca2f99d35d6: Pulling fs layer 22:42:30 93359f2a8cfa: Pulling fs layer 22:42:30 7c6f9722023f: Pulling fs layer 22:42:30 a35cf1a2eb13: Pulling fs layer 22:42:30 93359f2a8cfa: Waiting 22:42:30 7c6f9722023f: Waiting 22:42:30 a35cf1a2eb13: Waiting 22:42:30 bca2f99d35d6: Waiting 22:42:30 de9db76c5a1d: Download complete 22:42:30 0ef7d3d256c8: Download complete 22:42:30 93359f2a8cfa: Verifying Checksum 22:42:30 93359f2a8cfa: Download complete 22:42:30 188c0c94c7c5: Verifying Checksum 22:42:30 188c0c94c7c5: Download complete 22:42:30 7c6f9722023f: Download complete 22:42:30 Still waiting to schedule task 22:42:30 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:42:30 188c0c94c7c5: Pull complete 22:42:30 0ef7d3d256c8: Pull complete 22:42:31 de9db76c5a1d: Pull complete 22:42:32 a35cf1a2eb13: Verifying Checksum 22:42:32 a35cf1a2eb13: Download complete 22:42:33 bca2f99d35d6: Verifying Checksum 22:42:33 bca2f99d35d6: Download complete 22:42:38 bca2f99d35d6: Pull complete 22:42:38 93359f2a8cfa: Pull complete 22:42:38 7c6f9722023f: Pull complete 22:42:46 a35cf1a2eb13: Pull complete 22:42:46 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:42:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:42:46 ---> a62c8e92a672 22:42:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 22:42:46 ---> Running in 35150de61722 22:42:46 Removing intermediate container 35150de61722 22:42:46 ---> 446e2f6c269a 22:42:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:46 ---> Running in 70b6bee7a74f 22:42:47 Removing intermediate container 70b6bee7a74f 22:42:47 ---> 90e28d95fb4e 22:42:47 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 22:42:47 ---> Running in e3633b9ba800 22:42:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:42:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:42:49 (1/13) Installing libc-dev (0.7.2-r3) 22:42:49 (2/13) Installing libsodium (1.0.18-r0) 22:42:49 (3/13) Installing pkgconf (1.7.2-r0) 22:42:49 (4/13) Installing libsodium-dev (1.0.18-r0) 22:42:49 (5/13) Installing openssh-keygen (8.3_p1-r2) 22:42:50 (6/13) Installing libedit (20191231.3.1-r0) 22:42:50 (7/13) Installing openssh-client (8.3_p1-r2) 22:42:50 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 22:42:50 (9/13) Installing openssh-server-common (8.3_p1-r2) 22:42:50 (10/13) Installing openssh-server (8.3_p1-r2) 22:42:50 (11/13) Installing openssh (8.3_p1-r2) 22:42:51 (12/13) Installing libzmq (4.3.3-r0) 22:42:51 (13/13) Installing zeromq-dev (4.3.3-r0) 22:42:51 Executing busybox-1.31.1-r19.trigger 22:42:51 OK: 173 MiB in 52 packages 22:42:51 Removing intermediate container e3633b9ba800 22:42:51 ---> 84d4f357ce90 22:42:51 Step 6/8 : WORKDIR /device-virtual-go 22:42:51 ---> Running in 9a8776c82e74 22:42:51 Removing intermediate container 9a8776c82e74 22:42:51 ---> 10981c4fbc9d 22:42:51 Step 7/8 : COPY . . 22:42:53 ---> d89a3a5b1071 22:42:53 Step 8/8 : RUN go mod download 22:42:53 ---> Running in 691080a8a256 22:42:55 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.38: parsing /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory 22:42:55 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 22:42:56 ---> job-cost.sh 22:42:56 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4vSA 22:43:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:43:38 lf-activate-venv(): INFO: Adding /tmp/venv-4vSA/bin to PATH 22:43:38 INFO: No Stack... 22:43:38 INFO: Retrieving Pricing Info for: v1-standard-2 22:43:38 INFO: Archiving Costs [Pipeline] sh 22:43:38 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 22:43:38 + cut -d, -f6 [Pipeline] lock 22:43:38 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] 22:43:38 Resource [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] did not exist. Created. 22:43:38 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:43:39 + echo total: 0.029999999329447746 [Pipeline] stash 22:43:39 Stashed 1 file(s) [Pipeline] } 22:43:39 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:43:40 Failed in branch amd64 22:45:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33209 in /w/workspace/foundry_device-virtual-go_PR-182 [Pipeline] { [Pipeline] ws 22:45:27 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 22:45:32 using credential edgex-jenkins-ssh 22:45:32 Cloning the remote Git repository 22:45:32 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:45:32 > git init /w/workspace/device-virtual-go/2 # timeout=10 22:45:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:45:33 > git --version # timeout=10 22:45:33 > git --version # 'git version 2.17.1' 22:45:33 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:45:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:45:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:45:34 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:36 Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit 6ead4b4314fe4c754254279faf995032dd66a7c5 22:45:37 Merge succeeded, producing 6ead4b4314fe4c754254279faf995032dd66a7c5 22:45:37 Checking out Revision 6ead4b4314fe4c754254279faf995032dd66a7c5 (PR-182) 22:45:36 > git config core.sparsecheckout # timeout=10 22:45:36 > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 22:45:37 > git remote # timeout=10 22:45:37 > git config --get remote.origin.url # timeout=10 22:45:37 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:37 > git merge 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 22:45:37 > git rev-parse HEAD^{commit} # timeout=10 22:45:37 > git config core.sparsecheckout # timeout=10 22:45:37 > git checkout -f 6ead4b4314fe4c754254279faf995032dd66a7c5 # timeout=10 22:45:42 Commit message: "feat: Add Registry/Config Access token capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:45:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:45:44 + true 22:45:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:45:47 provisioning config files... 22:45:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4878071426589457401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:47 ---> docker-login.sh 22:45:47 nexus3.edgexfoundry.org:10001 22:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:48 Configure a credential helper to remove this warning. See 22:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:48 22:45:48 Login Succeeded 22:45:48 nexus3.edgexfoundry.org:10002 22:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:49 Configure a credential helper to remove this warning. See 22:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:49 22:45:49 Login Succeeded 22:45:49 nexus3.edgexfoundry.org:10003 22:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:49 Configure a credential helper to remove this warning. See 22:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:49 22:45:49 Login Succeeded 22:45:49 nexus3.edgexfoundry.org:10004 22:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:50 Configure a credential helper to remove this warning. See 22:45:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:50 22:45:50 Login Succeeded 22:45:50 docker.io 22:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:51 Configure a credential helper to remove this warning. See 22:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:51 22:45:51 Login Succeeded 22:45:51 ---> docker-login.sh ends [Pipeline] } 22:45:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:51 ========================================================= 22:45:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:45:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:45:52 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 22:45:52 Sending build context to Docker daemon 26.3MB 22:45:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:45:52 Step 2/8 : FROM ${BASE} 22:45:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:45:52 5f621e34cdf4: Pulling fs layer 22:45:52 a4357932f1b6: Pulling fs layer 22:45:52 18c013af1878: Pulling fs layer 22:45:52 00ac8860ef70: Pulling fs layer 22:45:52 63d7cb157983: Pulling fs layer 22:45:52 b116817d02f9: Pulling fs layer 22:45:52 745a02a5169b: Pulling fs layer 22:45:52 63d7cb157983: Waiting 22:45:52 b116817d02f9: Waiting 22:45:52 745a02a5169b: Waiting 22:45:52 00ac8860ef70: Waiting 22:45:52 18c013af1878: Verifying Checksum 22:45:52 18c013af1878: Download complete 22:45:52 a4357932f1b6: Verifying Checksum 22:45:52 a4357932f1b6: Download complete 22:45:52 63d7cb157983: Verifying Checksum 22:45:52 63d7cb157983: Download complete 22:45:52 b116817d02f9: Verifying Checksum 22:45:52 b116817d02f9: Download complete 22:45:53 5f621e34cdf4: Verifying Checksum 22:45:53 5f621e34cdf4: Download complete 22:45:54 5f621e34cdf4: Pull complete 22:45:54 a4357932f1b6: Pull complete 22:45:55 18c013af1878: Pull complete 22:45:55 745a02a5169b: Download complete 22:45:56 00ac8860ef70: Verifying Checksum 22:45:56 00ac8860ef70: Download complete 22:46:06 00ac8860ef70: Pull complete 22:46:07 63d7cb157983: Pull complete 22:46:07 b116817d02f9: Pull complete 22:46:11 745a02a5169b: Pull complete 22:46:11 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:46:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:46:11 ---> b7e6874047d6 22:46:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 22:46:14 ---> Running in b1e3abdac67c 22:46:14 Removing intermediate container b1e3abdac67c 22:46:14 ---> c3a3da82a832 22:46:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:14 ---> Running in 2e2fde4fc338 22:46:17 Removing intermediate container 2e2fde4fc338 22:46:17 ---> f1cc039c3aea 22:46:17 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 22:46:17 ---> Running in 4dc955f0cff0 22:46:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:46:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:46:19 (1/13) Installing libc-dev (0.7.2-r3) 22:46:19 (2/13) Installing libsodium (1.0.18-r0) 22:46:19 (3/13) Installing pkgconf (1.7.2-r0) 22:46:19 (4/13) Installing libsodium-dev (1.0.18-r0) 22:46:19 (5/13) Installing openssh-keygen (8.3_p1-r2) 22:46:20 (6/13) Installing libedit (20191231.3.1-r0) 22:46:20 (7/13) Installing openssh-client (8.3_p1-r2) 22:46:21 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 22:46:21 (9/13) Installing openssh-server-common (8.3_p1-r2) 22:46:21 (10/13) Installing openssh-server (8.3_p1-r2) 22:46:21 (11/13) Installing openssh (8.3_p1-r2) 22:46:21 (12/13) Installing libzmq (4.3.3-r0) 22:46:21 (13/13) Installing zeromq-dev (4.3.3-r0) 22:46:21 Executing busybox-1.31.1-r19.trigger 22:46:22 OK: 149 MiB in 52 packages 22:46:23 Removing intermediate container 4dc955f0cff0 22:46:23 ---> 366346e684b3 22:46:23 Step 6/8 : WORKDIR /device-virtual-go 22:46:23 ---> Running in 5d746ffd8117 22:46:24 Removing intermediate container 5d746ffd8117 22:46:24 ---> 26f15622b84a 22:46:24 Step 7/8 : COPY . . 22:46:26 ---> 773c5c447ffe 22:46:26 Step 8/8 : RUN go mod download 22:46:26 ---> Running in 820d88a756b5 22:46:27 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.38: parsing /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory 22:46:28 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 22:46:29 ---> job-cost.sh 22:46:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-i1BM 22:47:08 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:48:30 lf-activate-venv(): INFO: Adding /tmp/venv-i1BM/bin to PATH 22:48:30 INFO: No Stack... 22:48:30 INFO: Retrieving Pricing Info for: lf-standard-4 22:48:30 INFO: Archiving Costs [Pipeline] sh 22:48:30 + cut -d, -f6 22:48:30 + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock 22:48:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] 22:48:30 Resource [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] did not exist. Created. 22:48:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:30 /w/workspace/device-virtual-go/2@tmp/durable-7e8f81af/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-7e8f81af/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:48:31 + echo total: 0.20999999344348907 [Pipeline] stash 22:48:31 Warning: overwriting stash ‘stack-cost’ 22:48:32 Stashed 1 file(s) [Pipeline] } 22:48:32 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-182-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:48:32 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 22:48:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:48:36 ---> package-listing.sh 22:48:36 ++ facter osfamily 22:48:36 ++ tr '[:upper:]' '[:lower:]' 22:48:36 + OS_FAMILY=redhat 22:48:36 + workspace=/w/workspace/foundry_device-virtual-go_PR-182 22:48:36 + START_PACKAGES=/tmp/packages_start.txt 22:48:36 + END_PACKAGES=/tmp/packages_end.txt 22:48:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:48:36 + PACKAGES=/tmp/packages_start.txt 22:48:36 + '[' /w/workspace/foundry_device-virtual-go_PR-182 ']' 22:48:36 + PACKAGES=/tmp/packages_end.txt 22:48:36 + case "${OS_FAMILY}" in 22:48:36 + rpm -qa 22:48:36 + sort 22:48:45 + '[' -f /tmp/packages_start.txt ']' 22:48:45 + '[' -f /tmp/packages_end.txt ']' 22:48:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:48:45 + '[' /w/workspace/foundry_device-virtual-go_PR-182 ']' 22:48:45 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-182/archives/ 22:48:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-182/archives/ [Pipeline] echo 22:48:45 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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:48:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:48:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:48:46 22:48:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:48:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:48:47 alpine: Pulling from edgex-lftools-log-publisher 22:48:47 df20fa9351a1: Pulling fs layer 22:48:47 36b3adc4ff6f: Pulling fs layer 22:48:47 8ad3a11d3b57: Pulling fs layer 22:48:47 46f8f816bc3b: Pulling fs layer 22:48:47 93b61091891f: Pulling fs layer 22:48:47 93b9cdb0e59b: Pulling fs layer 22:48:47 5e14af77c1be: Pulling fs layer 22:48:47 01666e4c0597: Pulling fs layer 22:48:47 aa168da1d23b: Pulling fs layer 22:48:47 93b9cdb0e59b: Waiting 22:48:47 5e14af77c1be: Waiting 22:48:47 46f8f816bc3b: Waiting 22:48:47 01666e4c0597: Waiting 22:48:47 aa168da1d23b: Waiting 22:48:47 93b61091891f: Waiting 22:48:47 36b3adc4ff6f: Verifying Checksum 22:48:47 36b3adc4ff6f: Download complete 22:48:47 46f8f816bc3b: Verifying Checksum 22:48:47 46f8f816bc3b: Download complete 22:48:47 df20fa9351a1: Verifying Checksum 22:48:48 93b9cdb0e59b: Verifying Checksum 22:48:48 93b9cdb0e59b: Download complete 22:48:48 5e14af77c1be: Verifying Checksum 22:48:48 5e14af77c1be: Download complete 22:48:48 01666e4c0597: Verifying Checksum 22:48:48 01666e4c0597: Download complete 22:48:49 93b61091891f: Verifying Checksum 22:48:49 93b61091891f: Download complete 22:48:49 df20fa9351a1: Pull complete 22:48:50 8ad3a11d3b57: Verifying Checksum 22:48:50 8ad3a11d3b57: Download complete 22:48:50 36b3adc4ff6f: Pull complete 22:48:53 8ad3a11d3b57: Pull complete 22:48:53 46f8f816bc3b: Pull complete 22:48:55 93b61091891f: Pull complete 22:48:56 93b9cdb0e59b: Pull complete 22:48:56 5e14af77c1be: Pull complete 22:48:57 01666e4c0597: Pull complete 22:49:00 aa168da1d23b: Verifying Checksum 22:49:00 aa168da1d23b: Download complete 22:49:23 aa168da1d23b: Pull complete 22:49:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:49:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:49:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:49:24 prd-centos7-docker-4c-2g-33204 does not seem to be running inside a container 22:49:24 $ 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-182/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-182 -v /w/workspace/foundry_device-virtual-go_PR-182:/w/workspace/foundry_device-virtual-go_PR-182:rw,z -v /w/workspace/foundry_device-virtual-go_PR-182@tmp:/w/workspace/foundry_device-virtual-go_PR-182@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:49:27 $ docker top d016603ef5962604a620814d47ef97a5536609901917cea37fe730c941bdcf33 -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:29 + touch /tmp/pre-build-complete [Pipeline] sh 22:49:29 + mkdir -p /var/log/sa [Pipeline] sh 22:49:30 + ls /var/log/sa-host 22:49:30 + sadf -c /var/log/sa-host/sa07 22:49:30 file_magic: OK 22:49:30 HZ: Using current value: 100 22:49:30 file_header: OK 22:49:30 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 22:49:30 Statistics: 22:49:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:49:30 File successfully converted to sysstat format version 12.2.1 22:49:30 + sadf -c /var/log/sa-host/sa23 22:49:30 file_magic: OK 22:49:30 HZ: Using current value: 100 22:49:30 file_header: OK 22:49:30 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 22:49:30 Statistics: 22:49:30 Hnuu...uuuununununu... 22:49:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:49:31 provisioning config files... 22:49:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-182@tmp/config391960055349497654tmp [Pipeline] { [Pipeline] echo 22:49:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:49:32 ---> create-netrc.sh [Pipeline] } 22:49:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:49:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:49:34 ---> python-tools-install.sh [Pipeline] echo 22:49:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:49:35 ---> sudo-logs.sh 22:49:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:49:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:49:36 ---> job-cost.sh 22:49:36 lf-activate-venv: SKIPPING 22:49:36 DEBUG: total: 0.20999999344348907 22:49:36 INFO: Retrieving Stack Cost... 22:49:37 INFO: Retrieving Pricing Info for: v1-standard-2 22:49:37 INFO: Archiving Costs [Pipeline] echo 22:49:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:49:38 ---> logs-deploy.sh 22:49:38 lf-activate-venv: SKIPPING 22:49:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-182/2 22:49:38 INFO: archiving workspace using pattern(s): 22:49:43 Archives upload complete. 22:49:43 INFO: archiving logs to Nexus