Pull request #204 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 8b6e00b368922ca9621b357ada8dcf15eea9482f+3b22e0480bd67233e1fe9d34879779676ed28d7e (d7d2e50efd4c99a1036d4f3e5aeb231be3d17f6a) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4884 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 > 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 Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 8b6e00b368922ca9621b357ada8dcf15eea9482f Merge succeeded, producing 8b6e00b368922ca9621b357ada8dcf15eea9482f Checking out Revision 8b6e00b368922ca9621b357ada8dcf15eea9482f (PR-204) > git config core.sparsecheckout # timeout=10 > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # 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 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 Commit message: "refactor: Secure Messagebus Rework" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:43:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 20:43:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:43:12 ========================================================= 20:43:12 EdgeX Global Pipelines Version Info 20:43:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:43:14 ------------------- 20:43:14 stable info: 20:43:14 ------------------- 20:43:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:43:14 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:43:14 Message: update stable to v1.0.192 20:43:15 ------------------- 20:43:15 experimental info: 20:43:15 ------------------- 20:43:15 Commited By: **** collab-it+edgex@linuxfoundation.org 20:43:15 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:43:15 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b6e00b368922ca9621b357ada8dcf15eea9482f [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b6e00b [Pipeline] echo 20:43:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:43:16 provisioning config files... 20:43:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config8809105678930923015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:17 ---> docker-login.sh 20:43:17 nexus3.edgexfoundry.org:10001 20:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:18 Configure a credential helper to remove this warning. See 20:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:18 20:43:18 Login Succeeded 20:43:18 nexus3.edgexfoundry.org:10002 20:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:18 Configure a credential helper to remove this warning. See 20:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:18 20:43:18 Login Succeeded 20:43:18 nexus3.edgexfoundry.org:10003 20:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:19 Configure a credential helper to remove this warning. See 20:43:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:19 20:43:19 Login Succeeded 20:43:19 nexus3.edgexfoundry.org:10004 20:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:19 Configure a credential helper to remove this warning. See 20:43:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:19 20:43:19 Login Succeeded 20:43:19 docker.io 20:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:20 Configure a credential helper to remove this warning. See 20:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:20 20:43:20 Login Succeeded 20:43:20 ---> docker-login.sh ends [Pipeline] } 20:43:20 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 20:43:20 + git log --format=format:%s -1 8b6e00b368922ca9621b357ada8dcf15eea9482f [Pipeline] echo 20:43:20 GIT_COMMIT: 8b6e00b368922ca9621b357ada8dcf15eea9482f, Commit Message: refactor: Secure Messagebus Rework [Pipeline] echo 20:43:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:43:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:43:21 20:43:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:43:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:43:21 latest: Pulling from edgex-devops/git-semver 20:43:21 31603596830f: Pulling fs layer 20:43:21 54011a49482f: Pulling fs layer 20:43:21 a6820b24f6d8: Pulling fs layer 20:43:21 f581987b2513: Pulling fs layer 20:43:21 f581987b2513: Waiting 20:43:21 54011a49482f: Verifying Checksum 20:43:21 54011a49482f: Download complete 20:43:22 31603596830f: Verifying Checksum 20:43:22 31603596830f: Download complete 20:43:22 a6820b24f6d8: Verifying Checksum 20:43:22 a6820b24f6d8: Download complete 20:43:22 f581987b2513: Verifying Checksum 20:43:22 f581987b2513: Download complete 20:43:22 31603596830f: Pull complete 20:43:23 54011a49482f: Pull complete 20:43:24 a6820b24f6d8: Pull complete 20:43:24 f581987b2513: Pull complete 20:43:25 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:43:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:43:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:43:25 prd-centos7-docker-4c-2g-4884 does not seem to be running inside a container 20:43:25 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:43:27 $ docker top 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:43:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:27 [ssh-agent] Looking for ssh-agent implementation... 20:43:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:28 $ docker exec 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 ssh-agent 20:43:28 SSH_AUTH_SOCK=/tmp/ssh-rSKL0Qj9Goi1/agent.11 20:43:28 SSH_AGENT_PID=16 20:43:28 Running ssh-add (command line suppressed) 20:43:28 Identity added: /w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_7573174502545335231.key (/w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_7573174502545335231.key) 20:43:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:28 + git tag --points-at HEAD [Pipeline] } 20:43:29 $ docker exec --env ******** --env ******** 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 ssh-agent -k 20:43:29 unset SSH_AUTH_SOCK; 20:43:29 unset SSH_AGENT_PID; 20:43:29 echo Agent pid 16 killed; 20:43:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:43:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:29 [ssh-agent] Looking for ssh-agent implementation... 20:43:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:29 $ docker exec 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 ssh-agent 20:43:29 SSH_AUTH_SOCK=/tmp/ssh-nwS3bq02tqzz/agent.46 20:43:29 SSH_AGENT_PID=51 20:43:29 Running ssh-add (command line suppressed) 20:43:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_2350945616846786024.key (/w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_2350945616846786024.key) 20:43:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:30 + git semver init 20:43:30 # -> Open(): unable to determine branch for HEAD 20:43:30 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-204/.git 20:43:30 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-204 20:43:30 # $SEMVER_REMOTE_NAME = origin 20:43:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:43:30 # $SEMVER_USER_NAME = edgex-jenkins 20:43:30 # $SEMVER_BRANCH = PR-204 20:43:30 # $SEMVER_TEMP = /tmp/semver-542708193 20:43:30 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 20:43:32 # '/tmp/semver-542708193' -> '/w/workspace/foundry_device-virtual-go_PR-204/.semver' 20:43:32 # -> Force: false 20:43:32 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-204/.semver [Pipeline] } 20:43:32 $ docker exec --env ******** --env ******** 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 ssh-agent -k 20:43:32 unset SSH_AUTH_SOCK; 20:43:32 unset SSH_AGENT_PID; 20:43:32 echo Agent pid 51 killed; 20:43:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:32 + git semver [Pipeline] } 20:43:32 $ docker stop --time=1 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 20:43:34 $ docker rm -f 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:43:35 Stashed 1 file(s) [Pipeline] echo 20:43:35 [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 20:43:50 Still waiting to schedule task 20:43:50 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4835’ is offline; ‘prd-centos7-docker-4c-2g-4841’ is offline; ‘prd-centos7-docker-4c-2g-4842’ is offline; ‘prd-centos7-docker-4c-2g-4843’ is offline; ‘prd-centos7-docker-4c-2g-4844’ is offline; ‘prd-centos7-docker-4c-2g-4845’ is offline; ‘prd-centos7-docker-4c-2g-4848’ is offline; ‘prd-centos7-docker-4c-2g-4856’ is offline; ‘prd-centos7-docker-4c-2g-4858’ is offline; ‘prd-centos7-docker-4c-2g-4861’ is offline; ‘prd-centos7-docker-4c-2g-4866’ is offline; ‘prd-centos7-docker-4c-2g-4871’ is offline; ‘prd-centos7-docker-4c-2g-4881’ is offline; ‘prd-centos7-docker-4c-2g-4882’ is offline; ‘prd-centos7-docker-4c-2g-4885’ is offline; ‘prd-centos7-docker-4c-2g-4886’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4877’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4878’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4846’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4853’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4854’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4869’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4870’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4872’ doesn’t have label ‘centos7-docker-4c-2g’ 20:43:50 Still waiting to schedule task 20:43:50 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 20:48:06 Running on prd-centos7-docker-4c-2g-4895 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] ws 20:48:06 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 20:48:09 using credential edgex-jenkins-ssh 20:48:09 Cloning the remote Git repository 20:48:09 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:48:09 > git init /w/workspace/device-virtual-go/2 # timeout=10 20:48:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:48:09 > git --version # timeout=10 20:48:09 > git --version # 'git version 2.24.3' 20:48:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:11 Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 8b6e00b368922ca9621b357ada8dcf15eea9482f 20:48:11 Merge succeeded, producing 8b6e00b368922ca9621b357ada8dcf15eea9482f 20:48:11 Checking out Revision 8b6e00b368922ca9621b357ada8dcf15eea9482f (PR-204) 20:48:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:48:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:48:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:48:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:10 > 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 20:48:11 > git config core.sparsecheckout # timeout=10 20:48:11 > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 20:48:11 > git remote # timeout=10 20:48:11 > git config --get remote.origin.url # timeout=10 20:48:11 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:11 > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 20:48:11 > git rev-parse HEAD^{commit} # timeout=10 20:48:11 > git config core.sparsecheckout # timeout=10 20:48:11 > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 20:48:14 Commit message: "refactor: Secure Messagebus Rework" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:48:16 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:48:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:48:16 + true 20:48:16 + sudo service docker restart 20:48:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:48:17 provisioning config files... 20:48:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4857088787717823001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:18 ---> docker-login.sh 20:48:18 nexus3.edgexfoundry.org:10001 20:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:18 Configure a credential helper to remove this warning. See 20:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:18 20:48:18 Login Succeeded 20:48:18 nexus3.edgexfoundry.org:10002 20:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:18 Configure a credential helper to remove this warning. See 20:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:18 20:48:18 Login Succeeded 20:48:18 nexus3.edgexfoundry.org:10003 20:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:18 Configure a credential helper to remove this warning. See 20:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:18 20:48:18 Login Succeeded 20:48:18 nexus3.edgexfoundry.org:10004 20:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:18 Configure a credential helper to remove this warning. See 20:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:18 20:48:18 Login Succeeded 20:48:18 docker.io 20:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:19 Configure a credential helper to remove this warning. See 20:48:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:19 20:48:19 Login Succeeded 20:48:19 ---> docker-login.sh ends [Pipeline] } 20:48:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:48:19 ========================================================= 20:48:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:48:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:48:19 + 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 . 20:48:19 Sending build context to Docker daemon 8.585MB 20:48:19 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:48:19 Step 2/8 : FROM ${BASE} 20:48:20 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:48:20 540db60ca938: Pulling fs layer 20:48:20 adcc1eea9eea: Pulling fs layer 20:48:20 4c4ab2625f07: Pulling fs layer 20:48:20 0510c868ecb4: Pulling fs layer 20:48:20 afea3b2eda06: Pulling fs layer 20:48:20 7809a108b3ef: Pulling fs layer 20:48:20 f706445af74f: Pulling fs layer 20:48:20 afea3b2eda06: Waiting 20:48:20 7809a108b3ef: Waiting 20:48:20 f706445af74f: Waiting 20:48:20 0510c868ecb4: Waiting 20:48:20 4c4ab2625f07: Verifying Checksum 20:48:20 4c4ab2625f07: Download complete 20:48:20 adcc1eea9eea: Download complete 20:48:20 afea3b2eda06: Verifying Checksum 20:48:20 afea3b2eda06: Download complete 20:48:20 540db60ca938: Verifying Checksum 20:48:20 540db60ca938: Download complete 20:48:20 7809a108b3ef: Verifying Checksum 20:48:20 7809a108b3ef: Download complete 20:48:20 540db60ca938: Pull complete 20:48:20 adcc1eea9eea: Pull complete 20:48:20 4c4ab2625f07: Pull complete 20:48:22 f706445af74f: Verifying Checksum 20:48:22 f706445af74f: Download complete 20:48:23 0510c868ecb4: Verifying Checksum 20:48:23 0510c868ecb4: Download complete 20:48:28 0510c868ecb4: Pull complete 20:48:28 afea3b2eda06: Pull complete 20:48:28 7809a108b3ef: Pull complete 20:48:35 f706445af74f: Pull complete 20:48:35 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:48:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:48:35 ---> b068be0155e3 20:48:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 20:48:36 ---> Running in 1fdd30896c41 20:48:36 Removing intermediate container 1fdd30896c41 20:48:36 ---> ec83fd0719c5 20:48:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:48:36 ---> Running in 2d1d61453272 20:48:38 Removing intermediate container 2d1d61453272 20:48:38 ---> 85f302c62751 20:48:38 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 20:48:38 ---> Running in 62a2f65a93fa 20:48:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:48:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:48:39 (1/13) Installing libc-dev (0.7.2-r3) 20:48:39 (2/13) Installing libsodium (1.0.18-r0) 20:48:39 (3/13) Installing pkgconf (1.7.3-r0) 20:48:39 (4/13) Installing libsodium-dev (1.0.18-r0) 20:48:40 (5/13) Installing openssh-keygen (8.4_p1-r3) 20:48:40 (6/13) Installing libedit (20191231.3.1-r1) 20:48:40 (7/13) Installing openssh-client (8.4_p1-r3) 20:48:40 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 20:48:40 (9/13) Installing openssh-server-common (8.4_p1-r3) 20:48:40 (10/13) Installing openssh-server (8.4_p1-r3) 20:48:40 (11/13) Installing openssh (8.4_p1-r3) 20:48:41 (12/13) Installing libzmq (4.3.3-r1) 20:48:41 (13/13) Installing zeromq-dev (4.3.3-r1) 20:48:41 Executing busybox-1.32.1-r6.trigger 20:48:41 OK: 156 MiB in 53 packages 20:48:41 Removing intermediate container 62a2f65a93fa 20:48:41 ---> cc764ff53dfb 20:48:41 Step 6/8 : WORKDIR /device-virtual-go 20:48:41 ---> Running in bf2e6864de7b 20:48:41 Removing intermediate container bf2e6864de7b 20:48:41 ---> 70da46cfeffb 20:48:41 Step 7/8 : COPY . . 20:48:42 ---> 6b0d2235c179 20:48:42 Step 8/8 : RUN go mod download 20:48:42 ---> Running in cd6f5e902a27 20:49:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4897 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] ws 20:49:04 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 20:49:09 Removing intermediate container cd6f5e902a27 20:49:09 ---> 56952be48129 20:49:09 Successfully built 56952be48129 20:49:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:49:09 + docker inspect -f . ci-base-image-x86_64 20:49:09 . [Pipeline] withDockerContainer 20:49:09 prd-centos7-docker-4c-2g-4895 does not seem to be running inside a container 20:49:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:49:10 $ docker top 01ad4e684ddf0a68692e57e3aabe5ae9a3fd5ccd03a2fcc2d9e06d14124c1be3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:11 + go version 20:49:11 go version go1.16.3 linux/amd64 [Pipeline] } 20:49:11 $ docker stop --time=1 01ad4e684ddf0a68692e57e3aabe5ae9a3fd5ccd03a2fcc2d9e06d14124c1be3 20:49:11 using credential edgex-jenkins-ssh 20:49:11 Cloning the remote Git repository 20:49:11 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:49:11 > git init /w/workspace/device-virtual-go/2 # timeout=10 20:49:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:49:12 > git --version # timeout=10 20:49:12 > git --version # 'git version 2.17.1' 20:49:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:49:12 $ docker rm -f 01ad4e684ddf0a68692e57e3aabe5ae9a3fd5ccd03a2fcc2d9e06d14124c1be3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:49:13 + docker inspect -f . ci-base-image-x86_64 20:49:13 . [Pipeline] withDockerContainer 20:49:13 prd-centos7-docker-4c-2g-4895 does not seem to be running inside a container 20:49:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:49:13 $ docker top 30b0915d3d8864f9dcc936935fba8c7c1a5ca2e823bef3b8f363a81dcf9652b7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:14 + go mod tidy 20:49:14 Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 8b6e00b368922ca9621b357ada8dcf15eea9482f 20:49:14 Merge succeeded, producing 8b6e00b368922ca9621b357ada8dcf15eea9482f 20:49:14 Checking out Revision 8b6e00b368922ca9621b357ada8dcf15eea9482f (PR-204) [Pipeline] sh 20:49:13 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:49:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:49:13 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:49:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:49:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:14 > 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 20:49:14 > git config core.sparsecheckout # timeout=10 20:49:14 > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 20:49:14 > git remote # timeout=10 20:49:14 > git config --get remote.origin.url # timeout=10 20:49:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:14 > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 20:49:14 > git rev-parse HEAD^{commit} # timeout=10 20:49:14 > git config core.sparsecheckout # timeout=10 20:49:14 > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 20:49:15 + make test 20:49:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:49:16 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:49:19 Commit message: "refactor: Secure Messagebus Rework" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:20 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:49:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:49:21 + true 20:49:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:49:23 provisioning config files... 20:49:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config5756512132041680082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:24 ---> docker-login.sh 20:49:24 nexus3.edgexfoundry.org:10001 20:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:25 Configure a credential helper to remove this warning. See 20:49:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:25 20:49:25 Login Succeeded 20:49:25 nexus3.edgexfoundry.org:10002 20:49:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:26 Configure a credential helper to remove this warning. See 20:49:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:26 20:49:26 Login Succeeded 20:49:26 nexus3.edgexfoundry.org:10003 20:49:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:26 Configure a credential helper to remove this warning. See 20:49:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:26 20:49:26 Login Succeeded 20:49:26 nexus3.edgexfoundry.org:10004 20:49:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:27 Configure a credential helper to remove this warning. See 20:49:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:27 20:49:27 Login Succeeded 20:49:27 docker.io 20:49:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:28 Configure a credential helper to remove this warning. See 20:49:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:28 20:49:28 Login Succeeded 20:49:28 ---> docker-login.sh ends [Pipeline] } 20:49:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:49:28 ========================================================= 20:49:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:49:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:49:28 + 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 . 20:49:29 Sending build context to Docker daemon 8.584MB 20:49:29 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:49:29 Step 2/8 : FROM ${BASE} 20:49:29 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:49:29 595b0fe564bb: Pulling fs layer 20:49:29 7186ed65a4f7: Pulling fs layer 20:49:29 316046926c0a: Pulling fs layer 20:49:29 4ebd0625c992: Pulling fs layer 20:49:29 207e8628e3a3: Pulling fs layer 20:49:29 c791037a9be2: Pulling fs layer 20:49:29 ffd874e62e21: Pulling fs layer 20:49:29 4ebd0625c992: Waiting 20:49:29 207e8628e3a3: Waiting 20:49:29 c791037a9be2: Waiting 20:49:29 ffd874e62e21: Waiting 20:49:29 316046926c0a: Verifying Checksum 20:49:29 316046926c0a: Download complete 20:49:29 7186ed65a4f7: Verifying Checksum 20:49:29 7186ed65a4f7: Download complete 20:49:29 207e8628e3a3: Verifying Checksum 20:49:29 207e8628e3a3: Download complete 20:49:29 c791037a9be2: Verifying Checksum 20:49:29 c791037a9be2: Download complete 20:49:29 595b0fe564bb: Verifying Checksum 20:49:29 595b0fe564bb: Download complete 20:49:30 595b0fe564bb: Pull complete 20:49:30 7186ed65a4f7: Pull complete 20:49:31 316046926c0a: Pull complete 20:49:31 ffd874e62e21: Verifying Checksum 20:49:31 ffd874e62e21: Download complete 20:49:33 4ebd0625c992: Verifying Checksum 20:49:33 4ebd0625c992: Download complete 20:49:38 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:49:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.444s coverage: 63.8% of statements 20:49:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:49:43 4ebd0625c992: Pull complete 20:49:43 207e8628e3a3: Pull complete 20:49:43 c791037a9be2: Pull complete 20:49:46 ffd874e62e21: Pull complete 20:49:46 gofmt -l . 20:49:46 [ "`gofmt -l .`" = "" ] 20:49:46 ./bin/test-attribution-txt.sh 20:49:47 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:49:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:49:47 ---> cfc18b08335c 20:49:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 20:49:47 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:49:47 $ docker stop --time=1 30b0915d3d8864f9dcc936935fba8c7c1a5ca2e823bef3b8f363a81dcf9652b7 20:49:49 $ docker rm -f 30b0915d3d8864f9dcc936935fba8c7c1a5ca2e823bef3b8f363a81dcf9652b7 [Pipeline] // withDockerContainer [Pipeline] sh 20:49:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:50 ---> Running in e76d6574c1fa 20:49:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 20:49:50 Removing intermediate container e76d6574c1fa 20:49:50 ---> 7a32bb102423 20:49:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:49:50 ---> Running in dc8fbb384145 [Pipeline] sh 20:49:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:51 + ls -al . 20:49:51 total 132 20:49:51 drwxrwxr-x. 7 jenkins jenkins 4096 May 12 20:49 . 20:49:51 drwxrwxr-x. 4 jenkins jenkins 28 May 12 20:48 .. 20:49:51 -rw-rw-r--. 1 jenkins jenkins 8153 May 12 20:48 Attribution.txt 20:49:51 drwxrwxr-x. 2 jenkins jenkins 64 May 12 20:48 bin 20:49:51 drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:48 cmd 20:49:51 -rw-r--r--. 1 jenkins jenkins 47247 May 12 20:49 coverage.out 20:49:51 -rw-rw-r--. 1 jenkins jenkins 1905 May 12 20:48 Dockerfile 20:49:51 -rw-rw-r--. 1 jenkins jenkins 998 May 12 20:48 Dockerfile.build 20:49:51 drwxrwxr-x. 8 jenkins jenkins 179 May 12 20:48 .git 20:49:51 drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:48 .github 20:49:51 -rw-rw-r--. 1 jenkins jenkins 277 May 12 20:48 .gitignore 20:49:51 -rw-r--r--. 1 jenkins jenkins 809 May 12 20:49 go.mod 20:49:51 -rw-r--r--. 1 jenkins jenkins 23036 May 12 20:49 go.sum 20:49:51 drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:48 internal 20:49:51 -rw-rw-r--. 1 jenkins jenkins 660 May 12 20:48 Jenkinsfile 20:49:51 -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:48 LICENSE 20:49:51 -rw-rw-r--. 1 jenkins jenkins 914 May 12 20:48 Makefile 20:49:51 -rw-rw-r--. 1 jenkins jenkins 2745 May 12 20:48 README.md 20:49:51 -rw-rw-r--. 1 jenkins jenkins 5 May 12 20:43 VERSION 20:49:51 -rw-rw-r--. 1 jenkins jenkins 235 May 12 20:48 version.go [Pipeline] isUnix [Pipeline] sh 20:49:52 + 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=8b6e00b368922ca9621b357ada8dcf15eea9482f --label arch=amd64 --label version=0.0.0 . 20:49:52 Sending build context to Docker daemon 8.657MB 20:49:52 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:49:52 Step 2/25 : FROM ${BASE} AS builder 20:49:52 ---> 56952be48129 20:49:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:49:52 ---> Running in 0b660636f5bf 20:49:52 Removing intermediate container 0b660636f5bf 20:49:52 ---> e51ade99fc1a 20:49:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 20:49:52 ---> Running in d00a34ee80fa 20:49:53 Removing intermediate container d00a34ee80fa 20:49:53 ---> 6ff07a1852b1 20:49:53 Step 5/25 : WORKDIR /device-virtual-go 20:49:53 ---> Running in be59ec6c94b7 20:49:53 Removing intermediate container be59ec6c94b7 20:49:53 ---> 771c86cbf20f 20:49:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:49:53 ---> Running in 186a9b7a0135 20:49:53 Removing intermediate container dc8fbb384145 20:49:53 ---> 4c5000c6bd1a 20:49:53 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 20:49:53 ---> Running in 058aef6c9737 20:49:54 Removing intermediate container 186a9b7a0135 20:49:54 ---> 43df37cfc8da 20:49:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:49:54 ---> Running in e5376d70d477 20:49:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:49:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:49:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:49:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:49:56 OK: 156 MiB in 53 packages 20:49:56 Removing intermediate container e5376d70d477 20:49:56 ---> f7affcb5687d 20:49:56 Step 8/25 : COPY . . 20:49:56 (1/13) Installing libc-dev (0.7.2-r3) 20:49:56 (2/13) Installing libsodium (1.0.18-r0) 20:49:56 (3/13) Installing pkgconf (1.7.3-r0) 20:49:56 (4/13) Installing libsodium-dev (1.0.18-r0) 20:49:57 (5/13) Installing openssh-keygen (8.4_p1-r3) 20:49:57 (6/13) Installing libedit (20191231.3.1-r1) 20:49:57 (7/13) Installing openssh-client (8.4_p1-r3) 20:49:57 ---> f0d7e426c9ef 20:49:57 Step 9/25 : RUN go mod download 20:49:57 ---> Running in 632b2c4c6f60 20:49:57 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 20:49:57 (9/13) Installing openssh-server-common (8.4_p1-r3) 20:49:57 (10/13) Installing openssh-server (8.4_p1-r3) 20:49:57 (11/13) Installing openssh (8.4_p1-r3) 20:49:57 (12/13) Installing libzmq (4.3.3-r1) 20:49:57 (13/13) Installing zeromq-dev (4.3.3-r1) 20:49:57 Executing busybox-1.32.1-r6.trigger 20:49:58 OK: 145 MiB in 53 packages 20:49:58 Removing intermediate container 632b2c4c6f60 20:49:58 ---> 0261e661603a 20:49:58 Step 10/25 : ARG MAKE='make build' 20:49:58 ---> Running in 65795005756e 20:49:58 Removing intermediate container 65795005756e 20:49:58 ---> 012f11ab286d 20:49:58 Step 11/25 : RUN $MAKE 20:49:58 ---> Running in f9bb49bfca3d 20:49:58 go mod tidy 20:49:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 20:49:59 Removing intermediate container 058aef6c9737 20:49:59 ---> c6688caaa0c2 20:49:59 Step 6/8 : WORKDIR /device-virtual-go 20:49:59 ---> Running in c019269b3f16 20:50:00 Removing intermediate container c019269b3f16 20:50:00 ---> c1d961b29562 20:50:00 Step 7/8 : COPY . . 20:50:01 ---> 4d17459aec78 20:50:01 Step 8/8 : RUN go mod download 20:50:01 ---> Running in f05436313a1e 20:50:17 CGO_ENABLED=1 GO111MODULE=on go build ./... 20:50:19 Removing intermediate container f9bb49bfca3d 20:50:19 ---> 30094d35f2fc 20:50:19 Step 12/25 : FROM alpine:3.12 20:50:19 3.12: Pulling from library/alpine 20:50:19 339de151aab4: Pulling fs layer 20:50:20 339de151aab4: Verifying Checksum 20:50:20 339de151aab4: Download complete 20:50:20 339de151aab4: Pull complete 20:50:20 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:50:20 Status: Downloaded newer image for alpine:3.12 20:50:20 ---> 13621d1b12d4 20:50:20 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:50:20 ---> Running in febc32b435d7 20:50:20 Removing intermediate container febc32b435d7 20:50:20 ---> 9ea6c4ad39ab 20:50:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:50:20 ---> Running in 8fb16c3e902a 20:50:21 Removing intermediate container 8fb16c3e902a 20:50:21 ---> 20ce46ff8f8e 20:50:21 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 20:50:21 ---> Running in c9916ea506ca 20:50:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:50:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:50:23 (1/6) Installing dumb-init (1.2.2-r1) 20:50:23 (2/6) Installing libgcc (9.3.0-r2) 20:50:23 (3/6) Installing libsodium (1.0.18-r0) 20:50:23 (4/6) Installing libstdc++ (9.3.0-r2) 20:50:24 (5/6) Installing libzmq (4.3.3-r0) 20:50:24 (6/6) Installing zeromq (4.3.3-r0) 20:50:24 Executing busybox-1.31.1-r20.trigger 20:50:24 OK: 8 MiB in 20 packages 20:50:25 Removing intermediate container c9916ea506ca 20:50:25 ---> 54400e568565 20:50:25 Step 16/25 : WORKDIR / 20:50:25 ---> Running in dfc45eab1dbc 20:50:25 Removing intermediate container dfc45eab1dbc 20:50:25 ---> a02d33b027d0 20:50:25 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:50:25 ---> 88017c045d97 20:50:25 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 20:50:25 ---> 34475c181147 20:50:25 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 20:50:26 ---> ec56bf8bdd35 20:50:26 Step 20/25 : EXPOSE 49990 20:50:26 ---> Running in a035aa34f742 20:50:26 Removing intermediate container a035aa34f742 20:50:26 ---> 08fdb84a2c78 20:50:26 Step 21/25 : ENTRYPOINT ["/device-virtual"] 20:50:26 ---> Running in 59a5435be440 20:50:27 Removing intermediate container 59a5435be440 20:50:27 ---> 5de994e3e93d 20:50:27 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:50:27 ---> Running in 33a3dc5dc3d6 20:50:27 Removing intermediate container 33a3dc5dc3d6 20:50:27 ---> 3f544779b64e 20:50:27 Step 23/25 : LABEL arch=amd64 20:50:27 ---> Running in f7c4ccb2d788 20:50:27 Removing intermediate container f7c4ccb2d788 20:50:27 ---> 58f6656c2b71 20:50:27 Step 24/25 : LABEL git_sha=8b6e00b368922ca9621b357ada8dcf15eea9482f 20:50:27 ---> Running in 679f2c5fc9ee 20:50:27 Removing intermediate container 679f2c5fc9ee 20:50:27 ---> de9e726395d9 20:50:27 Step 25/25 : LABEL version=0.0.0 20:50:27 ---> Running in 3421b4373791 20:50:27 Removing intermediate container 3421b4373791 20:50:27 ---> 298bcd12b16d 20:50:27 [Warning] One or more build-args [ARCH] were not consumed 20:50:28 Successfully built 298bcd12b16d 20:50:28 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 20:50:28 ---> job-cost.sh 20:50:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lVc6 20:50:34 Removing intermediate container f05436313a1e 20:50:34 ---> a96229d5c84c 20:50:34 Successfully built a96229d5c84c 20:50:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:50:34 + docker inspect -f . ci-base-image-arm64 20:50:34 . [Pipeline] withDockerContainer 20:50:34 prd-ubuntu18.04-docker-arm64-4c-16g-4897 does not seem to be running inside a container 20:50:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:50:36 $ docker top 9c00fad23a24003a2c700a55d72b54dfecc572f602bdbab7c5f14276d506f25b -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:37 + go version 20:50:37 go version go1.16.3 linux/arm64 [Pipeline] } 20:50:37 $ docker stop --time=1 9c00fad23a24003a2c700a55d72b54dfecc572f602bdbab7c5f14276d506f25b 20:50:39 $ docker rm -f 9c00fad23a24003a2c700a55d72b54dfecc572f602bdbab7c5f14276d506f25b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:50:40 + docker inspect -f . ci-base-image-arm64 20:50:40 . [Pipeline] withDockerContainer 20:50:40 prd-ubuntu18.04-docker-arm64-4c-16g-4897 does not seem to be running inside a container 20:50:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:50:42 $ docker top 1fbb142f3b91dbe9b69d35f4f0d89ffa671bcdcd4db05757c2366c708b81d112 -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:50:43 + go mod tidy [Pipeline] sh 20:50:45 + make test 20:50:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:50:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:51:10 lf-activate-venv(): INFO: Adding /tmp/venv-lVc6/bin to PATH 20:51:10 INFO: No Stack... 20:51:10 INFO: Retrieving Pricing Info for: v1-standard-2 20:51:10 INFO: Archiving Costs [Pipeline] sh 20:51:10 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 20:51:10 + cut -d, -f6 [Pipeline] lock 20:51:10 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] 20:51:10 Resource [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] did not exist. Created. 20:51:10 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:51:11 + echo total: 0.029999999329447746 [Pipeline] stash 20:51:11 Stashed 1 file(s) [Pipeline] } 20:51:11 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:52:08 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:52:08 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.858s coverage: 63.8% of statements 20:52:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:52:30 gofmt -l . 20:52:30 [ "`gofmt -l .`" = "" ] 20:52:30 ./bin/test-attribution-txt.sh 20:52:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:52:31 $ docker stop --time=1 1fbb142f3b91dbe9b69d35f4f0d89ffa671bcdcd4db05757c2366c708b81d112 20:52:33 $ docker rm -f 1fbb142f3b91dbe9b69d35f4f0d89ffa671bcdcd4db05757c2366c708b81d112 [Pipeline] // withDockerContainer [Pipeline] sh 20:52:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:52:34 Warning: overwriting stash ‘coverage-report’ 20:52:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:52:36 + ls -al . 20:52:36 total 156 20:52:36 drwxrwxr-x 7 jenkins jenkins 4096 May 12 20:52 . 20:52:36 drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:49 .. 20:52:36 drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:49 .git 20:52:36 drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:49 .github 20:52:36 -rw-rw-r-- 1 jenkins jenkins 277 May 12 20:49 .gitignore 20:52:36 -rw-rw-r-- 1 jenkins jenkins 8153 May 12 20:49 Attribution.txt 20:52:36 -rw-rw-r-- 1 jenkins jenkins 1905 May 12 20:49 Dockerfile 20:52:36 -rw-rw-r-- 1 jenkins jenkins 998 May 12 20:49 Dockerfile.build 20:52:36 -rw-rw-r-- 1 jenkins jenkins 660 May 12 20:49 Jenkinsfile 20:52:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:49 LICENSE 20:52:36 -rw-rw-r-- 1 jenkins jenkins 914 May 12 20:49 Makefile 20:52:36 -rw-rw-r-- 1 jenkins jenkins 2745 May 12 20:49 README.md 20:52:36 -rw-rw-r-- 1 jenkins jenkins 5 May 12 20:43 VERSION 20:52:36 drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:49 bin 20:52:36 drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:49 cmd 20:52:36 -rw-r--r-- 1 jenkins jenkins 47247 May 12 20:51 coverage.out 20:52:36 -rw-r--r-- 1 jenkins jenkins 809 May 12 20:52 go.mod 20:52:36 -rw-r--r-- 1 jenkins jenkins 23036 May 12 20:50 go.sum 20:52:36 drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:49 internal 20:52:36 -rw-rw-r-- 1 jenkins jenkins 235 May 12 20:49 version.go [Pipeline] isUnix [Pipeline] sh 20:52:36 + 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=8b6e00b368922ca9621b357ada8dcf15eea9482f --label arch=arm64 --label version=0.0.0 . 20:52:37 Sending build context to Docker daemon 8.656MB 20:52:37 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:52:37 Step 2/25 : FROM ${BASE} AS builder 20:52:37 ---> a96229d5c84c 20:52:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:52:37 ---> Running in f6a71a1feb6a 20:52:37 Removing intermediate container f6a71a1feb6a 20:52:37 ---> 30869fd195cd 20:52:37 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 20:52:37 ---> Running in a59889d24429 20:52:38 Removing intermediate container a59889d24429 20:52:38 ---> ed0a3b5d5b41 20:52:38 Step 5/25 : WORKDIR /device-virtual-go 20:52:38 ---> Running in dfafc73f7945 20:52:39 Removing intermediate container dfafc73f7945 20:52:39 ---> fe1def6657d1 20:52:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:52:39 ---> Running in 74dc77defa39 20:52:41 Removing intermediate container 74dc77defa39 20:52:41 ---> df81a8bf64ef 20:52:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:41 ---> Running in 8e1ad2e1392c 20:52:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:52:43 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:52:44 OK: 145 MiB in 53 packages 20:52:45 Removing intermediate container 8e1ad2e1392c 20:52:45 ---> 606b04abd80d 20:52:45 Step 8/25 : COPY . . 20:52:47 ---> 924b243ac2d1 20:52:47 Step 9/25 : RUN go mod download 20:52:47 ---> Running in 8a9fc962a2a0 20:52:49 Removing intermediate container 8a9fc962a2a0 20:52:49 ---> 621397181b80 20:52:49 Step 10/25 : ARG MAKE='make build' 20:52:49 ---> Running in b867a9924e74 20:52:50 Removing intermediate container b867a9924e74 20:52:50 ---> 575d32f707b0 20:52:50 Step 11/25 : RUN $MAKE 20:52:50 ---> Running in dc1e3d8a42e5 20:52:51 go mod tidy 20:52:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 20:53:38 CGO_ENABLED=1 GO111MODULE=on go build ./... 20:53:49 Removing intermediate container dc1e3d8a42e5 20:53:49 ---> 827ceb6ed4c7 20:53:49 Step 12/25 : FROM alpine:3.12 20:53:49 3.12: Pulling from library/alpine 20:53:49 d2f70382dc9a: Pulling fs layer 20:53:49 d2f70382dc9a: Verifying Checksum 20:53:49 d2f70382dc9a: Download complete 20:53:49 d2f70382dc9a: Pull complete 20:53:49 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:53:49 Status: Downloaded newer image for alpine:3.12 20:53:49 ---> 9852663dfa18 20:53:49 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:53:49 ---> Running in 145ebb716f26 20:53:50 Removing intermediate container 145ebb716f26 20:53:50 ---> 2b6e1d7500d8 20:53:50 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:53:50 ---> Running in 5f42063c4773 20:53:52 Removing intermediate container 5f42063c4773 20:53:52 ---> 8cb548fe43e8 20:53:52 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 20:53:52 ---> Running in 09e44826aa67 20:53:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:53:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:53:54 (1/6) Installing dumb-init (1.2.2-r1) 20:53:55 (2/6) Installing libgcc (9.3.0-r2) 20:53:55 (3/6) Installing libsodium (1.0.18-r0) 20:53:55 (4/6) Installing libstdc++ (9.3.0-r2) 20:53:55 (5/6) Installing libzmq (4.3.3-r0) 20:53:56 (6/6) Installing zeromq (4.3.3-r0) 20:53:56 Executing busybox-1.31.1-r20.trigger 20:53:56 OK: 8 MiB in 20 packages 20:53:57 Removing intermediate container 09e44826aa67 20:53:57 ---> d6f1f03c169e 20:53:57 Step 16/25 : WORKDIR / 20:53:57 ---> Running in 9ae987d5db68 20:53:58 Removing intermediate container 9ae987d5db68 20:53:58 ---> cfa432079f12 20:53:58 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:53:58 ---> f6f77cfeed91 20:53:58 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 20:53:59 ---> e219d8acc952 20:53:59 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 20:54:00 ---> c7ea3eff10cc 20:54:00 Step 20/25 : EXPOSE 49990 20:54:00 ---> Running in 8a96a3fb3da0 20:54:00 Removing intermediate container 8a96a3fb3da0 20:54:00 ---> b04da9862bd4 20:54:00 Step 21/25 : ENTRYPOINT ["/device-virtual"] 20:54:01 ---> Running in 2b46236f3497 20:54:01 Removing intermediate container 2b46236f3497 20:54:01 ---> 4c47f2713342 20:54:01 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:54:01 ---> Running in 3eb98009b777 20:54:02 Removing intermediate container 3eb98009b777 20:54:02 ---> 1d4b541e5104 20:54:02 Step 23/25 : LABEL arch=arm64 20:54:02 ---> Running in 5fbf9818549d 20:54:02 Removing intermediate container 5fbf9818549d 20:54:02 ---> 1fde3c1cef2b 20:54:02 Step 24/25 : LABEL git_sha=8b6e00b368922ca9621b357ada8dcf15eea9482f 20:54:02 ---> Running in 70c045a85792 20:54:03 Removing intermediate container 70c045a85792 20:54:03 ---> 5cc6c29ae596 20:54:03 Step 25/25 : LABEL version=0.0.0 20:54:03 ---> Running in 6a45ca2dc407 20:54:04 Removing intermediate container 6a45ca2dc407 20:54:04 ---> f73a0e0eea57 20:54:04 [Warning] One or more build-args [ARCH] were not consumed 20:54:04 Successfully built f73a0e0eea57 20:54:04 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 20:54:04 ---> job-cost.sh 20:54:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ph6S 20:54:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:56:20 lf-activate-venv(): INFO: Adding /tmp/venv-Ph6S/bin to PATH 20:56:20 INFO: No Stack... 20:56:20 INFO: Retrieving Pricing Info for: lf-standard-4 20:56:20 INFO: Archiving Costs [Pipeline] sh 20:56:20 + + catcut /w/workspace/device-virtual-go/2/archives/cost.csv -d, 20:56:20 -f6 [Pipeline] lock 20:56:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] 20:56:20 Resource [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] did not exist. Created. 20:56:20 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:56:21 /w/workspace/device-virtual-go/2@tmp/durable-c44c0fad/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-c44c0fad/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:56:21 + echo total: 0.20999999344348907 [Pipeline] stash 20:56:21 Warning: overwriting stash ‘stack-cost’ 20:56:21 Stashed 1 file(s) [Pipeline] } 20:56:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-204-2-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 20:56:22 provisioning config files... 20:56:22 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config3585226724576242121tmp [Pipeline] { [Pipeline] sh 20:56:22 + set +x 20:56:22 + curl -s https://codecov.io/bash 20:56:22 + bash -s -- 20:56:22 20:56:22 _____ _ 20:56:22 / ____| | | 20:56:22 | | ___ __| | ___ ___ _____ __ 20:56:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:56:22 | |___| (_) | (_| | __/ (_| (_) \ V / 20:56:22 \_____\___/ \__,_|\___|\___\___/ \_/ 20:56:22 Bash-1.0.2 20:56:22 20:56:22 20:56:22 ==> git version 2.24.3 found 20:56:22 ==> 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 20:56:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:56:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:56:22 ==> Jenkins CI detected. 20:56:22 project root: . 20:56:22 --> token set from env 20:56:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:56:22 ==> Running gcov in . (disable via -X gcov) 20:56:22 ==> Python coveragepy not found 20:56:22 ==> Searching for coverage reports in: 20:56:22 + . 20:56:22 -> Found 1 reports 20:56:22 ==> Detecting git/mercurial file structure 20:56:22 ==> Reading reports 20:56:22 + ./coverage.out bytes=47247 20:56:22 ==> Appending adjustments 20:56:22 https://docs.codecov.io/docs/fixing-reports 20:56:23 + Found adjustments 20:56:23 ==> Gzipping contents 20:56:23 8.0K /tmp/codecov.eK8p3d.gz 20:56:23 ==> Uploading reports 20:56:23 url: https://codecov.io 20:56:23 query: branch=PR-204&commit=8b6e00b368922ca9621b357ada8dcf15eea9482f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-204%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=204&job=&cmd_args= 20:56:23 -> Pinging Codecov 20:56:23 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-204&commit=8b6e00b368922ca9621b357ada8dcf15eea9482f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-204%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=204&job=&cmd_args= 20:56:23 -> Uploading to 20:56:23 https://storage.googleapis.com/codecov/v4/raw/2021-05-12/5E52B4B073DB2E39498172D8E973AA87/8b6e00b368922ca9621b357ada8dcf15eea9482f/ab20b0c1-3bdb-4439-ae7c-45f97217f184.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T205623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d9da0dedcf95a24caa8a44db4e3fa25a43ca14f1a927035dc8470e96c89222cf 20:56:23 % Total % Received % Xferd Average Speed Time Time Time Current 20:56:23 Dload Upload Total Spent Left Speed 20:56:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5752 0 0 100 5752 0 14657 --:--:-- --:--:-- --:--:-- 14673 20:56:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8b6e00b368922ca9621b357ada8dcf15eea9482f [Pipeline] } 20:56:24 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 20:56:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:56:25 ---> package-listing.sh 20:56:25 ++ tr '[:upper:]' '[:lower:]' 20:56:25 ++ facter osfamily 20:56:26 + OS_FAMILY=redhat 20:56:26 + workspace=/w/workspace/foundry_device-virtual-go_PR-204 20:56:26 + START_PACKAGES=/tmp/packages_start.txt 20:56:26 + END_PACKAGES=/tmp/packages_end.txt 20:56:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:56:26 + PACKAGES=/tmp/packages_start.txt 20:56:26 + '[' /w/workspace/foundry_device-virtual-go_PR-204 ']' 20:56:26 + PACKAGES=/tmp/packages_end.txt 20:56:26 + case "${OS_FAMILY}" in 20:56:26 + rpm -qa 20:56:26 + sort 20:56:31 + '[' -f /tmp/packages_start.txt ']' 20:56:31 + '[' -f /tmp/packages_end.txt ']' 20:56:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:56:31 + '[' /w/workspace/foundry_device-virtual-go_PR-204 ']' 20:56:31 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-204/archives/ 20:56:31 + 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 20:56:31 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 20:56:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:56:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:56:32 20:56:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:56:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:56:32 alpine: Pulling from edgex-lftools-log-publisher 20:56:32 df20fa9351a1: Pulling fs layer 20:56:32 36b3adc4ff6f: Pulling fs layer 20:56:32 8ad3a11d3b57: Pulling fs layer 20:56:32 46f8f816bc3b: Pulling fs layer 20:56:32 93b61091891f: Pulling fs layer 20:56:32 93b9cdb0e59b: Pulling fs layer 20:56:32 5e14af77c1be: Pulling fs layer 20:56:32 01666e4c0597: Pulling fs layer 20:56:32 aa168da1d23b: Pulling fs layer 20:56:32 93b9cdb0e59b: Waiting 20:56:32 5e14af77c1be: Waiting 20:56:32 01666e4c0597: Waiting 20:56:32 aa168da1d23b: Waiting 20:56:32 46f8f816bc3b: Waiting 20:56:32 93b61091891f: Waiting 20:56:32 36b3adc4ff6f: Verifying Checksum 20:56:32 36b3adc4ff6f: Download complete 20:56:32 46f8f816bc3b: Verifying Checksum 20:56:32 46f8f816bc3b: Download complete 20:56:32 df20fa9351a1: Verifying Checksum 20:56:32 df20fa9351a1: Download complete 20:56:32 93b9cdb0e59b: Verifying Checksum 20:56:32 93b9cdb0e59b: Download complete 20:56:32 5e14af77c1be: Verifying Checksum 20:56:32 5e14af77c1be: Download complete 20:56:32 01666e4c0597: Verifying Checksum 20:56:32 01666e4c0597: Download complete 20:56:32 93b61091891f: Verifying Checksum 20:56:32 93b61091891f: Download complete 20:56:32 8ad3a11d3b57: Verifying Checksum 20:56:32 8ad3a11d3b57: Download complete 20:56:33 df20fa9351a1: Pull complete 20:56:33 36b3adc4ff6f: Pull complete 20:56:35 8ad3a11d3b57: Pull complete 20:56:35 46f8f816bc3b: Pull complete 20:56:36 93b61091891f: Pull complete 20:56:36 93b9cdb0e59b: Pull complete 20:56:36 5e14af77c1be: Pull complete 20:56:36 01666e4c0597: Pull complete 20:56:37 aa168da1d23b: Verifying Checksum 20:56:37 aa168da1d23b: Download complete 20:56:45 aa168da1d23b: Pull complete 20:56:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:56:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:56:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:56:46 prd-centos7-docker-4c-2g-4884 does not seem to be running inside a container 20:56:46 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:56:49 $ docker top 8c2ad10297ac58da7826d70cbea529c61bf2b4e2a37edc2e7b8c2bb12cd10067 -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:50 + touch /tmp/pre-build-complete [Pipeline] sh 20:56:50 + mkdir -p /var/log/sa [Pipeline] sh 20:56:51 + ls /var/log/sa-host 20:56:51 + sadf -c /var/log/sa-host/sa12 20:56:51 file_magic: OK 20:56:51 HZ: Using current value: 100 20:56:51 file_header: OK 20:56:51 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 20:56:51 Statistics: 20:56:51 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... 20:56:51 File successfully converted to sysstat format version 12.2.1 20:56:51 + sadf -c /var/log/sa-host/sa23 20:56:51 file_magic: OK 20:56:51 HZ: Using current value: 100 20:56:51 file_header: OK 20:56:51 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 20:56:51 Statistics: 20:56:51 Hnuu...uuuununununu... 20:56:51 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:51 provisioning config files... 20:56:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config5251493723983746380tmp [Pipeline] { [Pipeline] echo 20:56:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:56:51 ---> create-netrc.sh [Pipeline] } 20:56:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:56:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:56:52 ---> python-tools-install.sh [Pipeline] echo 20:56:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:56:52 ---> sudo-logs.sh 20:56:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:56:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:56:52 ---> job-cost.sh 20:56:53 lf-activate-venv: SKIPPING 20:56:53 DEBUG: total: 0.20999999344348907 20:56:53 INFO: Retrieving Stack Cost... 20:56:54 INFO: Retrieving Pricing Info for: v1-standard-2 20:56:55 INFO: Archiving Costs [Pipeline] echo 20:56:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:56:55 ---> logs-deploy.sh 20:56:55 lf-activate-venv: SKIPPING 20:56:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-204/2 20:56:55 INFO: archiving workspace using pattern(s): 20:56:58 Archives upload complete. 20:56:58 INFO: archiving logs to Nexus