Pull request #200 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 390274e52fec6bb2c444bd84e5560e61a6e3132c+630144a10735cec8e2a8b402cbcf2c5516b5e8e8 (25fb429dbc4c425d966c4e100ca140853d4e5c64) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh 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-200/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-200/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3345’ is offline; ‘prd-centos7-docker-4c-2g-3347’ is offline; ‘prd-centos7-docker-4c-2g-3348’ is offline; ‘prd-centos7-docker-4c-2g-3351’ is offline; ‘prd-centos7-docker-4c-2g-3361’ is offline Running on prd-centos7-docker-4c-2g-3369 in /w/workspace/foundry_device-virtual-go_PR-200 [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-200 # 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 Merging remotes/origin/master commit 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 into PR head commit 390274e52fec6bb2c444bd84e5560e61a6e3132c Merge succeeded, producing 390274e52fec6bb2c444bd84e5560e61a6e3132c Checking out Revision 390274e52fec6bb2c444bd84e5560e61a6e3132c (PR-200) > 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/200/head:refs/remotes/origin/PR-200 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # 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 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 Commit message: "ci: update local docker image names" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:50:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:50:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:50:37 ========================================================= 22:50:37 EdgeX Global Pipelines Version Info 22:50:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:50:39 ------------------- 22:50:39 stable info: 22:50:39 ------------------- 22:50:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:50:39 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 22:50:39 Message: update stable to v1.0.191 22:50:40 ------------------- 22:50:40 experimental info: 22:50:40 ------------------- 22:50:40 Commited By: **** collab-it+edgex@linuxfoundation.org 22:50:40 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 22:50:40 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:50:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:50:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:50:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:50:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:50:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:50:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo 22:50:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo 22:50:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 390274e52fec6bb2c444bd84e5560e61a6e3132c [Pipeline] echo 22:50:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 390274e [Pipeline] echo 22:50:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:50:43 provisioning config files... 22:50:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-200@tmp/config1022619362677818401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:43 ---> docker-login.sh 22:50:43 nexus3.edgexfoundry.org:10001 22:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:44 Configure a credential helper to remove this warning. See 22:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:44 22:50:44 Login Succeeded 22:50:44 nexus3.edgexfoundry.org:10002 22:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:44 Configure a credential helper to remove this warning. See 22:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:44 22:50:44 Login Succeeded 22:50:44 nexus3.edgexfoundry.org:10003 22:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:44 Configure a credential helper to remove this warning. See 22:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:44 22:50:44 Login Succeeded 22:50:44 nexus3.edgexfoundry.org:10004 22:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:44 Configure a credential helper to remove this warning. See 22:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:44 22:50:44 Login Succeeded 22:50:44 docker.io 22:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:45 Configure a credential helper to remove this warning. See 22:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:45 22:50:45 Login Succeeded 22:50:45 ---> docker-login.sh ends [Pipeline] } 22:50:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:45 + git log --format=format:%s -1 390274e52fec6bb2c444bd84e5560e61a6e3132c [Pipeline] echo 22:50:46 GIT_COMMIT: 390274e52fec6bb2c444bd84e5560e61a6e3132c, Commit Message: ci: update local docker image names [Pipeline] echo 22:50:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:50:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:50:46 22:50:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:50:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:50:47 latest: Pulling from edgex-devops/git-semver 22:50:47 31603596830f: Pulling fs layer 22:50:47 54011a49482f: Pulling fs layer 22:50:47 a6820b24f6d8: Pulling fs layer 22:50:47 f581987b2513: Pulling fs layer 22:50:47 f581987b2513: Waiting 22:50:47 54011a49482f: Verifying Checksum 22:50:47 54011a49482f: Download complete 22:50:47 31603596830f: Verifying Checksum 22:50:47 31603596830f: Download complete 22:50:47 f581987b2513: Verifying Checksum 22:50:47 f581987b2513: Download complete 22:50:47 a6820b24f6d8: Verifying Checksum 22:50:47 a6820b24f6d8: Download complete 22:50:47 31603596830f: Pull complete 22:50:47 54011a49482f: Pull complete 22:50:48 a6820b24f6d8: Pull complete 22:50:48 f581987b2513: Pull complete 22:50:49 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:50:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:50:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:50:49 prd-centos7-docker-4c-2g-3369 does not seem to be running inside a container 22:50:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-200 -v /w/workspace/foundry_device-virtual-go_PR-200:/w/workspace/foundry_device-virtual-go_PR-200:rw,z -v /w/workspace/foundry_device-virtual-go_PR-200@tmp:/w/workspace/foundry_device-virtual-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:50:51 $ docker top 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:50:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:52 [ssh-agent] Looking for ssh-agent implementation... 22:50:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:52 $ docker exec 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 ssh-agent 22:50:52 SSH_AUTH_SOCK=/tmp/ssh-eOak3LDN1Tes/agent.11 22:50:52 SSH_AGENT_PID=16 22:50:52 Running ssh-add (command line suppressed) 22:50:52 Identity added: /w/workspace/foundry_device-virtual-go_PR-200@tmp/private_key_7669703038959590293.key (/w/workspace/foundry_device-virtual-go_PR-200@tmp/private_key_7669703038959590293.key) 22:50:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:53 + git tag --points-at HEAD [Pipeline] } 22:50:53 $ docker exec --env ******** --env ******** 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 ssh-agent -k 22:50:53 unset SSH_AUTH_SOCK; 22:50:53 unset SSH_AGENT_PID; 22:50:53 echo Agent pid 16 killed; 22:50:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:50:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:53 [ssh-agent] Looking for ssh-agent implementation... 22:50:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:53 $ docker exec 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 ssh-agent 22:50:53 SSH_AUTH_SOCK=/tmp/ssh-dUSkPgqATiQh/agent.45 22:50:53 SSH_AGENT_PID=50 22:50:53 Running ssh-add (command line suppressed) 22:50:53 Identity added: /w/workspace/foundry_device-virtual-go_PR-200@tmp/private_key_8786072033138755807.key (/w/workspace/foundry_device-virtual-go_PR-200@tmp/private_key_8786072033138755807.key) 22:50:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:54 + git semver init 22:50:54 # -> Open(): unable to determine branch for HEAD 22:50:54 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-200/.git 22:50:54 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-200 22:50:54 # $SEMVER_REMOTE_NAME = origin 22:50:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:50:54 # $SEMVER_USER_NAME = edgex-jenkins 22:50:54 # $SEMVER_BRANCH = PR-200 22:50:54 # $SEMVER_TEMP = /tmp/semver-879031059 22:50:54 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 22:50:54 # '/tmp/semver-879031059' -> '/w/workspace/foundry_device-virtual-go_PR-200/.semver' 22:50:54 # -> Force: false 22:50:54 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-200/.semver [Pipeline] } 22:50:54 $ docker exec --env ******** --env ******** 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 ssh-agent -k 22:50:55 unset SSH_AUTH_SOCK; 22:50:55 unset SSH_AGENT_PID; 22:50:55 echo Agent pid 50 killed; 22:50:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:50:55 + git semver [Pipeline] } 22:50:55 $ docker stop --time=1 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 22:50:57 $ docker rm -f 63386c2e571a794376fbf6f357dee9d7af8492a97cdec5b9cba8df3407967737 [Pipeline] // withDockerContainer [Pipeline] sh 22:50:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:50:58 Stashed 1 file(s) [Pipeline] echo 22:50:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 22:51:13 Still waiting to schedule task 22:51:13 ‘prd-centos7-docker-4c-2g-3345’ is offline; ‘prd-centos7-docker-4c-2g-3347’ is offline; ‘prd-centos7-docker-4c-2g-3348’ is offline; ‘prd-centos7-docker-4c-2g-3351’ is offline; ‘prd-centos7-docker-4c-2g-3372’ is offline; ‘prd-centos7-docker-4c-2g-3374’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3367’ doesn’t have label ‘centos7-docker-4c-2g’ 22:51:13 Still waiting to schedule task 22:51:13 ‘prd-centos7-docker-4c-2g-3345’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3347’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3348’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3351’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3372’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3374’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3367’ is offline 22:51:45 Running on prd-centos7-docker-4c-2g-3378 in /w/workspace/foundry_device-virtual-go_PR-200 [Pipeline] { [Pipeline] ws 22:51:45 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 22:51:48 using credential edgex-jenkins-ssh 22:51:48 Cloning the remote Git repository 22:51:48 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:51:48 > git init /w/workspace/device-virtual-go/1 # timeout=10 22:51:49 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:51:49 > git --version # timeout=10 22:51:49 > git --version # 'git version 2.24.3' 22:51:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:51:49 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:51:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:51:49 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:51:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:51:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:51:50 Merging remotes/origin/master commit 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 into PR head commit 390274e52fec6bb2c444bd84e5560e61a6e3132c 22:51:50 Merge succeeded, producing 390274e52fec6bb2c444bd84e5560e61a6e3132c 22:51:50 Checking out Revision 390274e52fec6bb2c444bd84e5560e61a6e3132c (PR-200) 22:51:50 > git config core.sparsecheckout # timeout=10 22:51:50 > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 22:51:50 > git remote # timeout=10 22:51:50 > git config --get remote.origin.url # timeout=10 22:51:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:50 > git merge 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 # timeout=10 22:51:50 > git rev-parse HEAD^{commit} # timeout=10 22:51:50 > git config core.sparsecheckout # timeout=10 22:51:50 > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 22:51:54 Commit message: "ci: update local docker image names" 22:51:54 > git --version # timeout=10 22:51:54 > git --version # 'git version 2.24.3' 22:51:54 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:51:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:51:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:51:56 + sudo service docker restart 22:51:56 + true 22:51:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:51:57 provisioning config files... 22:51:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config521651066453333352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:51:57 ---> docker-login.sh 22:51:57 nexus3.edgexfoundry.org:10001 22:51:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:58 Configure a credential helper to remove this warning. See 22:51:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:58 22:51:58 Login Succeeded 22:51:58 nexus3.edgexfoundry.org:10002 22:51:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:58 Configure a credential helper to remove this warning. See 22:51:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:58 22:51:58 Login Succeeded 22:51:58 nexus3.edgexfoundry.org:10003 22:51:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:58 Configure a credential helper to remove this warning. See 22:51:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:58 22:51:58 Login Succeeded 22:51:58 nexus3.edgexfoundry.org:10004 22:51:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:58 Configure a credential helper to remove this warning. See 22:51:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:58 22:51:58 Login Succeeded 22:51:58 docker.io 22:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:59 Configure a credential helper to remove this warning. See 22:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:59 22:51:59 Login Succeeded 22:51:59 ---> docker-login.sh ends [Pipeline] } 22:51:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:51:59 ========================================================= 22:51:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:51:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:52:00 + 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 . 22:52:00 Sending build context to Docker daemon 525.8kB 22:52:00 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:52:00 Step 2/8 : FROM ${BASE} 22:52:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:52:00 540db60ca938: Pulling fs layer 22:52:00 adcc1eea9eea: Pulling fs layer 22:52:00 4c4ab2625f07: Pulling fs layer 22:52:00 0510c868ecb4: Pulling fs layer 22:52:00 afea3b2eda06: Pulling fs layer 22:52:00 7809a108b3ef: Pulling fs layer 22:52:00 f706445af74f: Pulling fs layer 22:52:00 afea3b2eda06: Waiting 22:52:00 7809a108b3ef: Waiting 22:52:00 f706445af74f: Waiting 22:52:00 0510c868ecb4: Waiting 22:52:00 4c4ab2625f07: Verifying Checksum 22:52:00 4c4ab2625f07: Download complete 22:52:00 adcc1eea9eea: Verifying Checksum 22:52:00 adcc1eea9eea: Download complete 22:52:00 afea3b2eda06: Verifying Checksum 22:52:00 afea3b2eda06: Download complete 22:52:00 7809a108b3ef: Verifying Checksum 22:52:00 7809a108b3ef: Download complete 22:52:00 540db60ca938: Verifying Checksum 22:52:00 540db60ca938: Download complete 22:52:01 540db60ca938: Pull complete 22:52:01 adcc1eea9eea: Pull complete 22:52:01 4c4ab2625f07: Pull complete 22:52:01 f706445af74f: Verifying Checksum 22:52:01 f706445af74f: Download complete 22:52:04 0510c868ecb4: Verifying Checksum 22:52:04 0510c868ecb4: Download complete 22:52:11 0510c868ecb4: Pull complete 22:52:11 afea3b2eda06: Pull complete 22:52:11 7809a108b3ef: Pull complete 22:52:15 f706445af74f: Pull complete 22:52:15 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:52:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:52:15 ---> b068be0155e3 22:52:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 22:52:15 ---> Running in 8350340957c0 22:52:15 Removing intermediate container 8350340957c0 22:52:15 ---> df8b04fbc1f2 22:52:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:52:15 ---> Running in ff8072b4cd11 22:52:17 Removing intermediate container ff8072b4cd11 22:52:17 ---> 9cf061725c61 22:52:17 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 22:52:17 ---> Running in 515d825857fd 22:52:18 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:52:19 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:52:19 (1/13) Installing libc-dev (0.7.2-r3) 22:52:19 (2/13) Installing libsodium (1.0.18-r0) 22:52:19 (3/13) Installing pkgconf (1.7.3-r0) 22:52:19 (4/13) Installing libsodium-dev (1.0.18-r0) 22:52:19 (5/13) Installing openssh-keygen (8.4_p1-r3) 22:52:20 (6/13) Installing libedit (20191231.3.1-r1) 22:52:20 (7/13) Installing openssh-client (8.4_p1-r3) 22:52:20 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 22:52:20 (9/13) Installing openssh-server-common (8.4_p1-r3) 22:52:20 (10/13) Installing openssh-server (8.4_p1-r3) 22:52:20 (11/13) Installing openssh (8.4_p1-r3) 22:52:21 (12/13) Installing libzmq (4.3.3-r1) 22:52:21 (13/13) Installing zeromq-dev (4.3.3-r1) 22:52:22 Executing busybox-1.32.1-r6.trigger 22:52:22 OK: 156 MiB in 53 packages 22:52:23 Removing intermediate container 515d825857fd 22:52:23 ---> 0fadfb80afa5 22:52:23 Step 6/8 : WORKDIR /device-virtual-go 22:52:23 ---> Running in 4557230ad503 22:52:23 Removing intermediate container 4557230ad503 22:52:23 ---> 03eb64e970d1 22:52:23 Step 7/8 : COPY . . 22:52:24 ---> 701f4c97c379 22:52:24 Step 8/8 : RUN go mod download 22:52:24 ---> Running in bcb96d4fd0c8 22:52:50 Removing intermediate container bcb96d4fd0c8 22:52:50 ---> 9005bc86e587 22:52:50 Successfully built 9005bc86e587 22:52:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:52:51 + docker inspect -f . ci-base-image-x86_64 22:52:51 . [Pipeline] withDockerContainer 22:52:51 prd-centos7-docker-4c-2g-3378 does not seem to be running inside a container 22:52:51 $ 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 ******** -e ******** ci-base-image-x86_64 cat 22:52:52 $ docker top 24d5bdb4778668d06968be86d913b69e778f7d85745bf39412f536e2131d4a99 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:53 + go version 22:52:53 go version go1.16.3 linux/amd64 [Pipeline] } 22:52:53 $ docker stop --time=1 24d5bdb4778668d06968be86d913b69e778f7d85745bf39412f536e2131d4a99 22:52:54 $ docker rm -f 24d5bdb4778668d06968be86d913b69e778f7d85745bf39412f536e2131d4a99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:52:55 + docker inspect -f . ci-base-image-x86_64 22:52:55 . [Pipeline] withDockerContainer 22:52:55 prd-centos7-docker-4c-2g-3378 does not seem to be running inside a container 22:52:55 $ 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 ******** -e ******** ci-base-image-x86_64 cat 22:52:56 $ docker top 00e82f9fbd425f7973448a5774e4b8fbdc9e276f41305ffa91f56b62fceb2351 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:56 + go mod tidy [Pipeline] sh 22:52:58 + make test 22:52:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:52:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:53:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:53:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.573s coverage: 63.8% of statements 22:53:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:53:42 gofmt -l . 22:53:42 [ "`gofmt -l .`" = "" ] 22:53:42 ./bin/test-attribution-txt.sh 22:53:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:53:42 $ docker stop --time=1 00e82f9fbd425f7973448a5774e4b8fbdc9e276f41305ffa91f56b62fceb2351 22:53:44 $ docker rm -f 00e82f9fbd425f7973448a5774e4b8fbdc9e276f41305ffa91f56b62fceb2351 [Pipeline] // withDockerContainer [Pipeline] sh 22:53:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:53:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:53:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:53:47 + ls -al . 22:53:47 total 132 22:53:47 drwxrwxr-x. 7 jenkins jenkins 4096 May 6 22:53 . 22:53:47 drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:51 .. 22:53:47 -rw-rw-r--. 1 jenkins jenkins 8153 May 6 22:51 Attribution.txt 22:53:47 drwxrwxr-x. 2 jenkins jenkins 64 May 6 22:51 bin 22:53:47 drwxrwxr-x. 3 jenkins jenkins 32 May 6 22:51 cmd 22:53:47 -rw-r--r--. 1 jenkins jenkins 47247 May 6 22:53 coverage.out 22:53:47 -rw-rw-r--. 1 jenkins jenkins 1905 May 6 22:51 Dockerfile 22:53:47 -rw-rw-r--. 1 jenkins jenkins 998 May 6 22:51 Dockerfile.build 22:53:47 drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:51 .git 22:53:47 drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:51 .github 22:53:47 -rw-rw-r--. 1 jenkins jenkins 277 May 6 22:51 .gitignore 22:53:47 -rw-r--r--. 1 jenkins jenkins 809 May 6 22:53 go.mod 22:53:47 -rw-r--r--. 1 jenkins jenkins 23585 May 6 22:52 go.sum 22:53:47 drwxrwxr-x. 3 jenkins jenkins 20 May 6 22:51 internal 22:53:47 -rw-rw-r--. 1 jenkins jenkins 660 May 6 22:51 Jenkinsfile 22:53:47 -rw-rw-r--. 1 jenkins jenkins 11340 May 6 22:51 LICENSE 22:53:47 -rw-rw-r--. 1 jenkins jenkins 901 May 6 22:51 Makefile 22:53:47 -rw-rw-r--. 1 jenkins jenkins 2745 May 6 22:51 README.md 22:53:47 -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:50 VERSION 22:53:47 -rw-rw-r--. 1 jenkins jenkins 235 May 6 22:51 version.go [Pipeline] isUnix [Pipeline] sh 22:53:48 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=390274e52fec6bb2c444bd84e5560e61a6e3132c --label arch=amd64 --label version=0.0.0 . 22:53:48 Sending build context to Docker daemon 598.5kB 22:53:48 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 22:53:48 Step 2/25 : FROM ${BASE} AS builder 22:53:48 ---> 9005bc86e587 22:53:48 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:53:48 ---> Running in da884320fa58 22:53:48 Removing intermediate container da884320fa58 22:53:48 ---> 7192dd32b27f 22:53:48 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:53:48 ---> Running in f14bd15161e4 22:53:48 Removing intermediate container f14bd15161e4 22:53:48 ---> 6497b24b15d8 22:53:48 Step 5/25 : WORKDIR /device-virtual-go 22:53:49 ---> Running in 3c5f51403d97 22:53:49 Removing intermediate container 3c5f51403d97 22:53:49 ---> edafc7f81995 22:53:49 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:53:49 ---> Running in 0a1d471ce620 22:53:50 Removing intermediate container 0a1d471ce620 22:53:50 ---> f5ce654dd717 22:53:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:53:50 ---> Running in 3bcead802418 22:53:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:53:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:53:53 OK: 156 MiB in 53 packages 22:53:53 Removing intermediate container 3bcead802418 22:53:53 ---> 33979d9a49d8 22:53:53 Step 8/25 : COPY . . 22:53:54 ---> e900266bd733 22:53:54 Step 9/25 : RUN go mod download 22:53:54 ---> Running in 6c8eb4a70946 22:53:55 Removing intermediate container 6c8eb4a70946 22:53:55 ---> c74ed5c89129 22:53:55 Step 10/25 : ARG MAKE='make build' 22:53:55 ---> Running in ad4605765f30 22:53:55 Removing intermediate container ad4605765f30 22:53:55 ---> 18c980a3927a 22:53:55 Step 11/25 : RUN $MAKE 22:53:55 ---> Running in 9c1875ee6598 22:53:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 22:54:18 CGO_ENABLED=1 GO111MODULE=on go build ./... 22:54:20 Removing intermediate container 9c1875ee6598 22:54:20 ---> 234304eeceb9 22:54:20 Step 12/25 : FROM alpine:3.12 22:54:21 3.12: Pulling from library/alpine 22:54:21 339de151aab4: Pulling fs layer 22:54:21 339de151aab4: Verifying Checksum 22:54:21 339de151aab4: Download complete 22:54:21 339de151aab4: Pull complete 22:54:21 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:54:21 Status: Downloaded newer image for alpine:3.12 22:54:21 ---> 13621d1b12d4 22:54:21 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:54:21 ---> Running in aeef4564718b 22:54:21 Removing intermediate container aeef4564718b 22:54:21 ---> 9aa2e15510b0 22:54:21 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:21 ---> Running in 237e37b91250 22:54:22 Removing intermediate container 237e37b91250 22:54:22 ---> a3ea4af580ba 22:54:22 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 22:54:22 ---> Running in fe402006ce6a 22:54:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:54:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:54:24 (1/6) Installing dumb-init (1.2.2-r1) 22:54:24 (2/6) Installing libgcc (9.3.0-r2) 22:54:24 (3/6) Installing libsodium (1.0.18-r0) 22:54:24 (4/6) Installing libstdc++ (9.3.0-r2) 22:54:25 (5/6) Installing libzmq (4.3.3-r0) 22:54:25 (6/6) Installing zeromq (4.3.3-r0) 22:54:25 Executing busybox-1.31.1-r20.trigger 22:54:25 OK: 8 MiB in 20 packages 22:54:26 Removing intermediate container fe402006ce6a 22:54:26 ---> ecc415605b98 22:54:26 Step 16/25 : WORKDIR / 22:54:26 ---> Running in c872022abe01 22:54:26 Removing intermediate container c872022abe01 22:54:26 ---> 408ae3eb7782 22:54:26 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:54:26 ---> 4a7805f3bfe8 22:54:26 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:54:26 ---> 2ba2e4e3469d 22:54:26 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:54:27 ---> 5e9103010c6c 22:54:27 Step 20/25 : EXPOSE 49990 22:54:27 ---> Running in f58d7438f462 22:54:27 Removing intermediate container f58d7438f462 22:54:27 ---> 2e49afaa9e78 22:54:27 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:54:27 ---> Running in 68271688e560 22:54:27 Removing intermediate container 68271688e560 22:54:27 ---> 8f2c5df1805a 22:54:27 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:54:27 ---> Running in 4b313eafefd3 22:54:28 Removing intermediate container 4b313eafefd3 22:54:28 ---> c1fa870ca095 22:54:28 Step 23/25 : LABEL arch=amd64 22:54:28 ---> Running in b108c4f22e2d 22:54:28 Removing intermediate container b108c4f22e2d 22:54:28 ---> 5a8985380099 22:54:28 Step 24/25 : LABEL git_sha=390274e52fec6bb2c444bd84e5560e61a6e3132c 22:54:28 ---> Running in b48a4b1b9236 22:54:28 Removing intermediate container b48a4b1b9236 22:54:28 ---> e411dc6d1097 22:54:28 Step 25/25 : LABEL version=0.0.0 22:54:28 ---> Running in fcdaab2d7d9a 22:54:28 Removing intermediate container fcdaab2d7d9a 22:54:28 ---> d765adea6610 22:54:28 [Warning] One or more build-args [ARCH] were not consumed 22:54:28 Successfully built d765adea6610 22:54:28 Successfully tagged docker-device-virtual-go: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 22:54:29 ---> job-cost.sh 22:54:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-O7wL 22:54:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:55:14 lf-activate-venv(): INFO: Adding /tmp/venv-O7wL/bin to PATH 22:55:14 INFO: No Stack... 22:55:14 INFO: Retrieving Pricing Info for: v1-standard-2 22:55:14 INFO: Archiving Costs [Pipeline] sh 22:55:14 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 22:55:14 + cut -d, -f6 [Pipeline] lock 22:55:15 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] 22:55:15 Resource [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] did not exist. Created. 22:55:15 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:55:15 + echo total: 0.029999999329447746 [Pipeline] stash 22:55:15 Stashed 1 file(s) [Pipeline] } 22:55:15 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:59:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3389 in /w/workspace/foundry_device-virtual-go_PR-200 [Pipeline] { [Pipeline] ws 22:59:19 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 22:59:27 using credential edgex-jenkins-ssh 22:59:27 Cloning the remote Git repository 22:59:27 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:59:27 > git init /w/workspace/device-virtual-go/1 # timeout=10 22:59:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:59:27 > git --version # timeout=10 22:59:27 > git --version # 'git version 2.17.1' 22:59:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:59:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:59:29 Merging remotes/origin/master commit 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 into PR head commit 390274e52fec6bb2c444bd84e5560e61a6e3132c 22:59:29 Merge succeeded, producing 390274e52fec6bb2c444bd84e5560e61a6e3132c 22:59:29 Checking out Revision 390274e52fec6bb2c444bd84e5560e61a6e3132c (PR-200) 22:59:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:59:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:59:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:59:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:59:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:59:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:59:29 > git config core.sparsecheckout # timeout=10 22:59:29 > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 22:59:29 > git remote # timeout=10 22:59:29 > git config --get remote.origin.url # timeout=10 22:59:29 using GIT_SSH to set credentials SSH Credentials for GitHub 22:59:29 > git merge 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 # timeout=10 22:59:29 > git rev-parse HEAD^{commit} # timeout=10 22:59:29 > git config core.sparsecheckout # timeout=10 22:59:29 > git checkout -f 390274e52fec6bb2c444bd84e5560e61a6e3132c # timeout=10 22:59:33 Commit message: "ci: update local docker image names" 22:59:34 > git --version # timeout=10 22:59:34 > git --version # 'git version 2.17.1' 22:59:34 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:59:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:59:36 + + true 22:59:36 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:59:39 provisioning config files... 22:59:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config285636041272126135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:39 ---> docker-login.sh 22:59:39 nexus3.edgexfoundry.org:10001 22:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:41 Configure a credential helper to remove this warning. See 22:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:41 22:59:41 Login Succeeded 22:59:41 nexus3.edgexfoundry.org:10002 22:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:41 Configure a credential helper to remove this warning. See 22:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:41 22:59:41 Login Succeeded 22:59:41 nexus3.edgexfoundry.org:10003 22:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:42 Configure a credential helper to remove this warning. See 22:59:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:42 22:59:42 Login Succeeded 22:59:42 nexus3.edgexfoundry.org:10004 22:59:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:42 Configure a credential helper to remove this warning. See 22:59:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:42 22:59:42 Login Succeeded 22:59:42 docker.io 22:59:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:43 Configure a credential helper to remove this warning. See 22:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:43 22:59:43 Login Succeeded 22:59:43 ---> docker-login.sh ends [Pipeline] } 22:59:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:59:43 ========================================================= 22:59:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:59:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:59:44 + 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 . 22:59:44 Sending build context to Docker daemon 524.8kB 22:59:44 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:59:44 Step 2/8 : FROM ${BASE} 22:59:44 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:59:44 595b0fe564bb: Pulling fs layer 22:59:44 7186ed65a4f7: Pulling fs layer 22:59:44 316046926c0a: Pulling fs layer 22:59:44 4ebd0625c992: Pulling fs layer 22:59:44 207e8628e3a3: Pulling fs layer 22:59:44 c791037a9be2: Pulling fs layer 22:59:44 ffd874e62e21: Pulling fs layer 22:59:44 4ebd0625c992: Waiting 22:59:44 207e8628e3a3: Waiting 22:59:44 c791037a9be2: Waiting 22:59:44 ffd874e62e21: Waiting 22:59:44 316046926c0a: Verifying Checksum 22:59:44 316046926c0a: Download complete 22:59:44 7186ed65a4f7: Verifying Checksum 22:59:44 7186ed65a4f7: Download complete 22:59:44 207e8628e3a3: Verifying Checksum 22:59:44 207e8628e3a3: Download complete 22:59:44 c791037a9be2: Verifying Checksum 22:59:44 c791037a9be2: Download complete 22:59:44 595b0fe564bb: Verifying Checksum 22:59:44 595b0fe564bb: Download complete 22:59:45 595b0fe564bb: Pull complete 22:59:45 7186ed65a4f7: Pull complete 22:59:46 316046926c0a: Pull complete 22:59:47 ffd874e62e21: Verifying Checksum 22:59:47 ffd874e62e21: Download complete 22:59:49 4ebd0625c992: Verifying Checksum 22:59:49 4ebd0625c992: Download complete 22:59:59 4ebd0625c992: Pull complete 22:59:59 207e8628e3a3: Pull complete 22:59:59 c791037a9be2: Pull complete 23:00:03 ffd874e62e21: Pull complete 23:00:03 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 23:00:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:00:03 ---> cfc18b08335c 23:00:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 23:00:05 ---> Running in 3bafc24c2d5b 23:00:06 Removing intermediate container 3bafc24c2d5b 23:00:06 ---> 77897cfe1955 23:00:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:00:06 ---> Running in 3404b0a7a687 23:00:09 Removing intermediate container 3404b0a7a687 23:00:09 ---> 0451a9e3a2bd 23:00:09 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 23:00:09 ---> Running in 97af25ba32dd 23:00:10 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:00:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:00:13 (1/13) Installing libc-dev (0.7.2-r3) 23:00:13 (2/13) Installing libsodium (1.0.18-r0) 23:00:13 (3/13) Installing pkgconf (1.7.3-r0) 23:00:13 (4/13) Installing libsodium-dev (1.0.18-r0) 23:00:13 (5/13) Installing openssh-keygen (8.4_p1-r3) 23:00:13 (6/13) Installing libedit (20191231.3.1-r1) 23:00:14 (7/13) Installing openssh-client (8.4_p1-r3) 23:00:15 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 23:00:15 (9/13) Installing openssh-server-common (8.4_p1-r3) 23:00:15 (10/13) Installing openssh-server (8.4_p1-r3) 23:00:16 (11/13) Installing openssh (8.4_p1-r3) 23:00:16 (12/13) Installing libzmq (4.3.3-r1) 23:00:16 (13/13) Installing zeromq-dev (4.3.3-r1) 23:00:17 Executing busybox-1.32.1-r6.trigger 23:00:17 OK: 145 MiB in 53 packages 23:00:18 Removing intermediate container 97af25ba32dd 23:00:18 ---> bc49a633a788 23:00:18 Step 6/8 : WORKDIR /device-virtual-go 23:00:18 ---> Running in 6fdea501edd6 23:00:19 Removing intermediate container 6fdea501edd6 23:00:19 ---> 31cbba02447f 23:00:19 Step 7/8 : COPY . . 23:00:20 ---> 49da09990fbc 23:00:20 Step 8/8 : RUN go mod download 23:00:20 ---> Running in 1c266e288737 23:00:52 Removing intermediate container 1c266e288737 23:00:52 ---> bcd386215c1d 23:00:52 Successfully built bcd386215c1d 23:00:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:00:52 + docker inspect -f . ci-base-image-arm64 23:00:52 . [Pipeline] withDockerContainer 23:00:53 prd-ubuntu18.04-docker-arm64-4c-16g-3389 does not seem to be running inside a container 23:00:53 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:00:55 $ docker top f7cebeefc25d82de67c99166c0521cacaa9f82bd7df7b3beda87f06bf9492d3c -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:56 + go version 23:00:56 go version go1.16.3 linux/arm64 [Pipeline] } 23:00:56 $ docker stop --time=1 f7cebeefc25d82de67c99166c0521cacaa9f82bd7df7b3beda87f06bf9492d3c 23:00:58 $ docker rm -f f7cebeefc25d82de67c99166c0521cacaa9f82bd7df7b3beda87f06bf9492d3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:00:59 + docker inspect -f . ci-base-image-arm64 23:00:59 . [Pipeline] withDockerContainer 23:00:59 prd-ubuntu18.04-docker-arm64-4c-16g-3389 does not seem to be running inside a container 23:00:59 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:01:01 $ docker top 3708907e7dfcbe48d3bdd043f3a6bded600718e3e72ad15693b25ef9a43942d7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:01:02 + go mod tidy [Pipeline] sh 23:01:03 + make test 23:01:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:01:05 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:02:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:02:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.134s coverage: 63.8% of statements 23:02:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:02:50 gofmt -l . 23:02:50 [ "`gofmt -l .`" = "" ] 23:02:50 ./bin/test-attribution-txt.sh 23:02:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:02:50 $ docker stop --time=1 3708907e7dfcbe48d3bdd043f3a6bded600718e3e72ad15693b25ef9a43942d7 23:02:52 $ docker rm -f 3708907e7dfcbe48d3bdd043f3a6bded600718e3e72ad15693b25ef9a43942d7 [Pipeline] // withDockerContainer [Pipeline] sh 23:02:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:02:53 Warning: overwriting stash ‘coverage-report’ 23:02:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:02:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:02:55 + ls -al . 23:02:55 total 156 23:02:55 drwxrwxr-x 7 jenkins jenkins 4096 May 6 23:02 . 23:02:55 drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:59 .. 23:02:55 drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:59 .git 23:02:55 drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:59 .github 23:02:55 -rw-rw-r-- 1 jenkins jenkins 277 May 6 22:59 .gitignore 23:02:55 -rw-rw-r-- 1 jenkins jenkins 8153 May 6 22:59 Attribution.txt 23:02:55 -rw-rw-r-- 1 jenkins jenkins 1905 May 6 22:59 Dockerfile 23:02:55 -rw-rw-r-- 1 jenkins jenkins 998 May 6 22:59 Dockerfile.build 23:02:55 -rw-rw-r-- 1 jenkins jenkins 660 May 6 22:59 Jenkinsfile 23:02:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 22:59 LICENSE 23:02:55 -rw-rw-r-- 1 jenkins jenkins 901 May 6 22:59 Makefile 23:02:55 -rw-rw-r-- 1 jenkins jenkins 2745 May 6 22:59 README.md 23:02:55 -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:50 VERSION 23:02:55 drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:59 bin 23:02:55 drwxrwxr-x 3 jenkins jenkins 4096 May 6 22:59 cmd 23:02:55 -rw-r--r-- 1 jenkins jenkins 47247 May 6 23:02 coverage.out 23:02:55 -rw-r--r-- 1 jenkins jenkins 809 May 6 23:02 go.mod 23:02:55 -rw-r--r-- 1 jenkins jenkins 23585 May 6 23:01 go.sum 23:02:55 drwxrwxr-x 3 jenkins jenkins 4096 May 6 22:59 internal 23:02:55 -rw-rw-r-- 1 jenkins jenkins 235 May 6 22:59 version.go [Pipeline] isUnix [Pipeline] sh 23:02:55 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=390274e52fec6bb2c444bd84e5560e61a6e3132c --label arch=arm64 --label version=0.0.0 . 23:02:56 Sending build context to Docker daemon 597.5kB 23:02:56 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 23:02:56 Step 2/25 : FROM ${BASE} AS builder 23:02:56 ---> bcd386215c1d 23:02:56 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:02:56 ---> Running in 743b4523c32b 23:02:56 Removing intermediate container 743b4523c32b 23:02:56 ---> 414e3e72664c 23:02:56 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:02:57 ---> Running in e2f22266af6b 23:02:57 Removing intermediate container e2f22266af6b 23:02:57 ---> fd77f47dd797 23:02:57 Step 5/25 : WORKDIR /device-virtual-go 23:02:57 ---> Running in d352fa9ed14b 23:02:58 Removing intermediate container d352fa9ed14b 23:02:58 ---> ba26c5659a6c 23:02:58 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:02:58 ---> Running in 6a3e37903d66 23:03:00 Removing intermediate container 6a3e37903d66 23:03:00 ---> 6d656a58a7f5 23:03:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:03:00 ---> Running in 28777681cd2b 23:03:02 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:03:03 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:03:04 OK: 145 MiB in 53 packages 23:03:05 Removing intermediate container 28777681cd2b 23:03:05 ---> 0b532ff8b7dd 23:03:05 Step 8/25 : COPY . . 23:03:06 ---> 155767388796 23:03:06 Step 9/25 : RUN go mod download 23:03:06 ---> Running in 19577269fc93 23:03:09 Removing intermediate container 19577269fc93 23:03:09 ---> e996a6d8aca5 23:03:09 Step 10/25 : ARG MAKE='make build' 23:03:09 ---> Running in 6b12b7697567 23:03:10 Removing intermediate container 6b12b7697567 23:03:10 ---> ab4090b049d0 23:03:10 Step 11/25 : RUN $MAKE 23:03:10 ---> Running in 62bb1e2592f3 23:03:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 23:04:07 CGO_ENABLED=1 GO111MODULE=on go build ./... 23:04:20 Removing intermediate container 62bb1e2592f3 23:04:20 ---> ce42a4b0dadc 23:04:20 Step 12/25 : FROM alpine:3.12 23:04:20 3.12: Pulling from library/alpine 23:04:20 d2f70382dc9a: Pulling fs layer 23:04:20 d2f70382dc9a: Verifying Checksum 23:04:20 d2f70382dc9a: Download complete 23:04:20 d2f70382dc9a: Pull complete 23:04:20 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 23:04:20 Status: Downloaded newer image for alpine:3.12 23:04:20 ---> 9852663dfa18 23:04:20 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:04:20 ---> Running in edc1b929361a 23:04:21 Removing intermediate container edc1b929361a 23:04:21 ---> 3224d14f8adc 23:04:21 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:04:21 ---> Running in 3fbced288d15 23:04:23 Removing intermediate container 3fbced288d15 23:04:23 ---> fe7ba97ff9ab 23:04:23 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 23:04:23 ---> Running in 1565ca951ec0 23:04:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:04:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:04:26 (1/6) Installing dumb-init (1.2.2-r1) 23:04:26 (2/6) Installing libgcc (9.3.0-r2) 23:04:26 (3/6) Installing libsodium (1.0.18-r0) 23:04:26 (4/6) Installing libstdc++ (9.3.0-r2) 23:04:26 (5/6) Installing libzmq (4.3.3-r0) 23:04:26 (6/6) Installing zeromq (4.3.3-r0) 23:04:27 Executing busybox-1.31.1-r20.trigger 23:04:27 OK: 8 MiB in 20 packages 23:04:28 Removing intermediate container 1565ca951ec0 23:04:28 ---> df2daee6fd37 23:04:28 Step 16/25 : WORKDIR / 23:04:28 ---> Running in 9be856cab28b 23:04:29 Removing intermediate container 9be856cab28b 23:04:29 ---> a559edf9e08c 23:04:29 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:04:30 ---> 0000b696abcf 23:04:30 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:04:30 ---> 01f11411ad81 23:04:30 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:04:32 ---> 407d6c3069be 23:04:32 Step 20/25 : EXPOSE 49990 23:04:32 ---> Running in ff95c8e10c18 23:04:32 Removing intermediate container ff95c8e10c18 23:04:32 ---> f3f6a4947b82 23:04:32 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:04:32 ---> Running in 639b0e1b1f6a 23:04:33 Removing intermediate container 639b0e1b1f6a 23:04:33 ---> df94e62e951b 23:04:33 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:04:33 ---> Running in 08e9cb360f26 23:04:34 Removing intermediate container 08e9cb360f26 23:04:34 ---> 09245af636cc 23:04:34 Step 23/25 : LABEL arch=arm64 23:04:34 ---> Running in 77faf0d33e10 23:04:34 Removing intermediate container 77faf0d33e10 23:04:34 ---> 78bdfd6195e7 23:04:34 Step 24/25 : LABEL git_sha=390274e52fec6bb2c444bd84e5560e61a6e3132c 23:04:34 ---> Running in fe91d1150e55 23:04:35 Removing intermediate container fe91d1150e55 23:04:35 ---> c78bbac2d5f3 23:04:35 Step 25/25 : LABEL version=0.0.0 23:04:35 ---> Running in fe2d8fbb270c 23:04:35 Removing intermediate container fe2d8fbb270c 23:04:35 ---> e1a5802bd415 23:04:35 [Warning] One or more build-args [ARCH] were not consumed 23:04:35 Successfully built e1a5802bd415 23:04:35 Successfully tagged docker-device-virtual-go-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 23:04:36 ---> job-cost.sh 23:04:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WBnh 23:05:23 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:07:30 lf-activate-venv(): INFO: Adding /tmp/venv-WBnh/bin to PATH 23:07:30 INFO: No Stack... 23:07:30 INFO: Retrieving Pricing Info for: lf-standard-4 23:07:30 INFO: Archiving Costs [Pipeline] sh 23:07:30 + + cat /w/workspace/device-virtual-go/1/archives/cost.csv 23:07:30 cut -d, -f6 [Pipeline] lock 23:07:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] 23:07:30 Resource [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] did not exist. Created. 23:07:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:07:31 /w/workspace/device-virtual-go/1@tmp/durable-b39aaae4/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-b39aaae4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:07:31 + echo total: 0.20999999344348907 [Pipeline] stash 23:07:31 Warning: overwriting stash ‘stack-cost’ 23:07:31 Stashed 1 file(s) [Pipeline] } 23:07:31 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-200-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] wrap 23:07:32 provisioning config files... 23:07:32 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-200@tmp/config2658226514772646131tmp [Pipeline] { [Pipeline] sh 23:07:33 + set +x 23:07:33 + curl -s https://codecov.io/bash 23:07:33 + bash -s -- 23:07:33 23:07:33 _____ _ 23:07:33 / ____| | | 23:07:33 | | ___ __| | ___ ___ _____ __ 23:07:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:07:33 | |___| (_) | (_| | __/ (_| (_) \ V / 23:07:33 \_____\___/ \__,_|\___|\___\___/ \_/ 23:07:33 Bash-1.0.2 23:07:33 23:07:33 23:07:33 ==> git version 2.24.3 found 23:07:33 ==> 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 23:07:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:07:33 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:07:33 ==> Jenkins CI detected. 23:07:33 project root: . 23:07:33 --> token set from env 23:07:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:07:33 ==> Running gcov in . (disable via -X gcov) 23:07:33 ==> Python coveragepy not found 23:07:33 ==> Searching for coverage reports in: 23:07:33 + . 23:07:33 -> Found 1 reports 23:07:33 ==> Detecting git/mercurial file structure 23:07:33 ==> Reading reports 23:07:33 + ./coverage.out bytes=47247 23:07:33 ==> Appending adjustments 23:07:33 https://docs.codecov.io/docs/fixing-reports 23:07:33 + Found adjustments 23:07:33 ==> Gzipping contents 23:07:33 8.0K /tmp/codecov.TWXUs1.gz 23:07:33 ==> Uploading reports 23:07:33 url: https://codecov.io 23:07:33 query: branch=PR-200&commit=390274e52fec6bb2c444bd84e5560e61a6e3132c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-200%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=200&job=&cmd_args= 23:07:33 -> Pinging Codecov 23:07:33 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-200&commit=390274e52fec6bb2c444bd84e5560e61a6e3132c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-200%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=200&job=&cmd_args= 23:07:34 -> Uploading to 23:07:34 https://storage.googleapis.com/codecov/v4/raw/2021-05-06/5E52B4B073DB2E39498172D8E973AA87/390274e52fec6bb2c444bd84e5560e61a6e3132c/6812ea6a-d627-4a6d-8243-f8f59f1ffab2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T230733Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=795619cf31a919364c2aca9bdf4d04d26467204ae27daf8a95bae821872e5a73 23:07:34 % Total % Received % Xferd Average Speed Time Time Time Current 23:07:34 Dload Upload Total Spent Left Speed 23:07:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5770 0 0 100 5770 0 12945 --:--:-- --:--:-- --:--:-- 12966 23:07:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/390274e52fec6bb2c444bd84e5560e61a6e3132c [Pipeline] } 23:07:34 Deleting 1 temporary files [Pipeline] // wrap [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 23:07:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:07:36 ---> package-listing.sh 23:07:36 ++ facter osfamily 23:07:36 ++ tr '[:upper:]' '[:lower:]' 23:07:36 + OS_FAMILY=redhat 23:07:36 + workspace=/w/workspace/foundry_device-virtual-go_PR-200 23:07:36 + START_PACKAGES=/tmp/packages_start.txt 23:07:36 + END_PACKAGES=/tmp/packages_end.txt 23:07:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:07:36 + PACKAGES=/tmp/packages_start.txt 23:07:36 + '[' /w/workspace/foundry_device-virtual-go_PR-200 ']' 23:07:36 + PACKAGES=/tmp/packages_end.txt 23:07:36 + case "${OS_FAMILY}" in 23:07:36 + rpm -qa 23:07:36 + sort 23:07:42 + '[' -f /tmp/packages_start.txt ']' 23:07:42 + '[' -f /tmp/packages_end.txt ']' 23:07:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:07:42 + '[' /w/workspace/foundry_device-virtual-go_PR-200 ']' 23:07:42 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-200/archives/ 23:07:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-200/archives/ [Pipeline] echo 23:07:42 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-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:07:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:07:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:07:42 23:07:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:07:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:07:43 alpine: Pulling from edgex-lftools-log-publisher 23:07:43 df20fa9351a1: Pulling fs layer 23:07:43 36b3adc4ff6f: Pulling fs layer 23:07:43 8ad3a11d3b57: Pulling fs layer 23:07:43 46f8f816bc3b: Pulling fs layer 23:07:43 93b61091891f: Pulling fs layer 23:07:43 93b9cdb0e59b: Pulling fs layer 23:07:43 5e14af77c1be: Pulling fs layer 23:07:43 01666e4c0597: Pulling fs layer 23:07:43 aa168da1d23b: Pulling fs layer 23:07:43 93b9cdb0e59b: Waiting 23:07:43 01666e4c0597: Waiting 23:07:43 5e14af77c1be: Waiting 23:07:43 aa168da1d23b: Waiting 23:07:43 46f8f816bc3b: Waiting 23:07:43 93b61091891f: Waiting 23:07:43 36b3adc4ff6f: Verifying Checksum 23:07:43 36b3adc4ff6f: Download complete 23:07:43 46f8f816bc3b: Download complete 23:07:43 df20fa9351a1: Verifying Checksum 23:07:43 df20fa9351a1: Download complete 23:07:43 93b61091891f: Download complete 23:07:43 93b9cdb0e59b: Verifying Checksum 23:07:43 93b9cdb0e59b: Download complete 23:07:43 5e14af77c1be: Verifying Checksum 23:07:43 5e14af77c1be: Download complete 23:07:43 01666e4c0597: Download complete 23:07:43 8ad3a11d3b57: Verifying Checksum 23:07:43 8ad3a11d3b57: Download complete 23:07:43 df20fa9351a1: Pull complete 23:07:44 36b3adc4ff6f: Pull complete 23:07:44 8ad3a11d3b57: Pull complete 23:07:44 46f8f816bc3b: Pull complete 23:07:45 aa168da1d23b: Verifying Checksum 23:07:45 aa168da1d23b: Download complete 23:07:45 93b61091891f: Pull complete 23:07:45 93b9cdb0e59b: Pull complete 23:07:46 5e14af77c1be: Pull complete 23:07:46 01666e4c0597: Pull complete 23:07:54 aa168da1d23b: Pull complete 23:07:54 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:07:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:07:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:07:54 prd-centos7-docker-4c-2g-3369 does not seem to be running inside a container 23:07:54 $ 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-200/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-200 -v /w/workspace/foundry_device-virtual-go_PR-200:/w/workspace/foundry_device-virtual-go_PR-200:rw,z -v /w/workspace/foundry_device-virtual-go_PR-200@tmp:/w/workspace/foundry_device-virtual-go_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:07:57 $ docker top 9079db3efb6f7c069915ead88fd66dfa6feb01e9e29e1d8fecc76341643c0257 -eo pid,comm [Pipeline] { [Pipeline] sh 23:07:57 + touch /tmp/pre-build-complete [Pipeline] sh 23:07:58 + mkdir -p /var/log/sa [Pipeline] sh 23:07:58 + ls /var/log/sa-host 23:07:58 + sadf -c /var/log/sa-host/sa06 23:07:58 file_magic: OK 23:07:58 HZ: Using current value: 100 23:07:58 file_header: OK 23:07:58 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:07:58 Statistics: 23:07:58 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... 23:07:58 File successfully converted to sysstat format version 12.2.1 23:07:58 + sadf -c /var/log/sa-host/sa23 23:07:58 file_magic: OK 23:07:58 HZ: Using current value: 100 23:07:58 file_header: OK 23:07:58 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:07:58 Statistics: 23:07:58 Hnuu...uuuununununu... 23:07:58 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:07:58 provisioning config files... 23:07:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-200@tmp/config2634794967691613138tmp [Pipeline] { [Pipeline] echo 23:07:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:07:59 ---> create-netrc.sh [Pipeline] } 23:07:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:07:59 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:07:59 ---> python-tools-install.sh [Pipeline] echo 23:07:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:07:59 ---> sudo-logs.sh 23:07:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:08:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:08:00 ---> job-cost.sh 23:08:00 lf-activate-venv: SKIPPING 23:08:00 DEBUG: total: 0.20999999344348907 23:08:00 INFO: Retrieving Stack Cost... 23:08:01 INFO: Retrieving Pricing Info for: v1-standard-2 23:08:01 INFO: Archiving Costs [Pipeline] echo 23:08:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:08:02 ---> logs-deploy.sh 23:08:02 lf-activate-venv: SKIPPING 23:08:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-200/1 23:08:02 INFO: archiving workspace using pattern(s): 23:08:04 Archives upload complete. 23:08:04 INFO: archiving logs to Nexus