Pull request #204 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 8b1c0122b21a394787c1f5035f66cfa13d6781b2+969908695d9457bace8f724c7874c2a817cac062 (99a75f1a294d8aa1a01d5bed208d9abc53a43057) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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-204/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 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 > 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-204/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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4734 in /w/workspace/foundry_device-virtual-go_PR-204 [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-204 # 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 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8b1c0122b21a394787c1f5035f66cfa13d6781b2 Merge succeeded, producing 8b1c0122b21a394787c1f5035f66cfa13d6781b2 Checking out Revision 8b1c0122b21a394787c1f5035f66cfa13d6781b2 (PR-204) > 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/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # 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 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 Commit message: "refactor: Secure Messagebus Rework" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:31:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:31:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:31:22 ========================================================= 18:31:22 EdgeX Global Pipelines Version Info 18:31:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:31:24 ------------------- 18:31:24 stable info: 18:31:24 ------------------- 18:31:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:31:24 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 18:31:24 Message: update stable to v1.0.192 18:31:25 ------------------- 18:31:25 experimental info: 18:31:25 ------------------- 18:31:25 Commited By: **** collab-it+edgex@linuxfoundation.org 18:31:25 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 18:31:25 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:31:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:31:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:31:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:31:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:31:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:31:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:31:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:31:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:31:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:31:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:31:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo 18:31:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo 18:31:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo 18:31:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b1c0122b21a394787c1f5035f66cfa13d6781b2 [Pipeline] echo 18:31:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b1c012 [Pipeline] echo 18:31:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:31:27 provisioning config files... 18:31:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config4096964800499591271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:28 ---> docker-login.sh 18:31:28 nexus3.edgexfoundry.org:10001 18:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:28 Configure a credential helper to remove this warning. See 18:31:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:28 18:31:28 Login Succeeded 18:31:28 nexus3.edgexfoundry.org:10002 18:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:28 Configure a credential helper to remove this warning. See 18:31:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:28 18:31:28 Login Succeeded 18:31:28 nexus3.edgexfoundry.org:10003 18:31:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:29 Configure a credential helper to remove this warning. See 18:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:29 18:31:29 Login Succeeded 18:31:29 nexus3.edgexfoundry.org:10004 18:31:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:29 Configure a credential helper to remove this warning. See 18:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:29 18:31:29 Login Succeeded 18:31:29 docker.io 18:31:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:29 Configure a credential helper to remove this warning. See 18:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:29 18:31:29 Login Succeeded 18:31:29 ---> docker-login.sh ends [Pipeline] } 18:31:29 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 18:31:30 + git log --format=format:%s -1 8b1c0122b21a394787c1f5035f66cfa13d6781b2 [Pipeline] echo 18:31:30 GIT_COMMIT: 8b1c0122b21a394787c1f5035f66cfa13d6781b2, Commit Message: refactor: Secure Messagebus Rework [Pipeline] echo 18:31:30 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:31:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:31:31 18:31:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:31:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:31:31 latest: Pulling from edgex-devops/git-semver 18:31:31 31603596830f: Pulling fs layer 18:31:31 54011a49482f: Pulling fs layer 18:31:31 a6820b24f6d8: Pulling fs layer 18:31:31 f581987b2513: Pulling fs layer 18:31:31 f581987b2513: Waiting 18:31:31 54011a49482f: Download complete 18:31:32 31603596830f: Download complete 18:31:32 f581987b2513: Verifying Checksum 18:31:32 f581987b2513: Download complete 18:31:32 a6820b24f6d8: Verifying Checksum 18:31:32 a6820b24f6d8: Download complete 18:31:32 31603596830f: Pull complete 18:31:32 54011a49482f: Pull complete 18:31:33 a6820b24f6d8: Pull complete 18:31:33 f581987b2513: Pull complete 18:31:33 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 18:31:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:31:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:31:33 prd-centos7-docker-4c-2g-4734 does not seem to be running inside a container 18:31:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-204 -v /w/workspace/foundry_device-virtual-go_PR-204:/w/workspace/foundry_device-virtual-go_PR-204:rw,z -v /w/workspace/foundry_device-virtual-go_PR-204@tmp:/w/workspace/foundry_device-virtual-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:31:36 $ docker top 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:36 [ssh-agent] Looking for ssh-agent implementation... 18:31:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:36 $ docker exec 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 ssh-agent 18:31:36 SSH_AUTH_SOCK=/tmp/ssh-qf7hUsNKyvMF/agent.11 18:31:36 SSH_AGENT_PID=16 18:31:36 Running ssh-add (command line suppressed) 18:31:36 Identity added: /w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_448363544467773718.key (/w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_448363544467773718.key) 18:31:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:37 + git tag --points-at HEAD [Pipeline] } 18:31:37 $ docker exec --env ******** --env ******** 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 ssh-agent -k 18:31:37 unset SSH_AUTH_SOCK; 18:31:37 unset SSH_AGENT_PID; 18:31:37 echo Agent pid 16 killed; 18:31:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:31:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:37 [ssh-agent] Looking for ssh-agent implementation... 18:31:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:37 $ docker exec 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 ssh-agent 18:31:37 SSH_AUTH_SOCK=/tmp/ssh-wwd5HfAVo15e/agent.44 18:31:37 SSH_AGENT_PID=49 18:31:37 Running ssh-add (command line suppressed) 18:31:37 Identity added: /w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_2191726774181999571.key (/w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_2191726774181999571.key) 18:31:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:38 + git semver init 18:31:38 # -> Open(): unable to determine branch for HEAD 18:31:38 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-204/.git 18:31:38 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-204 18:31:38 # $SEMVER_REMOTE_NAME = origin 18:31:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:31:38 # $SEMVER_USER_NAME = edgex-jenkins 18:31:38 # $SEMVER_BRANCH = PR-204 18:31:38 # $SEMVER_TEMP = /tmp/semver-631154019 18:31:38 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 18:31:39 # '/tmp/semver-631154019' -> '/w/workspace/foundry_device-virtual-go_PR-204/.semver' 18:31:39 # -> Force: false 18:31:39 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-204/.semver [Pipeline] } 18:31:39 $ docker exec --env ******** --env ******** 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 ssh-agent -k 18:31:39 unset SSH_AUTH_SOCK; 18:31:39 unset SSH_AGENT_PID; 18:31:39 echo Agent pid 49 killed; 18:31:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:40 + git semver [Pipeline] } 18:31:40 $ docker stop --time=1 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 18:31:41 $ docker rm -f 59f2d3d4062a5212d4e4f5eecf7163f147e4973a73bf9309e2e7b81171bab265 [Pipeline] // withDockerContainer [Pipeline] sh 18:31:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:31:42 Stashed 1 file(s) [Pipeline] echo 18:31:42 [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 18:31:58 Still waiting to schedule task 18:31:58 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4734’ 18:31:58 Still waiting to schedule task 18:31:58 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 18:33:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4735 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] ws 18:33:53 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 18:33:58 using credential edgex-jenkins-ssh 18:33:58 Cloning the remote Git repository 18:33:58 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:33:59 > git init /w/workspace/device-virtual-go/1 # timeout=10 18:33:59 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:33:59 > git --version # timeout=10 18:33:59 > git --version # 'git version 2.17.1' 18:33:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:33:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:34:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:34:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:34:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:34:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:34:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:34:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:34:02 Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8b1c0122b21a394787c1f5035f66cfa13d6781b2 18:34:02 Merge succeeded, producing 8b1c0122b21a394787c1f5035f66cfa13d6781b2 18:34:02 Checking out Revision 8b1c0122b21a394787c1f5035f66cfa13d6781b2 (PR-204) 18:34:02 > git config core.sparsecheckout # timeout=10 18:34:02 > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 18:34:02 > git remote # timeout=10 18:34:02 > git config --get remote.origin.url # timeout=10 18:34:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:34:02 > git merge 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 18:34:02 > git rev-parse HEAD^{commit} # timeout=10 18:34:02 > git config core.sparsecheckout # timeout=10 18:34:02 > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 18:34:06 Commit message: "refactor: Secure Messagebus Rework" 18:34:07 > git --version # timeout=10 18:34:07 > git --version # 'git version 2.17.1' 18:34:07 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:34:08 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:34:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:34:09 + true 18:34:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:34:11 provisioning config files... 18:34:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1088389588419345842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:12 ---> docker-login.sh 18:34:12 nexus3.edgexfoundry.org:10001 18:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:13 Configure a credential helper to remove this warning. See 18:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:13 18:34:13 Login Succeeded 18:34:13 nexus3.edgexfoundry.org:10002 18:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:14 Configure a credential helper to remove this warning. See 18:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:14 18:34:14 Login Succeeded 18:34:14 nexus3.edgexfoundry.org:10003 18:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:14 Configure a credential helper to remove this warning. See 18:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:14 18:34:14 Login Succeeded 18:34:14 nexus3.edgexfoundry.org:10004 18:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:14 Configure a credential helper to remove this warning. See 18:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:14 18:34:14 Login Succeeded 18:34:14 docker.io 18:34:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:16 Configure a credential helper to remove this warning. See 18:34:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:16 18:34:16 Login Succeeded 18:34:16 ---> docker-login.sh ends [Pipeline] } 18:34:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:34:17 ========================================================= 18:34:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:34:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:34:17 + 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 . 18:34:18 Sending build context to Docker daemon 8.589MB 18:34:18 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:34:18 Step 2/8 : FROM ${BASE} 18:34:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:34:18 595b0fe564bb: Pulling fs layer 18:34:18 7186ed65a4f7: Pulling fs layer 18:34:18 316046926c0a: Pulling fs layer 18:34:18 4ebd0625c992: Pulling fs layer 18:34:18 207e8628e3a3: Pulling fs layer 18:34:18 c791037a9be2: Pulling fs layer 18:34:18 ffd874e62e21: Pulling fs layer 18:34:18 207e8628e3a3: Waiting 18:34:18 c791037a9be2: Waiting 18:34:18 4ebd0625c992: Waiting 18:34:18 ffd874e62e21: Waiting 18:34:18 316046926c0a: Verifying Checksum 18:34:18 316046926c0a: Download complete 18:34:18 7186ed65a4f7: Verifying Checksum 18:34:18 7186ed65a4f7: Download complete 18:34:18 207e8628e3a3: Verifying Checksum 18:34:18 207e8628e3a3: Download complete 18:34:18 c791037a9be2: Verifying Checksum 18:34:18 c791037a9be2: Download complete 18:34:18 595b0fe564bb: Verifying Checksum 18:34:18 595b0fe564bb: Download complete 18:34:18 595b0fe564bb: Pull complete 18:34:19 7186ed65a4f7: Pull complete 18:34:20 316046926c0a: Pull complete 18:34:20 ffd874e62e21: Verifying Checksum 18:34:20 ffd874e62e21: Download complete 18:34:21 4ebd0625c992: Verifying Checksum 18:34:25 Running on prd-centos7-docker-4c-2g-4736 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] ws 18:34:25 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 18:34:28 using credential edgex-jenkins-ssh 18:34:28 Cloning the remote Git repository 18:34:28 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:34:28 > git init /w/workspace/device-virtual-go/1 # timeout=10 18:34:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:34:28 > git --version # timeout=10 18:34:28 > git --version # 'git version 2.24.3' 18:34:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:34:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:34:29 Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8b1c0122b21a394787c1f5035f66cfa13d6781b2 18:34:29 Merge succeeded, producing 8b1c0122b21a394787c1f5035f66cfa13d6781b2 18:34:29 Checking out Revision 8b1c0122b21a394787c1f5035f66cfa13d6781b2 (PR-204) 18:34:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:34:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:34:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:34:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:34:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:34:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:34:29 > git config core.sparsecheckout # timeout=10 18:34:29 > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 18:34:29 > git remote # timeout=10 18:34:29 > git config --get remote.origin.url # timeout=10 18:34:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:34:29 > git merge 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 18:34:29 > git rev-parse HEAD^{commit} # timeout=10 18:34:29 > git config core.sparsecheckout # timeout=10 18:34:29 > git checkout -f 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 18:34:33 Commit message: "refactor: Secure Messagebus Rework" 18:34:33 > git --version # timeout=10 18:34:33 > git --version # 'git version 2.24.3' 18:34:33 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 18:34:34 4ebd0625c992: Pull complete 18:34:34 207e8628e3a3: Pull complete 18:34:34 c791037a9be2: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh 18:34:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:34:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:34:35 + sudo service docker restart 18:34:35 + true 18:34:35 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:34:36 provisioning config files... 18:34:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config42753789247517286tmp [Pipeline] { [Pipeline] libraryResource 18:34:36 ffd874e62e21: Pull complete 18:34:36 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 18:34:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:34:36 ---> cfc18b08335c 18:34:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [Pipeline] sh 18:34:37 ---> docker-login.sh 18:34:37 nexus3.edgexfoundry.org:10001 18:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:37 Configure a credential helper to remove this warning. See 18:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:37 18:34:37 Login Succeeded 18:34:37 nexus3.edgexfoundry.org:10002 18:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:37 Configure a credential helper to remove this warning. See 18:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:37 18:34:37 Login Succeeded 18:34:37 nexus3.edgexfoundry.org:10003 18:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:37 Configure a credential helper to remove this warning. See 18:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:37 18:34:37 Login Succeeded 18:34:37 nexus3.edgexfoundry.org:10004 18:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:37 Configure a credential helper to remove this warning. See 18:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:37 18:34:38 Login Succeeded 18:34:38 docker.io 18:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:38 Configure a credential helper to remove this warning. See 18:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:38 18:34:38 Login Succeeded 18:34:38 ---> docker-login.sh ends [Pipeline] } 18:34:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:34:38 ========================================================= 18:34:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:34:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:34:39 + 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 . 18:34:39 Sending build context to Docker daemon 8.59MB 18:34:39 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:34:39 Step 2/8 : FROM ${BASE} 18:34:39 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:34:39 540db60ca938: Pulling fs layer 18:34:39 adcc1eea9eea: Pulling fs layer 18:34:39 4c4ab2625f07: Pulling fs layer 18:34:39 0510c868ecb4: Pulling fs layer 18:34:39 afea3b2eda06: Pulling fs layer 18:34:39 7809a108b3ef: Pulling fs layer 18:34:39 f706445af74f: Pulling fs layer 18:34:39 afea3b2eda06: Waiting 18:34:39 7809a108b3ef: Waiting 18:34:39 f706445af74f: Waiting 18:34:39 0510c868ecb4: Waiting 18:34:39 4c4ab2625f07: Download complete 18:34:39 adcc1eea9eea: Verifying Checksum 18:34:39 adcc1eea9eea: Download complete 18:34:39 afea3b2eda06: Verifying Checksum 18:34:39 afea3b2eda06: Download complete 18:34:39 7809a108b3ef: Verifying Checksum 18:34:39 7809a108b3ef: Download complete 18:34:39 540db60ca938: Verifying Checksum 18:34:39 540db60ca938: Download complete 18:34:39 540db60ca938: Pull complete 18:34:40 adcc1eea9eea: Pull complete 18:34:40 4c4ab2625f07: Pull complete 18:34:40 ---> Running in 35724bd0b1f2 18:34:40 Removing intermediate container 35724bd0b1f2 18:34:40 ---> 3c205890b3a3 18:34:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:34:40 ---> Running in 1cc6eae50020 18:34:40 f706445af74f: Verifying Checksum 18:34:40 f706445af74f: Download complete 18:34:41 0510c868ecb4: Verifying Checksum 18:34:41 0510c868ecb4: Download complete 18:34:43 Removing intermediate container 1cc6eae50020 18:34:43 ---> 1a2bbda0e3c1 18:34:43 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 18:34:43 ---> Running in f176760d3ee6 18:34:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:34:45 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:34:46 (1/13) Installing libc-dev (0.7.2-r3) 18:34:46 (2/13) Installing libsodium (1.0.18-r0) 18:34:46 (3/13) Installing pkgconf (1.7.3-r0) 18:34:46 (4/13) Installing libsodium-dev (1.0.18-r0) 18:34:46 (5/13) Installing openssh-keygen (8.4_p1-r3) 18:34:46 (6/13) Installing libedit (20191231.3.1-r1) 18:34:46 (7/13) Installing openssh-client (8.4_p1-r3) 18:34:47 0510c868ecb4: Pull complete 18:34:47 afea3b2eda06: Pull complete 18:34:47 7809a108b3ef: Pull complete 18:34:47 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 18:34:47 (9/13) Installing openssh-server-common (8.4_p1-r3) 18:34:47 (10/13) Installing openssh-server (8.4_p1-r3) 18:34:47 (11/13) Installing openssh (8.4_p1-r3) 18:34:47 (12/13) Installing libzmq (4.3.3-r1) 18:34:47 (13/13) Installing zeromq-dev (4.3.3-r1) 18:34:47 Executing busybox-1.32.1-r6.trigger 18:34:47 OK: 145 MiB in 53 packages 18:34:49 Removing intermediate container f176760d3ee6 18:34:49 ---> 0ddbca795a2a 18:34:49 Step 6/8 : WORKDIR /device-virtual-go 18:34:49 ---> Running in a7c0365d178a 18:34:49 Removing intermediate container a7c0365d178a 18:34:49 ---> c8e47e6a74c6 18:34:49 Step 7/8 : COPY . . 18:34:51 ---> d7b12299303c 18:34:51 Step 8/8 : RUN go mod download 18:34:51 ---> Running in 69a903044ab7 18:34:55 f706445af74f: Pull complete 18:34:55 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 18:34:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:34:55 ---> b068be0155e3 18:34:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 18:34:55 ---> Running in ad71ecbdade1 18:34:55 Removing intermediate container ad71ecbdade1 18:34:55 ---> 1b7f38e2d0d5 18:34:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:34:56 ---> Running in 82fafcee7389 18:34:57 Removing intermediate container 82fafcee7389 18:34:57 ---> 780b01ea095c 18:34:57 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 18:34:57 ---> Running in 7c9613577708 18:34:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:34:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:34:59 (1/13) Installing libc-dev (0.7.2-r3) 18:34:59 (2/13) Installing libsodium (1.0.18-r0) 18:34:59 (3/13) Installing pkgconf (1.7.3-r0) 18:34:59 (4/13) Installing libsodium-dev (1.0.18-r0) 18:34:59 (5/13) Installing openssh-keygen (8.4_p1-r3) 18:35:00 (6/13) Installing libedit (20191231.3.1-r1) 18:35:00 (7/13) Installing openssh-client (8.4_p1-r3) 18:35:00 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 18:35:00 (9/13) Installing openssh-server-common (8.4_p1-r3) 18:35:00 (10/13) Installing openssh-server (8.4_p1-r3) 18:35:00 (11/13) Installing openssh (8.4_p1-r3) 18:35:00 (12/13) Installing libzmq (4.3.3-r1) 18:35:00 (13/13) Installing zeromq-dev (4.3.3-r1) 18:35:00 Executing busybox-1.32.1-r6.trigger 18:35:00 OK: 156 MiB in 53 packages 18:35:01 Removing intermediate container 7c9613577708 18:35:01 ---> 57c91bdc4c75 18:35:01 Step 6/8 : WORKDIR /device-virtual-go 18:35:01 ---> Running in faa511d9edcf 18:35:01 Removing intermediate container faa511d9edcf 18:35:01 ---> ad15703880ed 18:35:01 Step 7/8 : COPY . . 18:35:02 ---> c5ab0db57a3b 18:35:02 Step 8/8 : RUN go mod download 18:35:02 ---> Running in 78d193bc0be2 18:35:23 Removing intermediate container 69a903044ab7 18:35:23 ---> 1c206003257a 18:35:23 Successfully built 1c206003257a 18:35:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:35:24 + docker inspect -f . ci-base-image-arm64 18:35:24 . [Pipeline] withDockerContainer 18:35:24 prd-ubuntu18.04-docker-arm64-4c-16g-4735 does not seem to be running inside a container 18:35:24 $ 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-arm64 cat 18:35:25 $ docker top 3731d8dcdff70a3f01914cf4d6fba4d16c8affc7f35384a9ddf4c8186e8fd115 -eo pid,comm [Pipeline] { [Pipeline] sh 18:35:27 + go version 18:35:27 go version go1.16.3 linux/arm64 [Pipeline] } 18:35:27 $ docker stop --time=1 3731d8dcdff70a3f01914cf4d6fba4d16c8affc7f35384a9ddf4c8186e8fd115 18:35:28 $ docker rm -f 3731d8dcdff70a3f01914cf4d6fba4d16c8affc7f35384a9ddf4c8186e8fd115 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 18:35:29 Removing intermediate container 78d193bc0be2 18:35:29 ---> 16098c84cfba 18:35:29 Successfully built 16098c84cfba 18:35:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:35:29 + docker inspect -f . ci-base-image-x86_64 18:35:29 . [Pipeline] withDockerContainer 18:35:30 prd-centos7-docker-4c-2g-4736 does not seem to be running inside a container 18:35:30 $ 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-x86_64 cat 18:35:30 + docker inspect -f . ci-base-image-arm64 18:35:30 . 18:35:30 $ docker top 0799a98474ad53be426b9b2d8904e411f8360cc565a115882684092940050358 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 18:35:31 prd-ubuntu18.04-docker-arm64-4c-16g-4735 does not seem to be running inside a container 18:35:31 $ 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-arm64 cat 18:35:32 $ docker top b8bbf25eadc003b6c0febb9c5663c2f19d8cbdbea1dc8fccd745299d5cafec01 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 18:35:33 + go version 18:35:33 go version go1.16.3 linux/amd64 [Pipeline] } 18:35:33 $ docker stop --time=1 0799a98474ad53be426b9b2d8904e411f8360cc565a115882684092940050358 18:35:34 + go mod tidy 18:35:35 $ docker rm -f 0799a98474ad53be426b9b2d8904e411f8360cc565a115882684092940050358 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:35:35 + make test 18:35:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:35:35 + docker inspect -f . ci-base-image-x86_64 18:35:35 . [Pipeline] withDockerContainer 18:35:36 prd-centos7-docker-4c-2g-4736 does not seem to be running inside a container 18:35: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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:35:36 $ docker top 3761c6a260ab98761aab2f99b064cd9490c12bbe3e4953a505de5b166c2ac0b4 -eo pid,comm 18:35:36 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] { [Pipeline] sh 18:35:37 + go mod tidy [Pipeline] sh 18:35:38 + make test 18:35:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:35:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:36:01 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:36:01 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.496s coverage: 63.8% of statements 18:36:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:36:10 gofmt -l . 18:36:10 [ "`gofmt -l .`" = "" ] 18:36:10 ./bin/test-attribution-txt.sh 18:36:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:36:11 $ docker stop --time=1 3761c6a260ab98761aab2f99b064cd9490c12bbe3e4953a505de5b166c2ac0b4 18:36:13 $ docker rm -f 3761c6a260ab98761aab2f99b064cd9490c12bbe3e4953a505de5b166c2ac0b4 [Pipeline] // withDockerContainer [Pipeline] sh 18:36:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:36:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:36:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:36:18 + ls -al . 18:36:18 total 132 18:36:18 drwxrwxr-x. 7 jenkins jenkins 4096 May 12 18:36 . 18:36:18 drwxrwxr-x. 4 jenkins jenkins 28 May 12 18:34 .. 18:36:18 -rw-rw-r--. 1 jenkins jenkins 8153 May 12 18:34 Attribution.txt 18:36:18 drwxrwxr-x. 2 jenkins jenkins 64 May 12 18:34 bin 18:36:18 drwxrwxr-x. 3 jenkins jenkins 32 May 12 18:34 cmd 18:36:18 -rw-r--r--. 1 jenkins jenkins 47247 May 12 18:36 coverage.out 18:36:18 -rw-rw-r--. 1 jenkins jenkins 1905 May 12 18:34 Dockerfile 18:36:18 -rw-rw-r--. 1 jenkins jenkins 998 May 12 18:34 Dockerfile.build 18:36:18 drwxrwxr-x. 8 jenkins jenkins 179 May 12 18:34 .git 18:36:18 drwxrwxr-x. 2 jenkins jenkins 103 May 12 18:34 .github 18:36:18 -rw-rw-r--. 1 jenkins jenkins 277 May 12 18:34 .gitignore 18:36:18 -rw-r--r--. 1 jenkins jenkins 809 May 12 18:36 go.mod 18:36:18 -rw-r--r--. 1 jenkins jenkins 23036 May 12 18:35 go.sum 18:36:18 drwxrwxr-x. 3 jenkins jenkins 20 May 12 18:34 internal 18:36:18 -rw-rw-r--. 1 jenkins jenkins 660 May 12 18:34 Jenkinsfile 18:36:18 -rw-rw-r--. 1 jenkins jenkins 11340 May 12 18:34 LICENSE 18:36:18 -rw-rw-r--. 1 jenkins jenkins 914 May 12 18:34 Makefile 18:36:18 -rw-rw-r--. 1 jenkins jenkins 2745 May 12 18:34 README.md 18:36:18 -rw-rw-r--. 1 jenkins jenkins 5 May 12 18:31 VERSION 18:36:18 -rw-rw-r--. 1 jenkins jenkins 235 May 12 18:34 version.go [Pipeline] isUnix [Pipeline] sh 18:36:18 + 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=8b1c0122b21a394787c1f5035f66cfa13d6781b2 --label arch=amd64 --label version=0.0.0 . 18:36:18 Sending build context to Docker daemon 8.662MB 18:36:18 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 18:36:18 Step 2/25 : FROM ${BASE} AS builder 18:36:18 ---> 16098c84cfba 18:36:18 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:36:18 ---> Running in 8bfcab21ef4f 18:36:18 Removing intermediate container 8bfcab21ef4f 18:36:18 ---> d9d9c07d48f8 18:36:18 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:36:18 ---> Running in 3c4055dd44a3 18:36:19 Removing intermediate container 3c4055dd44a3 18:36:19 ---> 98cc85bff117 18:36:19 Step 5/25 : WORKDIR /device-virtual-go 18:36:19 ---> Running in 4029f61ebfc5 18:36:19 Removing intermediate container 4029f61ebfc5 18:36:19 ---> 07e185fb05f2 18:36:19 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:36:19 ---> Running in bf88d0443d81 18:36:20 Removing intermediate container bf88d0443d81 18:36:20 ---> bca35e24704e 18:36:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:36:20 ---> Running in 7461795b36e8 18:36:21 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:36:22 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:36:23 OK: 156 MiB in 53 packages 18:36:23 Removing intermediate container 7461795b36e8 18:36:23 ---> e3f56e3b0278 18:36:23 Step 8/25 : COPY . . 18:36:24 ---> 28519867d207 18:36:24 Step 9/25 : RUN go mod download 18:36:24 ---> Running in 701ecadb90cb 18:36:25 Removing intermediate container 701ecadb90cb 18:36:25 ---> e3bd348ae8a8 18:36:25 Step 10/25 : ARG MAKE='make build' 18:36:25 ---> Running in 76d9949d2e6b 18:36:25 Removing intermediate container 76d9949d2e6b 18:36:25 ---> 68cb4b4530fb 18:36:25 Step 11/25 : RUN $MAKE 18:36:25 ---> Running in 9cda7edb0c16 18:36:26 go mod tidy 18:36:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 18:36:44 CGO_ENABLED=1 GO111MODULE=on go build ./... 18:36:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:36:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.651s coverage: 63.8% of statements 18:36:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:36:47 Removing intermediate container 9cda7edb0c16 18:36:47 ---> 4b8e4fa5e091 18:36:47 Step 12/25 : FROM alpine:3.12 18:36:47 3.12: Pulling from library/alpine 18:36:47 339de151aab4: Pulling fs layer 18:36:47 339de151aab4: Verifying Checksum 18:36:47 339de151aab4: Download complete 18:36:48 339de151aab4: Pull complete 18:36:48 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:36:48 Status: Downloaded newer image for alpine:3.12 18:36:48 ---> 13621d1b12d4 18:36:48 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:36:48 ---> Running in 9e1f1463353d 18:36:48 Removing intermediate container 9e1f1463353d 18:36:48 ---> c64e97c6f58b 18:36:48 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:36:48 ---> Running in 39365f0851fc 18:36:49 Removing intermediate container 39365f0851fc 18:36:49 ---> 6adc207c5510 18:36:49 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 18:36:49 ---> Running in 49ccd030c3e5 18:36:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:36:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:36:51 (1/6) Installing dumb-init (1.2.2-r1) 18:36:51 (2/6) Installing libgcc (9.3.0-r2) 18:36:51 (3/6) Installing libsodium (1.0.18-r0) 18:36:51 (4/6) Installing libstdc++ (9.3.0-r2) 18:36:52 (5/6) Installing libzmq (4.3.3-r0) 18:36:52 (6/6) Installing zeromq (4.3.3-r0) 18:36:52 Executing busybox-1.31.1-r20.trigger 18:36:52 OK: 8 MiB in 20 packages 18:36:53 Removing intermediate container 49ccd030c3e5 18:36:53 ---> 7bb36e858f6a 18:36:53 Step 16/25 : WORKDIR / 18:36:53 ---> Running in b1f81a8df05b 18:36:53 Removing intermediate container b1f81a8df05b 18:36:53 ---> 375222e0877c 18:36:53 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:36:53 ---> 0060a2b3fcc3 18:36:53 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:36:54 ---> d7e37892f925 18:36:54 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:36:54 ---> c5e073c07a2d 18:36:54 Step 20/25 : EXPOSE 49990 18:36:54 ---> Running in 9d9b2a54cddb 18:36:54 Removing intermediate container 9d9b2a54cddb 18:36:54 ---> e522ed6f624a 18:36:54 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:36:54 ---> Running in 0ab6105e99a5 18:36:55 Removing intermediate container 0ab6105e99a5 18:36:55 ---> 1dc51438f93d 18:36:55 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:36:55 ---> Running in da5db2357c71 18:36:55 Removing intermediate container da5db2357c71 18:36:55 ---> 73a508b55505 18:36:55 Step 23/25 : LABEL arch=amd64 18:36:55 ---> Running in 0e5150778778 18:36:55 Removing intermediate container 0e5150778778 18:36:55 ---> 2073d1210859 18:36:55 Step 24/25 : LABEL git_sha=8b1c0122b21a394787c1f5035f66cfa13d6781b2 18:36:55 ---> Running in db99a332ef54 18:36:55 Removing intermediate container db99a332ef54 18:36:55 ---> 612f45d9520d 18:36:55 Step 25/25 : LABEL version=0.0.0 18:36:56 ---> Running in e8a2900023cc 18:36:56 Removing intermediate container e8a2900023cc 18:36:56 ---> d5aa330a77df 18:36:56 [Warning] One or more build-args [ARCH] were not consumed 18:36:56 Successfully built d5aa330a77df 18:36:56 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 18:36:56 ---> job-cost.sh 18:36:56 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rfAM 18:37:12 gofmt -l . 18:37:12 [ "`gofmt -l .`" = "" ] 18:37:12 ./bin/test-attribution-txt.sh 18:37:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:37:14 $ docker stop --time=1 b8bbf25eadc003b6c0febb9c5663c2f19d8cbdbea1dc8fccd745299d5cafec01 18:37:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:37:16 $ docker rm -f b8bbf25eadc003b6c0febb9c5663c2f19d8cbdbea1dc8fccd745299d5cafec01 [Pipeline] // withDockerContainer [Pipeline] sh 18:37:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:37:17 Warning: overwriting stash ‘coverage-report’ 18:37:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:37:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:37:19 + ls -al . 18:37:19 total 156 18:37:19 drwxrwxr-x 7 jenkins jenkins 4096 May 12 18:37 . 18:37:19 drwxrwxr-x 4 jenkins jenkins 4096 May 12 18:33 .. 18:37:19 drwxrwxr-x 8 jenkins jenkins 4096 May 12 18:34 .git 18:37:19 drwxrwxr-x 2 jenkins jenkins 4096 May 12 18:34 .github 18:37:19 -rw-rw-r-- 1 jenkins jenkins 277 May 12 18:34 .gitignore 18:37:19 -rw-rw-r-- 1 jenkins jenkins 8153 May 12 18:34 Attribution.txt 18:37:19 -rw-rw-r-- 1 jenkins jenkins 1905 May 12 18:34 Dockerfile 18:37:19 -rw-rw-r-- 1 jenkins jenkins 998 May 12 18:34 Dockerfile.build 18:37:19 -rw-rw-r-- 1 jenkins jenkins 660 May 12 18:34 Jenkinsfile 18:37:19 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 18:34 LICENSE 18:37:19 -rw-rw-r-- 1 jenkins jenkins 914 May 12 18:34 Makefile 18:37:19 -rw-rw-r-- 1 jenkins jenkins 2745 May 12 18:34 README.md 18:37:19 -rw-rw-r-- 1 jenkins jenkins 5 May 12 18:31 VERSION 18:37:19 drwxrwxr-x 2 jenkins jenkins 4096 May 12 18:34 bin 18:37:19 drwxrwxr-x 3 jenkins jenkins 4096 May 12 18:34 cmd 18:37:19 -rw-r--r-- 1 jenkins jenkins 47247 May 12 18:36 coverage.out 18:37:19 -rw-r--r-- 1 jenkins jenkins 809 May 12 18:37 go.mod 18:37:19 -rw-r--r-- 1 jenkins jenkins 23036 May 12 18:35 go.sum 18:37:19 drwxrwxr-x 3 jenkins jenkins 4096 May 12 18:34 internal 18:37:19 -rw-rw-r-- 1 jenkins jenkins 235 May 12 18:34 version.go [Pipeline] isUnix [Pipeline] sh 18:37:20 + 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=8b1c0122b21a394787c1f5035f66cfa13d6781b2 --label arch=arm64 --label version=0.0.0 . 18:37:20 Sending build context to Docker daemon 8.66MB 18:37:20 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 18:37:20 Step 2/25 : FROM ${BASE} AS builder 18:37:20 ---> 1c206003257a 18:37:20 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:37:21 ---> Running in 6bc8e19a698c 18:37:21 Removing intermediate container 6bc8e19a698c 18:37:21 ---> 5ebc94e43a52 18:37:21 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:37:21 ---> Running in 0cef3f5e9185 18:37:22 Removing intermediate container 0cef3f5e9185 18:37:22 ---> a1c879d32f7d 18:37:22 Step 5/25 : WORKDIR /device-virtual-go 18:37:22 ---> Running in 6937302a6ce2 18:37:23 Removing intermediate container 6937302a6ce2 18:37:23 ---> ec097a9a7d11 18:37:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:37:23 ---> Running in c09bb3bec296 18:37:25 Removing intermediate container c09bb3bec296 18:37:25 ---> 9d5431ad1140 18:37:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:37:25 ---> Running in ea0d788167c0 18:37:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:37:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:37:28 OK: 145 MiB in 53 packages 18:37:29 Removing intermediate container ea0d788167c0 18:37:29 ---> 8007af655f38 18:37:29 Step 8/25 : COPY . . 18:37:31 ---> e573b3490732 18:37:31 Step 9/25 : RUN go mod download 18:37:31 ---> Running in 8a19ac5fb512 18:37:33 Removing intermediate container 8a19ac5fb512 18:37:33 ---> a16dbef5078e 18:37:33 Step 10/25 : ARG MAKE='make build' 18:37:33 ---> Running in 0e0f95ac2274 18:37:33 Removing intermediate container 0e0f95ac2274 18:37:33 ---> c444a64daa63 18:37:33 Step 11/25 : RUN $MAKE 18:37:33 ---> Running in 5bc16c57b03f 18:37:34 go mod tidy 18:37:35 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 18:37:41 lf-activate-venv(): INFO: Adding /tmp/venv-rfAM/bin to PATH 18:37:41 INFO: No Stack... 18:37:41 INFO: Retrieving Pricing Info for: v1-standard-2 18:37:41 INFO: Archiving Costs [Pipeline] sh 18:37:42 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 18:37:42 + cut -d, -f6 [Pipeline] lock 18:37:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] 18:37:42 Resource [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] did not exist. Created. 18:37:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:37:42 + echo total: 0.029999999329447746 [Pipeline] stash 18:37:42 Stashed 1 file(s) [Pipeline] } 18:37:42 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:38:22 CGO_ENABLED=1 GO111MODULE=on go build ./... 18:38:32 Removing intermediate container 5bc16c57b03f 18:38:32 ---> db2cd3765f68 18:38:32 Step 12/25 : FROM alpine:3.12 18:38:32 3.12: Pulling from library/alpine 18:38:32 d2f70382dc9a: Pulling fs layer 18:38:32 d2f70382dc9a: Download complete 18:38:33 d2f70382dc9a: Pull complete 18:38:33 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:38:33 Status: Downloaded newer image for alpine:3.12 18:38:33 ---> 9852663dfa18 18:38:33 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:38:33 ---> Running in 1c5fd546fa84 18:38:33 Removing intermediate container 1c5fd546fa84 18:38:33 ---> 74156bc08cf2 18:38:33 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:38:34 ---> Running in 870b396ef060 18:38:36 Removing intermediate container 870b396ef060 18:38:36 ---> d47dec1e4598 18:38:36 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 18:38:36 ---> Running in 107399955c10 18:38:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:38:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:38:39 (1/6) Installing dumb-init (1.2.2-r1) 18:38:39 (2/6) Installing libgcc (9.3.0-r2) 18:38:39 (3/6) Installing libsodium (1.0.18-r0) 18:38:39 (4/6) Installing libstdc++ (9.3.0-r2) 18:38:39 (5/6) Installing libzmq (4.3.3-r0) 18:38:39 (6/6) Installing zeromq (4.3.3-r0) 18:38:39 Executing busybox-1.31.1-r20.trigger 18:38:40 OK: 8 MiB in 20 packages 18:38:41 Removing intermediate container 107399955c10 18:38:41 ---> 2cb24c8cd2f2 18:38:41 Step 16/25 : WORKDIR / 18:38:41 ---> Running in 052082668b51 18:38:42 Removing intermediate container 052082668b51 18:38:42 ---> 3013e9d1223f 18:38:42 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:38:42 ---> 7315779c29cb 18:38:42 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:38:43 ---> 017094cf6ea5 18:38:43 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:38:44 ---> 757a7a3e6cb2 18:38:44 Step 20/25 : EXPOSE 49990 18:38:44 ---> Running in 3cac0ae9efa6 18:38:45 Removing intermediate container 3cac0ae9efa6 18:38:45 ---> 4a2f809bed44 18:38:45 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:38:45 ---> Running in a30057039c00 18:38:46 Removing intermediate container a30057039c00 18:38:46 ---> a55a418e1112 18:38:46 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:38:46 ---> Running in 6c6db193ee17 18:38:46 Removing intermediate container 6c6db193ee17 18:38:46 ---> 22da6cd73e3c 18:38:46 Step 23/25 : LABEL arch=arm64 18:38:46 ---> Running in 9a21042fba53 18:38:47 Removing intermediate container 9a21042fba53 18:38:47 ---> 51e330dbe305 18:38:47 Step 24/25 : LABEL git_sha=8b1c0122b21a394787c1f5035f66cfa13d6781b2 18:38:47 ---> Running in c18d9bde9e2f 18:38:47 Removing intermediate container c18d9bde9e2f 18:38:47 ---> d9634cc00779 18:38:47 Step 25/25 : LABEL version=0.0.0 18:38:47 ---> Running in 883d31b91ecb 18:38:48 Removing intermediate container 883d31b91ecb 18:38:48 ---> 7c4c3beacb2f 18:38:48 [Warning] One or more build-args [ARCH] were not consumed 18:38:48 Successfully built 7c4c3beacb2f 18:38:48 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 18:38:49 ---> job-cost.sh 18:38:49 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ukbP 18:39:28 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:40:49 lf-activate-venv(): INFO: Adding /tmp/venv-ukbP/bin to PATH 18:40:49 INFO: No Stack... 18:40:50 INFO: Retrieving Pricing Info for: lf-standard-4 18:40:50 INFO: Archiving Costs [Pipeline] sh 18:40:51 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 18:40:51 + cut -d, -f6 [Pipeline] lock 18:40:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] 18:40:51 Resource [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] did not exist. Created. 18:40:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:40:51 /w/workspace/device-virtual-go/1@tmp/durable-fef91b8a/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-fef91b8a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:40:52 + echo total: 0.20999999344348907 [Pipeline] stash 18:40:52 Warning: overwriting stash ‘stack-cost’ 18:40:52 Stashed 1 file(s) [Pipeline] } 18:40:52 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-204-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 18:40:53 provisioning config files... 18:40:53 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config5104335126822448693tmp [Pipeline] { [Pipeline] sh 18:40:53 + set +x 18:40:53 + curl -s https://codecov.io/bash 18:40:53 + bash -s -- 18:40:54 18:40:54 _____ _ 18:40:54 / ____| | | 18:40:54 | | ___ __| | ___ ___ _____ __ 18:40:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:40:54 | |___| (_) | (_| | __/ (_| (_) \ V / 18:40:54 \_____\___/ \__,_|\___|\___\___/ \_/ 18:40:54 Bash-1.0.2 18:40:54 18:40:54 18:40:54 ==> git version 2.24.3 found 18:40:54 ==> 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 18:40:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:40:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:40:54 ==> Jenkins CI detected. 18:40:54 project root: . 18:40:54 --> token set from env 18:40:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:40:54 ==> Running gcov in . (disable via -X gcov) 18:40:54 ==> Python coveragepy not found 18:40:54 ==> Searching for coverage reports in: 18:40:54 + . 18:40:54 -> Found 1 reports 18:40:54 ==> Detecting git/mercurial file structure 18:40:54 ==> Reading reports 18:40:54 + ./coverage.out bytes=47247 18:40:54 ==> Appending adjustments 18:40:54 https://docs.codecov.io/docs/fixing-reports 18:40:54 + Found adjustments 18:40:54 ==> Gzipping contents 18:40:54 8.0K /tmp/codecov.58oLKb.gz 18:40:54 ==> Uploading reports 18:40:54 url: https://codecov.io 18:40:54 query: branch=PR-204&commit=8b1c0122b21a394787c1f5035f66cfa13d6781b2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=204&job=&cmd_args= 18:40:54 -> Pinging Codecov 18:40:54 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-204&commit=8b1c0122b21a394787c1f5035f66cfa13d6781b2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=204&job=&cmd_args= 18:40:54 -> Uploading to 18:40:54 https://storage.googleapis.com/codecov/v4/raw/2021-05-12/5E52B4B073DB2E39498172D8E973AA87/8b1c0122b21a394787c1f5035f66cfa13d6781b2/97125b54-2685-4305-bba5-fbabfd2d7fdd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T184054Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c5312f877d564476ca2b3bafacbe352dc40df7a4c9bc2984d476a9806d338958 18:40:54 % Total % Received % Xferd Average Speed Time Time Time Current 18:40:54 Dload Upload Total Spent Left Speed 18:40:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5796 0 0 100 5796 0 13163 --:--:-- --:--:-- --:--:-- 13172 18:40:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8b1c0122b21a394787c1f5035f66cfa13d6781b2 [Pipeline] } 18:40:55 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 18:40:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:40:57 ---> package-listing.sh 18:40:57 ++ facter osfamily 18:40:57 ++ tr '[:upper:]' '[:lower:]' 18:40:57 + OS_FAMILY=redhat 18:40:57 + workspace=/w/workspace/foundry_device-virtual-go_PR-204 18:40:57 + START_PACKAGES=/tmp/packages_start.txt 18:40:57 + END_PACKAGES=/tmp/packages_end.txt 18:40:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:40:57 + PACKAGES=/tmp/packages_start.txt 18:40:57 + '[' /w/workspace/foundry_device-virtual-go_PR-204 ']' 18:40:57 + PACKAGES=/tmp/packages_end.txt 18:40:57 + case "${OS_FAMILY}" in 18:40:57 + rpm -qa 18:40:57 + sort 18:41:03 + '[' -f /tmp/packages_start.txt ']' 18:41:03 + '[' -f /tmp/packages_end.txt ']' 18:41:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:41:03 + '[' /w/workspace/foundry_device-virtual-go_PR-204 ']' 18:41:03 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-204/archives/ 18:41:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-204/archives/ [Pipeline] echo 18:41:03 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:41:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:41:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:41:03 18:41:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:41:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:41:04 alpine: Pulling from edgex-lftools-log-publisher 18:41:04 df20fa9351a1: Pulling fs layer 18:41:04 36b3adc4ff6f: Pulling fs layer 18:41:04 8ad3a11d3b57: Pulling fs layer 18:41:04 46f8f816bc3b: Pulling fs layer 18:41:04 93b61091891f: Pulling fs layer 18:41:04 93b9cdb0e59b: Pulling fs layer 18:41:04 5e14af77c1be: Pulling fs layer 18:41:04 01666e4c0597: Pulling fs layer 18:41:04 aa168da1d23b: Pulling fs layer 18:41:04 93b9cdb0e59b: Waiting 18:41:04 46f8f816bc3b: Waiting 18:41:04 93b61091891f: Waiting 18:41:04 5e14af77c1be: Waiting 18:41:04 01666e4c0597: Waiting 18:41:04 aa168da1d23b: Waiting 18:41:04 36b3adc4ff6f: Verifying Checksum 18:41:04 36b3adc4ff6f: Download complete 18:41:04 46f8f816bc3b: Verifying Checksum 18:41:04 46f8f816bc3b: Download complete 18:41:04 df20fa9351a1: Verifying Checksum 18:41:04 93b9cdb0e59b: Verifying Checksum 18:41:04 93b9cdb0e59b: Download complete 18:41:04 5e14af77c1be: Verifying Checksum 18:41:04 5e14af77c1be: Download complete 18:41:04 01666e4c0597: Verifying Checksum 18:41:04 01666e4c0597: Download complete 18:41:04 8ad3a11d3b57: Download complete 18:41:04 df20fa9351a1: Pull complete 18:41:04 36b3adc4ff6f: Pull complete 18:41:05 93b61091891f: Verifying Checksum 18:41:05 93b61091891f: Download complete 18:41:05 8ad3a11d3b57: Pull complete 18:41:05 46f8f816bc3b: Pull complete 18:41:06 aa168da1d23b: Verifying Checksum 18:41:06 aa168da1d23b: Download complete 18:41:07 93b61091891f: Pull complete 18:41:07 93b9cdb0e59b: Pull complete 18:41:07 5e14af77c1be: Pull complete 18:41:07 01666e4c0597: Pull complete 18:41:15 aa168da1d23b: Pull complete 18:41:15 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:41:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:41:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:41:15 prd-centos7-docker-4c-2g-4734 does not seem to be running inside a container 18:41:16 $ 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-204/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-204 -v /w/workspace/foundry_device-virtual-go_PR-204:/w/workspace/foundry_device-virtual-go_PR-204:rw,z -v /w/workspace/foundry_device-virtual-go_PR-204@tmp:/w/workspace/foundry_device-virtual-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:41:20 $ docker top 49acf1161b63c4cbefe73d410a1fb082eb0f58a77f1bd7612fa0b96e9c19f1c8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:20 + touch /tmp/pre-build-complete [Pipeline] sh 18:41:20 + mkdir -p /var/log/sa [Pipeline] sh 18:41:21 + ls /var/log/sa-host 18:41:21 + sadf -c /var/log/sa-host/sa12 18:41:21 file_magic: OK 18:41:21 HZ: Using current value: 100 18:41:21 file_header: OK 18:41:21 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 18:41:21 Statistics: 18:41:21 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:41:21 File successfully converted to sysstat format version 12.2.1 18:41:21 + sadf -c /var/log/sa-host/sa23 18:41:21 file_magic: OK 18:41:21 HZ: Using current value: 100 18:41:21 file_header: OK 18:41:21 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 18:41:21 Statistics: 18:41:21 Hnuu...uuuununununu... 18:41:21 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:21 provisioning config files... 18:41:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config3546374250614902242tmp [Pipeline] { [Pipeline] echo 18:41:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:41:21 ---> create-netrc.sh [Pipeline] } 18:41:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:41:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:41:22 ---> python-tools-install.sh [Pipeline] echo 18:41:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:41:22 ---> sudo-logs.sh 18:41:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:41:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:41:23 ---> job-cost.sh 18:41:23 lf-activate-venv: SKIPPING 18:41:23 DEBUG: total: 0.20999999344348907 18:41:23 INFO: Retrieving Stack Cost... 18:41:24 INFO: Retrieving Pricing Info for: v1-standard-2 18:41:25 INFO: Archiving Costs [Pipeline] echo 18:41:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:41:25 ---> logs-deploy.sh 18:41:25 lf-activate-venv: SKIPPING 18:41:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-204/1 18:41:25 INFO: archiving workspace using pattern(s): 18:41:27 Archives upload complete. 18:41:27 INFO: archiving logs to Nexus