Pull request #180 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 hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at dd55ff443bd180714a9cddb6bbe47fafb89756c5 rather than 26e29386165f42648a678b01c86a7365545fcd32 Obtained Jenkinsfile from dd55ff443bd180714a9cddb6bbe47fafb89756c5 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33137 in /w/workspace/foundry_device-virtual-go_PR-180 [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-180 # 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/180/head:refs/remotes/origin/PR-180 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit dd55ff443bd180714a9cddb6bbe47fafb89756c5 into PR head commit 26e29386165f42648a678b01c86a7365545fcd32 Merge succeeded, producing 26e29386165f42648a678b01c86a7365545fcd32 Checking out Revision 26e29386165f42648a678b01c86a7365545fcd32 (PR-180) > git config core.sparsecheckout # timeout=10 > git checkout -f 26e29386165f42648a678b01c86a7365545fcd32 # 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 dd55ff443bd180714a9cddb6bbe47fafb89756c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26e29386165f42648a678b01c86a7365545fcd32 # timeout=10 Commit message: "build: upgrade SDK version" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:02:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:02:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:02:29 ========================================================= 09:02:29 EdgeX Global Pipelines Version Info 09:02:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0f0cc373f572e5254bea006685113970cea6e7ec # timeout=10 09:02:31 ------------------- 09:02:31 stable info: 09:02:31 ------------------- 09:02:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:02:31 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:02:31 Message: update stable to v1.0.186 09:02:32 ------------------- 09:02:32 experimental info: 09:02:32 ------------------- 09:02:32 Commited By: **** collab-it+edgex@linuxfoundation.org 09:02:32 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 09:02:32 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:02:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo 09:02:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo 09:02:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26e29386165f42648a678b01c86a7365545fcd32 [Pipeline] echo 09:02:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26e2938 [Pipeline] echo 09:02:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:02:35 provisioning config files... 09:02:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-180@tmp/config2576757040006480803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:35 ---> docker-login.sh 09:02:35 nexus3.edgexfoundry.org:10001 09:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:36 Configure a credential helper to remove this warning. See 09:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:36 09:02:36 Login Succeeded 09:02:36 nexus3.edgexfoundry.org:10002 09:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:36 Configure a credential helper to remove this warning. See 09:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:36 09:02:36 Login Succeeded 09:02:36 nexus3.edgexfoundry.org:10003 09:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:36 Configure a credential helper to remove this warning. See 09:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:36 09:02:36 Login Succeeded 09:02:36 nexus3.edgexfoundry.org:10004 09:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:36 Configure a credential helper to remove this warning. See 09:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:36 09:02:36 Login Succeeded 09:02:36 docker.io 09:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:37 Configure a credential helper to remove this warning. See 09:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:37 09:02:37 Login Succeeded 09:02:37 ---> docker-login.sh ends [Pipeline] } 09:02:37 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 09:02:37 + git log --format=format:%s -1 26e29386165f42648a678b01c86a7365545fcd32 [Pipeline] echo 09:02:38 GIT_COMMIT: 26e29386165f42648a678b01c86a7365545fcd32, Commit Message: build: upgrade SDK version [Pipeline] echo 09:02:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:02:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:39 09:02:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:02:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:39 latest: Pulling from edgex-devops/git-semver 09:02:39 31603596830f: Pulling fs layer 09:02:39 2a8b12db71e7: Pulling fs layer 09:02:39 6ca5941a6612: Pulling fs layer 09:02:39 ecc8261a40a4: Pulling fs layer 09:02:39 ecc8261a40a4: Waiting 09:02:39 2a8b12db71e7: Verifying Checksum 09:02:39 2a8b12db71e7: Download complete 09:02:39 31603596830f: Verifying Checksum 09:02:39 31603596830f: Download complete 09:02:39 6ca5941a6612: Verifying Checksum 09:02:39 6ca5941a6612: Download complete 09:02:40 31603596830f: Pull complete 09:02:40 ecc8261a40a4: Verifying Checksum 09:02:40 ecc8261a40a4: Download complete 09:02:40 2a8b12db71e7: Pull complete 09:02:41 6ca5941a6612: Pull complete 09:02:41 ecc8261a40a4: Pull complete 09:02:41 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:02:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:02:41 prd-centos7-docker-4c-2g-33137 does not seem to be running inside a container 09:02:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-180 -v /w/workspace/foundry_device-virtual-go_PR-180:/w/workspace/foundry_device-virtual-go_PR-180:rw,z -v /w/workspace/foundry_device-virtual-go_PR-180@tmp:/w/workspace/foundry_device-virtual-go_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:02:43 $ docker top 5273b7832072d235dddc863ba61d0dd813d7949d5bac36aa8f684d148118263b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:02:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:44 [ssh-agent] Looking for ssh-agent implementation... 09:02:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:44 $ docker exec 5273b7832072d235dddc863ba61d0dd813d7949d5bac36aa8f684d148118263b ssh-agent 09:02:44 SSH_AUTH_SOCK=/tmp/ssh-ZhDmDycQjvLi/agent.12 09:02:44 SSH_AGENT_PID=18 09:02:44 Running ssh-add (command line suppressed) 09:02:44 Identity added: /w/workspace/foundry_device-virtual-go_PR-180@tmp/private_key_7335976706710418099.key (/w/workspace/foundry_device-virtual-go_PR-180@tmp/private_key_7335976706710418099.key) 09:02:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:45 + git tag --points-at HEAD [Pipeline] } 09:02:45 $ docker exec --env ******** --env ******** 5273b7832072d235dddc863ba61d0dd813d7949d5bac36aa8f684d148118263b ssh-agent -k 09:02:45 unset SSH_AUTH_SOCK; 09:02:45 unset SSH_AGENT_PID; 09:02:45 echo Agent pid 18 killed; 09:02:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:02:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:45 [ssh-agent] Looking for ssh-agent implementation... 09:02:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:45 $ docker exec 5273b7832072d235dddc863ba61d0dd813d7949d5bac36aa8f684d148118263b ssh-agent 09:02:45 SSH_AUTH_SOCK=/tmp/ssh-Pkz6G72nnZl4/agent.49 09:02:45 SSH_AGENT_PID=54 09:02:45 Running ssh-add (command line suppressed) 09:02:45 Identity added: /w/workspace/foundry_device-virtual-go_PR-180@tmp/private_key_5693776463698376674.key (/w/workspace/foundry_device-virtual-go_PR-180@tmp/private_key_5693776463698376674.key) 09:02:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:46 + git semver init 09:02:46 # -> Open(): unable to determine branch for HEAD 09:02:46 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-180/.git 09:02:46 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-180 09:02:46 # $SEMVER_REMOTE_NAME = origin 09:02:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:02:46 # $SEMVER_USER_NAME = edgex-jenkins 09:02:46 # $SEMVER_BRANCH = PR-180 09:02:46 # $SEMVER_TEMP = /tmp/semver-333938580 09:02:46 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 09:02:46 # '/tmp/semver-333938580' -> '/w/workspace/foundry_device-virtual-go_PR-180/.semver' 09:02:46 # -> Force: false 09:02:46 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-180/.semver [Pipeline] } 09:02:46 $ docker exec --env ******** --env ******** 5273b7832072d235dddc863ba61d0dd813d7949d5bac36aa8f684d148118263b ssh-agent -k 09:02:46 unset SSH_AUTH_SOCK; 09:02:46 unset SSH_AGENT_PID; 09:02:46 echo Agent pid 54 killed; 09:02:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:02:47 + git semver [Pipeline] } 09:02:47 $ docker stop --time=1 5273b7832072d235dddc863ba61d0dd813d7949d5bac36aa8f684d148118263b 09:02:48 $ docker rm -f 5273b7832072d235dddc863ba61d0dd813d7949d5bac36aa8f684d148118263b [Pipeline] // withDockerContainer [Pipeline] sh 09:02:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:02:49 Stashed 1 file(s) [Pipeline] echo 09:02:49 [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 09:03:05 Still waiting to schedule task 09:03:05 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:03:05 Still waiting to schedule task 09:03:05 ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline 09:05:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33138 in /w/workspace/foundry_device-virtual-go_PR-180 [Pipeline] { [Pipeline] ws 09:05:00 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 09:05:06 using credential edgex-jenkins-ssh 09:05:06 Cloning the remote Git repository 09:05:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:05:06 > git init /w/workspace/device-virtual-go/2 # timeout=10 09:05:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:05:06 > git --version # timeout=10 09:05:06 > git --version # 'git version 2.17.1' 09:05:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:07 Merging remotes/origin/master commit dd55ff443bd180714a9cddb6bbe47fafb89756c5 into PR head commit 26e29386165f42648a678b01c86a7365545fcd32 09:05:08 Merge succeeded, producing 26e29386165f42648a678b01c86a7365545fcd32 09:05:08 Checking out Revision 26e29386165f42648a678b01c86a7365545fcd32 (PR-180) 09:05:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:05:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:05:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:05:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:05:07 > git config core.sparsecheckout # timeout=10 09:05:07 > git checkout -f 26e29386165f42648a678b01c86a7365545fcd32 # timeout=10 09:05:08 > git remote # timeout=10 09:05:08 > git config --get remote.origin.url # timeout=10 09:05:08 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:08 > git merge dd55ff443bd180714a9cddb6bbe47fafb89756c5 # timeout=10 09:05:08 > git rev-parse HEAD^{commit} # timeout=10 09:05:08 > git config core.sparsecheckout # timeout=10 09:05:08 > git checkout -f 26e29386165f42648a678b01c86a7365545fcd32 # timeout=10 09:05:12 Commit message: "build: upgrade SDK version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:05:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:05:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:05:14 Running on prd-centos7-docker-4c-2g-33140 in /w/workspace/foundry_device-virtual-go_PR-180 [Pipeline] { [Pipeline] ws 09:05:14 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 09:05:14 + true 09:05:14 + sudo service docker restart 09:05:17 using credential edgex-jenkins-ssh 09:05:17 Cloning the remote Git repository 09:05:17 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:05:17 > git init /w/workspace/device-virtual-go/2 # timeout=10 09:05:17 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:05:17 > git --version # timeout=10 09:05:17 > git --version # 'git version 2.24.3' 09:05:17 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:05:17 provisioning config files... 09:05:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config9107662576296779904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:18 ---> docker-login.sh 09:05:18 nexus3.edgexfoundry.org:10001 09:05:18 Merging remotes/origin/master commit dd55ff443bd180714a9cddb6bbe47fafb89756c5 into PR head commit 26e29386165f42648a678b01c86a7365545fcd32 09:05:18 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:05:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:18 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:05:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:05:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:05:18 > git config core.sparsecheckout # timeout=10 09:05:18 > git checkout -f 26e29386165f42648a678b01c86a7365545fcd32 # timeout=10 09:05:18 > git remote # timeout=10 09:05:18 > git config --get remote.origin.url # timeout=10 09:05:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:18 Merge succeeded, producing 26e29386165f42648a678b01c86a7365545fcd32 09:05:18 Checking out Revision 26e29386165f42648a678b01c86a7365545fcd32 (PR-180) 09:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:19 Configure a credential helper to remove this warning. See 09:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:19 09:05:19 Login Succeeded 09:05:19 nexus3.edgexfoundry.org:10002 09:05:18 > git merge dd55ff443bd180714a9cddb6bbe47fafb89756c5 # timeout=10 09:05:18 > git rev-parse HEAD^{commit} # timeout=10 09:05:18 > git config core.sparsecheckout # timeout=10 09:05:18 > git checkout -f 26e29386165f42648a678b01c86a7365545fcd32 # timeout=10 09:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:19 Configure a credential helper to remove this warning. See 09:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:19 09:05:19 Login Succeeded 09:05:19 nexus3.edgexfoundry.org:10003 09:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:20 Configure a credential helper to remove this warning. See 09:05:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:20 09:05:20 Login Succeeded 09:05:20 nexus3.edgexfoundry.org:10004 09:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:21 Configure a credential helper to remove this warning. See 09:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:21 09:05:21 Login Succeeded 09:05:21 docker.io 09:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:21 Configure a credential helper to remove this warning. See 09:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:21 09:05:21 Login Succeeded 09:05:21 ---> docker-login.sh ends [Pipeline] } 09:05:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 09:05:22 Commit message: "build: upgrade SDK version" [Pipeline] echo 09:05:22 ========================================================= 09:05:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:05:22 ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 09:05:22 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [Pipeline] sh 09:05:23 Sending build context to Docker daemon 522.8kB 09:05:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:05:23 Step 2/8 : FROM ${BASE} 09:05:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:05:23 5f621e34cdf4: Pulling fs layer 09:05:23 a4357932f1b6: Pulling fs layer 09:05:23 18c013af1878: Pulling fs layer 09:05:23 00ac8860ef70: Pulling fs layer 09:05:23 63d7cb157983: Pulling fs layer 09:05:23 b116817d02f9: Pulling fs layer 09:05:23 745a02a5169b: Pulling fs layer 09:05:23 63d7cb157983: Waiting 09:05:23 b116817d02f9: Waiting 09:05:23 745a02a5169b: Waiting 09:05:23 00ac8860ef70: Waiting 09:05:23 18c013af1878: Verifying Checksum 09:05:23 18c013af1878: Download complete 09:05:23 a4357932f1b6: Download complete 09:05:23 63d7cb157983: Verifying Checksum 09:05:23 63d7cb157983: Download complete 09:05:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:05:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:05:23 b116817d02f9: Verifying Checksum 09:05:23 b116817d02f9: Download complete 09:05:23 5f621e34cdf4: Verifying Checksum 09:05:23 5f621e34cdf4: Download complete 09:05:24 + sudo service docker restart 09:05:24 + true 09:05:24 Redirecting to /bin/systemctl restart docker.service 09:05:24 5f621e34cdf4: Pull complete [Pipeline] withEnv [Pipeline] { 09:05:25 a4357932f1b6: Pull complete [Pipeline] wrap 09:05:25 provisioning config files... 09:05:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config6337814600287529821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:25 ---> docker-login.sh 09:05:25 nexus3.edgexfoundry.org:10001 09:05:25 18c013af1878: Pull complete 09:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:25 Configure a credential helper to remove this warning. See 09:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:25 09:05:25 Login Succeeded 09:05:25 nexus3.edgexfoundry.org:10002 09:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:26 Configure a credential helper to remove this warning. See 09:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:26 09:05:26 Login Succeeded 09:05:26 nexus3.edgexfoundry.org:10003 09:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:26 745a02a5169b: Verifying Checksum 09:05:26 745a02a5169b: Download complete 09:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:26 Configure a credential helper to remove this warning. See 09:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:26 09:05:26 Login Succeeded 09:05:26 nexus3.edgexfoundry.org:10004 09:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:26 Configure a credential helper to remove this warning. See 09:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:26 09:05:26 Login Succeeded 09:05:26 docker.io 09:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:26 Configure a credential helper to remove this warning. See 09:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:26 09:05:26 Login Succeeded 09:05:26 ---> docker-login.sh ends [Pipeline] } 09:05:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:05:27 ========================================================= 09:05:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:05:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:05:27 00ac8860ef70: Verifying Checksum 09:05:27 00ac8860ef70: Download complete 09:05:27 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 09:05:27 Sending build context to Docker daemon 523.8kB 09:05:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:05:27 Step 2/8 : FROM ${BASE} 09:05:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:05:27 188c0c94c7c5: Pulling fs layer 09:05:27 0ef7d3d256c8: Pulling fs layer 09:05:27 de9db76c5a1d: Pulling fs layer 09:05:27 bca2f99d35d6: Pulling fs layer 09:05:27 93359f2a8cfa: Pulling fs layer 09:05:27 7c6f9722023f: Pulling fs layer 09:05:27 a35cf1a2eb13: Pulling fs layer 09:05:27 bca2f99d35d6: Waiting 09:05:27 93359f2a8cfa: Waiting 09:05:27 7c6f9722023f: Waiting 09:05:27 a35cf1a2eb13: Waiting 09:05:27 de9db76c5a1d: Verifying Checksum 09:05:27 de9db76c5a1d: Download complete 09:05:27 0ef7d3d256c8: Download complete 09:05:27 93359f2a8cfa: Verifying Checksum 09:05:27 93359f2a8cfa: Download complete 09:05:27 7c6f9722023f: Verifying Checksum 09:05:27 7c6f9722023f: Download complete 09:05:27 188c0c94c7c5: Verifying Checksum 09:05:27 188c0c94c7c5: Download complete 09:05:28 188c0c94c7c5: Pull complete 09:05:28 0ef7d3d256c8: Pull complete 09:05:28 de9db76c5a1d: Pull complete 09:05:29 a35cf1a2eb13: Verifying Checksum 09:05:29 a35cf1a2eb13: Download complete 09:05:30 bca2f99d35d6: Verifying Checksum 09:05:30 bca2f99d35d6: Download complete 09:05:36 bca2f99d35d6: Pull complete 09:05:36 93359f2a8cfa: Pull complete 09:05:36 7c6f9722023f: Pull complete 09:05:37 00ac8860ef70: Pull complete 09:05:37 63d7cb157983: Pull complete 09:05:37 b116817d02f9: Pull complete 09:05:41 745a02a5169b: Pull complete 09:05:41 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:05:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:05:41 ---> b7e6874047d6 09:05:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 09:05:42 a35cf1a2eb13: Pull complete 09:05:42 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:05:42 ---> a62c8e92a672 09:05:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 09:05:42 ---> Running in 82ed3548b459 09:05:43 Removing intermediate container 82ed3548b459 09:05:43 ---> 62b3a0428aaf 09:05:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:43 ---> Running in e6aa647f97c8 09:05:44 Removing intermediate container e6aa647f97c8 09:05:44 ---> ffaf178b272d 09:05:44 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 09:05:44 ---> Running in fbb2677a7aa7 09:05:44 ---> Running in 611197c914a2 09:05:44 Removing intermediate container 611197c914a2 09:05:44 ---> 477def32bdac 09:05:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:44 ---> Running in bfcdb4876f60 09:05:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:05:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:05:46 (1/13) Installing libc-dev (0.7.2-r3) 09:05:46 (2/13) Installing libsodium (1.0.18-r0) 09:05:46 (3/13) Installing pkgconf (1.7.2-r0) 09:05:46 (4/13) Installing libsodium-dev (1.0.18-r0) 09:05:46 (5/13) Installing openssh-keygen (8.3_p1-r2) 09:05:46 (6/13) Installing libedit (20191231.3.1-r0) 09:05:46 (7/13) Installing openssh-client (8.3_p1-r2) 09:05:46 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 09:05:47 (9/13) Installing openssh-server-common (8.3_p1-r2) 09:05:47 (10/13) Installing openssh-server (8.3_p1-r2) 09:05:47 Removing intermediate container bfcdb4876f60 09:05:47 ---> 6ee96dfd475e 09:05:47 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 09:05:47 ---> Running in 614ed3974a2d 09:05:47 (11/13) Installing openssh (8.3_p1-r2) 09:05:47 (12/13) Installing libzmq (4.3.3-r0) 09:05:47 (13/13) Installing zeromq-dev (4.3.3-r0) 09:05:47 Executing busybox-1.31.1-r19.trigger 09:05:47 OK: 173 MiB in 52 packages 09:05:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:05:48 Removing intermediate container fbb2677a7aa7 09:05:48 ---> 3cd80d4f2d5c 09:05:48 Step 6/8 : WORKDIR /device-virtual-go 09:05:48 ---> Running in faf87fdb8591 09:05:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:05:48 Removing intermediate container faf87fdb8591 09:05:48 ---> 6015bbe55405 09:05:48 Step 7/8 : COPY . . 09:05:49 (1/13) Installing libc-dev (0.7.2-r3) 09:05:49 ---> c309177863fe 09:05:49 Step 8/8 : RUN go mod download 09:05:49 (2/13) Installing libsodium (1.0.18-r0) 09:05:49 (3/13) Installing pkgconf (1.7.2-r0) 09:05:49 (4/13) Installing libsodium-dev (1.0.18-r0) 09:05:49 ---> Running in 82f792dd3221 09:05:50 (5/13) Installing openssh-keygen (8.3_p1-r2) 09:05:50 (6/13) Installing libedit (20191231.3.1-r0) 09:05:50 (7/13) Installing openssh-client (8.3_p1-r2) 09:05:50 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 09:05:50 (9/13) Installing openssh-server-common (8.3_p1-r2) 09:05:50 (10/13) Installing openssh-server (8.3_p1-r2) 09:05:50 (11/13) Installing openssh (8.3_p1-r2) 09:05:50 (12/13) Installing libzmq (4.3.3-r0) 09:05:51 (13/13) Installing zeromq-dev (4.3.3-r0) 09:05:51 Executing busybox-1.31.1-r19.trigger 09:05:51 OK: 149 MiB in 52 packages 09:05:52 Removing intermediate container 614ed3974a2d 09:05:52 ---> e46948d913e3 09:05:52 Step 6/8 : WORKDIR /device-virtual-go 09:05:52 ---> Running in 8dcfc3baaf21 09:05:53 Removing intermediate container 8dcfc3baaf21 09:05:53 ---> 88ef22ee0647 09:05:53 Step 7/8 : COPY . . 09:05:54 ---> ae947e20c725 09:05:54 Step 8/8 : RUN go mod download 09:05:54 ---> Running in c2f2032ea8da 09:06:16 Removing intermediate container 82f792dd3221 09:06:16 ---> 3233432f380e 09:06:16 Successfully built 3233432f380e 09:06:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:06:16 + docker inspect -f . ci-base-image-x86_64 09:06:16 . [Pipeline] withDockerContainer 09:06:17 prd-centos7-docker-4c-2g-33140 does not seem to be running inside a container 09:06:17 $ 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 09:06:18 $ docker top d5d22d19bace04620a12ae0fc0a446f852233628e3c0176da9687658bb2639b1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:18 + go version 09:06:18 go version go1.15.5 linux/amd64 [Pipeline] } 09:06:18 $ docker stop --time=1 d5d22d19bace04620a12ae0fc0a446f852233628e3c0176da9687658bb2639b1 09:06:19 $ docker rm -f d5d22d19bace04620a12ae0fc0a446f852233628e3c0176da9687658bb2639b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:06:20 + docker inspect -f . ci-base-image-x86_64 09:06:20 . [Pipeline] withDockerContainer 09:06:20 prd-centos7-docker-4c-2g-33140 does not seem to be running inside a container 09:06:21 $ 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 09:06:21 Removing intermediate container c2f2032ea8da 09:06:21 ---> 4fd427dda56e 09:06:21 Successfully built 4fd427dda56e 09:06:21 Successfully tagged ci-base-image-arm64:latest 09:06:21 $ docker top 152a7ed1fd7e82738f8558f7e53bac65fbcc0e19444cf62950fb7cbde84b0a02 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 09:06:22 + make test 09:06:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:06:22 + docker inspect -f . ci-base-image-arm64 09:06:22 . [Pipeline] withDockerContainer 09:06:22 prd-ubuntu18.04-docker-arm64-4c-16g-33138 does not seem to be running inside a container 09:06:22 $ 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 09:06:23 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:06:24 $ docker top 81ec211adb3717dd72f444ee1c3ecb28a263a45a80b33b761d1c2af4b8c1a14f -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:25 + go version 09:06:25 go version go1.15.5 linux/arm64 [Pipeline] } 09:06:25 $ docker stop --time=1 81ec211adb3717dd72f444ee1c3ecb28a263a45a80b33b761d1c2af4b8c1a14f 09:06:27 $ docker rm -f 81ec211adb3717dd72f444ee1c3ecb28a263a45a80b33b761d1c2af4b8c1a14f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:06:28 + docker inspect -f . ci-base-image-arm64 09:06:28 . [Pipeline] withDockerContainer 09:06:28 prd-ubuntu18.04-docker-arm64-4c-16g-33138 does not seem to be running inside a container 09:06:28 $ 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 09:06:29 $ docker top 10a780a2db9460a073298d030c4386d92b034372de87449ec9ad612da0eea304 -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:30 + make test 09:06:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:06:32 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:06:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:06:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.349s coverage: 63.8% of statements 09:06:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:06:45 gofmt -l . 09:06:45 [ "`gofmt -l .`" = "" ] 09:06:45 ./bin/test-attribution-txt.sh 09:06:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:06:46 $ docker stop --time=1 152a7ed1fd7e82738f8558f7e53bac65fbcc0e19444cf62950fb7cbde84b0a02 09:06:48 $ docker rm -f 152a7ed1fd7e82738f8558f7e53bac65fbcc0e19444cf62950fb7cbde84b0a02 [Pipeline] // withDockerContainer [Pipeline] sh 09:06:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:06:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:06:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:06:52 + ls -al . 09:06:52 total 132 09:06:52 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 7 09:06 . 09:06:52 drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 09:05 .. 09:06:52 -rw-rw-r--. 1 jenkins jenkins 8039 Apr 7 09:05 Attribution.txt 09:06:52 drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 09:05 bin 09:06:52 drwxrwxr-x. 3 jenkins jenkins 32 Apr 7 09:05 cmd 09:06:52 -rw-r--r--. 1 jenkins jenkins 47247 Apr 7 09:06 coverage.out 09:06:52 -rw-rw-r--. 1 jenkins jenkins 1895 Apr 7 09:05 Dockerfile 09:06:52 -rw-rw-r--. 1 jenkins jenkins 998 Apr 7 09:05 Dockerfile.build 09:06:52 drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 09:05 .git 09:06:52 drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 09:05 .github 09:06:52 -rw-rw-r--. 1 jenkins jenkins 258 Apr 7 09:05 .gitignore 09:06:52 -rw-r--r--. 1 jenkins jenkins 809 Apr 7 09:06 go.mod 09:06:52 -rw-r--r--. 1 jenkins jenkins 23574 Apr 7 09:06 go.sum 09:06:52 drwxrwxr-x. 3 jenkins jenkins 20 Apr 7 09:05 internal 09:06:52 -rw-rw-r--. 1 jenkins jenkins 660 Apr 7 09:05 Jenkinsfile 09:06:52 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 7 09:05 LICENSE 09:06:52 -rw-rw-r--. 1 jenkins jenkins 921 Apr 7 09:05 Makefile 09:06:52 -rw-rw-r--. 1 jenkins jenkins 918 Apr 7 09:05 README.md 09:06:52 -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 09:02 VERSION 09:06:52 -rw-rw-r--. 1 jenkins jenkins 235 Apr 7 09:05 version.go [Pipeline] isUnix [Pipeline] sh 09:06:52 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=26e29386165f42648a678b01c86a7365545fcd32 --label arch=amd64 --label version=0.0.0 . 09:06:52 Sending build context to Docker daemon 596.5kB 09:06:52 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 09:06:52 Step 2/25 : FROM ${BASE} AS builder 09:06:52 ---> 3233432f380e 09:06:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:06:53 ---> Running in 9514f6e0122a 09:06:53 Removing intermediate container 9514f6e0122a 09:06:53 ---> 6398101ac0e6 09:06:53 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:06:53 ---> Running in 5ca5a273c11e 09:06:53 Removing intermediate container 5ca5a273c11e 09:06:53 ---> 4d328f243931 09:06:53 Step 5/25 : WORKDIR /device-virtual-go 09:06:53 ---> Running in 858584dbea77 09:06:53 Removing intermediate container 858584dbea77 09:06:53 ---> f6a15fc85a80 09:06:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:06:53 ---> Running in c0367a0faa3a 09:06:54 Removing intermediate container c0367a0faa3a 09:06:54 ---> 432a81117e23 09:06:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:06:54 ---> Running in b5fdd363e64e 09:06:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:06:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:06:56 OK: 173 MiB in 52 packages 09:06:57 Removing intermediate container b5fdd363e64e 09:06:57 ---> 03cb036b325e 09:06:57 Step 8/25 : COPY . . 09:06:57 ---> 02804859d525 09:06:57 Step 9/25 : RUN go mod download 09:06:57 ---> Running in 7672e15b4b04 09:06:58 Removing intermediate container 7672e15b4b04 09:06:58 ---> 5b8624957499 09:06:58 Step 10/25 : ARG MAKE='make build' 09:06:58 ---> Running in a3455816d7d3 09:06:58 Removing intermediate container a3455816d7d3 09:06:58 ---> 8dcd3e634fc0 09:06:58 Step 11/25 : RUN $MAKE 09:06:58 ---> Running in 79ae0b34e251 09:06: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 09:07:17 CGO_ENABLED=1 GO111MODULE=on go build ./... 09:07:21 Removing intermediate container 79ae0b34e251 09:07:21 ---> 76893449ac25 09:07:21 Step 12/25 : FROM alpine:3.12 09:07:21 3.12: Pulling from library/alpine 09:07:21 532819f3e44c: Pulling fs layer 09:07:21 532819f3e44c: Verifying Checksum 09:07:21 532819f3e44c: Download complete 09:07:21 532819f3e44c: Pull complete 09:07:21 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 09:07:21 Status: Downloaded newer image for alpine:3.12 09:07:21 ---> 7230e588e954 09:07:21 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:07:21 ---> Running in 11f56051320e 09:07:21 Removing intermediate container 11f56051320e 09:07:21 ---> 61190873e739 09:07:21 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:21 ---> Running in de0cf844e627 09:07:22 Removing intermediate container de0cf844e627 09:07:22 ---> e269ef68a9d8 09:07:22 Step 15/25 : RUN apk add --update --no-cache zeromq 09:07:22 ---> Running in c183bab75c06 09:07:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:07:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:07:24 (1/5) Installing libgcc (9.3.0-r2) 09:07:24 (2/5) Installing libsodium (1.0.18-r0) 09:07:24 (3/5) Installing libstdc++ (9.3.0-r2) 09:07:24 (4/5) Installing libzmq (4.3.3-r0) 09:07:24 (5/5) Installing zeromq (4.3.3-r0) 09:07:24 Executing busybox-1.31.1-r20.trigger 09:07:24 OK: 8 MiB in 19 packages 09:07:25 Removing intermediate container c183bab75c06 09:07:25 ---> 02b815b0e36a 09:07:25 Step 16/25 : WORKDIR / 09:07:25 ---> Running in 4b5c9c4cb2d0 09:07:25 Removing intermediate container 4b5c9c4cb2d0 09:07:25 ---> 37182a701f8b 09:07:25 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:07:25 ---> ffcafec2459e 09:07:25 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 09:07:26 ---> fd54e93a2f67 09:07:26 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 09:07:26 ---> f1b0e84809f3 09:07:26 Step 20/25 : EXPOSE 49990 09:07:26 ---> Running in 167028a0875f 09:07:27 Removing intermediate container 167028a0875f 09:07:27 ---> 2d72dc1911bf 09:07:27 Step 21/25 : ENTRYPOINT ["/device-virtual"] 09:07:27 ---> Running in 1bf82dc4633e 09:07:27 Removing intermediate container 1bf82dc4633e 09:07:27 ---> 151bd7d35536 09:07:27 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:07:27 ---> Running in 7bdc1f6cc784 09:07:27 Removing intermediate container 7bdc1f6cc784 09:07:27 ---> 5695964fcf82 09:07:27 Step 23/25 : LABEL arch=amd64 09:07:27 ---> Running in bbbfdc91d965 09:07:27 Removing intermediate container bbbfdc91d965 09:07:27 ---> ac3a066bf1aa 09:07:27 Step 24/25 : LABEL git_sha=26e29386165f42648a678b01c86a7365545fcd32 09:07:27 ---> Running in 5d615fb00f41 09:07:27 Removing intermediate container 5d615fb00f41 09:07:27 ---> 9925a616d4fc 09:07:27 Step 25/25 : LABEL version=0.0.0 09:07:27 ---> Running in d094cdd37b78 09:07:28 Removing intermediate container d094cdd37b78 09:07:28 ---> 15be5767983c 09:07:28 [Warning] One or more build-args [ARCH] were not consumed 09:07:28 Successfully built 15be5767983c 09:07:28 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:07:29 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:07:29 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.354s coverage: 63.8% of statements 09:07:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:07:29 ---> job-cost.sh 09:07:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-S392 09:07:35 gofmt -l . 09:07:35 [ "`gofmt -l .`" = "" ] 09:07:35 ./bin/test-attribution-txt.sh 09:07:37 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:07:37 $ docker stop --time=1 10a780a2db9460a073298d030c4386d92b034372de87449ec9ad612da0eea304 09:07:40 $ docker rm -f 10a780a2db9460a073298d030c4386d92b034372de87449ec9ad612da0eea304 [Pipeline] // withDockerContainer [Pipeline] sh 09:07:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:07:41 Warning: overwriting stash ‘coverage-report’ 09:07:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:07:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:07:43 + ls -al . 09:07:43 total 156 09:07:43 drwxrwxr-x 7 jenkins jenkins 4096 Apr 7 09:07 . 09:07:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:05 .. 09:07:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:05 .git 09:07:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:05 .github 09:07:43 -rw-rw-r-- 1 jenkins jenkins 258 Apr 7 09:05 .gitignore 09:07:43 -rw-rw-r-- 1 jenkins jenkins 8039 Apr 7 09:05 Attribution.txt 09:07:43 -rw-rw-r-- 1 jenkins jenkins 1895 Apr 7 09:05 Dockerfile 09:07:43 -rw-rw-r-- 1 jenkins jenkins 998 Apr 7 09:05 Dockerfile.build 09:07:43 -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 09:05 Jenkinsfile 09:07:43 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:05 LICENSE 09:07:43 -rw-rw-r-- 1 jenkins jenkins 921 Apr 7 09:05 Makefile 09:07:43 -rw-rw-r-- 1 jenkins jenkins 918 Apr 7 09:05 README.md 09:07:43 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:02 VERSION 09:07:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:05 bin 09:07:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:05 cmd 09:07:43 -rw-r--r-- 1 jenkins jenkins 47247 Apr 7 09:07 coverage.out 09:07:43 -rw-r--r-- 1 jenkins jenkins 809 Apr 7 09:07 go.mod 09:07:43 -rw-r--r-- 1 jenkins jenkins 23574 Apr 7 09:07 go.sum 09:07:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:05 internal 09:07:43 -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 09:05 version.go [Pipeline] isUnix [Pipeline] sh 09:07:43 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=26e29386165f42648a678b01c86a7365545fcd32 --label arch=arm64 --label version=0.0.0 . 09:07:43 Sending build context to Docker daemon 595.5kB 09:07:43 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 09:07:43 Step 2/25 : FROM ${BASE} AS builder 09:07:43 ---> 4fd427dda56e 09:07:43 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:07:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:07:44 ---> Running in 7c59afb3bb78 09:07:44 Removing intermediate container 7c59afb3bb78 09:07:44 ---> 9a0a9eac2112 09:07:44 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:07:45 ---> Running in 7b28b61897bd 09:07:45 Removing intermediate container 7b28b61897bd 09:07:45 ---> fb8cb6ef12ee 09:07:45 Step 5/25 : WORKDIR /device-virtual-go 09:07:45 ---> Running in e58f005dd9b4 09:07:46 Removing intermediate container e58f005dd9b4 09:07:46 ---> 48cab4356e52 09:07:46 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:46 ---> Running in 54e945832062 09:07:48 Removing intermediate container 54e945832062 09:07:48 ---> acde859bdb84 09:07:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:07:48 ---> Running in 45d234a6e145 09:07:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:07:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:07:50 OK: 149 MiB in 52 packages 09:07:52 Removing intermediate container 45d234a6e145 09:07:52 ---> 15392feea462 09:07:52 Step 8/25 : COPY . . 09:07:53 ---> 0e986222c6eb 09:07:53 Step 9/25 : RUN go mod download 09:07:53 ---> Running in 0e748c385a13 09:07:55 Removing intermediate container 0e748c385a13 09:07:55 ---> 6d719e6fc905 09:07:55 Step 10/25 : ARG MAKE='make build' 09:07:55 ---> Running in b34c19c2566a 09:07:55 Removing intermediate container b34c19c2566a 09:07:55 ---> 51910966d63e 09:07:55 Step 11/25 : RUN $MAKE 09:07:56 ---> Running in f6c3111986df 09:07:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 09:08:10 lf-activate-venv(): INFO: Adding /tmp/venv-S392/bin to PATH 09:08:10 INFO: No Stack... 09:08:10 INFO: Retrieving Pricing Info for: v1-standard-2 09:08:11 INFO: Archiving Costs [Pipeline] sh 09:08:11 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 09:08:11 + cut -d, -f6 [Pipeline] lock 09:08:11 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-180-2-stack-cost] 09:08:11 Resource [jenkins-edgexfoundry-device-virtual-go-PR-180-2-stack-cost] did not exist. Created. 09:08:11 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-180-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:08:12 + echo total: 0.029999999329447746 [Pipeline] stash 09:08:12 Stashed 1 file(s) [Pipeline] } 09:08:12 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-180-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:08:44 CGO_ENABLED=1 GO111MODULE=on go build ./... 09:08:56 Removing intermediate container f6c3111986df 09:08:56 ---> 4ff2ffa7b4ef 09:08:56 Step 12/25 : FROM alpine:3.12 09:08:56 3.12: Pulling from library/alpine 09:08:56 9a219e8acc52: Pulling fs layer 09:08:56 9a219e8acc52: Verifying Checksum 09:08:56 9a219e8acc52: Download complete 09:08:56 9a219e8acc52: Pull complete 09:08:56 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 09:08:56 Status: Downloaded newer image for alpine:3.12 09:08:56 ---> d75e27dfc0a0 09:08:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:08:56 ---> Running in 28f3034b5fc2 09:08:56 Removing intermediate container 28f3034b5fc2 09:08:56 ---> 863d2d997db9 09:08:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:08:57 ---> Running in 12904d33269d 09:08:59 Removing intermediate container 12904d33269d 09:08:59 ---> f12b77280fdb 09:08:59 Step 15/25 : RUN apk add --update --no-cache zeromq 09:08:59 ---> Running in 11f0cfa3fffc 09:09:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:09:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:09:02 (1/5) Installing libgcc (9.3.0-r2) 09:09:02 (2/5) Installing libsodium (1.0.18-r0) 09:09:02 (3/5) Installing libstdc++ (9.3.0-r2) 09:09:02 (4/5) Installing libzmq (4.3.3-r0) 09:09:02 (5/5) Installing zeromq (4.3.3-r0) 09:09:02 Executing busybox-1.31.1-r20.trigger 09:09:02 OK: 8 MiB in 19 packages 09:09:04 Removing intermediate container 11f0cfa3fffc 09:09:04 ---> c4ea28660778 09:09:04 Step 16/25 : WORKDIR / 09:09:04 ---> Running in 629df1ae47ff 09:09:04 Removing intermediate container 629df1ae47ff 09:09:04 ---> 8668b019bfc9 09:09:04 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:09:05 ---> be0e03795698 09:09:05 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 09:09:06 ---> 3b43de870421 09:09:06 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 09:09:07 ---> 97cd1318d5d4 09:09:07 Step 20/25 : EXPOSE 49990 09:09:07 ---> Running in 72f13f2b6d07 09:09:08 Removing intermediate container 72f13f2b6d07 09:09:08 ---> 5ce1fa5f1afc 09:09:08 Step 21/25 : ENTRYPOINT ["/device-virtual"] 09:09:08 ---> Running in d126ba32a881 09:09:08 Removing intermediate container d126ba32a881 09:09:08 ---> 0229ce987e32 09:09:08 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:09:09 ---> Running in 2a347be3497b 09:09:09 Removing intermediate container 2a347be3497b 09:09:09 ---> 943a563964eb 09:09:09 Step 23/25 : LABEL arch=arm64 09:09:09 ---> Running in d6708a4d4a9f 09:09:10 Removing intermediate container d6708a4d4a9f 09:09:10 ---> ca1b674f72f3 09:09:10 Step 24/25 : LABEL git_sha=26e29386165f42648a678b01c86a7365545fcd32 09:09:10 ---> Running in f11980ca7400 09:09:10 Removing intermediate container f11980ca7400 09:09:10 ---> a6a529ca6107 09:09:10 Step 25/25 : LABEL version=0.0.0 09:09:10 ---> Running in 83d18a18206d 09:09:11 Removing intermediate container 83d18a18206d 09:09:11 ---> 38296962eff2 09:09:11 [Warning] One or more build-args [ARCH] were not consumed 09:09:11 Successfully built 38296962eff2 09:09:11 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:09:12 ---> job-cost.sh 09:09:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-B4pN 09:09:51 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:11:28 lf-activate-venv(): INFO: Adding /tmp/venv-B4pN/bin to PATH 09:11:28 INFO: No Stack... 09:11:28 INFO: Retrieving Pricing Info for: lf-standard-4 09:11:28 INFO: Archiving Costs [Pipeline] sh 09:11:28 + cut -d, -f6 09:11:28 + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock 09:11:28 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-180-2-stack-cost] 09:11:28 Resource [jenkins-edgexfoundry-device-virtual-go-PR-180-2-stack-cost] did not exist. Created. 09:11:28 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-180-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:11:29 /w/workspace/device-virtual-go/2@tmp/durable-fb1c8008/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-fb1c8008/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:11:29 + echo total: 0.20999999344348907 [Pipeline] stash 09:11:29 Warning: overwriting stash ‘stack-cost’ 09:11:29 Stashed 1 file(s) [Pipeline] } 09:11:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-180-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 09:11:31 provisioning config files... 09:11:31 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-180@tmp/config4341293629246299482tmp [Pipeline] { [Pipeline] sh 09:11:31 + set +x 09:11:31 + bash -s -- 09:11:31 + curl -s https://codecov.io/bash 09:11:32 09:11:32 _____ _ 09:11:32 / ____| | | 09:11:32 | | ___ __| | ___ ___ _____ __ 09:11:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:11:32 | |___| (_) | (_| | __/ (_| (_) \ V / 09:11:32 \_____\___/ \__,_|\___|\___\___/ \_/ 09:11:32 Bash-20210309-2b87ace 09:11:32 09:11:32 09:11:32 ==> git version 2.24.3 found 09:11:32 ==> 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 09:11:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:11:32 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:11:32 ==> Jenkins CI detected. 09:11:32 project root: . 09:11:32 --> token set from env 09:11:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:11:32 ==> Running gcov in . (disable via -X gcov) 09:11:32 ==> Python coveragepy not found 09:11:32 ==> Searching for coverage reports in: 09:11:32 + . 09:11:32 -> Found 1 reports 09:11:32 ==> Detecting git/mercurial file structure 09:11:32 ==> Reading reports 09:11:32 + ./coverage.out bytes=47247 09:11:32 ==> Appending adjustments 09:11:32 https://docs.codecov.io/docs/fixing-reports 09:11:32 + Found adjustments 09:11:32 ==> Gzipping contents 09:11:32 8.0K /tmp/codecov.Xh05Xg.gz 09:11:32 ==> Uploading reports 09:11:32 url: https://codecov.io 09:11:32 query: branch=PR-180&commit=26e29386165f42648a678b01c86a7365545fcd32&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-180%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=180&job=&cmd_args= 09:11:32 -> Pinging Codecov 09:11:32 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-180&commit=26e29386165f42648a678b01c86a7365545fcd32&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-180%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=180&job=&cmd_args= 09:11:32 -> Uploading to 09:11:32 https://storage.googleapis.com/codecov/v4/raw/2021-04-07/5E52B4B073DB2E39498172D8E973AA87/26e29386165f42648a678b01c86a7365545fcd32/342b18d9-26e5-40f9-8e93-195a0ab772af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T091132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=940b264abb70120635a34a6099e3cec10e229e03092c3686afc05da98e189233 09:11:32 % Total % Received % Xferd Average Speed Time Time Time Current 09:11:32 Dload Upload Total Spent Left Speed 09:11:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5766 0 0 100 5766 0 14059 --:--:-- --:--:-- --:--:-- 14063 09:11:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/26e29386165f42648a678b01c86a7365545fcd32 [Pipeline] } 09:11:33 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 09:11:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:11:35 ---> package-listing.sh 09:11:35 ++ facter osfamily 09:11:35 ++ tr '[:upper:]' '[:lower:]' 09:11:35 + OS_FAMILY=redhat 09:11:35 + workspace=/w/workspace/foundry_device-virtual-go_PR-180 09:11:35 + START_PACKAGES=/tmp/packages_start.txt 09:11:35 + END_PACKAGES=/tmp/packages_end.txt 09:11:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:11:35 + PACKAGES=/tmp/packages_start.txt 09:11:35 + '[' /w/workspace/foundry_device-virtual-go_PR-180 ']' 09:11:35 + PACKAGES=/tmp/packages_end.txt 09:11:35 + case "${OS_FAMILY}" in 09:11:35 + rpm -qa 09:11:35 + sort 09:11:41 + '[' -f /tmp/packages_start.txt ']' 09:11:41 + '[' -f /tmp/packages_end.txt ']' 09:11:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:11:41 + '[' /w/workspace/foundry_device-virtual-go_PR-180 ']' 09:11:41 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-180/archives/ 09:11:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-180/archives/ [Pipeline] echo 09:11:41 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:11:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:11:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:11:41 09:11:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:11:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:11:42 alpine: Pulling from edgex-lftools-log-publisher 09:11:42 df20fa9351a1: Pulling fs layer 09:11:42 36b3adc4ff6f: Pulling fs layer 09:11:42 8ad3a11d3b57: Pulling fs layer 09:11:42 46f8f816bc3b: Pulling fs layer 09:11:42 93b61091891f: Pulling fs layer 09:11:42 93b9cdb0e59b: Pulling fs layer 09:11:42 5e14af77c1be: Pulling fs layer 09:11:42 01666e4c0597: Pulling fs layer 09:11:42 aa168da1d23b: Pulling fs layer 09:11:42 46f8f816bc3b: Waiting 09:11:42 93b61091891f: Waiting 09:11:42 93b9cdb0e59b: Waiting 09:11:42 5e14af77c1be: Waiting 09:11:42 01666e4c0597: Waiting 09:11:42 aa168da1d23b: Waiting 09:11:42 36b3adc4ff6f: Verifying Checksum 09:11:42 36b3adc4ff6f: Download complete 09:11:42 46f8f816bc3b: Download complete 09:11:42 df20fa9351a1: Verifying Checksum 09:11:42 df20fa9351a1: Download complete 09:11:42 93b9cdb0e59b: Verifying Checksum 09:11:42 93b9cdb0e59b: Download complete 09:11:42 5e14af77c1be: Verifying Checksum 09:11:42 5e14af77c1be: Download complete 09:11:42 93b61091891f: Verifying Checksum 09:11:42 93b61091891f: Download complete 09:11:42 01666e4c0597: Verifying Checksum 09:11:42 01666e4c0597: Download complete 09:11:42 8ad3a11d3b57: Verifying Checksum 09:11:42 8ad3a11d3b57: Download complete 09:11:42 df20fa9351a1: Pull complete 09:11:42 36b3adc4ff6f: Pull complete 09:11:43 8ad3a11d3b57: Pull complete 09:11:43 46f8f816bc3b: Pull complete 09:11:44 93b61091891f: Pull complete 09:11:44 aa168da1d23b: Verifying Checksum 09:11:44 aa168da1d23b: Download complete 09:11:44 93b9cdb0e59b: Pull complete 09:11:44 5e14af77c1be: Pull complete 09:11:44 01666e4c0597: Pull complete 09:11:51 aa168da1d23b: Pull complete 09:11:51 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:11:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:11:51 prd-centos7-docker-4c-2g-33137 does not seem to be running inside a container 09:11:51 $ 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-180/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-180 -v /w/workspace/foundry_device-virtual-go_PR-180:/w/workspace/foundry_device-virtual-go_PR-180:rw,z -v /w/workspace/foundry_device-virtual-go_PR-180@tmp:/w/workspace/foundry_device-virtual-go_PR-180@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:11:55 $ docker top a4eaac02903fd725c808b41320a42b22650bf2f48a368ab6cd26f80473d9cb68 -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:56 + touch /tmp/pre-build-complete [Pipeline] sh 09:11:56 + mkdir -p /var/log/sa [Pipeline] sh 09:11:56 + ls /var/log/sa-host 09:11:56 + sadf -c /var/log/sa-host/sa07 09:11:56 file_magic: OK 09:11:56 HZ: Using current value: 100 09:11:56 file_header: OK 09:11:56 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 09:11:56 Statistics: 09:11:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:11:56 File successfully converted to sysstat format version 12.2.1 09:11:56 + sadf -c /var/log/sa-host/sa23 09:11:56 file_magic: OK 09:11:56 HZ: Using current value: 100 09:11:56 file_header: OK 09:11:56 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 09:11:56 Statistics: 09:11:56 Hnuu...uuuununununu... 09:11:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:11:57 provisioning config files... 09:11:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-180@tmp/config9214664371721927959tmp [Pipeline] { [Pipeline] echo 09:11:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:11:57 ---> create-netrc.sh [Pipeline] } 09:11:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:11:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:11:58 ---> python-tools-install.sh [Pipeline] echo 09:11:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:11:58 ---> sudo-logs.sh 09:11:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:11:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:11:58 ---> job-cost.sh 09:11:58 lf-activate-venv: SKIPPING 09:11:58 DEBUG: total: 0.20999999344348907 09:11:58 INFO: Retrieving Stack Cost... 09:11:59 INFO: Retrieving Pricing Info for: v1-standard-2 09:11:59 INFO: Archiving Costs [Pipeline] echo 09:11:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:12:00 ---> logs-deploy.sh 09:12:00 lf-activate-venv: SKIPPING 09:12:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-180/2 09:12:00 INFO: archiving workspace using pattern(s): 09:12:02 Archives upload complete. 09:12:02 INFO: archiving logs to Nexus