Pull request #217 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6944fbfa37580ab496b8b06e8a373db0c0289fb1+8d9cac7b544984367de20437773925dcf3f7e06d (1a924d6b6a9c3592372c4de2320d753ee3747e9d) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1471644675296193950.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4523772281379539247.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh 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-217/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-217/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5037548236699886443.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-217/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4794983502100402184.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1263389850027450769.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-217/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-217/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4113228643724118649.key > 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 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1153 in /w/workspace/foundry_device-virtual-go_PR-217 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-217 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-217@tmp/jenkins-gitclient-ssh1966615692905292797.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 8d9cac7b544984367de20437773925dcf3f7e06d into PR head commit 6944fbfa37580ab496b8b06e8a373db0c0289fb1 Merge succeeded, producing 6944fbfa37580ab496b8b06e8a373db0c0289fb1 Checking out Revision 6944fbfa37580ab496b8b06e8a373db0c0289fb1 (PR-217) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-217@tmp/jenkins-gitclient-ssh7548234113163264226.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-217@tmp/jenkins-gitclient-ssh7567187601103831742.key > git merge 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:44:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:44:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:44:55 ========================================================= 05:44:55 EdgeX Global Pipelines Version Info 05:44:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:44:57 ------------------- 05:44:57 stable info: 05:44:57 ------------------- 05:44:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:44:57 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:44:57 Message: update stable to v1.0.192 05:44:57 ------------------- 05:44:57 experimental info: 05:44:57 ------------------- 05:44:57 Commited By: **** collab-it+edgex@linuxfoundation.org 05:44:57 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:44:57 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:44:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:44:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:44:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:44:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:44:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:45:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:45:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:45:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:45:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:45:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:45:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:45:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:45:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-217 [Pipeline] echo 05:45:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-217 [Pipeline] echo 05:45:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-217 [Pipeline] echo 05:45:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6944fbfa37580ab496b8b06e8a373db0c0289fb1 [Pipeline] echo 05:45:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6944fbf [Pipeline] echo 05:45:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:05 provisioning config files... 05:45:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-217@tmp/config2056175526580968041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:05 ---> docker-login.sh 05:45:05 nexus3.edgexfoundry.org:10001 05:45:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:06 Configure a credential helper to remove this warning. See 05:45:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:06 05:45:06 Login Succeeded 05:45:06 nexus3.edgexfoundry.org:10002 05:45:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:06 Configure a credential helper to remove this warning. See 05:45:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:06 05:45:06 Login Succeeded 05:45:06 nexus3.edgexfoundry.org:10003 05:45:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:06 Configure a credential helper to remove this warning. See 05:45:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:06 05:45:06 Login Succeeded 05:45:06 nexus3.edgexfoundry.org:10004 05:45:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:07 Configure a credential helper to remove this warning. See 05:45:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:07 05:45:07 Login Succeeded 05:45:07 docker.io 05:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:07 Configure a credential helper to remove this warning. See 05:45:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:07 05:45:07 Login Succeeded 05:45:07 ---> docker-login.sh ends [Pipeline] } 05:45:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:11 + git log --format=format:%s -1 6944fbfa37580ab496b8b06e8a373db0c0289fb1 [Pipeline] echo 05:45:11 GIT_COMMIT: 6944fbfa37580ab496b8b06e8a373db0c0289fb1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:45:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:45:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:12 05:45:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:45:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:12 latest: Pulling from edgex-devops/git-semver 05:45:12 31603596830f: Pulling fs layer 05:45:12 54011a49482f: Pulling fs layer 05:45:12 a6820b24f6d8: Pulling fs layer 05:45:12 f581987b2513: Pulling fs layer 05:45:12 f581987b2513: Waiting 05:45:12 54011a49482f: Download complete 05:45:12 31603596830f: Verifying Checksum 05:45:12 31603596830f: Download complete 05:45:12 f581987b2513: Verifying Checksum 05:45:12 f581987b2513: Download complete 05:45:12 a6820b24f6d8: Verifying Checksum 05:45:12 a6820b24f6d8: Download complete 05:45:16 31603596830f: Pull complete 05:45:16 54011a49482f: Pull complete 05:45:16 a6820b24f6d8: Pull complete 05:45:16 f581987b2513: Pull complete 05:45:16 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:45:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:45:16 prd-centos7-docker-4c-2g-1153 does not seem to be running inside a container 05:45:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-217 -v /w/workspace/foundry_device-virtual-go_PR-217:/w/workspace/foundry_device-virtual-go_PR-217:rw,z -v /w/workspace/foundry_device-virtual-go_PR-217@tmp:/w/workspace/foundry_device-virtual-go_PR-217@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:45:18 $ docker top 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:18 [ssh-agent] Looking for ssh-agent implementation... 05:45:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:18 $ docker exec 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e ssh-agent 05:45:18 SSH_AUTH_SOCK=/tmp/ssh-Tc2F1OWp4ETN/agent.15 05:45:18 SSH_AGENT_PID=21 05:45:18 Running ssh-add (command line suppressed) 05:45:18 Identity added: /w/workspace/foundry_device-virtual-go_PR-217@tmp/private_key_5643428411358402903.key (/w/workspace/foundry_device-virtual-go_PR-217@tmp/private_key_5643428411358402903.key) 05:45:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:19 + git tag --points-at HEAD [Pipeline] } 05:45:19 $ docker exec --env ******** --env ******** 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e ssh-agent -k 05:45:19 unset SSH_AUTH_SOCK; 05:45:19 unset SSH_AGENT_PID; 05:45:19 echo Agent pid 21 killed; 05:45:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:45:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:19 [ssh-agent] Looking for ssh-agent implementation... 05:45:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:19 $ docker exec 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e ssh-agent 05:45:19 SSH_AUTH_SOCK=/tmp/ssh-UrZnCgPUb8zw/agent.55 05:45:19 SSH_AGENT_PID=61 05:45:19 Running ssh-add (command line suppressed) 05:45:19 Identity added: /w/workspace/foundry_device-virtual-go_PR-217@tmp/private_key_146407450394016687.key (/w/workspace/foundry_device-virtual-go_PR-217@tmp/private_key_146407450394016687.key) 05:45:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:20 + git semver init 05:45:20 # -> Open(): unable to determine branch for HEAD 05:45:20 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-217/.git 05:45:20 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-217 05:45:20 # $SEMVER_REMOTE_NAME = origin 05:45:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:45:20 # $SEMVER_USER_NAME = edgex-jenkins 05:45:20 # $SEMVER_BRANCH = PR-217 05:45:20 # $SEMVER_TEMP = /tmp/semver-771514427 05:45:20 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 05:45:23 # '/tmp/semver-771514427' -> '/w/workspace/foundry_device-virtual-go_PR-217/.semver' 05:45:23 # -> Force: false 05:45:23 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-217/.semver [Pipeline] } 05:45:23 $ docker exec --env ******** --env ******** 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e ssh-agent -k 05:45:23 unset SSH_AUTH_SOCK; 05:45:23 unset SSH_AGENT_PID; 05:45:23 echo Agent pid 61 killed; 05:45:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:23 + git semver [Pipeline] } 05:45:23 $ docker stop --time=1 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e 05:45:27 $ docker rm -f 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e [Pipeline] // withDockerContainer [Pipeline] sh 05:45:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:45:31 Stashed 1 file(s) [Pipeline] echo 05:45:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:45:47 Still waiting to schedule task 05:45:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:45:47 Still waiting to schedule task 05:45:47 ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 05:45:47 ‘prd-centos7-docker-4c-2g-1136’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 05:45:47 ‘prd-centos7-docker-4c-2g-1138’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 05:45:47 ‘prd-centos7-docker-4c-2g-309’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 05:45:47 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1159’ is offline 05:45:47 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1160’ is offline 06:00:19 Running on prd-centos7-docker-4c-2g-1692 in /w/workspace/foundry_device-virtual-go_PR-217 [Pipeline] { [Pipeline] ws 06:00:20 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:00:20 Selected Git installation does not exist. Using Default 06:00:20 The recommended git tool is: NONE 06:00:24 using credential edgex-jenkins-ssh 06:00:26 Cloning the remote Git repository 06:00:26 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:00:26 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:00:26 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:00:26 > git --version # timeout=10 06:00:26 > git --version # 'git version 2.24.4' 06:00:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:26 [INFO] Currently running in a labeled security context 06:00:26 [INFO] Currently SELinux is 'enforcing' on the host 06:00:26 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh6410204677956907006.key 06:00:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:00:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:00:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:00:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:27 [INFO] Currently running in a labeled security context 06:00:27 [INFO] Currently SELinux is 'enforcing' on the host 06:00:27 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh7088712913728749940.key 06:00:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:00:28 Merging remotes/origin/master commit 8d9cac7b544984367de20437773925dcf3f7e06d into PR head commit 6944fbfa37580ab496b8b06e8a373db0c0289fb1 06:00:28 Merge succeeded, producing 6944fbfa37580ab496b8b06e8a373db0c0289fb1 06:00:28 Checking out Revision 6944fbfa37580ab496b8b06e8a373db0c0289fb1 (PR-217) 06:00:28 > git config core.sparsecheckout # timeout=10 06:00:28 > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 06:00:28 > git remote # timeout=10 06:00:28 > git config --get remote.origin.url # timeout=10 06:00:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:28 [INFO] Currently running in a labeled security context 06:00:28 [INFO] Currently SELinux is 'enforcing' on the host 06:00:28 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh5517919954788713133.key 06:00:28 > git merge 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 06:00:28 > git rev-parse HEAD^{commit} # timeout=10 06:00:28 > git config core.sparsecheckout # timeout=10 06:00:28 > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 06:00:35 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 06:00:35 > git --version # timeout=10 06:00:35 > git --version # 'git version 2.24.4' 06:00:35 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:00:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:00:37 + true 06:00:37 + sudo service docker restart 06:00:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:55 provisioning config files... 06:00:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8085436803527830113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:55 ---> docker-login.sh 06:00:55 nexus3.edgexfoundry.org:10001 06:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:55 Configure a credential helper to remove this warning. See 06:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:55 06:00:55 Login Succeeded 06:00:55 nexus3.edgexfoundry.org:10002 06:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:55 Configure a credential helper to remove this warning. See 06:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:55 06:00:55 Login Succeeded 06:00:55 nexus3.edgexfoundry.org:10003 06:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:56 Configure a credential helper to remove this warning. See 06:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:56 06:00:56 Login Succeeded 06:00:56 nexus3.edgexfoundry.org:10004 06:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:58 Configure a credential helper to remove this warning. See 06:00:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:58 06:00:58 Login Succeeded 06:00:58 docker.io 06:00:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:58 Configure a credential helper to remove this warning. See 06:00:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:58 06:00:58 Login Succeeded 06:00:58 ---> docker-login.sh ends [Pipeline] } 06:00:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:58 ========================================================= 06:00:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 06:00:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:00:58 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 06:00:58 Sending build context to Docker daemon 8.596MB 06:00:58 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 06:00:58 Step 2/8 : FROM ${BASE} 06:00:58 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:58 540db60ca938: Pulling fs layer 06:00:58 adcc1eea9eea: Pulling fs layer 06:00:58 4c4ab2625f07: Pulling fs layer 06:00:58 0510c868ecb4: Pulling fs layer 06:00:58 afea3b2eda06: Pulling fs layer 06:00:58 7809a108b3ef: Pulling fs layer 06:00:58 f706445af74f: Pulling fs layer 06:00:58 afea3b2eda06: Waiting 06:00:58 7809a108b3ef: Waiting 06:00:58 f706445af74f: Waiting 06:00:58 0510c868ecb4: Waiting 06:00:59 adcc1eea9eea: Verifying Checksum 06:00:59 adcc1eea9eea: Download complete 06:00:59 4c4ab2625f07: Verifying Checksum 06:00:59 4c4ab2625f07: Download complete 06:00:59 afea3b2eda06: Verifying Checksum 06:00:59 afea3b2eda06: Download complete 06:00:59 7809a108b3ef: Verifying Checksum 06:00:59 7809a108b3ef: Download complete 06:00:59 540db60ca938: Verifying Checksum 06:00:59 540db60ca938: Download complete 06:00:59 540db60ca938: Pull complete 06:00:59 adcc1eea9eea: Pull complete 06:00:59 4c4ab2625f07: Pull complete 06:01:00 f706445af74f: Verifying Checksum 06:01:00 f706445af74f: Download complete 06:01:01 0510c868ecb4: Verifying Checksum 06:01:01 0510c868ecb4: Download complete 06:01:04 0510c868ecb4: Pull complete 06:01:04 afea3b2eda06: Pull complete 06:01:04 7809a108b3ef: Pull complete 06:01:06 f706445af74f: Pull complete 06:01:06 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 06:01:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 06:01:06 ---> b068be0155e3 06:01:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 06:01:10 ---> Running in c42c05e3afd4 06:01:10 Removing intermediate container c42c05e3afd4 06:01:10 ---> ecf94f0243bc 06:01:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:10 ---> Running in fa6a70eac1e0 06:01:12 Removing intermediate container fa6a70eac1e0 06:01:12 ---> 1abb74efc435 06:01:12 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 06:01:12 ---> Running in 99cba8262c65 06:01:12 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:01:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:01:13 (1/13) Installing libc-dev (0.7.2-r3) 06:01:13 (2/13) Installing libsodium (1.0.18-r0) 06:01:14 (3/13) Installing pkgconf (1.7.3-r0) 06:01:14 (4/13) Installing libsodium-dev (1.0.18-r0) 06:01:14 (5/13) Installing openssh-keygen (8.4_p1-r3) 06:01:14 (6/13) Installing libedit (20191231.3.1-r1) 06:01:16 (7/13) Installing openssh-client (8.4_p1-r3) 06:01:16 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 06:01:16 (9/13) Installing openssh-server-common (8.4_p1-r3) 06:01:16 (10/13) Installing openssh-server (8.4_p1-r3) 06:01:16 (11/13) Installing openssh (8.4_p1-r3) 06:01:16 (12/13) Installing libzmq (4.3.3-r1) 06:01:16 (13/13) Installing zeromq-dev (4.3.3-r1) 06:01:16 Executing busybox-1.32.1-r6.trigger 06:01:16 OK: 156 MiB in 53 packages 06:01:17 Removing intermediate container 99cba8262c65 06:01:17 ---> 0ab681b7b34a 06:01:17 Step 6/8 : WORKDIR /device-virtual-go 06:01:17 ---> Running in 5d0059e18b8d 06:01:17 Removing intermediate container 5d0059e18b8d 06:01:17 ---> 2eb7afc57612 06:01:17 Step 7/8 : COPY . . 06:01:17 ---> 66fb42f53aea 06:01:17 Step 8/8 : RUN go mod download 06:01:17 ---> Running in 65779b999649 06:01:35 Removing intermediate container 65779b999649 06:01:35 ---> 8b5bf2c2c43b 06:01:35 Successfully built 8b5bf2c2c43b 06:01:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:01:35 + docker inspect -f . ci-base-image-x86_64 06:01:35 . [Pipeline] withDockerContainer 06:01:35 prd-centos7-docker-4c-2g-1692 does not seem to be running inside a container 06:01:36 $ 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:36 $ docker top e0a9f7ebbf5194a0b64d2f0c00e7fae21543c03a48c5539b417e8f30af7e7dce -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:36 + go version 06:01:36 go version go1.16.3 linux/amd64 [Pipeline] } 06:01:36 $ docker stop --time=1 e0a9f7ebbf5194a0b64d2f0c00e7fae21543c03a48c5539b417e8f30af7e7dce 06:01:39 $ docker rm -f e0a9f7ebbf5194a0b64d2f0c00e7fae21543c03a48c5539b417e8f30af7e7dce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:01:39 + docker inspect -f . ci-base-image-x86_64 06:01:39 . [Pipeline] withDockerContainer 06:01:39 prd-centos7-docker-4c-2g-1692 does not seem to be running inside a container 06:01:39 $ 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:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1696 in /w/workspace/foundry_device-virtual-go_PR-217 06:01:40 $ docker top e1dfae4e46dfcd40cb3d9d1005be28a9d4fda65a6d5012b0b7742410c7ce2e10 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 06:01:42 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:01:43 + go mod tidy 06:01:43 Selected Git installation does not exist. Using Default 06:01:43 The recommended git tool is: NONE [Pipeline] sh 06:01:43 + make test 06:01:43 go mod tidy 06:01:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:01:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:01:56 using credential edgex-jenkins-ssh 06:01:56 Cloning the remote Git repository 06:01:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:01:56 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:01:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:01:56 > git --version # timeout=10 06:01:56 > git --version # 'git version 2.17.1' 06:01:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:02:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:02:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:02:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:02:04 Merging remotes/origin/master commit 8d9cac7b544984367de20437773925dcf3f7e06d into PR head commit 6944fbfa37580ab496b8b06e8a373db0c0289fb1 06:02:04 Merge succeeded, producing 6944fbfa37580ab496b8b06e8a373db0c0289fb1 06:02:04 Checking out Revision 6944fbfa37580ab496b8b06e8a373db0c0289fb1 (PR-217) 06:02:04 > git config core.sparsecheckout # timeout=10 06:02:04 > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 06:02:04 > git remote # timeout=10 06:02:04 > git config --get remote.origin.url # timeout=10 06:02:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:04 > git merge 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 06:02:04 > git rev-parse HEAD^{commit} # timeout=10 06:02:04 > git config core.sparsecheckout # timeout=10 06:02:04 > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 06:02:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 06:02:10 > git --version # timeout=10 06:02:10 > git --version # 'git version 2.17.1' 06:02:10 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:02:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:02:12 + sudo service docker restart+ 06:02:12 true 06:02:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:02:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.260s coverage: 63.8% of statements 06:02:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:02:27 gofmt -l . 06:02:27 [ "`gofmt -l .`" = "" ] 06:02:27 ./bin/test-attribution-txt.sh 06:02:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:02:28 $ docker stop --time=1 e1dfae4e46dfcd40cb3d9d1005be28a9d4fda65a6d5012b0b7742410c7ce2e10 06:02:30 $ docker rm -f e1dfae4e46dfcd40cb3d9d1005be28a9d4fda65a6d5012b0b7742410c7ce2e10 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] withEnv [Pipeline] { 06:02:30 Stashed 1 file(s) [Pipeline] configFileProvider 06:02:30 provisioning config files... 06:02:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6496393473392467536tmp [Pipeline] } [Pipeline] // script [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 06:02:31 ---> docker-login.sh 06:02:31 nexus3.edgexfoundry.org:10001 06:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:33 Configure a credential helper to remove this warning. See 06:02:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:33 06:02:33 Login Succeeded 06:02:33 nexus3.edgexfoundry.org:10002 06:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 06:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:34 Configure a credential helper to remove this warning. See 06:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:34 06:02:34 Login Succeeded 06:02:34 nexus3.edgexfoundry.org:10003 06:02:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:34 + ls -al . 06:02:34 total 132 06:02:34 drwxrwxr-x. 7 jenkins jenkins 4096 May 31 06:02 . 06:02:34 drwxrwxr-x. 4 jenkins jenkins 28 May 31 06:00 .. 06:02:34 -rw-rw-r--. 1 jenkins jenkins 8153 May 31 06:00 Attribution.txt 06:02:34 drwxrwxr-x. 2 jenkins jenkins 64 May 31 06:00 bin 06:02:34 drwxrwxr-x. 3 jenkins jenkins 32 May 31 06:00 cmd 06:02:34 -rw-r--r--. 1 jenkins jenkins 47247 May 31 06:02 coverage.out 06:02:34 -rw-rw-r--. 1 jenkins jenkins 1921 May 31 06:00 Dockerfile 06:02:34 -rw-rw-r--. 1 jenkins jenkins 998 May 31 06:00 Dockerfile.build 06:02:34 drwxrwxr-x. 8 jenkins jenkins 179 May 31 06:00 .git 06:02:34 drwxrwxr-x. 2 jenkins jenkins 103 May 31 06:00 .github 06:02:34 -rw-rw-r--. 1 jenkins jenkins 277 May 31 06:00 .gitignore 06:02:34 -rw-r--r--. 1 jenkins jenkins 809 May 31 06:02 go.mod 06:02:34 -rw-r--r--. 1 jenkins jenkins 23431 May 31 06:01 go.sum 06:02:34 drwxrwxr-x. 3 jenkins jenkins 20 May 31 06:00 internal 06:02:34 -rw-rw-r--. 1 jenkins jenkins 660 May 31 06:00 Jenkinsfile 06:02:34 -rw-rw-r--. 1 jenkins jenkins 11340 May 31 06:00 LICENSE 06:02:34 -rw-rw-r--. 1 jenkins jenkins 905 May 31 06:00 Makefile 06:02:34 -rw-rw-r--. 1 jenkins jenkins 2745 May 31 06:00 README.md 06:02:34 -rw-rw-r--. 1 jenkins jenkins 5 May 31 05:45 VERSION 06:02:34 -rw-rw-r--. 1 jenkins jenkins 235 May 31 06:00 version.go [Pipeline] isUnix [Pipeline] sh 06:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:34 Configure a credential helper to remove this warning. See 06:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:34 06:02:34 Login Succeeded 06:02:34 nexus3.edgexfoundry.org:10004 06:02:34 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=6944fbfa37580ab496b8b06e8a373db0c0289fb1 --label arch=amd64 --label version=0.0.0 . 06:02:34 Sending build context to Docker daemon 8.669MB 06:02:34 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 06:02:34 Step 2/26 : FROM ${BASE} AS builder 06:02:34 ---> 8b5bf2c2c43b 06:02:34 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:35 Configure a credential helper to remove this warning. See 06:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:35 06:02:35 Login Succeeded 06:02:35 docker.io 06:02:37 ---> Running in 2992d7ec42ee 06:02:37 Removing intermediate container 2992d7ec42ee 06:02:37 ---> 2a3502c320c6 06:02:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:02:37 ---> Running in 09f8a9d36378 06:02:37 Removing intermediate container 09f8a9d36378 06:02:37 ---> a9c9066dbf0f 06:02:37 Step 5/26 : WORKDIR /device-virtual-go 06:02:37 ---> Running in 62961d890ee2 06:02:37 Removing intermediate container 62961d890ee2 06:02:37 ---> 94f8d0ce1c83 06:02:37 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:37 ---> Running in bdaff27e843e 06:02:37 Removing intermediate container bdaff27e843e 06:02:37 ---> 19b318f8a84f 06:02:37 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:02:37 ---> Running in d9499b9d3a0f 06:02:37 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:37 Configure a credential helper to remove this warning. See 06:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:37 06:02:37 Login Succeeded 06:02:37 ---> docker-login.sh ends [Pipeline] } 06:02:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:02:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] echo 06:02:37 ========================================================= 06:02:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 06:02:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:02:38 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 06:02:38 OK: 156 MiB in 53 packages 06:02:38 Removing intermediate container d9499b9d3a0f 06:02:38 ---> e23e845f66cc 06:02:38 Step 8/26 : COPY . . 06:02:38 ---> 1f4f8ae3efad 06:02:38 Step 9/26 : RUN go mod tidy 06:02:38 Sending build context to Docker daemon 8.595MB 06:02:38 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 06:02:38 Step 2/8 : FROM ${BASE} 06:02:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:02:38 595b0fe564bb: Pulling fs layer 06:02:39 ---> Running in 34afe6cb37ae 06:02:39 7186ed65a4f7: Pulling fs layer 06:02:39 316046926c0a: Pulling fs layer 06:02:39 4ebd0625c992: Pulling fs layer 06:02:39 207e8628e3a3: Pulling fs layer 06:02:39 c791037a9be2: Pulling fs layer 06:02:39 ffd874e62e21: Pulling fs layer 06:02:39 207e8628e3a3: Waiting 06:02:39 c791037a9be2: Waiting 06:02:39 ffd874e62e21: Waiting 06:02:39 4ebd0625c992: Waiting 06:02:39 316046926c0a: Verifying Checksum 06:02:39 316046926c0a: Download complete 06:02:39 7186ed65a4f7: Download complete 06:02:39 207e8628e3a3: Download complete 06:02:39 c791037a9be2: Verifying Checksum 06:02:39 c791037a9be2: Download complete 06:02:39 595b0fe564bb: Verifying Checksum 06:02:39 595b0fe564bb: Download complete 06:02:39 Removing intermediate container 34afe6cb37ae 06:02:39 ---> 69e85eb5b07d 06:02:39 Step 10/26 : RUN go mod download 06:02:39 ---> Running in b3c675dd3caa 06:02:40 595b0fe564bb: Pull complete 06:02:40 Removing intermediate container b3c675dd3caa 06:02:40 ---> aa3500cdf461 06:02:40 Step 11/26 : ARG MAKE='make build' 06:02:40 ---> Running in 9ef962716d1e 06:02:40 Removing intermediate container 9ef962716d1e 06:02:40 ---> d230c952ecef 06:02:40 Step 12/26 : RUN $MAKE 06:02:40 ---> Running in 621f9da46630 06:02:40 go mod tidy 06:02:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:02:41 7186ed65a4f7: Pull complete 06:02:41 316046926c0a: Pull complete 06:02:42 ffd874e62e21: Download complete 06:02:43 4ebd0625c992: Verifying Checksum 06:02:43 4ebd0625c992: Download complete 06:02:53 4ebd0625c992: Pull complete 06:02:53 207e8628e3a3: Pull complete 06:02:56 Removing intermediate container 621f9da46630 06:02:56 ---> 43c6cab30212 06:02:56 Step 13/26 : FROM alpine:3.12 06:02:56 3.12: Pulling from library/alpine 06:02:56 c791037a9be2: Pull complete 06:02:56 339de151aab4: Pulling fs layer 06:02:56 339de151aab4: Verifying Checksum 06:02:56 339de151aab4: Download complete 06:02:56 339de151aab4: Pull complete 06:02:56 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:02:56 Status: Downloaded newer image for alpine:3.12 06:02:56 ---> 13621d1b12d4 06:02:56 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:02:56 ---> Running in 06c830246dfe 06:02:56 Removing intermediate container 06c830246dfe 06:02:56 ---> 93e6fcabe9b4 06:02:56 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:57 ---> Running in b004f57faaa1 06:02:57 Removing intermediate container b004f57faaa1 06:02:57 ---> a3bc67d43cfc 06:02:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:02:57 ---> Running in 9495c2bf076f 06:02:57 ffd874e62e21: Pull complete 06:02:57 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 06:02:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 06:02:57 ---> cfc18b08335c 06:02:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 06:02:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:02:58 (1/6) Installing dumb-init (1.2.2-r1) 06:02:58 (2/6) Installing libgcc (9.3.0-r2) 06:02:58 (3/6) Installing libsodium (1.0.18-r0) 06:02:58 (4/6) Installing libstdc++ (9.3.0-r2) 06:03:01 (5/6) Installing libzmq (4.3.3-r0) 06:03:01 (6/6) Installing zeromq (4.3.3-r0) 06:03:01 Executing busybox-1.31.1-r20.trigger 06:03:01 OK: 8 MiB in 20 packages 06:03:01 Removing intermediate container 9495c2bf076f 06:03:01 ---> c412c015bf7d 06:03:01 Step 17/26 : WORKDIR / 06:03:01 ---> Running in 4397e9e86bf9 06:03:01 Removing intermediate container 4397e9e86bf9 06:03:01 ---> f33fda9424e6 06:03:01 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:03:01 ---> 52f2b3105f1b 06:03:01 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:03:01 ---> 069c6d642197 06:03:01 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:03:01 ---> 5a0a2bae924b 06:03:01 Step 21/26 : EXPOSE 59900 06:03:01 ---> Running in a6a6a807276c 06:03:01 Removing intermediate container a6a6a807276c 06:03:01 ---> 66014b97b3e8 06:03:01 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:03:01 ---> Running in 25d714e5cb7e 06:03:01 Removing intermediate container 25d714e5cb7e 06:03:01 ---> 95d7f71c72c9 06:03:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:03:01 ---> Running in 63d491ceca91 06:03:01 Removing intermediate container 63d491ceca91 06:03:01 ---> 1142528ee300 06:03:01 Step 24/26 : LABEL arch=amd64 06:03:01 ---> Running in 6cb237a67e56 06:03:01 ---> Running in 29ebc392079c 06:03:01 Removing intermediate container 29ebc392079c 06:03:01 ---> bc9826682037 06:03:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:03:01 ---> Running in f2fb99c2e9a4 06:03:01 Removing intermediate container 6cb237a67e56 06:03:01 ---> a0971e92de2e 06:03:01 Step 25/26 : LABEL git_sha=6944fbfa37580ab496b8b06e8a373db0c0289fb1 06:03:01 ---> Running in 37e6e9700068 06:03:01 Removing intermediate container 37e6e9700068 06:03:01 ---> f64c876424e6 06:03:01 Step 26/26 : LABEL version=0.0.0 06:03:01 ---> Running in 57215d6c0f9f 06:03:01 Removing intermediate container 57215d6c0f9f 06:03:01 ---> 10b887a42a5f 06:03:01 [Warning] One or more build-args [ARCH] were not consumed 06:03:01 Successfully built 10b887a42a5f 06:03:01 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:03:02 ---> job-cost.sh 06:03:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Bsfz 06:03:03 Removing intermediate container f2fb99c2e9a4 06:03:03 ---> dd7d7565b28c 06:03:03 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 06:03:03 ---> Running in d247f3b307de 06:03:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:03:07 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:03:07 (1/13) Installing libc-dev (0.7.2-r3) 06:03:07 (2/13) Installing libsodium (1.0.18-r0) 06:03:07 (3/13) Installing pkgconf (1.7.3-r0) 06:03:07 (4/13) Installing libsodium-dev (1.0.18-r0) 06:03:07 (5/13) Installing openssh-keygen (8.4_p1-r3) 06:03:07 (6/13) Installing libedit (20191231.3.1-r1) 06:03:07 (7/13) Installing openssh-client (8.4_p1-r3) 06:03:07 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 06:03:07 (9/13) Installing openssh-server-common (8.4_p1-r3) 06:03:07 (10/13) Installing openssh-server (8.4_p1-r3) 06:03:07 (11/13) Installing openssh (8.4_p1-r3) 06:03:07 (12/13) Installing libzmq (4.3.3-r1) 06:03:08 (13/13) Installing zeromq-dev (4.3.3-r1) 06:03:08 Executing busybox-1.32.1-r6.trigger 06:03:08 OK: 145 MiB in 53 packages 06:03:11 Removing intermediate container d247f3b307de 06:03:11 ---> 9888491eb31d 06:03:11 Step 6/8 : WORKDIR /device-virtual-go 06:03:11 ---> Running in f1e08eec38b1 06:03:11 Removing intermediate container f1e08eec38b1 06:03:11 ---> 387fa666f0d6 06:03:11 Step 7/8 : COPY . . 06:03:11 ---> c6a01c00bdb0 06:03:11 Step 8/8 : RUN go mod download 06:03:11 ---> Running in 7fb610db4c37 06:03:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:03:28 lf-activate-venv(): INFO: Adding /tmp/venv-Bsfz/bin to PATH 06:03:28 INFO: No Stack... 06:03:29 INFO: Retrieving Pricing Info for: v3-standard-2 06:03:29 INFO: Archiving Costs [Pipeline] sh 06:03:30 + cut -d, -f6 06:03:30 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 06:03:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] 06:03:30 Resource [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] did not exist. Created. 06:03:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:30 + echo total: 0.05999999865889549 [Pipeline] stash 06:03:30 Stashed 1 file(s) [Pipeline] } 06:03:30 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:41 Removing intermediate container 7fb610db4c37 06:03:41 ---> 6cd5ccdb462e 06:03:41 Successfully built 6cd5ccdb462e 06:03:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:03:42 + docker inspect -f . ci-base-image-arm64 06:03:42 . [Pipeline] withDockerContainer 06:03:42 prd-ubuntu18.04-docker-arm64-4c-16g-1696 does not seem to be running inside a container 06:03: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 ******** -e ******** ci-base-image-arm64 cat 06:03:44 $ docker top 88d4de67973de8faba33791925679a7bc5a8e8fd1e0472a88bc98dabe06eaeb0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:45 + go version 06:03:45 go version go1.16.3 linux/arm64 [Pipeline] } 06:03:45 $ docker stop --time=1 88d4de67973de8faba33791925679a7bc5a8e8fd1e0472a88bc98dabe06eaeb0 06:03:48 $ docker rm -f 88d4de67973de8faba33791925679a7bc5a8e8fd1e0472a88bc98dabe06eaeb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:03:49 + docker inspect -f . ci-base-image-arm64 06:03:49 . [Pipeline] withDockerContainer 06:03:49 prd-ubuntu18.04-docker-arm64-4c-16g-1696 does not seem to be running inside a container 06:03: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 ******** -e ******** ci-base-image-arm64 cat 06:03:51 $ docker top af40ad58850c36979e63872f1f33d3f754050a9fe3a7d4294732b561947177b0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:53 + go mod tidy [Pipeline] sh 06:03:54 + make test 06:03:54 go mod tidy 06:03:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:03:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:05:06 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:05:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.001s coverage: 63.8% of statements 06:05:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:05:37 gofmt -l . 06:05:37 [ "`gofmt -l .`" = "" ] 06:05:37 ./bin/test-attribution-txt.sh 06:05:37 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:05:37 $ docker stop --time=1 af40ad58850c36979e63872f1f33d3f754050a9fe3a7d4294732b561947177b0 06:05:40 $ docker rm -f af40ad58850c36979e63872f1f33d3f754050a9fe3a7d4294732b561947177b0 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:43 Warning: overwriting stash ‘coverage-report’ 06:05:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:47 + ls -al . 06:05:47 total 156 06:05:47 drwxrwxr-x 7 jenkins jenkins 4096 May 31 06:05 . 06:05:47 drwxrwxr-x 4 jenkins jenkins 4096 May 31 06:01 .. 06:05:47 drwxrwxr-x 8 jenkins jenkins 4096 May 31 06:02 .git 06:05:47 drwxrwxr-x 2 jenkins jenkins 4096 May 31 06:02 .github 06:05:47 -rw-rw-r-- 1 jenkins jenkins 277 May 31 06:02 .gitignore 06:05:47 -rw-rw-r-- 1 jenkins jenkins 8153 May 31 06:02 Attribution.txt 06:05:47 -rw-rw-r-- 1 jenkins jenkins 1921 May 31 06:02 Dockerfile 06:05:47 -rw-rw-r-- 1 jenkins jenkins 998 May 31 06:02 Dockerfile.build 06:05:47 -rw-rw-r-- 1 jenkins jenkins 660 May 31 06:02 Jenkinsfile 06:05:47 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 06:02 LICENSE 06:05:47 -rw-rw-r-- 1 jenkins jenkins 905 May 31 06:02 Makefile 06:05:47 -rw-rw-r-- 1 jenkins jenkins 2745 May 31 06:02 README.md 06:05:47 -rw-rw-r-- 1 jenkins jenkins 5 May 31 05:45 VERSION 06:05:47 drwxrwxr-x 2 jenkins jenkins 4096 May 31 06:02 bin 06:05:47 drwxrwxr-x 3 jenkins jenkins 4096 May 31 06:02 cmd 06:05:47 -rw-r--r-- 1 jenkins jenkins 47247 May 31 06:05 coverage.out 06:05:47 -rw-r--r-- 1 jenkins jenkins 809 May 31 06:05 go.mod 06:05:47 -rw-r--r-- 1 jenkins jenkins 23431 May 31 06:03 go.sum 06:05:47 drwxrwxr-x 3 jenkins jenkins 4096 May 31 06:02 internal 06:05:47 -rw-rw-r-- 1 jenkins jenkins 235 May 31 06:02 version.go [Pipeline] isUnix [Pipeline] sh 06:05:47 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6944fbfa37580ab496b8b06e8a373db0c0289fb1 --label arch=arm64 --label version=0.0.0 . 06:05:49 Sending build context to Docker daemon 8.668MB 06:05:49 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 06:05:49 Step 2/26 : FROM ${BASE} AS builder 06:05:49 ---> 6cd5ccdb462e 06:05:49 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:05:49 ---> Running in 34f4f1f43264 06:05:49 Removing intermediate container 34f4f1f43264 06:05:49 ---> 8865ceb6131d 06:05:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:05:49 ---> Running in 15a610993dc5 06:05:49 Removing intermediate container 15a610993dc5 06:05:49 ---> fe88e3ef1663 06:05:49 Step 5/26 : WORKDIR /device-virtual-go 06:05:49 ---> Running in 734aeb318305 06:05:49 Removing intermediate container 734aeb318305 06:05:49 ---> 4b880e187ce8 06:05:49 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:05:50 ---> Running in f20efa04d146 06:05:52 Removing intermediate container f20efa04d146 06:05:52 ---> 987a6ae0fefa 06:05:52 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:05:52 ---> Running in 0059329ee81f 06:05:53 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:05:54 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:05:55 OK: 145 MiB in 53 packages 06:05:56 Removing intermediate container 0059329ee81f 06:05:56 ---> e39a18e2cf55 06:05:56 Step 8/26 : COPY . . 06:05:59 ---> 909d99f9d7ce 06:05:59 Step 9/26 : RUN go mod tidy 06:05:59 ---> Running in 61fae317be21 06:06:01 Removing intermediate container 61fae317be21 06:06:01 ---> 20dd028baec3 06:06:01 Step 10/26 : RUN go mod download 06:06:01 ---> Running in d2107057fafa 06:06:03 Removing intermediate container d2107057fafa 06:06:03 ---> c7982c1ee2ea 06:06:03 Step 11/26 : ARG MAKE='make build' 06:06:03 ---> Running in f4f8587b4d14 06:06:04 Removing intermediate container f4f8587b4d14 06:06:04 ---> 4faf20b83d87 06:06:04 Step 12/26 : RUN $MAKE 06:06:04 ---> Running in c18898df0e05 06:06:06 go mod tidy 06:06:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:06:56 Removing intermediate container c18898df0e05 06:06:56 ---> 08d10a55544a 06:06:56 Step 13/26 : FROM alpine:3.12 06:06:56 3.12: Pulling from library/alpine 06:06:56 d2f70382dc9a: Pulling fs layer 06:06:56 d2f70382dc9a: Verifying Checksum 06:06:56 d2f70382dc9a: Download complete 06:06:57 d2f70382dc9a: Pull complete 06:06:57 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:06:57 Status: Downloaded newer image for alpine:3.12 06:06:57 ---> 9852663dfa18 06:06:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:06:57 ---> Running in 00b53ccff8f4 06:06:58 Removing intermediate container 00b53ccff8f4 06:06:58 ---> d5c369b3c207 06:06:58 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:06:58 ---> Running in ea79834ebc4d 06:07:00 Removing intermediate container ea79834ebc4d 06:07:00 ---> 2aa8ece7201c 06:07:00 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:07:00 ---> Running in 456ffa56abfc 06:07:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:07:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:07:03 (1/6) Installing dumb-init (1.2.2-r1) 06:07:03 (2/6) Installing libgcc (9.3.0-r2) 06:07:03 (3/6) Installing libsodium (1.0.18-r0) 06:07:03 (4/6) Installing libstdc++ (9.3.0-r2) 06:07:04 (5/6) Installing libzmq (4.3.3-r0) 06:07:04 (6/6) Installing zeromq (4.3.3-r0) 06:07:04 Executing busybox-1.31.1-r20.trigger 06:07:04 OK: 8 MiB in 20 packages 06:07:05 Removing intermediate container 456ffa56abfc 06:07:05 ---> c97b9ac80002 06:07:05 Step 17/26 : WORKDIR / 06:07:05 ---> Running in 9eb324b0b331 06:07:06 Removing intermediate container 9eb324b0b331 06:07:06 ---> 8d98c43976e0 06:07:06 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:07:07 ---> ba5302ccb812 06:07:07 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:07:07 ---> 156eafff07c9 06:07:07 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:07:09 ---> d217f6fadb43 06:07:09 Step 21/26 : EXPOSE 59900 06:07:09 ---> Running in d9cc0f680cf0 06:07:12 Removing intermediate container d9cc0f680cf0 06:07:12 ---> a5de8e296619 06:07:12 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:07:12 ---> Running in a78bb2dad1e1 06:07:12 Removing intermediate container a78bb2dad1e1 06:07:12 ---> 52aae783b0ef 06:07:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:07:12 ---> Running in ac32cf246446 06:07:12 Removing intermediate container ac32cf246446 06:07:12 ---> f16411e5cb4b 06:07:12 Step 24/26 : LABEL arch=arm64 06:07:12 ---> Running in c7440a34bbf2 06:07:12 Removing intermediate container c7440a34bbf2 06:07:12 ---> db5df0f5dcaa 06:07:12 Step 25/26 : LABEL git_sha=6944fbfa37580ab496b8b06e8a373db0c0289fb1 06:07:12 ---> Running in 30fc50878f10 06:07:12 Removing intermediate container 30fc50878f10 06:07:12 ---> 829cad38f9d7 06:07:12 Step 26/26 : LABEL version=0.0.0 06:07:12 ---> Running in fcd7072e3e26 06:07:12 Removing intermediate container fcd7072e3e26 06:07:12 ---> 7a61e41ca762 06:07:12 [Warning] One or more build-args [ARCH] were not consumed 06:07:12 Successfully built 7a61e41ca762 06:07:12 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:07:13 ---> job-cost.sh 06:07:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mDS2 06:07:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:09:32 lf-activate-venv(): INFO: Adding /tmp/venv-mDS2/bin to PATH 06:09:32 INFO: No Stack... 06:09:32 INFO: Retrieving Pricing Info for: v2-standard-4 06:09:32 INFO: Archiving Costs [Pipeline] sh 06:09:33 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 06:09:33 + cut -d, -f6 [Pipeline] lock 06:09:33 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] 06:09:33 Resource [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] did not exist. Created. 06:09:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:09:33 /w/workspace/device-virtual-go/1@tmp/durable-3f5c5ff2/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-3f5c5ff2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:09:36 + echo total: 0.18000000715255737 [Pipeline] stash 06:09:36 Warning: overwriting stash ‘stack-cost’ 06:09:37 Stashed 1 file(s) [Pipeline] } 06:09:37 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:09:38 provisioning config files... 06:09:38 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-217@tmp/config7464724369635338786tmp [Pipeline] { [Pipeline] sh 06:09:38 + set +x 06:09:38 + curl -s https://codecov.io/bash 06:09:38 + bash -s -- 06:09:38 06:09:38 _____ _ 06:09:38 / ____| | | 06:09:38 | | ___ __| | ___ ___ _____ __ 06:09:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:09:38 | |___| (_) | (_| | __/ (_| (_) \ V / 06:09:38 \_____\___/ \__,_|\___|\___\___/ \_/ 06:09:38 Bash-1.0.3 06:09:38 06:09:38 06:09:38 ==> git version 2.24.4 found 06:09:38 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:09:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:09:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:09:38 ==> Jenkins CI detected. 06:09:38 project root: . 06:09:38 --> token set from env 06:09:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:09:38 ==> Running gcov in . (disable via -X gcov) 06:09:38 ==> Python coveragepy not found 06:09:38 ==> Searching for coverage reports in: 06:09:38 + . 06:09:38 -> Found 1 reports 06:09:38 ==> Detecting git/mercurial file structure 06:09:38 ==> Reading reports 06:09:38 + ./coverage.out bytes=47247 06:09:38 ==> Appending adjustments 06:09:38 https://docs.codecov.io/docs/fixing-reports 06:09:38 + Found adjustments 06:09:38 ==> Gzipping contents 06:09:38 8.0K /tmp/codecov.LC3WX0.gz 06:09:38 ==> Uploading reports 06:09:38 url: https://codecov.io 06:09:38 query: branch=PR-217&commit=6944fbfa37580ab496b8b06e8a373db0c0289fb1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=217&job=&cmd_args= 06:09:38 -> Pinging Codecov 06:09:38 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-217&commit=6944fbfa37580ab496b8b06e8a373db0c0289fb1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=217&job=&cmd_args= 06:09:39 -> Uploading to 06:09:39 https://storage.googleapis.com/codecov/v4/raw/2021-05-31/5E52B4B073DB2E39498172D8E973AA87/6944fbfa37580ab496b8b06e8a373db0c0289fb1/7274a7b3-dfe2-43f9-a56c-dc62f41f9cc9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210531T060939Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=467051b3e6e04c18002ad6da84abe9ced2e8d4340d5ded10a7a219559efea715 06:09:39 % Total % Received % Xferd Average Speed Time Time Time Current 06:09:39 Dload Upload Total Spent Left Speed 06:09:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5783 0 0 100 5783 0 12741 --:--:-- --:--:-- --:--:-- 12737 100 5783 0 0 100 5783 0 12736 --:--:-- --:--:-- --:--:-- 12737 06:09:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/6944fbfa37580ab496b8b06e8a373db0c0289fb1 [Pipeline] } 06:09:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:09:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:09:44 ---> package-listing.sh 06:09:44 ++ facter osfamily 06:09:44 ++ tr '[:upper:]' '[:lower:]' 06:09:44 + OS_FAMILY=redhat 06:09:44 + workspace=/w/workspace/foundry_device-virtual-go_PR-217 06:09:44 + START_PACKAGES=/tmp/packages_start.txt 06:09:44 + END_PACKAGES=/tmp/packages_end.txt 06:09:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:09:44 + PACKAGES=/tmp/packages_start.txt 06:09:44 + '[' /w/workspace/foundry_device-virtual-go_PR-217 ']' 06:09:44 + PACKAGES=/tmp/packages_end.txt 06:09:44 + case "${OS_FAMILY}" in 06:09:44 + rpm -qa 06:09:44 + sort 06:09:45 + '[' -f /tmp/packages_start.txt ']' 06:09:45 + '[' -f /tmp/packages_end.txt ']' 06:09:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:09:45 + '[' /w/workspace/foundry_device-virtual-go_PR-217 ']' 06:09:45 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-217/archives/ 06:09:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-217/archives/ [Pipeline] echo 06:09: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-217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:09:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:09:47 06:09:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:09:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:09:48 alpine: Pulling from edgex-lftools-log-publisher 06:09:48 df20fa9351a1: Pulling fs layer 06:09:48 36b3adc4ff6f: Pulling fs layer 06:09:48 8ad3a11d3b57: Pulling fs layer 06:09:48 46f8f816bc3b: Pulling fs layer 06:09:48 93b61091891f: Pulling fs layer 06:09:48 93b9cdb0e59b: Pulling fs layer 06:09:48 5e14af77c1be: Pulling fs layer 06:09:48 01666e4c0597: Pulling fs layer 06:09:48 aa168da1d23b: Pulling fs layer 06:09:48 93b61091891f: Waiting 06:09:48 93b9cdb0e59b: Waiting 06:09:48 5e14af77c1be: Waiting 06:09:48 01666e4c0597: Waiting 06:09:48 aa168da1d23b: Waiting 06:09:48 46f8f816bc3b: Waiting 06:09:48 36b3adc4ff6f: Verifying Checksum 06:09:48 36b3adc4ff6f: Download complete 06:09:48 46f8f816bc3b: Verifying Checksum 06:09:48 46f8f816bc3b: Download complete 06:09:48 df20fa9351a1: Verifying Checksum 06:09:48 df20fa9351a1: Download complete 06:09:48 93b9cdb0e59b: Verifying Checksum 06:09:48 93b9cdb0e59b: Download complete 06:09:48 5e14af77c1be: Verifying Checksum 06:09:48 5e14af77c1be: Download complete 06:09:48 01666e4c0597: Verifying Checksum 06:09:48 01666e4c0597: Download complete 06:09:48 93b61091891f: Verifying Checksum 06:09:48 93b61091891f: Download complete 06:09:48 df20fa9351a1: Pull complete 06:09:48 8ad3a11d3b57: Verifying Checksum 06:09:48 8ad3a11d3b57: Download complete 06:09:48 36b3adc4ff6f: Pull complete 06:09:49 8ad3a11d3b57: Pull complete 06:09:49 46f8f816bc3b: Pull complete 06:09:49 93b61091891f: Pull complete 06:09:49 93b9cdb0e59b: Pull complete 06:09:49 5e14af77c1be: Pull complete 06:09:49 01666e4c0597: Pull complete 06:09:50 aa168da1d23b: Verifying Checksum 06:09:50 aa168da1d23b: Download complete 06:09:55 aa168da1d23b: Pull complete 06:09:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:09:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:09:55 prd-centos7-docker-4c-2g-1153 does not seem to be running inside a container 06:09:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-217/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-217 -v /w/workspace/foundry_device-virtual-go_PR-217:/w/workspace/foundry_device-virtual-go_PR-217:rw,z -v /w/workspace/foundry_device-virtual-go_PR-217@tmp:/w/workspace/foundry_device-virtual-go_PR-217@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:10003/edgex-lftools-log-publisher:alpine cat 06:09:58 $ docker top 5ec6f0548fcf2cd608401f91f9b0df7ee78211c6076f41bd032db0c9b77ff014 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:59 + touch /tmp/pre-build-complete [Pipeline] sh 06:09:59 + mkdir -p /var/log/sa [Pipeline] sh 06:09:59 + ls /var/log/sa-host 06:09:59 + sadf -c /var/log/sa-host/sa05 06:09:59 file_magic: OK 06:09:59 HZ: Using current value: 100 06:09:59 file_header: OK 06:09:59 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:09:59 Statistics: 06:09:59 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:09:59 File successfully converted to sysstat format version 12.2.1 06:09:59 + sadf -c /var/log/sa-host/sa31 06:09:59 file_magic: OK 06:09:59 HZ: Using current value: 100 06:09:59 file_header: OK 06:09:59 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:09:59 Statistics: 06:09:59 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...Hnuu...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:09:59 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:59 provisioning config files... 06:09:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-217@tmp/config5519793614762689752tmp [Pipeline] { [Pipeline] echo 06:09:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:10:00 ---> create-netrc.sh [Pipeline] } 06:10:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:10:00 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:10:02 ---> python-tools-install.sh [Pipeline] echo 06:10:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:10:02 ---> sudo-logs.sh 06:10:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:10:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:10:03 ---> job-cost.sh 06:10:03 lf-activate-venv: SKIPPING 06:10:03 DEBUG: total: 0.18000000715255737 06:10:03 INFO: Retrieving Stack Cost... 06:10:04 INFO: Retrieving Pricing Info for: v3-standard-2 06:10:05 INFO: Archiving Costs [Pipeline] echo 06:10:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:10:05 ---> logs-deploy.sh 06:10:05 lf-activate-venv: SKIPPING 06:10:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-217/1 06:10:05 INFO: archiving workspace using pattern(s): 06:10:06 Archives upload complete. 06:10:06 INFO: archiving logs to Nexus