Pull request #186 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b50517dad77fcabb5c48224eb37fc90ac780b97b+d49a116a4400a5a79f2ee23114687d65ed5c637c (2d7309c0e357fba607ad26504de319b741032dd3) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-186/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-186/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-695’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-696’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-699 in /w/workspace/foundry_device-virtual-go_PR-186 [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-186 # 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/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d49a116a4400a5a79f2ee23114687d65ed5c637c into PR head commit b50517dad77fcabb5c48224eb37fc90ac780b97b Merge succeeded, producing b50517dad77fcabb5c48224eb37fc90ac780b97b Checking out Revision b50517dad77fcabb5c48224eb37fc90ac780b97b (PR-186) > git config core.sparsecheckout # timeout=10 > git checkout -f b50517dad77fcabb5c48224eb37fc90ac780b97b # 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 d49a116a4400a5a79f2ee23114687d65ed5c637c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b50517dad77fcabb5c48224eb37fc90ac780b97b # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:52:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:52:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:52:42 ========================================================= 05:52:42 EdgeX Global Pipelines Version Info 05:52:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:52:46 ------------------- 05:52:46 stable info: 05:52:46 ------------------- 05:52:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:52:46 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:52:46 Message: update stable to v1.0.186 05:52:47 ------------------- 05:52:47 experimental info: 05:52:47 ------------------- 05:52:47 Commited By: **** collab-it+edgex@linuxfoundation.org 05:52:47 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 05:52:47 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:52:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:52:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:52:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:52:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:52:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:52:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:52:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:52:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:52:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:52:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:52:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b50517dad77fcabb5c48224eb37fc90ac780b97b [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b50517d [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:52:49 provisioning config files... 05:52:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-186@tmp/config4808904715052855559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:49 ---> docker-login.sh 05:52:49 nexus3.edgexfoundry.org:10001 05:52:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:50 Configure a credential helper to remove this warning. See 05:52:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:50 05:52:50 Login Succeeded 05:52:50 nexus3.edgexfoundry.org:10002 05:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:51 Configure a credential helper to remove this warning. See 05:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:51 05:52:51 Login Succeeded 05:52:51 nexus3.edgexfoundry.org:10003 05:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:51 Configure a credential helper to remove this warning. See 05:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:51 05:52:51 Login Succeeded 05:52:51 nexus3.edgexfoundry.org:10004 05:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:52 Configure a credential helper to remove this warning. See 05:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:52 05:52:52 Login Succeeded 05:52:52 docker.io 05:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:52 Configure a credential helper to remove this warning. See 05:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:52 05:52:52 Login Succeeded 05:52:52 ---> docker-login.sh ends [Pipeline] } 05:52:52 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 05:52:53 + git log --format=format:%s -1 b50517dad77fcabb5c48224eb37fc90ac780b97b [Pipeline] echo 05:52:53 GIT_COMMIT: b50517dad77fcabb5c48224eb37fc90ac780b97b, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:52:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:52:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:54 05:52:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:52:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:54 latest: Pulling from edgex-devops/git-semver 05:52:54 31603596830f: Pulling fs layer 05:52:54 2a8b12db71e7: Pulling fs layer 05:52:54 6ca5941a6612: Pulling fs layer 05:52:54 ecc8261a40a4: Pulling fs layer 05:52:54 ecc8261a40a4: Waiting 05:52:54 2a8b12db71e7: Verifying Checksum 05:52:54 2a8b12db71e7: Download complete 05:52:54 31603596830f: Download complete 05:52:55 ecc8261a40a4: Verifying Checksum 05:52:55 ecc8261a40a4: Download complete 05:52:55 6ca5941a6612: Verifying Checksum 05:52:55 6ca5941a6612: Download complete 05:52:55 31603596830f: Pull complete 05:52:56 2a8b12db71e7: Pull complete 05:52:57 6ca5941a6612: Pull complete 05:52:58 ecc8261a40a4: Pull complete 05:52:58 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:52:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:52:58 prd-centos7-docker-4c-2g-699 does not seem to be running inside a container 05:52:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-186 -v /w/workspace/foundry_device-virtual-go_PR-186:/w/workspace/foundry_device-virtual-go_PR-186:rw,z -v /w/workspace/foundry_device-virtual-go_PR-186@tmp:/w/workspace/foundry_device-virtual-go_PR-186@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:53:01 $ docker top ebd2ab0a30d2d7e73e176779860e9ca5e2d276ab776b0ece408122e61bc2cae2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:02 [ssh-agent] Looking for ssh-agent implementation... 05:53:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:02 $ docker exec ebd2ab0a30d2d7e73e176779860e9ca5e2d276ab776b0ece408122e61bc2cae2 ssh-agent 05:53:03 SSH_AUTH_SOCK=/tmp/ssh-x7OZxj3B8RDK/agent.12 05:53:03 SSH_AGENT_PID=17 05:53:03 Running ssh-add (command line suppressed) 05:53:04 Identity added: /w/workspace/foundry_device-virtual-go_PR-186@tmp/private_key_3805350767862195340.key (/w/workspace/foundry_device-virtual-go_PR-186@tmp/private_key_3805350767862195340.key) 05:53:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:05 + git tag --points-at HEAD [Pipeline] } 05:53:05 $ docker exec --env ******** --env ******** ebd2ab0a30d2d7e73e176779860e9ca5e2d276ab776b0ece408122e61bc2cae2 ssh-agent -k 05:53:06 unset SSH_AUTH_SOCK; 05:53:06 unset SSH_AGENT_PID; 05:53:06 echo Agent pid 17 killed; 05:53:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:53:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:06 [ssh-agent] Looking for ssh-agent implementation... 05:53:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:07 $ docker exec ebd2ab0a30d2d7e73e176779860e9ca5e2d276ab776b0ece408122e61bc2cae2 ssh-agent 05:53:07 SSH_AUTH_SOCK=/tmp/ssh-4E82IFOSUx0Y/agent.45 05:53:07 SSH_AGENT_PID=50 05:53:07 Running ssh-add (command line suppressed) 05:53:08 Identity added: /w/workspace/foundry_device-virtual-go_PR-186@tmp/private_key_5332724558347810542.key (/w/workspace/foundry_device-virtual-go_PR-186@tmp/private_key_5332724558347810542.key) 05:53:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:08 + git semver init 05:53:08 # -> Open(): unable to determine branch for HEAD 05:53:08 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-186/.git 05:53:08 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-186 05:53:08 # $SEMVER_REMOTE_NAME = origin 05:53:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:53:08 # $SEMVER_USER_NAME = edgex-jenkins 05:53:08 # $SEMVER_BRANCH = PR-186 05:53:08 # $SEMVER_TEMP = /tmp/semver-692337374 05:53:08 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 05:53:09 # '/tmp/semver-692337374' -> '/w/workspace/foundry_device-virtual-go_PR-186/.semver' 05:53:09 # -> Force: false 05:53:09 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-186/.semver [Pipeline] } 05:53:09 $ docker exec --env ******** --env ******** ebd2ab0a30d2d7e73e176779860e9ca5e2d276ab776b0ece408122e61bc2cae2 ssh-agent -k 05:53:10 unset SSH_AUTH_SOCK; 05:53:10 unset SSH_AGENT_PID; 05:53:10 echo Agent pid 50 killed; 05:53:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:11 + git semver [Pipeline] } 05:53:11 $ docker stop --time=1 ebd2ab0a30d2d7e73e176779860e9ca5e2d276ab776b0ece408122e61bc2cae2 05:53:13 $ docker rm -f ebd2ab0a30d2d7e73e176779860e9ca5e2d276ab776b0ece408122e61bc2cae2 [Pipeline] // withDockerContainer [Pipeline] sh 05:53:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:53:15 Stashed 1 file(s) [Pipeline] echo 05:53: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 05:53:30 Still waiting to schedule task 05:53:30 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-682’ is offline; ‘prd-centos7-docker-4c-2g-697’ is offline; ‘prd-centos7-docker-4c-2g-707’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-683’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-704’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-706’ doesn’t have label ‘centos7-docker-4c-2g’ 05:53:30 Still waiting to schedule task 05:53:30 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-682’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-697’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-707’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-683’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-704’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-706’ is offline 05:56:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-713 in /w/workspace/foundry_device-virtual-go_PR-186 [Pipeline] { [Pipeline] ws 05:56:00 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 05:56:05 using credential edgex-jenkins-ssh 05:56:05 Cloning the remote Git repository 05:56:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:56:06 > git init /w/workspace/device-virtual-go/1 # timeout=10 05:56:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:56:06 > git --version # timeout=10 05:56:06 > git --version # 'git version 2.17.1' 05:56:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:56:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:56:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:56:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:56:08 Merging remotes/origin/master commit d49a116a4400a5a79f2ee23114687d65ed5c637c into PR head commit b50517dad77fcabb5c48224eb37fc90ac780b97b 05:56:08 Merge succeeded, producing b50517dad77fcabb5c48224eb37fc90ac780b97b 05:56:08 Checking out Revision b50517dad77fcabb5c48224eb37fc90ac780b97b (PR-186) 05:56:08 > git config core.sparsecheckout # timeout=10 05:56:08 > git checkout -f b50517dad77fcabb5c48224eb37fc90ac780b97b # timeout=10 05:56:08 > git remote # timeout=10 05:56:08 > git config --get remote.origin.url # timeout=10 05:56:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:08 > git merge d49a116a4400a5a79f2ee23114687d65ed5c637c # timeout=10 05:56:08 > git rev-parse HEAD^{commit} # timeout=10 05:56:08 > git config core.sparsecheckout # timeout=10 05:56:09 > git checkout -f b50517dad77fcabb5c48224eb37fc90ac780b97b # timeout=10 05:56:13 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:56:13 > git --version # timeout=10 05:56:13 > git --version # 'git version 2.17.1' 05:56:13 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:56:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:56:15 + sudo service docker restart 05:56:15 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:56:17 provisioning config files... 05:56:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config470658226243631155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:18 ---> docker-login.sh 05:56:18 nexus3.edgexfoundry.org:10001 05:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:19 Configure a credential helper to remove this warning. See 05:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:19 05:56:19 Login Succeeded 05:56:19 nexus3.edgexfoundry.org:10002 05:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:19 Configure a credential helper to remove this warning. See 05:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:19 05:56:19 Login Succeeded 05:56:19 nexus3.edgexfoundry.org:10003 05:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:20 Configure a credential helper to remove this warning. See 05:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:20 05:56:20 Login Succeeded 05:56:20 nexus3.edgexfoundry.org:10004 05:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:20 Configure a credential helper to remove this warning. See 05:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:20 05:56:20 Login Succeeded 05:56:20 docker.io 05:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:21 Configure a credential helper to remove this warning. See 05:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:21 05:56:21 Login Succeeded 05:56:21 ---> docker-login.sh ends [Pipeline] } 05:56:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:21 ========================================================= 05:56:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:56:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:56:22 + 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 . 05:56:22 Sending build context to Docker daemon 518.1kB 05:56:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:56:22 Step 2/8 : FROM ${BASE} 05:56:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:56:22 5f621e34cdf4: Pulling fs layer 05:56:22 a4357932f1b6: Pulling fs layer 05:56:22 18c013af1878: Pulling fs layer 05:56:22 00ac8860ef70: Pulling fs layer 05:56:22 63d7cb157983: Pulling fs layer 05:56:22 b116817d02f9: Pulling fs layer 05:56:22 745a02a5169b: Pulling fs layer 05:56:22 63d7cb157983: Waiting 05:56:22 00ac8860ef70: Waiting 05:56:22 b116817d02f9: Waiting 05:56:22 745a02a5169b: Waiting 05:56:22 18c013af1878: Verifying Checksum 05:56:22 18c013af1878: Download complete 05:56:22 a4357932f1b6: Verifying Checksum 05:56:22 a4357932f1b6: Download complete 05:56:22 63d7cb157983: Verifying Checksum 05:56:22 63d7cb157983: Download complete 05:56:22 b116817d02f9: Download complete 05:56:22 5f621e34cdf4: Verifying Checksum 05:56:22 5f621e34cdf4: Download complete 05:56:23 5f621e34cdf4: Pull complete 05:56:24 a4357932f1b6: Pull complete 05:56:24 18c013af1878: Pull complete 05:56:24 745a02a5169b: Verifying Checksum 05:56:24 745a02a5169b: Download complete 05:56:25 00ac8860ef70: Verifying Checksum 05:56:25 00ac8860ef70: Download complete 05:56:36 00ac8860ef70: Pull complete 05:56:36 63d7cb157983: Pull complete 05:56:36 b116817d02f9: Pull complete 05:56:40 745a02a5169b: Pull complete 05:56:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:56:40 ---> b7e6874047d6 05:56:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:56:43 ---> Running in 8da37714ab16 05:56:43 Removing intermediate container 8da37714ab16 05:56:43 ---> d2a09594e37e 05:56:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:43 ---> Running in 2dd46610af80 05:56:45 Removing intermediate container 2dd46610af80 05:56:45 ---> 735e708f76d7 05:56:45 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 05:56:45 ---> Running in b08ba2317bb8 05:56:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:56:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:56:48 (1/13) Installing libc-dev (0.7.2-r3) 05:56:48 (2/13) Installing libsodium (1.0.18-r0) 05:56:48 (3/13) Installing pkgconf (1.7.2-r0) 05:56:48 (4/13) Installing libsodium-dev (1.0.18-r0) 05:56:48 (5/13) Installing openssh-keygen (8.3_p1-r2) 05:56:48 (6/13) Installing libedit (20191231.3.1-r0) 05:56:48 (7/13) Installing openssh-client (8.3_p1-r2) 05:56:49 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 05:56:49 (9/13) Installing openssh-server-common (8.3_p1-r2) 05:56:49 (10/13) Installing openssh-server (8.3_p1-r2) 05:56:49 (11/13) Installing openssh (8.3_p1-r2) 05:56:49 (12/13) Installing libzmq (4.3.3-r0) 05:56:49 (13/13) Installing zeromq-dev (4.3.3-r0) 05:56:50 Executing busybox-1.31.1-r19.trigger 05:56:50 OK: 149 MiB in 52 packages 05:56:51 Removing intermediate container b08ba2317bb8 05:56:51 ---> 6d866ecaef0a 05:56:51 Step 6/8 : WORKDIR /device-virtual-go 05:56:51 ---> Running in 5eaf5f0a890d 05:56:52 Removing intermediate container 5eaf5f0a890d 05:56:52 ---> 9ac59435cf95 05:56:52 Step 7/8 : COPY . . 05:56:53 ---> 0b294e8c9762 05:56:53 Step 8/8 : RUN go mod download 05:56:53 ---> Running in f422065744d1 05:57:20 Removing intermediate container f422065744d1 05:57:20 ---> 2e49a8ab71b4 05:57:20 Successfully built 2e49a8ab71b4 05:57:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:57:20 + docker inspect -f . ci-base-image-arm64 05:57:20 . [Pipeline] withDockerContainer 05:57:20 prd-ubuntu18.04-docker-arm64-4c-16g-713 does not seem to be running inside a container 05:57:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:57:22 $ docker top df3fabc17b66bb05f58a235eff3aad41116f2662888e93f2ad024a685625f1ef -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:23 + go version 05:57:23 go version go1.15.5 linux/arm64 [Pipeline] } 05:57:23 $ docker stop --time=1 df3fabc17b66bb05f58a235eff3aad41116f2662888e93f2ad024a685625f1ef 05:57:25 $ docker rm -f df3fabc17b66bb05f58a235eff3aad41116f2662888e93f2ad024a685625f1ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:57:26 + docker inspect -f . ci-base-image-arm64 05:57:26 . [Pipeline] withDockerContainer 05:57:26 prd-ubuntu18.04-docker-arm64-4c-16g-713 does not seem to be running inside a container 05:57:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:57:28 $ docker top 389b5c21ea14db8d28686508b3f5aa0f8b88be90a28a7262a7b911c65e4f317f -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:28 + make test 05:57:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:57:30 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:58:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:58:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.458s coverage: 63.8% of statements 05:58:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:58:37 gofmt -l . 05:58:37 [ "`gofmt -l .`" = "" ] 05:58:37 ./bin/test-attribution-txt.sh 05:58:37 An attribution for golang.org/x/text is missing from in Attribution.txt, please add 05:58:37 make: *** [Makefile:28: test] Error 1 [Pipeline] } 05:58:37 $ docker stop --time=1 389b5c21ea14db8d28686508b3f5aa0f8b88be90a28a7262a7b911c65e4f317f 05:58:39 $ docker rm -f 389b5c21ea14db8d28686508b3f5aa0f8b88be90a28a7262a7b911c65e4f317f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 05:58:41 ---> job-cost.sh 05:58:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GqJn 05:59:20 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:59:59 Running on prd-centos7-docker-4c-2g-714 in /w/workspace/foundry_device-virtual-go_PR-186 [Pipeline] { [Pipeline] ws 05:59:59 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:00:07 using credential edgex-jenkins-ssh 06:00:07 Cloning the remote Git repository 06:00:07 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:00:08 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:00:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:00:08 > git --version # timeout=10 06:00:08 > git --version # 'git version 2.24.3' 06:00:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:10 Merging remotes/origin/master commit d49a116a4400a5a79f2ee23114687d65ed5c637c into PR head commit b50517dad77fcabb5c48224eb37fc90ac780b97b 06:00:10 Merge succeeded, producing b50517dad77fcabb5c48224eb37fc90ac780b97b 06:00:10 Checking out Revision b50517dad77fcabb5c48224eb37fc90ac780b97b (PR-186) 06:00:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:00:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:00:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:00:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:00:10 > git config core.sparsecheckout # timeout=10 06:00:10 > git checkout -f b50517dad77fcabb5c48224eb37fc90ac780b97b # timeout=10 06:00:10 > git remote # timeout=10 06:00:10 > git config --get remote.origin.url # timeout=10 06:00:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:10 > git merge d49a116a4400a5a79f2ee23114687d65ed5c637c # timeout=10 06:00:10 > git rev-parse HEAD^{commit} # timeout=10 06:00:10 > git config core.sparsecheckout # timeout=10 06:00:10 > git checkout -f b50517dad77fcabb5c48224eb37fc90ac780b97b # timeout=10 06:00:15 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:00:15 > git --version # timeout=10 06:00:15 > git --version # 'git version 2.24.3' 06:00:15 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:00:15 06:00:15 GitHub has been notified of this commit’s build result 06:00:15 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:00:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:00:19 + true 06:00:19 + sudo service docker restart 06:00:19 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:00:21 provisioning config files... 06:00:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config625882460966006624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:22 ---> docker-login.sh 06:00:22 nexus3.edgexfoundry.org:10001 06:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:23 Configure a credential helper to remove this warning. See 06:00:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:23 06:00:23 Login Succeeded 06:00:23 nexus3.edgexfoundry.org:10002 06:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:23 Configure a credential helper to remove this warning. See 06:00:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:23 06:00:23 Login Succeeded 06:00:23 nexus3.edgexfoundry.org:10003 06:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:23 Configure a credential helper to remove this warning. See 06:00:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:23 06:00:23 Login Succeeded 06:00:23 nexus3.edgexfoundry.org:10004 06:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:24 Configure a credential helper to remove this warning. See 06:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:24 06:00:24 Login Succeeded 06:00:24 docker.io 06:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:24 Configure a credential helper to remove this warning. See 06:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:24 06:00:24 Login Succeeded 06:00:24 ---> docker-login.sh ends [Pipeline] } 06:00:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:25 ========================================================= 06:00:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:00:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:00:25 + 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 . 06:00:26 Sending build context to Docker daemon 519.2kB 06:00:26 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:00:26 Step 2/8 : FROM ${BASE} 06:00:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:26 188c0c94c7c5: Pulling fs layer 06:00:26 0ef7d3d256c8: Pulling fs layer 06:00:26 de9db76c5a1d: Pulling fs layer 06:00:26 bca2f99d35d6: Pulling fs layer 06:00:26 93359f2a8cfa: Pulling fs layer 06:00:26 7c6f9722023f: Pulling fs layer 06:00:26 a35cf1a2eb13: Pulling fs layer 06:00:26 bca2f99d35d6: Waiting 06:00:26 93359f2a8cfa: Waiting 06:00:26 7c6f9722023f: Waiting 06:00:26 a35cf1a2eb13: Waiting 06:00:26 de9db76c5a1d: Verifying Checksum 06:00:26 de9db76c5a1d: Download complete 06:00:26 0ef7d3d256c8: Verifying Checksum 06:00:26 0ef7d3d256c8: Download complete 06:00:26 93359f2a8cfa: Verifying Checksum 06:00:26 93359f2a8cfa: Download complete 06:00:26 7c6f9722023f: Download complete 06:00:26 188c0c94c7c5: Verifying Checksum 06:00:26 188c0c94c7c5: Download complete 06:00:27 188c0c94c7c5: Pull complete 06:00:27 0ef7d3d256c8: Pull complete 06:00:28 de9db76c5a1d: Pull complete 06:00:29 a35cf1a2eb13: Verifying Checksum 06:00:29 a35cf1a2eb13: Download complete 06:00:31 bca2f99d35d6: Verifying Checksum 06:00:31 bca2f99d35d6: Download complete 06:00:41 bca2f99d35d6: Pull complete 06:00:41 93359f2a8cfa: Pull complete 06:00:42 7c6f9722023f: Pull complete 06:00:42 lf-activate-venv(): INFO: Adding /tmp/venv-GqJn/bin to PATH 06:00:42 INFO: No Stack... 06:00:42 INFO: Retrieving Pricing Info for: lf-standard-4 06:00:42 INFO: Archiving Costs [Pipeline] sh 06:00:43 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 06:00:43 + cut -d, -f6 [Pipeline] lock 06:00:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-186-1-stack-cost] 06:00:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-186-1-stack-cost] did not exist. Created. 06:00:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:43 + echo total: 0.20999999344348907 [Pipeline] stash 06:00:44 Stashed 1 file(s) [Pipeline] } 06:00:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-186-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:00:45 Failed in branch arm64 06:00:49 a35cf1a2eb13: Pull complete 06:00:49 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:00:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:00:49 ---> a62c8e92a672 06:00:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 06:00:49 ---> Running in 29cbbd9bf26e 06:00:50 Removing intermediate container 29cbbd9bf26e 06:00:50 ---> 396e9f2c8381 06:00:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:50 ---> Running in 4626670c137f 06:00:53 Removing intermediate container 4626670c137f 06:00:53 ---> 65226d714002 06:00:53 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 06:00:53 ---> Running in d496a0cad597 06:00:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:00:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:00:56 (1/13) Installing libc-dev (0.7.2-r3) 06:00:56 (2/13) Installing libsodium (1.0.18-r0) 06:00:56 (3/13) Installing pkgconf (1.7.2-r0) 06:00:56 (4/13) Installing libsodium-dev (1.0.18-r0) 06:00:57 (5/13) Installing openssh-keygen (8.3_p1-r2) 06:00:57 (6/13) Installing libedit (20191231.3.1-r0) 06:00:57 (7/13) Installing openssh-client (8.3_p1-r2) 06:00:57 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 06:00:57 (9/13) Installing openssh-server-common (8.3_p1-r2) 06:00:57 (10/13) Installing openssh-server (8.3_p1-r2) 06:00:57 (11/13) Installing openssh (8.3_p1-r2) 06:00:58 (12/13) Installing libzmq (4.3.3-r0) 06:00:58 (13/13) Installing zeromq-dev (4.3.3-r0) 06:00:58 Executing busybox-1.31.1-r19.trigger 06:00:58 OK: 173 MiB in 52 packages 06:00:59 Removing intermediate container d496a0cad597 06:00:59 ---> 8720ad0c5f27 06:00:59 Step 6/8 : WORKDIR /device-virtual-go 06:00:59 ---> Running in 8deb756cdef4 06:01:00 Removing intermediate container 8deb756cdef4 06:01:00 ---> c591eb34539f 06:01:00 Step 7/8 : COPY . . 06:01:01 ---> 80daa5bc2964 06:01:01 Step 8/8 : RUN go mod download 06:01:01 ---> Running in 7841cd1ad947 06:01:41 Removing intermediate container 7841cd1ad947 06:01:41 ---> d598cc3f26aa 06:01:41 Successfully built d598cc3f26aa 06:01:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:01:41 + docker inspect -f . ci-base-image-x86_64 06:01:42 . [Pipeline] withDockerContainer 06:01:42 prd-centos7-docker-4c-2g-714 does not seem to be running inside a container 06:01:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:01:44 $ docker top 5446bd7e5a51fb95573e8dbd1156940f8cd091e266995b2f4683619bdfc1801f -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:45 + go version 06:01:45 go version go1.15.5 linux/amd64 [Pipeline] } 06:01:45 $ docker stop --time=1 5446bd7e5a51fb95573e8dbd1156940f8cd091e266995b2f4683619bdfc1801f 06:01:48 $ docker rm -f 5446bd7e5a51fb95573e8dbd1156940f8cd091e266995b2f4683619bdfc1801f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:01:49 + docker inspect -f . ci-base-image-x86_64 06:01:49 . [Pipeline] withDockerContainer 06:01:49 prd-centos7-docker-4c-2g-714 does not seem to be running inside a container 06:01:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:01:51 $ docker top 4cbd05ef3e7c4a2f74ceed93731063847da08c58d9ba4c8f6a2515b1d7fc9454 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:52 + make test 06:01:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:01:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:02:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:02:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.522s coverage: 63.8% of statements 06:02:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:02:47 gofmt -l . 06:02:47 [ "`gofmt -l .`" = "" ] 06:02:47 ./bin/test-attribution-txt.sh 06:02:48 An attribution for golang.org/x/text is missing from in Attribution.txt, please add 06:02:48 make: *** [Makefile:28: test] Error 1 [Pipeline] } 06:02:48 $ docker stop --time=1 4cbd05ef3e7c4a2f74ceed93731063847da08c58d9ba4c8f6a2515b1d7fc9454 06:02:50 $ docker rm -f 4cbd05ef3e7c4a2f74ceed93731063847da08c58d9ba4c8f6a2515b1d7fc9454 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 06:02:52 ---> job-cost.sh 06:02:52 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zNQO 06:03:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:04:06 lf-activate-venv(): INFO: Adding /tmp/venv-zNQO/bin to PATH 06:04:06 INFO: No Stack... 06:04:06 INFO: Retrieving Pricing Info for: v1-standard-2 06:04:06 INFO: Archiving Costs [Pipeline] sh 06:04:07 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 06:04:07 + cut -d, -f6 [Pipeline] lock 06:04:07 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-186-1-stack-cost] 06:04:07 Resource [jenkins-edgexfoundry-device-virtual-go-PR-186-1-stack-cost] did not exist. Created. 06:04:07 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:04:07 /w/workspace/device-virtual-go/1@tmp/durable-b74a164e/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 06:04:08 + echo total: 0.029999999329447746 [Pipeline] stash 06:04:08 Warning: overwriting stash ‘stack-cost’ 06:04:08 Stashed 1 file(s) [Pipeline] } 06:04:08 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-186-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:04:09 Failed in branch amd64 [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 06:04:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:04:12 ---> package-listing.sh 06:04:12 ++ tr '[:upper:]' '[:lower:]' 06:04:12 ++ facter osfamily 06:04:12 + OS_FAMILY=redhat 06:04:12 + workspace=/w/workspace/foundry_device-virtual-go_PR-186 06:04:12 + START_PACKAGES=/tmp/packages_start.txt 06:04:12 + END_PACKAGES=/tmp/packages_end.txt 06:04:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:04:12 + PACKAGES=/tmp/packages_start.txt 06:04:12 + '[' /w/workspace/foundry_device-virtual-go_PR-186 ']' 06:04:12 + PACKAGES=/tmp/packages_end.txt 06:04:12 + case "${OS_FAMILY}" in 06:04:12 + rpm -qa 06:04:12 + sort 06:04:21 + '[' -f /tmp/packages_start.txt ']' 06:04:21 + '[' -f /tmp/packages_end.txt ']' 06:04:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:04:21 + '[' /w/workspace/foundry_device-virtual-go_PR-186 ']' 06:04:21 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-186/archives/ 06:04:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-186/archives/ [Pipeline] echo 06:04:21 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-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:04:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:04:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:04:22 06:04:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:04:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:04:23 alpine: Pulling from edgex-lftools-log-publisher 06:04:23 df20fa9351a1: Pulling fs layer 06:04:23 36b3adc4ff6f: Pulling fs layer 06:04:23 8ad3a11d3b57: Pulling fs layer 06:04:23 46f8f816bc3b: Pulling fs layer 06:04:23 93b61091891f: Pulling fs layer 06:04:23 93b9cdb0e59b: Pulling fs layer 06:04:23 5e14af77c1be: Pulling fs layer 06:04:23 01666e4c0597: Pulling fs layer 06:04:23 aa168da1d23b: Pulling fs layer 06:04:23 01666e4c0597: Waiting 06:04:23 aa168da1d23b: Waiting 06:04:23 93b61091891f: Waiting 06:04:23 93b9cdb0e59b: Waiting 06:04:23 5e14af77c1be: Waiting 06:04:23 46f8f816bc3b: Waiting 06:04:23 36b3adc4ff6f: Download complete 06:04:23 46f8f816bc3b: Verifying Checksum 06:04:23 46f8f816bc3b: Download complete 06:04:23 df20fa9351a1: Verifying Checksum 06:04:23 93b9cdb0e59b: Verifying Checksum 06:04:23 93b9cdb0e59b: Download complete 06:04:23 5e14af77c1be: Verifying Checksum 06:04:23 5e14af77c1be: Download complete 06:04:23 01666e4c0597: Verifying Checksum 06:04:23 01666e4c0597: Download complete 06:04:23 93b61091891f: Verifying Checksum 06:04:23 93b61091891f: Download complete 06:04:24 8ad3a11d3b57: Verifying Checksum 06:04:24 8ad3a11d3b57: Download complete 06:04:24 df20fa9351a1: Pull complete 06:04:25 36b3adc4ff6f: Pull complete 06:04:26 8ad3a11d3b57: Pull complete 06:04:27 46f8f816bc3b: Pull complete 06:04:29 93b61091891f: Pull complete 06:04:29 93b9cdb0e59b: Pull complete 06:04:29 aa168da1d23b: Verifying Checksum 06:04:29 aa168da1d23b: Download complete 06:04:29 5e14af77c1be: Pull complete 06:04:29 01666e4c0597: Pull complete 06:04:42 aa168da1d23b: Pull complete 06:04:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:04:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:04:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:04:42 prd-centos7-docker-4c-2g-699 does not seem to be running inside a container 06:04:42 $ 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-186/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-186 -v /w/workspace/foundry_device-virtual-go_PR-186:/w/workspace/foundry_device-virtual-go_PR-186:rw,z -v /w/workspace/foundry_device-virtual-go_PR-186@tmp:/w/workspace/foundry_device-virtual-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:04:46 $ docker top 03a947f7cc254b1ef5924d924c44e098e86353fe4cdcb8dcfde8001b3df93b9b -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:47 + touch /tmp/pre-build-complete [Pipeline] sh 06:04:48 + mkdir -p /var/log/sa [Pipeline] sh 06:04:48 + ls /var/log/sa-host 06:04:48 + sadf -c /var/log/sa-host/sa19 06:04:48 file_magic: OK 06:04:48 HZ: Using current value: 100 06:04:48 file_header: OK 06:04:48 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 06:04:48 Statistics: 06:04:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:04:48 File successfully converted to sysstat format version 12.2.1 06:04:48 + sadf -c /var/log/sa-host/sa23 06:04:48 file_magic: OK 06:04:48 HZ: Using current value: 100 06:04:48 file_header: OK 06:04:48 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 06:04:48 Statistics: 06:04:48 Hnuu...uuuununununu... 06:04:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:49 provisioning config files... 06:04:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-186@tmp/config4408198588527139042tmp [Pipeline] { [Pipeline] echo 06:04:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:04:49 ---> create-netrc.sh [Pipeline] } 06:04:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:04:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:04:50 ---> python-tools-install.sh [Pipeline] echo 06:04:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:04:51 ---> sudo-logs.sh 06:04:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:04:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:04:52 ---> job-cost.sh 06:04:52 lf-activate-venv: SKIPPING 06:04:52 DEBUG: total: 0.029999999329447746 06:04:52 INFO: Retrieving Stack Cost... 06:04:53 INFO: Retrieving Pricing Info for: v1-standard-2 06:04:53 INFO: Archiving Costs [Pipeline] echo 06:04:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:04:54 ---> logs-deploy.sh 06:04:54 lf-activate-venv: SKIPPING 06:04:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-186/1 06:04:54 INFO: archiving workspace using pattern(s): 06:04:57 Archives upload complete. 06:04:57 INFO: archiving logs to Nexus