Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) 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-32438 in /w/workspace/foundry_device-virtual-go_master [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_master # 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 Checking out Revision dd55ff443bd180714a9cddb6bbe47fafb89756c5 (master) > 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd55ff443bd180714a9cddb6bbe47fafb89756c5 # timeout=10 Commit message: "Merge pull request #177 from hahattan/issue-176" > git rev-list --no-walk bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:40:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:40:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:40:40 ========================================================= 07:40:40 EdgeX Global Pipelines Version Info 07:40:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:40:43 ------------------- 07:40:43 stable info: 07:40:43 ------------------- 07:40:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:40:43 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 07:40:43 Message: update stable to v1.0.186 07:40:45 ------------------- 07:40:45 experimental info: 07:40:45 ------------------- 07:40:45 Commited By: **** collab-it+edgex@linuxfoundation.org 07:40:45 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 07:40:45 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:40:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:40:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:40:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:40:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:40:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:40:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:40:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 07:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:40:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:40:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:40:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 07:40:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 07:40:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 07:40:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd55ff443bd180714a9cddb6bbe47fafb89756c5 [Pipeline] echo 07:40:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd55ff4 [Pipeline] echo 07:40:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:40:48 provisioning config files... 07:40:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config798080449085638015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:49 ---> docker-login.sh 07:40:49 nexus3.edgexfoundry.org:10001 07:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:50 Configure a credential helper to remove this warning. See 07:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:50 07:40:50 Login Succeeded 07:40:50 nexus3.edgexfoundry.org:10002 07:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:51 Configure a credential helper to remove this warning. See 07:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:51 07:40:51 Login Succeeded 07:40:51 nexus3.edgexfoundry.org:10003 07:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:51 Configure a credential helper to remove this warning. See 07:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:51 07:40:51 Login Succeeded 07:40:51 nexus3.edgexfoundry.org:10004 07:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:51 Configure a credential helper to remove this warning. See 07:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:51 07:40:51 Login Succeeded 07:40:52 docker.io 07:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:52 Configure a credential helper to remove this warning. See 07:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:52 07:40:52 Login Succeeded 07:40:52 ---> docker-login.sh ends [Pipeline] } 07:40:52 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 07:40:53 + git log --format=format:%s -1 dd55ff443bd180714a9cddb6bbe47fafb89756c5 [Pipeline] echo 07:40:53 GIT_COMMIT: dd55ff443bd180714a9cddb6bbe47fafb89756c5, Commit Message: Merge pull request #177 from hahattan/issue-176 [Pipeline] echo 07:40:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:40:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:40:55 07:40:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:40:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:40:55 latest: Pulling from edgex-devops/git-semver 07:40:55 31603596830f: Pulling fs layer 07:40:55 2a8b12db71e7: Pulling fs layer 07:40:55 6ca5941a6612: Pulling fs layer 07:40:55 ecc8261a40a4: Pulling fs layer 07:40:55 ecc8261a40a4: Waiting 07:40:55 2a8b12db71e7: Verifying Checksum 07:40:55 2a8b12db71e7: Download complete 07:40:56 31603596830f: Verifying Checksum 07:40:56 31603596830f: Download complete 07:40:56 ecc8261a40a4: Verifying Checksum 07:40:56 6ca5941a6612: Verifying Checksum 07:40:56 6ca5941a6612: Download complete 07:40:57 31603596830f: Pull complete 07:40:57 2a8b12db71e7: Pull complete 07:41:00 6ca5941a6612: Pull complete 07:41:01 ecc8261a40a4: Pull complete 07:41:01 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:41:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:41:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:41:02 prd-centos7-docker-4c-2g-32438 does not seem to be running inside a container 07:41:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:41:06 $ docker top e34b092e6d2e3a0ca27cf7c72478f98ef90ba600f0ce7650213827ee5414af11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:41:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:06 [ssh-agent] Looking for ssh-agent implementation... 07:41:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:07 $ docker exec e34b092e6d2e3a0ca27cf7c72478f98ef90ba600f0ce7650213827ee5414af11 ssh-agent 07:41:08 SSH_AUTH_SOCK=/tmp/ssh-PLOirHmeYuaa/agent.11 07:41:08 SSH_AGENT_PID=16 07:41:08 Running ssh-add (command line suppressed) 07:41:09 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_869022780978227640.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_869022780978227640.key) 07:41:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:09 + git tag --points-at HEAD [Pipeline] } 07:41:09 $ docker exec --env ******** --env ******** e34b092e6d2e3a0ca27cf7c72478f98ef90ba600f0ce7650213827ee5414af11 ssh-agent -k 07:41:10 unset SSH_AUTH_SOCK; 07:41:10 unset SSH_AGENT_PID; 07:41:10 echo Agent pid 16 killed; 07:41:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:41:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:10 [ssh-agent] Looking for ssh-agent implementation... 07:41:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:11 $ docker exec e34b092e6d2e3a0ca27cf7c72478f98ef90ba600f0ce7650213827ee5414af11 ssh-agent 07:41:12 SSH_AUTH_SOCK=/tmp/ssh-gJvrhbZVaBKl/agent.44 07:41:12 SSH_AGENT_PID=49 07:41:12 Running ssh-add (command line suppressed) 07:41:12 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5843267770820466708.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5843267770820466708.key) 07:41:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:13 + git semver init 07:41:13 # -> Open(): unable to determine branch for HEAD 07:41:13 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:41:13 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:41:13 # $SEMVER_REMOTE_NAME = origin 07:41:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:41:13 # $SEMVER_USER_NAME = edgex-jenkins 07:41:13 # $SEMVER_BRANCH = master 07:41:13 # $SEMVER_TEMP = /tmp/semver-188567343 07:41:13 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 07:41:14 # '/tmp/semver-188567343' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 07:41:14 # -> Force: false 07:41:14 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 07:41:14 $ docker exec --env ******** --env ******** e34b092e6d2e3a0ca27cf7c72478f98ef90ba600f0ce7650213827ee5414af11 ssh-agent -k 07:41:15 unset SSH_AUTH_SOCK; 07:41:15 unset SSH_AGENT_PID; 07:41:15 echo Agent pid 49 killed; 07:41:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:41:16 + git semver [Pipeline] } 07:41:16 $ docker stop --time=1 e34b092e6d2e3a0ca27cf7c72478f98ef90ba600f0ce7650213827ee5414af11 07:41:18 $ docker rm -f e34b092e6d2e3a0ca27cf7c72478f98ef90ba600f0ce7650213827ee5414af11 [Pipeline] // withDockerContainer [Pipeline] sh 07:41:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:41:21 Stashed 1 file(s) [Pipeline] echo 07:41:21 [edgeXSemver]: initialized semver on version 1.3.2-dev.4 [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 07:41:37 Still waiting to schedule task 07:41:37 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-32438’ 07:41:37 Still waiting to schedule task 07:41:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:43:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32439 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 07:43:19 Running in /w/workspace/device-virtual-go/43 [Pipeline] { [Pipeline] checkout 07:43:24 using credential edgex-jenkins-ssh 07:43:24 Cloning the remote Git repository 07:43:25 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:43:25 > git init /w/workspace/device-virtual-go/43 # timeout=10 07:43:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:43:25 > git --version # timeout=10 07:43:25 > git --version # 'git version 2.17.1' 07:43:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:43:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:43:26 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:43:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:43:26 Checking out Revision dd55ff443bd180714a9cddb6bbe47fafb89756c5 (master) 07:43:26 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:43:26 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:43:26 using GIT_SSH to set credentials SSH Credentials for GitHub 07:43:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:43:26 > git config core.sparsecheckout # timeout=10 07:43:26 > git checkout -f dd55ff443bd180714a9cddb6bbe47fafb89756c5 # timeout=10 07:43:30 Commit message: "Merge pull request #177 from hahattan/issue-176" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:43:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:43:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:43:33 + sudo service docker restart 07:43:33 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:43:36 provisioning config files... 07:43:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/43@tmp/config598335755523073120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:43:36 ---> docker-login.sh 07:43:36 nexus3.edgexfoundry.org:10001 07:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:37 Configure a credential helper to remove this warning. See 07:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:37 07:43:37 Login Succeeded 07:43:37 nexus3.edgexfoundry.org:10002 07:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:38 Configure a credential helper to remove this warning. See 07:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:38 07:43:38 Login Succeeded 07:43:38 nexus3.edgexfoundry.org:10003 07:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:39 Configure a credential helper to remove this warning. See 07:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:39 07:43:39 Login Succeeded 07:43:39 nexus3.edgexfoundry.org:10004 07:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:39 Configure a credential helper to remove this warning. See 07:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:39 07:43:39 Login Succeeded 07:43:39 docker.io 07:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:40 Configure a credential helper to remove this warning. See 07:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:40 07:43:40 Login Succeeded 07:43:40 ---> docker-login.sh ends [Pipeline] } 07:43:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:43:40 ========================================================= 07:43:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:43:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:43:41 + 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 . 07:43:41 Sending build context to Docker daemon 490kB 07:43:41 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:43:41 Step 2/8 : FROM ${BASE} 07:43:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:43:41 5f621e34cdf4: Pulling fs layer 07:43:41 a4357932f1b6: Pulling fs layer 07:43:41 18c013af1878: Pulling fs layer 07:43:41 00ac8860ef70: Pulling fs layer 07:43:41 63d7cb157983: Pulling fs layer 07:43:41 b116817d02f9: Pulling fs layer 07:43:41 745a02a5169b: Pulling fs layer 07:43:41 63d7cb157983: Waiting 07:43:41 745a02a5169b: Waiting 07:43:41 b116817d02f9: Waiting 07:43:41 00ac8860ef70: Waiting 07:43:41 18c013af1878: Verifying Checksum 07:43:41 18c013af1878: Download complete 07:43:41 a4357932f1b6: Verifying Checksum 07:43:41 a4357932f1b6: Download complete 07:43:41 63d7cb157983: Verifying Checksum 07:43:41 63d7cb157983: Download complete 07:43:42 b116817d02f9: Verifying Checksum 07:43:42 b116817d02f9: Download complete 07:43:43 5f621e34cdf4: Verifying Checksum 07:43:43 5f621e34cdf4: Download complete 07:43:44 5f621e34cdf4: Pull complete 07:43:44 a4357932f1b6: Pull complete 07:43:45 18c013af1878: Pull complete 07:43:45 745a02a5169b: Verifying Checksum 07:43:45 745a02a5169b: Download complete 07:43:46 00ac8860ef70: Verifying Checksum 07:43:46 00ac8860ef70: Download complete 07:43:54 Running on prd-centos7-docker-4c-2g-32440 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 07:43:54 Running in /w/workspace/device-virtual-go/43 [Pipeline] { [Pipeline] checkout 07:43:56 using credential edgex-jenkins-ssh 07:43:57 Cloning the remote Git repository 07:43:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:43:56 > git init /w/workspace/device-virtual-go/43 # timeout=10 07:43:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:43:56 > git --version # timeout=10 07:43:56 > git --version # 'git version 2.24.3' 07:43:56 using GIT_SSH to set credentials SSH Credentials for GitHub 07:43:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:43:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:43:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:43:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:43:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:43:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:43:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:43:58 Checking out Revision dd55ff443bd180714a9cddb6bbe47fafb89756c5 (master) 07:43:58 00ac8860ef70: Pull complete 07:43:58 63d7cb157983: Pull complete 07:43:58 b116817d02f9: Pull complete 07:43:58 > git config core.sparsecheckout # timeout=10 07:43:58 > git checkout -f dd55ff443bd180714a9cddb6bbe47fafb89756c5 # timeout=10 07:44:01 745a02a5169b: Pull complete 07:44:01 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:44:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:44:01 ---> b7e6874047d6 07:44:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:44:01 Commit message: "Merge pull request #177 from hahattan/issue-176" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:44:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:44:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:44:03 + sudo service docker restart 07:44:03 + true 07:44:03 Redirecting to /bin/systemctl restart docker.service 07:44:04 ---> Running in 25aac6957bd5 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:44:04 provisioning config files... 07:44:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/43@tmp/config1358079464171781093tmp [Pipeline] { 07:44:04 Removing intermediate container 25aac6957bd5 07:44:04 ---> 5af279d35588 07:44:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:44:04 ---> Running in c36aa2f429d4 [Pipeline] libraryResource [Pipeline] sh 07:44:05 ---> docker-login.sh 07:44:05 nexus3.edgexfoundry.org:10001 07:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:05 Configure a credential helper to remove this warning. See 07:44:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:05 07:44:05 Login Succeeded 07:44:05 nexus3.edgexfoundry.org:10002 07:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:05 Configure a credential helper to remove this warning. See 07:44:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:05 07:44:05 Login Succeeded 07:44:05 nexus3.edgexfoundry.org:10003 07:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:05 Configure a credential helper to remove this warning. See 07:44:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:05 07:44:05 Login Succeeded 07:44:05 nexus3.edgexfoundry.org:10004 07:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:06 Configure a credential helper to remove this warning. See 07:44:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:06 07:44:06 Login Succeeded 07:44:06 docker.io 07:44:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:06 Configure a credential helper to remove this warning. See 07:44:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:06 07:44:06 Login Succeeded 07:44:06 ---> docker-login.sh ends [Pipeline] } 07:44:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:44:06 ========================================================= 07:44:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:44:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:44:07 + 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 . 07:44:07 Sending build context to Docker daemon 491kB 07:44:07 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:44:07 Step 2/8 : FROM ${BASE} 07:44:07 Removing intermediate container c36aa2f429d4 07:44:07 ---> 3475957de941 07:44:07 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:44:07 ---> Running in a07a3269e206 07:44:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:44:07 188c0c94c7c5: Pulling fs layer 07:44:07 0ef7d3d256c8: Pulling fs layer 07:44:07 de9db76c5a1d: Pulling fs layer 07:44:07 bca2f99d35d6: Pulling fs layer 07:44:07 93359f2a8cfa: Pulling fs layer 07:44:07 7c6f9722023f: Pulling fs layer 07:44:07 a35cf1a2eb13: Pulling fs layer 07:44:07 bca2f99d35d6: Waiting 07:44:07 93359f2a8cfa: Waiting 07:44:07 7c6f9722023f: Waiting 07:44:07 a35cf1a2eb13: Waiting 07:44:07 de9db76c5a1d: Verifying Checksum 07:44:07 de9db76c5a1d: Download complete 07:44:07 0ef7d3d256c8: Download complete 07:44:07 93359f2a8cfa: Verifying Checksum 07:44:07 93359f2a8cfa: Download complete 07:44:07 188c0c94c7c5: Verifying Checksum 07:44:07 188c0c94c7c5: Download complete 07:44:07 7c6f9722023f: Verifying Checksum 07:44:07 7c6f9722023f: Download complete 07:44:07 188c0c94c7c5: Pull complete 07:44:08 0ef7d3d256c8: Pull complete 07:44:08 de9db76c5a1d: Pull complete 07:44:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:44:09 a35cf1a2eb13: Verifying Checksum 07:44:09 a35cf1a2eb13: Download complete 07:44:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:44:10 bca2f99d35d6: Verifying Checksum 07:44:10 bca2f99d35d6: Download complete 07:44:12 (1/14) Installing libmagic (5.38-r0) 07:44:12 (2/14) Installing file (5.38-r0) 07:44:12 (3/14) Installing libc-dev (0.7.2-r3) 07:44:12 (4/14) Installing g++ (9.3.0-r2) 07:44:16 bca2f99d35d6: Pull complete 07:44:16 93359f2a8cfa: Pull complete 07:44:16 7c6f9722023f: Pull complete 07:44:21 a35cf1a2eb13: Pull complete 07:44:21 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:44:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:44:21 ---> a62c8e92a672 07:44:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:44:21 ---> Running in 0a61c97826aa 07:44:21 Removing intermediate container 0a61c97826aa 07:44:21 ---> 88c7b92c5a32 07:44:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:44:21 ---> Running in f2ee52b605d5 07:44:22 Removing intermediate container f2ee52b605d5 07:44:22 ---> 33bb87371f41 07:44:22 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:44:22 ---> Running in a6d8928756fe 07:44:22 (5/14) Installing fortify-headers (1.1-r0) 07:44:22 (6/14) Installing patch (2.7.6-r6) 07:44:22 (7/14) Installing build-base (0.5-r2) 07:44:22 (8/14) Installing openssh-keygen (8.3_p1-r2) 07:44:22 (9/14) Installing libedit (20191231.3.1-r0) 07:44:22 (10/14) Installing openssh-client (8.3_p1-r2) 07:44:22 (11/14) Installing openssh-sftp-server (8.3_p1-r2) 07:44:22 (12/14) Installing openssh-server-common (8.3_p1-r2) 07:44:22 (13/14) Installing openssh-server (8.3_p1-r2) 07:44:22 (14/14) Installing openssh (8.3_p1-r2) 07:44:22 Executing busybox-1.31.1-r19.trigger 07:44:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:44:23 OK: 221 MiB in 53 packages 07:44:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:44:24 (1/14) Installing libmagic (5.38-r0) 07:44:24 (2/14) Installing file (5.38-r0) 07:44:24 (3/14) Installing libc-dev (0.7.2-r3) 07:44:24 (4/14) Installing g++ (9.3.0-r2) 07:44:27 Removing intermediate container a07a3269e206 07:44:27 ---> 1fed1558806a 07:44:27 Step 6/8 : WORKDIR /device-virtual-go 07:44:27 ---> Running in ac67e4c975ac 07:44:27 Removing intermediate container ac67e4c975ac 07:44:27 ---> 409ea9e525b6 07:44:27 Step 7/8 : COPY . . 07:44:28 ---> 17f73350d674 07:44:28 Step 8/8 : RUN go mod download 07:44:29 ---> Running in 117a82c09522 07:44:30 (5/14) Installing fortify-headers (1.1-r0) 07:44:30 (6/14) Installing patch (2.7.6-r6) 07:44:30 (7/14) Installing build-base (0.5-r2) 07:44:30 (8/14) Installing openssh-keygen (8.3_p1-r2) 07:44:30 (9/14) Installing libedit (20191231.3.1-r0) 07:44:30 (10/14) Installing openssh-client (8.3_p1-r2) 07:44:30 (11/14) Installing openssh-sftp-server (8.3_p1-r2) 07:44:30 (12/14) Installing openssh-server-common (8.3_p1-r2) 07:44:30 (13/14) Installing openssh-server (8.3_p1-r2) 07:44:30 (14/14) Installing openssh (8.3_p1-r2) 07:44:30 Executing busybox-1.31.1-r19.trigger 07:44:30 OK: 237 MiB in 53 packages 07:44:34 Removing intermediate container a6d8928756fe 07:44:34 ---> 8967e448f62c 07:44:34 Step 6/8 : WORKDIR /device-virtual-go 07:44:34 ---> Running in 9c96c64ca278 07:44:34 Removing intermediate container 9c96c64ca278 07:44:34 ---> 08eeb5bd6ced 07:44:34 Step 7/8 : COPY . . 07:44:35 ---> 91a5678e35a0 07:44:35 Step 8/8 : RUN go mod download 07:44:35 ---> Running in 73a4f007f5ad 07:44:55 Removing intermediate container 117a82c09522 07:44:55 ---> 3900c6c44f7f 07:44:55 Successfully built 3900c6c44f7f 07:44:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:44:56 + docker inspect -f . ci-base-image-arm64 07:44:56 . [Pipeline] withDockerContainer 07:44:56 prd-ubuntu18.04-docker-arm64-4c-16g-32439 does not seem to be running inside a container 07:44:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/43 -v /w/workspace/device-virtual-go/43:/w/workspace/device-virtual-go/43:rw,z -v /w/workspace/device-virtual-go/43@tmp:/w/workspace/device-virtual-go/43@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 ******** ci-base-image-arm64 cat 07:44:57 Removing intermediate container 73a4f007f5ad 07:44:57 ---> b42d1b696c64 07:44:57 Successfully built b42d1b696c64 07:44:57 Successfully tagged ci-base-image-x86_64:latest 07:44:58 $ docker top 59ac8609d05983ed5c578553edbe5c7afe125c051d1ee5c1701da5a45f469b33 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:44:58 + docker inspect -f . ci-base-image-x86_64 07:44:58 . [Pipeline] withDockerContainer 07:44:59 prd-centos7-docker-4c-2g-32440 does not seem to be running inside a container 07:44:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/43 -v /w/workspace/device-virtual-go/43:/w/workspace/device-virtual-go/43:rw,z -v /w/workspace/device-virtual-go/43@tmp:/w/workspace/device-virtual-go/43@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 ******** ci-base-image-x86_64 cat 07:44:59 + go version 07:44:59 go version go1.15.5 linux/arm64 07:44:59 $ docker top 917bed98ac65281417a4340dd5fca43486840641f15aeff7c4bea1282c31ddd9 -eo pid,comm [Pipeline] { [Pipeline] } 07:45:00 $ docker stop --time=1 59ac8609d05983ed5c578553edbe5c7afe125c051d1ee5c1701da5a45f469b33 07:45:02 $ docker rm -f 59ac8609d05983ed5c578553edbe5c7afe125c051d1ee5c1701da5a45f469b33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 07:45:02 + go version 07:45:02 go version go1.15.5 linux/amd64 [Pipeline] } 07:45:02 $ docker stop --time=1 917bed98ac65281417a4340dd5fca43486840641f15aeff7c4bea1282c31ddd9 07:45:04 $ docker rm -f 917bed98ac65281417a4340dd5fca43486840641f15aeff7c4bea1282c31ddd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:45:04 + docker inspect -f . ci-base-image-arm64 07:45:04 . [Pipeline] withDockerContainer 07:45:05 + docker inspect -f . ci-base-image-x86_64 07:45:05 . 07:45:05 prd-ubuntu18.04-docker-arm64-4c-16g-32439 does not seem to be running inside a container 07:45:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/43 -v /w/workspace/device-virtual-go/43:/w/workspace/device-virtual-go/43:rw,z -v /w/workspace/device-virtual-go/43@tmp:/w/workspace/device-virtual-go/43@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 ******** ci-base-image-arm64 cat 07:45:06 $ docker top a2d71398a363910a4f83c387b4444a23c687052dc7e438b68b9004bfa023f303 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 07:45:07 prd-centos7-docker-4c-2g-32440 does not seem to be running inside a container 07:45:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/43 -v /w/workspace/device-virtual-go/43:/w/workspace/device-virtual-go/43:rw,z -v /w/workspace/device-virtual-go/43@tmp:/w/workspace/device-virtual-go/43@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 ******** ci-base-image-x86_64 cat 07:45:08 $ docker top aa54a0d79fd6a6f7084aac8781c6b83eb636b35e5e38b078549757649325d127 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 07:45:08 + make test 07:45:08 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:45:08 + make test 07:45:08 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:45:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:45:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:45:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:45:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.379s coverage: 63.8% of statements 07:45:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:45:30 gofmt -l . 07:45:30 [ "`gofmt -l .`" = "" ] 07:45:30 ./bin/test-attribution-txt.sh 07:45:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:45:31 $ docker stop --time=1 aa54a0d79fd6a6f7084aac8781c6b83eb636b35e5e38b078549757649325d127 07:45:32 $ docker rm -f aa54a0d79fd6a6f7084aac8781c6b83eb636b35e5e38b078549757649325d127 [Pipeline] // withDockerContainer [Pipeline] sh 07:45:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:45:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:45:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:45:36 + ls -al . 07:45:36 total 128 07:45:36 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 1 07:45 . 07:45:36 drwxrwxr-x. 4 jenkins jenkins 30 Apr 1 07:43 .. 07:45:36 -rw-rw-r--. 1 jenkins jenkins 7136 Apr 1 07:43 Attribution.txt 07:45:36 drwxrwxr-x. 2 jenkins jenkins 64 Apr 1 07:43 bin 07:45:36 drwxrwxr-x. 3 jenkins jenkins 32 Apr 1 07:43 cmd 07:45:36 -rw-r--r--. 1 jenkins jenkins 47247 Apr 1 07:45 coverage.out 07:45:36 -rw-rw-r--. 1 jenkins jenkins 1851 Apr 1 07:43 Dockerfile 07:45:36 -rw-rw-r--. 1 jenkins jenkins 961 Apr 1 07:43 Dockerfile.build 07:45:36 drwxrwxr-x. 8 jenkins jenkins 162 Apr 1 07:44 .git 07:45:36 drwxrwxr-x. 2 jenkins jenkins 103 Apr 1 07:43 .github 07:45:36 -rw-rw-r--. 1 jenkins jenkins 258 Apr 1 07:43 .gitignore 07:45:36 -rw-r--r--. 1 jenkins jenkins 809 Apr 1 07:45 go.mod 07:45:36 -rw-r--r--. 1 jenkins jenkins 20118 Apr 1 07:45 go.sum 07:45:36 drwxrwxr-x. 3 jenkins jenkins 20 Apr 1 07:43 internal 07:45:36 -rw-rw-r--. 1 jenkins jenkins 660 Apr 1 07:43 Jenkinsfile 07:45:36 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 1 07:43 LICENSE 07:45:36 -rw-rw-r--. 1 jenkins jenkins 873 Apr 1 07:43 Makefile 07:45:36 -rw-rw-r--. 1 jenkins jenkins 918 Apr 1 07:43 README.md 07:45:36 -rw-rw-r--. 1 jenkins jenkins 11 Apr 1 07:41 VERSION 07:45:36 -rw-rw-r--. 1 jenkins jenkins 235 Apr 1 07:43 version.go [Pipeline] isUnix [Pipeline] sh 07:45:37 + 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=dd55ff443bd180714a9cddb6bbe47fafb89756c5 --label arch=amd64 --label version=1.3.2-dev.4 . 07:45:37 Sending build context to Docker daemon 560.1kB 07:45:37 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 07:45:37 Step 2/22 : FROM ${BASE} AS builder 07:45:37 ---> b42d1b696c64 07:45:37 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 07:45:37 ---> Running in d260ad60ffa2 07:45:37 Removing intermediate container d260ad60ffa2 07:45:37 ---> bdaf1c7e0f85 07:45:37 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 07:45:37 ---> Running in fed50f61b64c 07:45:37 Removing intermediate container fed50f61b64c 07:45:37 ---> 9baaab6d9203 07:45:37 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 07:45:37 ---> Running in 8d6262ee2ddb 07:45:38 Removing intermediate container 8d6262ee2ddb 07:45:38 ---> 4d5bd09caeab 07:45:38 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:45:38 ---> Running in 6b34fbeda583 07:45:39 Removing intermediate container 6b34fbeda583 07:45:39 ---> dfd210492e3b 07:45:39 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:45:39 ---> Running in 0c58774e917f 07:45:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:45:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:45:40 OK: 237 MiB in 53 packages 07:45:41 Removing intermediate container 0c58774e917f 07:45:41 ---> afb957b7fe14 07:45:41 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 07:45:41 ---> Running in c8b54e1f5a62 07:45:41 Removing intermediate container c8b54e1f5a62 07:45:41 ---> 51546da13cf5 07:45:41 Step 9/22 : COPY . . 07:45:42 ---> 89f7e388e5a4 07:45:42 Step 10/22 : ARG MAKE='make build' 07:45:42 ---> Running in 788579026e29 07:45:42 Removing intermediate container 788579026e29 07:45:42 ---> db1f56b8a6b8 07:45:42 Step 11/22 : RUN $MAKE 07:45:42 ---> Running in a3618e962ab7 07:45:43 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.4" -o cmd/device-virtual ./cmd 07:45:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:45:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.465s coverage: 63.8% of statements 07:45:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:45:58 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:45:59 Removing intermediate container a3618e962ab7 07:45:59 ---> f7d6b7833cf4 07:45:59 Step 12/22 : FROM alpine:3.12 07:45:59 3.12: Pulling from library/alpine 07:46:00 532819f3e44c: Pulling fs layer 07:46:00 532819f3e44c: Verifying Checksum 07:46:00 532819f3e44c: Download complete 07:46:00 532819f3e44c: Pull complete 07:46:00 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 07:46:00 Status: Downloaded newer image for alpine:3.12 07:46:00 ---> 7230e588e954 07:46:00 Step 13/22 : ENV APP_PORT=49990 07:46:00 ---> Running in 53a7acc2ef13 07:46:00 Removing intermediate container 53a7acc2ef13 07:46:00 ---> 3c09d1786395 07:46:00 Step 14/22 : EXPOSE $APP_PORT 07:46:01 ---> Running in 597c0647e88b 07:46:01 Removing intermediate container 597c0647e88b 07:46:01 ---> 7dcc6ee4d5dc 07:46:01 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 07:46:02 ---> 12b69b98ad29 07:46:02 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 07:46:02 ---> a945d1426f68 07:46:02 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 07:46:02 ---> fb703ceb22e1 07:46:02 Step 18/22 : ENTRYPOINT ["/device-virtual"] 07:46:02 ---> Running in e1f1ba1afe11 07:46:02 Removing intermediate container e1f1ba1afe11 07:46:02 ---> e49f30c6cdf8 07:46:02 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:46:02 ---> Running in ee10d67d5c5a 07:46:02 Removing intermediate container ee10d67d5c5a 07:46:02 ---> e31612ef9a85 07:46:02 Step 20/22 : LABEL arch=amd64 07:46:03 ---> Running in c9b8ca0e1d80 07:46:03 Removing intermediate container c9b8ca0e1d80 07:46:03 ---> 7cc07a969aab 07:46:03 Step 21/22 : LABEL git_sha=dd55ff443bd180714a9cddb6bbe47fafb89756c5 07:46:03 ---> Running in f9eb1ef90e7b 07:46:03 Removing intermediate container f9eb1ef90e7b 07:46:03 ---> aea190b54530 07:46:03 Step 22/22 : LABEL version=1.3.2-dev.4 07:46:03 ---> Running in 292d3cea530e 07:46:03 Removing intermediate container 292d3cea530e 07:46:03 ---> 26e32c8f492d 07:46:03 [Warning] One or more build-args [ARCH] were not consumed 07:46:03 Successfully built 26e32c8f492d 07:46:03 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:46:04 provisioning config files... 07:46:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/43@tmp/config3938015753351567102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:04 ---> docker-login.sh 07:46:04 nexus3.edgexfoundry.org:10001 07:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:04 Configure a credential helper to remove this warning. See 07:46:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:04 07:46:04 Login Succeeded 07:46:04 nexus3.edgexfoundry.org:10002 07:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:04 Configure a credential helper to remove this warning. See 07:46:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:04 07:46:04 Login Succeeded 07:46:04 nexus3.edgexfoundry.org:10003 07:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:04 Configure a credential helper to remove this warning. See 07:46:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:04 07:46:04 Login Succeeded 07:46:04 nexus3.edgexfoundry.org:10004 07:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:05 Configure a credential helper to remove this warning. See 07:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:05 07:46:05 Login Succeeded 07:46:05 docker.io 07:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:05 gofmt -l . 07:46:05 [ "`gofmt -l .`" = "" ] 07:46:05 ./bin/test-attribution-txt.sh 07:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:05 Configure a credential helper to remove this warning. See 07:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:05 07:46:05 Login Succeeded 07:46:05 ---> docker-login.sh ends [Pipeline] } 07:46:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:46:06 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 07:46:06 dd55ff443bd180714a9cddb6bbe47fafb89756c5 07:46:06 latest 07:46:06 1.3.2-dev.4 07:46:06 dd55ff443bd180714a9cddb6bbe47fafb89756c5-1.3.2-dev.4 07:46:06 master 07:46:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:46:06 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:dd55ff443bd180714a9cddb6bbe47fafb89756c5 [Pipeline] isUnix [Pipeline] sh 07:46:06 ./bin/test-go-mod-tidy.sh 07:46:06 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:dd55ff443bd180714a9cddb6bbe47fafb89756c5 07:46:06 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:46:06 76b2e9626de7: Preparing 07:46:06 1a85262cc637: Preparing 07:46:06 5d577d835d64: Preparing 07:46:06 b0b9881431d7: Preparing 07:46:07 76b2e9626de7: Pushed 07:46:07 1a85262cc637: Pushed [Pipeline] } 07:46:07 $ docker stop --time=1 a2d71398a363910a4f83c387b4444a23c687052dc7e438b68b9004bfa023f303 07:46:07 b0b9881431d7: Pushed 07:46:08 5d577d835d64: Pushed 07:46:08 dd55ff443bd180714a9cddb6bbe47fafb89756c5: digest: sha256:f96cec7087d6baf1a83bae2238b289b85e2917bc016350c8d35ab6e1aa3705ad size: 1155 07:46:09 $ docker rm -f a2d71398a363910a4f83c387b4444a23c687052dc7e438b68b9004bfa023f303 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:46:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:46:10 Warning: overwriting stash ‘coverage-report’ 07:46:10 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 07:46:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 07:46:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:46:10 76b2e9626de7: Preparing 07:46:10 1a85262cc637: Preparing 07:46:10 5d577d835d64: Preparing 07:46:10 b0b9881431d7: Preparing 07:46:10 5d577d835d64: Layer already exists 07:46:10 b0b9881431d7: Layer already exists 07:46:10 1a85262cc637: Layer already exists 07:46:10 76b2e9626de7: Layer already exists 07:46:10 latest: digest: sha256:f96cec7087d6baf1a83bae2238b289b85e2917bc016350c8d35ab6e1aa3705ad size: 1155 [Pipeline] isUnix [Pipeline] sh 07:46:11 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.4 [Pipeline] isUnix [Pipeline] sh 07:46:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 07:46:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.4 07:46:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:46:11 76b2e9626de7: Preparing 07:46:11 1a85262cc637: Preparing 07:46:11 5d577d835d64: Preparing 07:46:11 b0b9881431d7: Preparing 07:46:11 5d577d835d64: Layer already exists 07:46:11 b0b9881431d7: Layer already exists 07:46:11 76b2e9626de7: Layer already exists 07:46:11 1a85262cc637: Layer already exists 07:46:11 1.3.2-dev.4: digest: sha256:f96cec7087d6baf1a83bae2238b289b85e2917bc016350c8d35ab6e1aa3705ad size: 1155 [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:11 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:dd55ff443bd180714a9cddb6bbe47fafb89756c5-1.3.2-dev.4 [Pipeline] isUnix [Pipeline] sh 07:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:46:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:dd55ff443bd180714a9cddb6bbe47fafb89756c5-1.3.2-dev.4 07:46:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:46:12 76b2e9626de7: Preparing 07:46:12 1a85262cc637: Preparing 07:46:12 5d577d835d64: Preparing 07:46:12 b0b9881431d7: Preparing 07:46:12 76b2e9626de7: Layer already exists 07:46:12 1a85262cc637: Layer already exists 07:46:12 5d577d835d64: Layer already exists 07:46:12 b0b9881431d7: Layer already exists 07:46:12 dd55ff443bd180714a9cddb6bbe47fafb89756c5-1.3.2-dev.4: digest: sha256:f96cec7087d6baf1a83bae2238b289b85e2917bc016350c8d35ab6e1aa3705ad size: 1155 [Pipeline] isUnix [Pipeline] sh 07:46:12 + ls -al . 07:46:12 total 152 07:46:12 drwxrwxr-x 7 jenkins jenkins 4096 Apr 1 07:46 . 07:46:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 07:43 .. 07:46:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 07:43 .git 07:46:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 07:43 .github 07:46:12 -rw-rw-r-- 1 jenkins jenkins 258 Apr 1 07:43 .gitignore 07:46:12 -rw-rw-r-- 1 jenkins jenkins 7136 Apr 1 07:43 Attribution.txt 07:46:12 -rw-rw-r-- 1 jenkins jenkins 1851 Apr 1 07:43 Dockerfile 07:46:12 -rw-rw-r-- 1 jenkins jenkins 961 Apr 1 07:43 Dockerfile.build 07:46:12 -rw-rw-r-- 1 jenkins jenkins 660 Apr 1 07:43 Jenkinsfile 07:46:12 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 07:43 LICENSE 07:46:12 -rw-rw-r-- 1 jenkins jenkins 873 Apr 1 07:43 Makefile 07:46:12 -rw-rw-r-- 1 jenkins jenkins 918 Apr 1 07:43 README.md 07:46:12 -rw-rw-r-- 1 jenkins jenkins 11 Apr 1 07:41 VERSION 07:46:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 07:43 bin 07:46:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 07:43 cmd 07:46:12 -rw-r--r-- 1 jenkins jenkins 47247 Apr 1 07:45 coverage.out 07:46:12 -rw-r--r-- 1 jenkins jenkins 809 Apr 1 07:46 go.mod 07:46:12 -rw-r--r-- 1 jenkins jenkins 20118 Apr 1 07:46 go.sum 07:46:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 07:43 internal 07:46:12 -rw-rw-r-- 1 jenkins jenkins 235 Apr 1 07:43 version.go [Pipeline] isUnix [Pipeline] sh 07:46:12 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 07:46:12 + 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=dd55ff443bd180714a9cddb6bbe47fafb89756c5 --label arch=arm64 --label version=1.3.2-dev.4 . 07:46:13 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 07:46:13 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:46:13 76b2e9626de7: Preparing 07:46:13 1a85262cc637: Preparing 07:46:13 5d577d835d64: Preparing 07:46:13 b0b9881431d7: Preparing 07:46:13 b0b9881431d7: Layer already exists 07:46:13 76b2e9626de7: Layer already exists 07:46:13 5d577d835d64: Layer already exists 07:46:13 1a85262cc637: Layer already exists 07:46:13 master: digest: sha256:f96cec7087d6baf1a83bae2238b289b85e2917bc016350c8d35ab6e1aa3705ad size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:46:13 ===================================================== 07:46:13 Sending build context to Docker daemon 559.1kB 07:46:13 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 07:46:13 Step 2/22 : FROM ${BASE} AS builder 07:46:13 ---> 3900c6c44f7f 07:46:13 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [Pipeline] echo 07:46:13 taggedImages: 07:46:13 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:dd55ff443bd180714a9cddb6bbe47fafb89756c5 07:46:13 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 07:46:13 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.4 07:46:13 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:dd55ff443bd180714a9cddb6bbe47fafb89756c5-1.3.2-dev.4 07:46:13 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 07:46:13 ---> Running in 2bff8a748e03 Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 07:46:14 Removing intermediate container 2bff8a748e03 07:46:14 ---> b25ac17db240 07:46:14 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 07:46:14 ---> Running in f4e0dff64076 07:46:14 ---> job-cost.sh 07:46:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YRbZ 07:46:14 Removing intermediate container f4e0dff64076 07:46:14 ---> fe3923f32325 07:46:14 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 07:46:14 ---> Running in 05721fba92ea 07:46:15 Removing intermediate container 05721fba92ea 07:46:15 ---> 58b03de51b48 07:46:15 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:46:15 ---> Running in 1a3ba072b0e5 07:46:18 Removing intermediate container 1a3ba072b0e5 07:46:18 ---> 8bcab9d4b3b8 07:46:18 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:18 ---> Running in 4a550c516c08 07:46:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:46:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:46:20 OK: 221 MiB in 53 packages 07:46:21 Removing intermediate container 4a550c516c08 07:46:21 ---> 904163359c6c 07:46:21 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 07:46:21 ---> Running in 2510b3d4ef45 07:46:21 Removing intermediate container 2510b3d4ef45 07:46:21 ---> a9cd5d06623f 07:46:21 Step 9/22 : COPY . . 07:46:22 ---> 7127855460a9 07:46:22 Step 10/22 : ARG MAKE='make build' 07:46:23 ---> Running in 3f029ade47ec 07:46:23 Removing intermediate container 3f029ade47ec 07:46:23 ---> 6783f6cf7f10 07:46:23 Step 11/22 : RUN $MAKE 07:46:23 ---> Running in e2bec63e5142 07:46:24 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.4" -o cmd/device-virtual ./cmd 07:46:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:46:57 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:47:01 lf-activate-venv(): INFO: Adding /tmp/venv-YRbZ/bin to PATH 07:47:01 INFO: No Stack... 07:47:01 INFO: Retrieving Pricing Info for: v1-standard-2 07:47:01 INFO: Archiving Costs [Pipeline] sh 07:47:01 + cat /w/workspace/device-virtual-go/43/archives/cost.csv 07:47:01 + cut -d, -f6 [Pipeline] lock 07:47:01 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-43-stack-cost] 07:47:01 Resource [jenkins-edgexfoundry-device-virtual-go-master-43-stack-cost] did not exist. Created. 07:47:01 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:47:02 + echo total: 0.029999999329447746 [Pipeline] stash 07:47:02 Stashed 1 file(s) [Pipeline] } 07:47:02 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-43-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:47:05 Removing intermediate container e2bec63e5142 07:47:05 ---> 4ecefd9655b2 07:47:05 Step 12/22 : FROM alpine:3.12 07:47:06 3.12: Pulling from library/alpine 07:47:06 9a219e8acc52: Pulling fs layer 07:47:06 9a219e8acc52: Download complete 07:47:06 9a219e8acc52: Pull complete 07:47:06 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 07:47:06 Status: Downloaded newer image for alpine:3.12 07:47:06 ---> d75e27dfc0a0 07:47:06 Step 13/22 : ENV APP_PORT=49990 07:47:07 ---> Running in eb978ffd6b77 07:47:07 Removing intermediate container eb978ffd6b77 07:47:07 ---> a43856556c21 07:47:07 Step 14/22 : EXPOSE $APP_PORT 07:47:07 ---> Running in 2ea03a717ee0 07:47:08 Removing intermediate container 2ea03a717ee0 07:47:08 ---> 89984d961f59 07:47:08 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 07:47:09 ---> 7340a09755b4 07:47:09 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 07:47:10 ---> 8ab3b45c6634 07:47:10 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 07:47:10 ---> 3d600f84f501 07:47:10 Step 18/22 : ENTRYPOINT ["/device-virtual"] 07:47:11 ---> Running in 5583f351fda2 07:47:11 Removing intermediate container 5583f351fda2 07:47:11 ---> 299518d2f470 07:47:11 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:47:11 ---> Running in 5c4c8f4aae72 07:47:12 Removing intermediate container 5c4c8f4aae72 07:47:12 ---> 02a2f74182ab 07:47:12 Step 20/22 : LABEL arch=arm64 07:47:12 ---> Running in d5779d1c1e93 07:47:12 Removing intermediate container d5779d1c1e93 07:47:12 ---> 3a682df44b12 07:47:12 Step 21/22 : LABEL git_sha=dd55ff443bd180714a9cddb6bbe47fafb89756c5 07:47:12 ---> Running in b113a863e25e 07:47:13 Removing intermediate container b113a863e25e 07:47:13 ---> 628a64e54e85 07:47:13 Step 22/22 : LABEL version=1.3.2-dev.4 07:47:13 ---> Running in 9e4c403555fa 07:47:14 Removing intermediate container 9e4c403555fa 07:47:14 ---> f0f12ac455fd 07:47:14 [Warning] One or more build-args [ARCH] were not consumed 07:47:14 Successfully built f0f12ac455fd 07:47:14 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:47:14 provisioning config files... 07:47:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/43@tmp/config1520171695913643852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:15 ---> docker-login.sh 07:47:15 nexus3.edgexfoundry.org:10001 07:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:15 Configure a credential helper to remove this warning. See 07:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:15 07:47:15 Login Succeeded 07:47:15 nexus3.edgexfoundry.org:10002 07:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:16 Configure a credential helper to remove this warning. See 07:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:16 07:47:16 Login Succeeded 07:47:16 nexus3.edgexfoundry.org:10003 07:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:16 Configure a credential helper to remove this warning. See 07:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:16 07:47:16 Login Succeeded 07:47:16 nexus3.edgexfoundry.org:10004 07:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:16 Configure a credential helper to remove this warning. See 07:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:16 07:47:16 Login Succeeded 07:47:16 docker.io 07:47:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:17 Configure a credential helper to remove this warning. See 07:47:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:17 07:47:17 Login Succeeded 07:47:17 ---> docker-login.sh ends [Pipeline] } 07:47:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:47:18 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 07:47:18 dd55ff443bd180714a9cddb6bbe47fafb89756c5 07:47:18 latest 07:47:18 1.3.2-dev.4 07:47:18 dd55ff443bd180714a9cddb6bbe47fafb89756c5-1.3.2-dev.4 07:47:18 master 07:47:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:47:18 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:dd55ff443bd180714a9cddb6bbe47fafb89756c5 [Pipeline] isUnix [Pipeline] sh 07:47:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:dd55ff443bd180714a9cddb6bbe47fafb89756c5 07:47:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:47:18 d633ba40bba5: Preparing 07:47:18 1c9e7df97560: Preparing 07:47:18 88ddd9dfb19e: Preparing 07:47:18 e08058ee1dfe: Preparing 07:47:19 1c9e7df97560: Pushed 07:47:19 d633ba40bba5: Pushed 07:47:20 e08058ee1dfe: Pushed 07:47:22 88ddd9dfb19e: Pushed 07:47:22 dd55ff443bd180714a9cddb6bbe47fafb89756c5: digest: sha256:1a01f0cade3249adfa7cd4a6dab50fc715723d4f795557f29462ff79571cb974 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:47:22 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:47:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 07:47:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:47:23 d633ba40bba5: Preparing 07:47:23 1c9e7df97560: Preparing 07:47:23 88ddd9dfb19e: Preparing 07:47:23 e08058ee1dfe: Preparing 07:47:23 1c9e7df97560: Layer already exists 07:47:23 88ddd9dfb19e: Layer already exists 07:47:23 d633ba40bba5: Layer already exists 07:47:23 e08058ee1dfe: Layer already exists 07:47:23 latest: digest: sha256:1a01f0cade3249adfa7cd4a6dab50fc715723d4f795557f29462ff79571cb974 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:47:23 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.4 [Pipeline] isUnix [Pipeline] sh 07:47:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.4 07:47:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:47:23 d633ba40bba5: Preparing 07:47:23 1c9e7df97560: Preparing 07:47:23 88ddd9dfb19e: Preparing 07:47:23 e08058ee1dfe: Preparing 07:47:23 d633ba40bba5: Layer already exists 07:47:23 1c9e7df97560: Layer already exists 07:47:23 e08058ee1dfe: Layer already exists 07:47:23 88ddd9dfb19e: Layer already exists 07:47:24 1.3.2-dev.4: digest: sha256:1a01f0cade3249adfa7cd4a6dab50fc715723d4f795557f29462ff79571cb974 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:47:24 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:dd55ff443bd180714a9cddb6bbe47fafb89756c5-1.3.2-dev.4 [Pipeline] isUnix [Pipeline] sh 07:47:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:dd55ff443bd180714a9cddb6bbe47fafb89756c5-1.3.2-dev.4 07:47:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:47:24 d633ba40bba5: Preparing 07:47:24 1c9e7df97560: Preparing 07:47:24 88ddd9dfb19e: Preparing 07:47:24 e08058ee1dfe: Preparing 07:47:25 e08058ee1dfe: Layer already exists 07:47:25 88ddd9dfb19e: Layer already exists 07:47:25 1c9e7df97560: Layer already exists 07:47:25 d633ba40bba5: Layer already exists 07:47:25 dd55ff443bd180714a9cddb6bbe47fafb89756c5-1.3.2-dev.4: digest: sha256:1a01f0cade3249adfa7cd4a6dab50fc715723d4f795557f29462ff79571cb974 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:47:25 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 07:47:25 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 07:47:25 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:47:25 d633ba40bba5: Preparing 07:47:25 1c9e7df97560: Preparing 07:47:25 88ddd9dfb19e: Preparing 07:47:25 e08058ee1dfe: Preparing 07:47:25 88ddd9dfb19e: Layer already exists 07:47:25 d633ba40bba5: Layer already exists 07:47:25 1c9e7df97560: Layer already exists 07:47:25 e08058ee1dfe: Layer already exists 07:47:26 master: digest: sha256:1a01f0cade3249adfa7cd4a6dab50fc715723d4f795557f29462ff79571cb974 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:47:26 ===================================================== [Pipeline] echo 07:47:26 taggedImages: 07:47:26 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:dd55ff443bd180714a9cddb6bbe47fafb89756c5 07:47:26 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 07:47:26 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.4 07:47:26 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:dd55ff443bd180714a9cddb6bbe47fafb89756c5-1.3.2-dev.4 07:47:26 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 07:47:27 ---> job-cost.sh 07:47:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-m5kr 07:48:05 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:49:42 lf-activate-venv(): INFO: Adding /tmp/venv-m5kr/bin to PATH 07:49:42 INFO: No Stack... 07:49:42 INFO: Retrieving Pricing Info for: lf-standard-4 07:49:42 INFO: Archiving Costs [Pipeline] sh 07:49:43 + cat /w/workspace/device-virtual-go/43/archives/cost.csv 07:49:43 + cut -d, -f6 [Pipeline] lock 07:49:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-43-stack-cost] 07:49:43 Resource [jenkins-edgexfoundry-device-virtual-go-master-43-stack-cost] did not exist. Created. 07:49:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:49:43 /w/workspace/device-virtual-go/43@tmp/durable-565d740c/script.sh: 1: /w/workspace/device-virtual-go/43@tmp/durable-565d740c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:49:44 + echo total: 0.20999999344348907 [Pipeline] stash 07:49:44 Warning: overwriting stash ‘stack-cost’ 07:49:44 Stashed 1 file(s) [Pipeline] } 07:49:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-43-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 07:49:45 provisioning config files... 07:49:45 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2781156343636140974tmp [Pipeline] { [Pipeline] sh 07:49:46 + set +x 07:49:46 + curl -s https://codecov.io/bash 07:49:46 + bash -s -- 07:49:46 07:49:46 _____ _ 07:49:46 / ____| | | 07:49:46 | | ___ __| | ___ ___ _____ __ 07:49:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:49:46 | |___| (_) | (_| | __/ (_| (_) \ V / 07:49:46 \_____\___/ \__,_|\___|\___\___/ \_/ 07:49:46 Bash-20210309-2b87ace 07:49:46 07:49:46 07:49:46 ==> git version 2.24.3 found 07:49:47 ==> 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 07:49:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:49:47 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:49:47 ==> Jenkins CI detected. 07:49:47 project root: . 07:49:47 --> token set from env 07:49:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:49:47 ==> Running gcov in . (disable via -X gcov) 07:49:47 ==> Python coveragepy not found 07:49:47 ==> Searching for coverage reports in: 07:49:47 + . 07:49:47 -> Found 1 reports 07:49:47 ==> Detecting git/mercurial file structure 07:49:47 ==> Reading reports 07:49:47 + ./coverage.out bytes=47247 07:49:47 ==> Appending adjustments 07:49:47 https://docs.codecov.io/docs/fixing-reports 07:49:47 + Found adjustments 07:49:47 ==> Gzipping contents 07:49:47 8.0K /tmp/codecov.VteHxZ.gz 07:49:47 ==> Uploading reports 07:49:47 url: https://codecov.io 07:49:47 query: branch=master&commit=dd55ff443bd180714a9cddb6bbe47fafb89756c5&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:49:47 -> Pinging Codecov 07:49:47 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=dd55ff443bd180714a9cddb6bbe47fafb89756c5&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:49:47 -> Uploading to 07:49:47 https://storage.googleapis.com/codecov/v4/raw/2021-04-01/5E52B4B073DB2E39498172D8E973AA87/dd55ff443bd180714a9cddb6bbe47fafb89756c5/381e778b-cbde-4204-95a3-7951f7ae7bad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210401T074947Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c86fdfc2bec0df49bdeb6fff3322d4c8d77a8a17368cd6e5dc40b94fabc38572 07:49:47 % Total % Received % Xferd Average Speed Time Time Time Current 07:49:47 Dload Upload Total Spent Left Speed 07:49:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5749 0 0 100 5749 0 10098 --:--:-- --:--:-- --:--:-- 10103 100 5749 0 0 100 5749 0 10092 --:--:-- --:--:-- --:--:-- 10085 07:49:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/dd55ff443bd180714a9cddb6bbe47fafb89756c5 [Pipeline] } 07:49:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:49:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:49:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:49:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:49:50 07:49:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 07:49:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:49:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:49:51 188c0c94c7c5: Pulling fs layer 07:49:51 0ef7d3d256c8: Pulling fs layer 07:49:51 de9db76c5a1d: Pulling fs layer 07:49:51 0eba1c9be4d2: Pulling fs layer 07:49:51 0d57e429df01: Pulling fs layer 07:49:51 4e4be7b47b0d: Pulling fs layer 07:49:51 e1f770b5df2f: Pulling fs layer 07:49:51 85a0685a4137: Pulling fs layer 07:49:51 0eba1c9be4d2: Waiting 07:49:51 0d57e429df01: Waiting 07:49:51 4e4be7b47b0d: Waiting 07:49:51 e1f770b5df2f: Waiting 07:49:51 85a0685a4137: Waiting 07:49:51 de9db76c5a1d: Verifying Checksum 07:49:51 de9db76c5a1d: Download complete 07:49:51 0ef7d3d256c8: Verifying Checksum 07:49:51 0ef7d3d256c8: Download complete 07:49:51 0d57e429df01: Verifying Checksum 07:49:51 0d57e429df01: Download complete 07:49:52 4e4be7b47b0d: Verifying Checksum 07:49:52 4e4be7b47b0d: Download complete 07:49:52 188c0c94c7c5: Download complete 07:49:53 188c0c94c7c5: Pull complete 07:49:54 0ef7d3d256c8: Pull complete 07:49:55 e1f770b5df2f: Verifying Checksum 07:49:55 e1f770b5df2f: Download complete 07:49:55 de9db76c5a1d: Pull complete 07:50:06 0eba1c9be4d2: Verifying Checksum 07:50:06 0eba1c9be4d2: Download complete 07:50:06 85a0685a4137: Verifying Checksum 07:50:06 85a0685a4137: Download complete 07:50:19 0eba1c9be4d2: Pull complete 07:50:20 0d57e429df01: Pull complete 07:50:20 4e4be7b47b0d: Pull complete 07:50:23 e1f770b5df2f: Pull complete 07:50:42 85a0685a4137: Pull complete 07:50:42 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 07:50:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:50:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 07:50:43 prd-centos7-docker-4c-2g-32438 does not seem to be running inside a container 07:50:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:50:46 $ docker top 2592daab04971b924924f4f56ca815bd6994f6c2f5a2a36a43f11ec8663847f3 -eo pid,comm [Pipeline] { [Pipeline] echo 07:50:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 07:50:48 + set -o pipefail 07:50:48 + snyk monitor '--org=edgex-jenkins' 07:51:10 07:51:10 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 07:51:10 07:51:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/3c833818-e70c-4610-bc75-5ed0365d01c7 07:51:10 07:51:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:51:10 07:51:10 07:51:10 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 07:51:10 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:51:10 $ docker stop --time=1 2592daab04971b924924f4f56ca815bd6994f6c2f5a2a36a43f11ec8663847f3 07:51:13 $ docker rm -f 2592daab04971b924924f4f56ca815bd6994f6c2f5a2a36a43f11ec8663847f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:51:16 + git log --format=format:%s -1 dd55ff443bd180714a9cddb6bbe47fafb89756c5 [Pipeline] isUnix [Pipeline] sh 07:51:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:51:17 . [Pipeline] withDockerContainer 07:51:18 prd-centos7-docker-4c-2g-32438 does not seem to be running inside a container 07:51:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:51:20 $ docker top 3c0b6e8cd3a67b9b042b0c682a6061b2c3abc09aa2dd1a0b98ca52a815feafb4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:51:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:51:21 [ssh-agent] Looking for ssh-agent implementation... 07:51:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:51:21 $ docker exec 3c0b6e8cd3a67b9b042b0c682a6061b2c3abc09aa2dd1a0b98ca52a815feafb4 ssh-agent 07:51:22 SSH_AUTH_SOCK=/tmp/ssh-cYL40mhsHlCR/agent.11 07:51:22 SSH_AGENT_PID=17 07:51:22 Running ssh-add (command line suppressed) 07:51:23 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5690439631641636542.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5690439631641636542.key) 07:51:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:51:24 + git semver tag 07:51:25 # -> Open(): unable to determine branch for HEAD 07:51:25 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:51:25 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:51:25 # $SEMVER_REMOTE_NAME = origin 07:51:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:51:25 # $SEMVER_USER_NAME = edgex-jenkins 07:51:25 # $SEMVER_BRANCH = master 07:51:25 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 07:51:25 # dd55ff443bd180714a9cddb6bbe47fafb89756c5 HEAD 07:51:25 # -> Force: false 07:51:25 # 269b21f6905a8ad10a484c8af1412a89e4de61cd refs/tags/v1.3.2-dev.4 [Pipeline] } 07:51:25 $ docker exec --env ******** --env ******** 3c0b6e8cd3a67b9b042b0c682a6061b2c3abc09aa2dd1a0b98ca52a815feafb4 ssh-agent -k 07:51:25 unset SSH_AUTH_SOCK; 07:51:25 unset SSH_AGENT_PID; 07:51:25 echo Agent pid 17 killed; 07:51:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:51:26 + git semver [Pipeline] } 07:51:26 $ docker stop --time=1 3c0b6e8cd3a67b9b042b0c682a6061b2c3abc09aa2dd1a0b98ca52a815feafb4 07:51:28 $ docker rm -f 3c0b6e8cd3a67b9b042b0c682a6061b2c3abc09aa2dd1a0b98ca52a815feafb4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:51:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:51:29 07:51:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:51:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:51:30 0.23.1-centos7: Pulling from edgex-lftools 07:51:30 ab5ef0e58194: Pulling fs layer 07:51:30 9712f1f96733: Pulling fs layer 07:51:30 63f879dbbcfc: Pulling fs layer 07:51:30 0d9ebad4ef96: Pulling fs layer 07:51:30 e9a5061849ea: Pulling fs layer 07:51:30 d747dcd14b5f: Pulling fs layer 07:51:30 0d9ebad4ef96: Waiting 07:51:30 d747dcd14b5f: Waiting 07:51:30 2de7ff778b66: Pulling fs layer 07:51:30 e9a5061849ea: Waiting 07:51:30 2de7ff778b66: Waiting 07:51:31 9712f1f96733: Verifying Checksum 07:51:31 9712f1f96733: Download complete 07:51:36 63f879dbbcfc: Verifying Checksum 07:51:36 63f879dbbcfc: Download complete 07:51:37 e9a5061849ea: Verifying Checksum 07:51:37 e9a5061849ea: Download complete 07:51:37 d747dcd14b5f: Download complete 07:51:40 2de7ff778b66: Verifying Checksum 07:51:40 2de7ff778b66: Download complete 07:51:40 0d9ebad4ef96: Verifying Checksum 07:51:40 0d9ebad4ef96: Download complete 07:51:41 ab5ef0e58194: Verifying Checksum 07:51:41 ab5ef0e58194: Download complete 07:51:53 ab5ef0e58194: Pull complete 07:51:53 9712f1f96733: Pull complete 07:51:57 63f879dbbcfc: Pull complete 07:52:18 0d9ebad4ef96: Pull complete 07:52:18 e9a5061849ea: Pull complete 07:52:18 d747dcd14b5f: Pull complete 07:52:20 2de7ff778b66: Pull complete 07:52:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:52:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:52:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:52:21 prd-centos7-docker-4c-2g-32438 does not seem to be running inside a container 07:52:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:52:26 $ docker top fd32075e203bc3a380414e3a56fdfacebad65983a9cc40d5b64b25432e23fcb1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:52:27 provisioning config files... 07:52:27 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6961129030549902308tmp 07:52:27 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config9156429498584305381tmp 07:52:27 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6581868443565907923tmp [Pipeline] { [Pipeline] echo 07:52:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:52:28 ---> sigul-configuration.sh 07:52:28 gpg: directory `/root/.gnupg' created 07:52:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:52:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:52:28 gpg: keyring `/root/.gnupg/secring.gpg' created 07:52:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:52:28 gpg: CAST5 encrypted data 07:52:29 gpg: encrypted with 1 passphrase 07:52:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:52:30 + mkdir /home/jenkins 07:52:30 + mkdir /home/jenkins/sigul [Pipeline] sh 07:52:31 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:52:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:52:32 ---> sigul-install.sh 07:52:45 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 07:52:47 + git tag --list 07:52:47 v1.0.0 07:52:47 v1.1.0 07:52:47 v1.1.1 07:52:47 v1.2.1 07:52:47 v1.2.2 07:52:47 v1.2.3 07:52:47 v1.3.0 07:52:47 v1.3.1 07:52:47 v1.3.1-dev.1 07:52:47 v1.3.1-dev.2 07:52:47 v1.3.1-dev.3 07:52:47 v1.3.1-dev.4 07:52:47 v1.3.1-dev.5 07:52:47 v1.3.2-dev.1 07:52:47 v1.3.2-dev.2 07:52:47 v1.3.2-dev.3 07:52:47 v1.3.2-dev.4 [Pipeline] sh 07:52:48 + lftools sign git-tag v1.3.2-dev.4 07:52:51 Signing Git tag with Sigul... 07:52:51 Signing v1.3.2-dev.4 [Pipeline] echo 07:52:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:52:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:52:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:52:53 $ docker stop --time=1 fd32075e203bc3a380414e3a56fdfacebad65983a9cc40d5b64b25432e23fcb1 07:52:56 $ docker rm -f fd32075e203bc3a380414e3a56fdfacebad65983a9cc40d5b64b25432e23fcb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 07:52:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:52:59 . [Pipeline] withDockerContainer 07:53:00 prd-centos7-docker-4c-2g-32438 does not seem to be running inside a container 07:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:53:02 $ docker top 6e346a84db5a15335ece0780e84711265ab008e2c5d3afbba64af1c9b586b1c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:53:03 [ssh-agent] Looking for ssh-agent implementation... 07:53:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:53:03 $ docker exec 6e346a84db5a15335ece0780e84711265ab008e2c5d3afbba64af1c9b586b1c7 ssh-agent 07:53:04 SSH_AUTH_SOCK=/tmp/ssh-P3M9y2dBBCS6/agent.11 07:53:04 SSH_AGENT_PID=16 07:53:04 Running ssh-add (command line suppressed) 07:53:05 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2021734372034418167.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2021734372034418167.key) 07:53:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:53:07 + git semver bump pre 07:53:07 # -> Open(): unable to determine branch for HEAD 07:53:07 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:53:07 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:53:07 # $SEMVER_REMOTE_NAME = origin 07:53:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:53:07 # $SEMVER_USER_NAME = edgex-jenkins 07:53:07 # $SEMVER_BRANCH = master 07:53:07 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 07:53:07 1.3.2-dev.5 [Pipeline] } 07:53:07 $ docker exec --env ******** --env ******** 6e346a84db5a15335ece0780e84711265ab008e2c5d3afbba64af1c9b586b1c7 ssh-agent -k 07:53:08 unset SSH_AUTH_SOCK; 07:53:08 unset SSH_AGENT_PID; 07:53:08 echo Agent pid 16 killed; 07:53:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:53:12 + git semver [Pipeline] } 07:53:12 $ docker stop --time=1 6e346a84db5a15335ece0780e84711265ab008e2c5d3afbba64af1c9b586b1c7 07:53:14 $ docker rm -f 6e346a84db5a15335ece0780e84711265ab008e2c5d3afbba64af1c9b586b1c7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:53:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:53:15 . [Pipeline] withDockerContainer 07:53:16 prd-centos7-docker-4c-2g-32438 does not seem to be running inside a container 07:53:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:53:19 $ docker top 56fb5a7b160303b71d0d19d084e35aab0a3aedb0d602f06ebece86a7ad550aff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:53:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:53:20 [ssh-agent] Looking for ssh-agent implementation... 07:53:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:53:21 $ docker exec 56fb5a7b160303b71d0d19d084e35aab0a3aedb0d602f06ebece86a7ad550aff ssh-agent 07:53:23 SSH_AUTH_SOCK=/tmp/ssh-ojzk9O68G2Vj/agent.12 07:53:23 SSH_AGENT_PID=17 07:53:23 Running ssh-add (command line suppressed) 07:53:23 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6717762456101621014.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6717762456101621014.key) 07:53:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:53:25 + git semver push 07:53:25 # -> Open(): unable to determine branch for HEAD 07:53:25 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:53:25 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:53:25 # $SEMVER_REMOTE_NAME = origin 07:53:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:53:25 # $SEMVER_USER_NAME = edgex-jenkins 07:53:25 # $SEMVER_BRANCH = master 07:53:25 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 07:53:29 $ docker exec --env ******** --env ******** 56fb5a7b160303b71d0d19d084e35aab0a3aedb0d602f06ebece86a7ad550aff ssh-agent -k 07:53:30 unset SSH_AUTH_SOCK; 07:53:30 unset SSH_AGENT_PID; 07:53:30 echo Agent pid 17 killed; 07:53:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:53:31 + git semver [Pipeline] } 07:53:31 $ docker stop --time=1 56fb5a7b160303b71d0d19d084e35aab0a3aedb0d602f06ebece86a7ad550aff 07:53:33 $ docker rm -f 56fb5a7b160303b71d0d19d084e35aab0a3aedb0d602f06ebece86a7ad550aff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 07:53:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:53:36 ---> package-listing.sh 07:53:36 ++ facter osfamily 07:53:36 ++ tr '[:upper:]' '[:lower:]' 07:53:36 + OS_FAMILY=redhat 07:53:36 + workspace=/w/workspace/foundry_device-virtual-go_master 07:53:36 + START_PACKAGES=/tmp/packages_start.txt 07:53:36 + END_PACKAGES=/tmp/packages_end.txt 07:53:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:53:36 + PACKAGES=/tmp/packages_start.txt 07:53:36 + '[' /w/workspace/foundry_device-virtual-go_master ']' 07:53:36 + PACKAGES=/tmp/packages_end.txt 07:53:36 + case "${OS_FAMILY}" in 07:53:36 + rpm -qa 07:53:36 + sort 07:53:43 + '[' -f /tmp/packages_start.txt ']' 07:53:43 + '[' -f /tmp/packages_end.txt ']' 07:53:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:53:43 + '[' /w/workspace/foundry_device-virtual-go_master ']' 07:53:43 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 07:53:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 07:53:43 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:53:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:53:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:53:44 07:53:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:53:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:53:45 alpine: Pulling from edgex-lftools-log-publisher 07:53:45 df20fa9351a1: Pulling fs layer 07:53:45 36b3adc4ff6f: Pulling fs layer 07:53:45 8ad3a11d3b57: Pulling fs layer 07:53:45 46f8f816bc3b: Pulling fs layer 07:53:45 93b61091891f: Pulling fs layer 07:53:45 93b9cdb0e59b: Pulling fs layer 07:53:45 5e14af77c1be: Pulling fs layer 07:53:45 01666e4c0597: Pulling fs layer 07:53:45 aa168da1d23b: Pulling fs layer 07:53:45 46f8f816bc3b: Waiting 07:53:45 93b61091891f: Waiting 07:53:45 93b9cdb0e59b: Waiting 07:53:45 5e14af77c1be: Waiting 07:53:45 01666e4c0597: Waiting 07:53:45 aa168da1d23b: Waiting 07:53:45 36b3adc4ff6f: Verifying Checksum 07:53:45 36b3adc4ff6f: Download complete 07:53:45 46f8f816bc3b: Verifying Checksum 07:53:45 46f8f816bc3b: Download complete 07:53:46 93b61091891f: Verifying Checksum 07:53:46 93b61091891f: Download complete 07:53:46 93b9cdb0e59b: Verifying Checksum 07:53:46 93b9cdb0e59b: Download complete 07:53:46 df20fa9351a1: Verifying Checksum 07:53:46 df20fa9351a1: Download complete 07:53:46 5e14af77c1be: Verifying Checksum 07:53:46 5e14af77c1be: Download complete 07:53:46 01666e4c0597: Verifying Checksum 07:53:46 01666e4c0597: Download complete 07:53:47 df20fa9351a1: Pull complete 07:53:47 8ad3a11d3b57: Verifying Checksum 07:53:47 8ad3a11d3b57: Download complete 07:53:48 36b3adc4ff6f: Pull complete 07:53:51 8ad3a11d3b57: Pull complete 07:53:52 46f8f816bc3b: Pull complete 07:53:54 93b61091891f: Pull complete 07:53:54 93b9cdb0e59b: Pull complete 07:53:54 5e14af77c1be: Pull complete 07:53:54 01666e4c0597: Pull complete 07:53:55 aa168da1d23b: Verifying Checksum 07:53:55 aa168da1d23b: Download complete 07:54:17 aa168da1d23b: Pull complete 07:54:17 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:54:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:54:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:54:18 prd-centos7-docker-4c-2g-32438 does not seem to be running inside a container 07:54:18 $ 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_master/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_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:54:21 $ docker top 34d455b61c10e26e4a9aa015df2a06617c5f141405a3961b657b55df4d622f4e -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:23 + touch /tmp/pre-build-complete [Pipeline] sh 07:54:24 + mkdir -p /var/log/sa [Pipeline] sh 07:54:24 + ls /var/log/sa-host 07:54:24 + sadf -c /var/log/sa-host/sa01 07:54:24 file_magic: OK 07:54:24 HZ: Using current value: 100 07:54:24 file_header: OK 07:54:24 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 07:54:24 Statistics: 07:54:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:54:24 File successfully converted to sysstat format version 12.2.1 07:54:24 + sadf -c /var/log/sa-host/sa23 07:54:24 file_magic: OK 07:54:24 HZ: Using current value: 100 07:54:24 file_header: OK 07:54:24 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 07:54:24 Statistics: 07:54:24 Hnuu...uuuununununu... 07:54:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:54:25 provisioning config files... 07:54:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1300234435807603686tmp [Pipeline] { [Pipeline] echo 07:54:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:54:26 ---> create-netrc.sh [Pipeline] } 07:54:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:54:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:54:27 ---> python-tools-install.sh [Pipeline] echo 07:54:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:54:28 ---> sudo-logs.sh 07:54:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:54:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:54:29 ---> job-cost.sh 07:54:29 lf-activate-venv: SKIPPING 07:54:29 DEBUG: total: 0.20999999344348907 07:54:29 INFO: Retrieving Stack Cost... 07:54:30 INFO: Retrieving Pricing Info for: v1-standard-2 07:54:31 INFO: Archiving Costs [Pipeline] echo 07:54:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:54:32 ---> logs-deploy.sh 07:54:32 lf-activate-venv: SKIPPING 07:54:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/43 07:54:32 INFO: archiving workspace using pattern(s): 07:54:35 Archives upload complete. 07:54:35 INFO: archiving logs to Nexus