Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-30527 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 > 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 Checking out Revision bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec (master) > git config core.sparsecheckout # timeout=10 > git checkout -f bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 Commit message: "Merge pull request #170 from hahattan/bump-sdk" > git rev-list --no-walk aba50ff9d9c9c071c178df07c7cde9b31b9fbd7f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:20:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:20:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:20:29 ========================================================= 09:20:29 EdgeX Global Pipelines Version Info 09:20:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:20:31 ------------------- 09:20:31 stable info: 09:20:31 ------------------- 09:20:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:20:31 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 09:20:31 Message: update stable to v1.0.184 09:20:32 ------------------- 09:20:32 experimental info: 09:20:32 ------------------- 09:20:32 Commited By: **** collab-it+edgex@linuxfoundation.org 09:20:32 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:20:32 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:20:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:20:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:20:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:20:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:20:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:20:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:20:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 09:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:20:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:20:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:20:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:20:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:20:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:20:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:20:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:20:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:20:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:20:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:20:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:20:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:20:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:20:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 09:20:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 09:20:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 09:20:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] echo 09:20:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bfe8b6d [Pipeline] echo 09:20:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:20:35 provisioning config files... 09:20:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2738667070706996607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:36 ---> docker-login.sh 09:20:36 nexus3.edgexfoundry.org:10001 09:20:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:36 Configure a credential helper to remove this warning. See 09:20:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:36 09:20:36 Login Succeeded 09:20:36 nexus3.edgexfoundry.org:10002 09:20:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:36 Configure a credential helper to remove this warning. See 09:20:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:36 09:20:36 Login Succeeded 09:20:36 nexus3.edgexfoundry.org:10003 09:20:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:37 Configure a credential helper to remove this warning. See 09:20:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:37 09:20:37 Login Succeeded 09:20:37 nexus3.edgexfoundry.org:10004 09:20:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:37 Configure a credential helper to remove this warning. See 09:20:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:37 09:20:37 Login Succeeded 09:20:37 docker.io 09:20:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:37 Configure a credential helper to remove this warning. See 09:20:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:37 09:20:37 Login Succeeded 09:20:37 ---> docker-login.sh ends [Pipeline] } 09:20:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:38 + git log --format=format:%s -1 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] echo 09:20:38 GIT_COMMIT: bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec, Commit Message: Merge pull request #170 from hahattan/bump-sdk [Pipeline] echo 09:20:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:20:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:39 09:20:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:20:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:40 latest: Pulling from edgex-devops/git-semver 09:20:40 31603596830f: Pulling fs layer 09:20:40 2a8b12db71e7: Pulling fs layer 09:20:40 6ca5941a6612: Pulling fs layer 09:20:40 ecc8261a40a4: Pulling fs layer 09:20:40 ecc8261a40a4: Waiting 09:20:40 2a8b12db71e7: Verifying Checksum 09:20:40 2a8b12db71e7: Download complete 09:20:40 31603596830f: Verifying Checksum 09:20:40 31603596830f: Download complete 09:20:40 ecc8261a40a4: Verifying Checksum 09:20:40 ecc8261a40a4: Download complete 09:20:40 6ca5941a6612: Verifying Checksum 09:20:40 6ca5941a6612: Download complete 09:20:40 31603596830f: Pull complete 09:20:40 2a8b12db71e7: Pull complete 09:20:41 6ca5941a6612: Pull complete 09:20:41 ecc8261a40a4: Pull complete 09:20:41 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:20:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:20:41 prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container 09:20:42 $ 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 09:20:44 $ docker top be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:20:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:44 [ssh-agent] Looking for ssh-agent implementation... 09:20:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:44 $ docker exec be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a ssh-agent 09:20:44 SSH_AUTH_SOCK=/tmp/ssh-GkXOgPcqTzZA/agent.13 09:20:44 SSH_AGENT_PID=18 09:20:44 Running ssh-add (command line suppressed) 09:20:45 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_157207095564357216.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_157207095564357216.key) 09:20:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:45 + git tag --points-at HEAD [Pipeline] } 09:20:45 $ docker exec --env ******** --env ******** be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a ssh-agent -k 09:20:45 unset SSH_AUTH_SOCK; 09:20:45 unset SSH_AGENT_PID; 09:20:45 echo Agent pid 18 killed; 09:20:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:20:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:45 [ssh-agent] Looking for ssh-agent implementation... 09:20:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:45 $ docker exec be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a ssh-agent 09:20:46 SSH_AUTH_SOCK=/tmp/ssh-OB0XLBQQnGTB/agent.47 09:20:46 SSH_AGENT_PID=52 09:20:46 Running ssh-add (command line suppressed) 09:20:46 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_890854668843229289.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_890854668843229289.key) 09:20:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:46 + git semver init 09:20:46 # -> Open(): unable to determine branch for HEAD 09:20:46 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 09:20:46 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 09:20:46 # $SEMVER_REMOTE_NAME = origin 09:20:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:20:46 # $SEMVER_USER_NAME = edgex-jenkins 09:20:46 # $SEMVER_BRANCH = master 09:20:46 # $SEMVER_TEMP = /tmp/semver-881892885 09:20:46 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 09:20:46 # '/tmp/semver-881892885' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 09:20:46 # -> Force: false 09:20:46 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 09:20:46 $ docker exec --env ******** --env ******** be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a ssh-agent -k 09:20:47 unset SSH_AUTH_SOCK; 09:20:47 unset SSH_AGENT_PID; 09:20:47 echo Agent pid 52 killed; 09:20:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:20:47 + git semver [Pipeline] } 09:20:47 $ docker stop --time=1 be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a 09:20:48 $ docker rm -f be3ded3817823b29ee5e6821ac538c0b995aab4aac000a463807f2f8f36b9b6a [Pipeline] // withDockerContainer [Pipeline] sh 09:20:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:20:49 Stashed 1 file(s) [Pipeline] echo 09:20:49 [edgeXSemver]: initialized semver on version 1.3.2-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:21:05 Still waiting to schedule task 09:21:05 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30527’ 09:21:05 Still waiting to schedule task 09:21:05 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:22:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30528 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 09:22:50 Running in /w/workspace/device-virtual-go/42 [Pipeline] { [Pipeline] checkout 09:22:55 using credential edgex-jenkins-ssh 09:22:55 Cloning the remote Git repository 09:22:55 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:22:55 > git init /w/workspace/device-virtual-go/42 # timeout=10 09:22:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:22:56 > git --version # timeout=10 09:22:56 > git --version # 'git version 2.17.1' 09:22:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:22:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:22:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:22:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:22:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:22:57 Checking out Revision bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec (master) 09:22:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:22:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:22:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 09:22:57 > git config core.sparsecheckout # timeout=10 09:22:57 > git checkout -f bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 09:23:01 Commit message: "Merge pull request #170 from hahattan/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:03 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:23:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:23:04 + true 09:23:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:23:07 provisioning config files... 09:23:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/42@tmp/config3103286955441399286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:07 ---> docker-login.sh 09:23:07 nexus3.edgexfoundry.org:10001 09:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:08 Configure a credential helper to remove this warning. See 09:23:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:08 09:23:08 Login Succeeded 09:23:08 nexus3.edgexfoundry.org:10002 09:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:09 Configure a credential helper to remove this warning. See 09:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:09 09:23:09 Login Succeeded 09:23:09 nexus3.edgexfoundry.org:10003 09:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:10 Configure a credential helper to remove this warning. See 09:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:10 09:23:10 Login Succeeded 09:23:10 nexus3.edgexfoundry.org:10004 09:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:10 Configure a credential helper to remove this warning. See 09:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:10 09:23:10 Login Succeeded 09:23:10 docker.io 09:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:11 Configure a credential helper to remove this warning. See 09:23:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:11 09:23:11 Login Succeeded 09:23:11 ---> docker-login.sh ends [Pipeline] } 09:23:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:23:11 ========================================================= 09:23:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:23:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:23:12 + 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 . 09:23:12 Sending build context to Docker daemon 474.6kB 09:23:12 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:23:12 Step 2/8 : FROM ${BASE} 09:23:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:23:12 5f621e34cdf4: Pulling fs layer 09:23:12 a4357932f1b6: Pulling fs layer 09:23:12 18c013af1878: Pulling fs layer 09:23:12 00ac8860ef70: Pulling fs layer 09:23:12 63d7cb157983: Pulling fs layer 09:23:12 b116817d02f9: Pulling fs layer 09:23:12 745a02a5169b: Pulling fs layer 09:23:12 00ac8860ef70: Waiting 09:23:12 63d7cb157983: Waiting 09:23:12 b116817d02f9: Waiting 09:23:12 745a02a5169b: Waiting 09:23:12 18c013af1878: Verifying Checksum 09:23:12 18c013af1878: Download complete 09:23:12 a4357932f1b6: Download complete 09:23:12 63d7cb157983: Download complete 09:23:12 b116817d02f9: Download complete 09:23:12 5f621e34cdf4: Download complete 09:23:13 5f621e34cdf4: Pull complete 09:23:13 a4357932f1b6: Pull complete 09:23:14 18c013af1878: Pull complete 09:23:15 745a02a5169b: Verifying Checksum 09:23:15 745a02a5169b: Download complete 09:23:16 00ac8860ef70: Verifying Checksum 09:23:16 00ac8860ef70: Download complete 09:23:21 Running on prd-centos7-docker-4c-2g-30529 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 09:23:21 Running in /w/workspace/device-virtual-go/42 [Pipeline] { [Pipeline] checkout 09:23:23 using credential edgex-jenkins-ssh 09:23:23 Cloning the remote Git repository 09:23:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:23:24 > git init /w/workspace/device-virtual-go/42 # timeout=10 09:23:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:23:24 > git --version # timeout=10 09:23:24 > git --version # 'git version 2.24.3' 09:23:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:23:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:23:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:23:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:23:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:23:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 09:23:25 Checking out Revision bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec (master) 09:23:25 > git config core.sparsecheckout # timeout=10 09:23:25 > git checkout -f bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 09:23:27 00ac8860ef70: Pull complete 09:23:27 63d7cb157983: Pull complete 09:23:27 b116817d02f9: Pull complete 09:23:28 Commit message: "Merge pull request #170 from hahattan/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:29 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:23:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:23:30 + sudo service docker restart 09:23:30 + true 09:23:30 Redirecting to /bin/systemctl restart docker.service 09:23:31 745a02a5169b: Pull complete 09:23:31 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:23:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:23:31 ---> b7e6874047d6 09:23:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:23:31 provisioning config files... 09:23:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/42@tmp/config3622244159805472338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:31 ---> docker-login.sh 09:23:31 nexus3.edgexfoundry.org:10001 09:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:32 Configure a credential helper to remove this warning. See 09:23:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:32 09:23:32 Login Succeeded 09:23:32 nexus3.edgexfoundry.org:10002 09:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:32 Configure a credential helper to remove this warning. See 09:23:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:32 09:23:32 Login Succeeded 09:23:32 nexus3.edgexfoundry.org:10003 09:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:32 Configure a credential helper to remove this warning. See 09:23:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:32 09:23:32 Login Succeeded 09:23:32 nexus3.edgexfoundry.org:10004 09:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:32 Configure a credential helper to remove this warning. See 09:23:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:32 09:23:32 Login Succeeded 09:23:32 docker.io 09:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:33 Configure a credential helper to remove this warning. See 09:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:33 09:23:33 Login Succeeded 09:23:33 ---> docker-login.sh ends [Pipeline] } 09:23:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:23:33 ========================================================= 09:23:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:23:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:23:34 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 09:23:34 Sending build context to Docker daemon 475.6kB 09:23:34 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:23:34 Step 2/8 : FROM ${BASE} 09:23:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:23:34 188c0c94c7c5: Pulling fs layer 09:23:34 0ef7d3d256c8: Pulling fs layer 09:23:34 de9db76c5a1d: Pulling fs layer 09:23:34 bca2f99d35d6: Pulling fs layer 09:23:34 93359f2a8cfa: Pulling fs layer 09:23:34 7c6f9722023f: Pulling fs layer 09:23:34 a35cf1a2eb13: Pulling fs layer 09:23:34 93359f2a8cfa: Waiting 09:23:34 7c6f9722023f: Waiting 09:23:34 a35cf1a2eb13: Waiting 09:23:34 bca2f99d35d6: Waiting 09:23:34 ---> Running in 9cbd84d7a8b7 09:23:34 de9db76c5a1d: Verifying Checksum 09:23:34 de9db76c5a1d: Download complete 09:23:34 0ef7d3d256c8: Verifying Checksum 09:23:34 0ef7d3d256c8: Download complete 09:23:34 93359f2a8cfa: Verifying Checksum 09:23:34 93359f2a8cfa: Download complete 09:23:34 188c0c94c7c5: Verifying Checksum 09:23:34 188c0c94c7c5: Download complete 09:23:34 7c6f9722023f: Verifying Checksum 09:23:34 7c6f9722023f: Download complete 09:23:34 Removing intermediate container 9cbd84d7a8b7 09:23:34 ---> 8492b3bf488b 09:23:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:23:34 ---> Running in 9fa443ea04c6 09:23:34 188c0c94c7c5: Pull complete 09:23:34 0ef7d3d256c8: Pull complete 09:23:34 de9db76c5a1d: Pull complete 09:23:36 a35cf1a2eb13: Verifying Checksum 09:23:36 a35cf1a2eb13: Download complete 09:23:36 bca2f99d35d6: Verifying Checksum 09:23:36 bca2f99d35d6: Download complete 09:23:37 Removing intermediate container 9fa443ea04c6 09:23:37 ---> a490604b83ee 09:23:37 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:23:37 ---> Running in 3487d67aedc6 09:23:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:23:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:23:39 (1/14) Installing libmagic (5.38-r0) 09:23:39 (2/14) Installing file (5.38-r0) 09:23:39 (3/14) Installing libc-dev (0.7.2-r3) 09:23:39 (4/14) Installing g++ (9.3.0-r2) 09:23:42 bca2f99d35d6: Pull complete 09:23:42 93359f2a8cfa: Pull complete 09:23:42 7c6f9722023f: Pull complete 09:23:43 (5/14) Installing fortify-headers (1.1-r0) 09:23:43 (6/14) Installing patch (2.7.6-r6) 09:23:43 (7/14) Installing build-base (0.5-r2) 09:23:43 (8/14) Installing openssh-keygen (8.3_p1-r1) 09:23:43 (9/14) Installing libedit (20191231.3.1-r0) 09:23:43 (10/14) Installing openssh-client (8.3_p1-r1) 09:23:43 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 09:23:43 (12/14) Installing openssh-server-common (8.3_p1-r1) 09:23:43 (13/14) Installing openssh-server (8.3_p1-r1) 09:23:43 (14/14) Installing openssh (8.3_p1-r1) 09:23:43 Executing busybox-1.31.1-r19.trigger 09:23:43 OK: 221 MiB in 53 packages 09:23:48 Removing intermediate container 3487d67aedc6 09:23:48 ---> 8b6bda9b8b87 09:23:48 Step 6/8 : WORKDIR /device-virtual-go 09:23:48 ---> Running in 43f473c771f1 09:23:48 Removing intermediate container 43f473c771f1 09:23:48 ---> 55f8858059ad 09:23:48 Step 7/8 : COPY . . 09:23:49 a35cf1a2eb13: Pull complete 09:23:49 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:23:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:23:49 ---> a62c8e92a672 09:23:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:23:49 ---> Running in 8a5e2460af02 09:23:49 Removing intermediate container 8a5e2460af02 09:23:49 ---> f8b7e872556e 09:23:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:23:49 ---> Running in 417eedfce6d2 09:23:49 ---> 28bff2e9e1a3 09:23:49 Step 8/8 : RUN go mod download 09:23:49 ---> Running in d5988cbdc234 09:23:50 Removing intermediate container 417eedfce6d2 09:23:50 ---> 7d7eafe0a9c6 09:23:50 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:23:50 ---> Running in 5db472b69baf 09:23:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:23:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:23:52 (1/14) Installing libmagic (5.38-r0) 09:23:52 (2/14) Installing file (5.38-r0) 09:23:52 (3/14) Installing libc-dev (0.7.2-r3) 09:23:52 (4/14) Installing g++ (9.3.0-r2) 09:24:05 (5/14) Installing fortify-headers (1.1-r0) 09:24:05 (6/14) Installing patch (2.7.6-r6) 09:24:05 (7/14) Installing build-base (0.5-r2) 09:24:05 (8/14) Installing openssh-keygen (8.3_p1-r1) 09:24:05 (9/14) Installing libedit (20191231.3.1-r0) 09:24:05 (10/14) Installing openssh-client (8.3_p1-r1) 09:24:05 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 09:24:05 (12/14) Installing openssh-server-common (8.3_p1-r1) 09:24:05 (13/14) Installing openssh-server (8.3_p1-r1) 09:24:06 (14/14) Installing openssh (8.3_p1-r1) 09:24:06 Executing busybox-1.31.1-r19.trigger 09:24:06 OK: 237 MiB in 53 packages 09:24:08 Removing intermediate container 5db472b69baf 09:24:08 ---> b979de7597b1 09:24:08 Step 6/8 : WORKDIR /device-virtual-go 09:24:09 ---> Running in 38af2f94c6d1 09:24:09 Removing intermediate container 38af2f94c6d1 09:24:09 ---> e84fd0bb1994 09:24:09 Step 7/8 : COPY . . 09:24:10 ---> 41351ecaa0f2 09:24:10 Step 8/8 : RUN go mod download 09:24:10 ---> Running in 60d8cdf77da2 09:24:16 Removing intermediate container d5988cbdc234 09:24:16 ---> bed47d12bfdb 09:24:16 Successfully built bed47d12bfdb 09:24:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:24:16 + docker inspect -f . ci-base-image-arm64 09:24:16 . [Pipeline] withDockerContainer 09:24:17 prd-ubuntu18.04-docker-arm64-4c-16g-30528 does not seem to be running inside a container 09:24:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/42 -v /w/workspace/device-virtual-go/42:/w/workspace/device-virtual-go/42:rw,z -v /w/workspace/device-virtual-go/42@tmp:/w/workspace/device-virtual-go/42@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 ******** ci-base-image-arm64 cat 09:24:18 $ docker top 5fc8faaf58d2d88e0dadfa01dfa28700a990b025163a80242dc4da90359baa6c -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:19 + go version 09:24:19 go version go1.15.5 linux/arm64 [Pipeline] } 09:24:19 $ docker stop --time=1 5fc8faaf58d2d88e0dadfa01dfa28700a990b025163a80242dc4da90359baa6c 09:24:21 $ docker rm -f 5fc8faaf58d2d88e0dadfa01dfa28700a990b025163a80242dc4da90359baa6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:24:22 + docker inspect -f . ci-base-image-arm64 09:24:22 . [Pipeline] withDockerContainer 09:24:22 prd-ubuntu18.04-docker-arm64-4c-16g-30528 does not seem to be running inside a container 09:24:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/42 -v /w/workspace/device-virtual-go/42:/w/workspace/device-virtual-go/42:rw,z -v /w/workspace/device-virtual-go/42@tmp:/w/workspace/device-virtual-go/42@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 ******** ci-base-image-arm64 cat 09:24:24 $ docker top 82f534363d48026b92d71ef29f93b6b4faefa01b03f535a46826593a2d42db4b -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:25 + make test 09:24:25 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:24:26 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:24:32 Removing intermediate container 60d8cdf77da2 09:24:32 ---> 59e2f45b7624 09:24:32 Successfully built 59e2f45b7624 09:24:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:24:32 + docker inspect -f . ci-base-image-x86_64 09:24:32 . [Pipeline] withDockerContainer 09:24:32 prd-centos7-docker-4c-2g-30529 does not seem to be running inside a container 09:24:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/42 -v /w/workspace/device-virtual-go/42:/w/workspace/device-virtual-go/42:rw,z -v /w/workspace/device-virtual-go/42@tmp:/w/workspace/device-virtual-go/42@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 09:24:33 $ docker top eef0a5474bfd8cdf7c0a8ff7f0486485eb1a2f323fb18124170dff4b6fd5ec39 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:34 + go version 09:24:34 go version go1.15.5 linux/amd64 [Pipeline] } 09:24:34 $ docker stop --time=1 eef0a5474bfd8cdf7c0a8ff7f0486485eb1a2f323fb18124170dff4b6fd5ec39 09:24:35 $ docker rm -f eef0a5474bfd8cdf7c0a8ff7f0486485eb1a2f323fb18124170dff4b6fd5ec39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:24:36 + docker inspect -f . ci-base-image-x86_64 09:24:36 . [Pipeline] withDockerContainer 09:24:36 prd-centos7-docker-4c-2g-30529 does not seem to be running inside a container 09:24:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/42 -v /w/workspace/device-virtual-go/42:/w/workspace/device-virtual-go/42:rw,z -v /w/workspace/device-virtual-go/42@tmp:/w/workspace/device-virtual-go/42@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 09:24:37 $ docker top b1dd15f3f8bcd99ead3588e4f81e87582344bdd0e70f1755af9eb77bd5b079fa -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:37 + make test 09:24:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:24:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:24:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:24:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.339s coverage: 63.8% of statements 09:24:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:24:58 gofmt -l . 09:24:58 [ "`gofmt -l .`" = "" ] 09:24:58 ./bin/test-attribution-txt.sh 09:24:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:24:59 $ docker stop --time=1 b1dd15f3f8bcd99ead3588e4f81e87582344bdd0e70f1755af9eb77bd5b079fa 09:25:01 $ docker rm -f b1dd15f3f8bcd99ead3588e4f81e87582344bdd0e70f1755af9eb77bd5b079fa [Pipeline] // withDockerContainer [Pipeline] sh 09:25:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:25:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:25:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:25:05 + ls -al . 09:25:05 total 128 09:25:05 drwxrwxr-x. 7 jenkins jenkins 4096 Mar 19 09:24 . 09:25:05 drwxrwxr-x. 4 jenkins jenkins 30 Mar 19 09:23 .. 09:25:05 -rw-rw-r--. 1 jenkins jenkins 7136 Mar 19 09:23 Attribution.txt 09:25:05 drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 09:23 bin 09:25:05 drwxrwxr-x. 3 jenkins jenkins 32 Mar 19 09:23 cmd 09:25:05 -rw-r--r--. 1 jenkins jenkins 47247 Mar 19 09:24 coverage.out 09:25:05 -rw-rw-r--. 1 jenkins jenkins 1851 Mar 19 09:23 Dockerfile 09:25:05 -rw-rw-r--. 1 jenkins jenkins 961 Mar 19 09:23 Dockerfile.build 09:25:05 drwxrwxr-x. 8 jenkins jenkins 162 Mar 19 09:23 .git 09:25:05 drwxrwxr-x. 2 jenkins jenkins 103 Mar 19 09:23 .github 09:25:05 -rw-rw-r--. 1 jenkins jenkins 258 Mar 19 09:23 .gitignore 09:25:05 -rw-r--r--. 1 jenkins jenkins 809 Mar 19 09:24 go.mod 09:25:05 -rw-r--r--. 1 jenkins jenkins 20118 Mar 19 09:24 go.sum 09:25:05 drwxrwxr-x. 3 jenkins jenkins 20 Mar 19 09:23 internal 09:25:05 -rw-rw-r--. 1 jenkins jenkins 660 Mar 19 09:23 Jenkinsfile 09:25:05 -rw-rw-r--. 1 jenkins jenkins 11340 Mar 19 09:23 LICENSE 09:25:05 -rw-rw-r--. 1 jenkins jenkins 873 Mar 19 09:23 Makefile 09:25:05 -rw-rw-r--. 1 jenkins jenkins 918 Mar 19 09:23 README.md 09:25:05 -rw-rw-r--. 1 jenkins jenkins 11 Mar 19 09:20 VERSION 09:25:05 -rw-rw-r--. 1 jenkins jenkins 235 Mar 19 09:23 version.go [Pipeline] isUnix [Pipeline] sh 09:25:06 + 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=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec --label arch=amd64 --label version=1.3.2-dev.3 . 09:25:06 Sending build context to Docker daemon 544.8kB 09:25:06 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 09:25:06 Step 2/22 : FROM ${BASE} AS builder 09:25:06 ---> 59e2f45b7624 09:25:06 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:25:06 ---> Running in aea816dacd21 09:25:06 Removing intermediate container aea816dacd21 09:25:06 ---> 15abc493eddf 09:25:06 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:25:06 ---> Running in 979350bf2d2e 09:25:06 Removing intermediate container 979350bf2d2e 09:25:06 ---> bd8fa92fc478 09:25:06 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 09:25:06 ---> Running in b34d604d7252 09:25:07 Removing intermediate container b34d604d7252 09:25:07 ---> d5d3d0514436 09:25:07 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:07 ---> Running in 44aab8e1c813 09:25:08 Removing intermediate container 44aab8e1c813 09:25:08 ---> 6651f5094098 09:25:08 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:08 ---> Running in 22007ee6b4d9 09:25:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:25:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:25:09 OK: 237 MiB in 53 packages 09:25:10 Removing intermediate container 22007ee6b4d9 09:25:10 ---> 19fe1d5f5870 09:25:10 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 09:25:10 ---> Running in 287597871f2d 09:25:10 Removing intermediate container 287597871f2d 09:25:10 ---> a6b2f906f5ff 09:25:10 Step 9/22 : COPY . . 09:25:11 ---> a34d3e318296 09:25:11 Step 10/22 : ARG MAKE='make build' 09:25:11 ---> Running in d3d9f4d4f4b2 09:25:11 Removing intermediate container d3d9f4d4f4b2 09:25:11 ---> 43d5f2ad7f05 09:25:11 Step 11/22 : RUN $MAKE 09:25:11 ---> Running in bd5ca116da09 09:25:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.3" -o cmd/device-virtual ./cmd 09:25:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:25:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.427s coverage: 63.8% of statements 09:25:13 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:25:20 gofmt -l . 09:25:20 [ "`gofmt -l .`" = "" ] 09:25:20 ./bin/test-attribution-txt.sh 09:25:21 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:25:21 $ docker stop --time=1 82f534363d48026b92d71ef29f93b6b4faefa01b03f535a46826593a2d42db4b 09:25:24 $ docker rm -f 82f534363d48026b92d71ef29f93b6b4faefa01b03f535a46826593a2d42db4b 09:25:24 CGO_ENABLED=0 GO111MODULE=on go build ./... [Pipeline] // withDockerContainer [Pipeline] sh 09:25:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:25:25 Warning: overwriting stash ‘coverage-report’ 09:25:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:25:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:25:27 + ls -al . 09:25:27 total 152 09:25:27 drwxrwxr-x 7 jenkins jenkins 4096 Mar 19 09:25 . 09:25:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 09:22 .. 09:25:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 09:23 .git 09:25:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 09:22 .github 09:25:27 -rw-rw-r-- 1 jenkins jenkins 258 Mar 19 09:22 .gitignore 09:25:27 -rw-rw-r-- 1 jenkins jenkins 7136 Mar 19 09:22 Attribution.txt 09:25:27 -rw-rw-r-- 1 jenkins jenkins 1851 Mar 19 09:22 Dockerfile 09:25:27 -rw-rw-r-- 1 jenkins jenkins 961 Mar 19 09:22 Dockerfile.build 09:25:27 -rw-rw-r-- 1 jenkins jenkins 660 Mar 19 09:22 Jenkinsfile 09:25:27 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 19 09:22 LICENSE 09:25:27 -rw-rw-r-- 1 jenkins jenkins 873 Mar 19 09:22 Makefile 09:25:27 -rw-rw-r-- 1 jenkins jenkins 918 Mar 19 09:22 README.md 09:25:27 -rw-rw-r-- 1 jenkins jenkins 11 Mar 19 09:20 VERSION 09:25:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 09:22 bin 09:25:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 09:22 cmd 09:25:27 -rw-r--r-- 1 jenkins jenkins 47247 Mar 19 09:25 coverage.out 09:25:27 -rw-r--r-- 1 jenkins jenkins 809 Mar 19 09:25 go.mod 09:25:27 -rw-r--r-- 1 jenkins jenkins 20118 Mar 19 09:25 go.sum 09:25:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 19 09:22 internal 09:25:27 -rw-rw-r-- 1 jenkins jenkins 235 Mar 19 09:22 version.go [Pipeline] isUnix [Pipeline] sh 09:25:27 + 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=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec --label arch=arm64 --label version=1.3.2-dev.3 . 09:25:27 Sending build context to Docker daemon 543.7kB 09:25:27 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 09:25:27 Step 2/22 : FROM ${BASE} AS builder 09:25:27 ---> bed47d12bfdb 09:25:27 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:25:28 ---> Running in 0b8931d371bd 09:25:28 Removing intermediate container 0b8931d371bd 09:25:28 ---> 250c454e9900 09:25:28 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:25:28 ---> Running in d8d3bd80c64a 09:25:28 Removing intermediate container bd5ca116da09 09:25:28 ---> 3d895ef6a177 09:25:28 Step 12/22 : FROM alpine:3.12 09:25:28 3.12: Pulling from library/alpine 09:25:29 f84cab65f19f: Pulling fs layer 09:25:29 f84cab65f19f: Download complete 09:25:29 f84cab65f19f: Pull complete 09:25:29 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 09:25:29 Status: Downloaded newer image for alpine:3.12 09:25:29 ---> 88dd2752d2ea 09:25:29 Step 13/22 : ENV APP_PORT=49990 09:25:29 Removing intermediate container d8d3bd80c64a 09:25:29 ---> d836ee548e59 09:25:29 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 09:25:29 ---> Running in deebbb2d6c53 09:25:29 ---> Running in e49248e53c71 09:25:29 Removing intermediate container e49248e53c71 09:25:29 ---> d221822f1db3 09:25:29 Step 14/22 : EXPOSE $APP_PORT 09:25:29 ---> Running in 84a67400fe9e 09:25:29 Removing intermediate container 84a67400fe9e 09:25:29 ---> 688ede2c76d8 09:25:29 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 09:25:29 Removing intermediate container deebbb2d6c53 09:25:29 ---> 1ceb565e21e2 09:25:29 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:29 ---> Running in bc33c05d20e5 09:25:30 ---> 0d5fd5541b1e 09:25:30 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 09:25:30 ---> 71ad75924dcc 09:25:30 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 09:25:30 ---> 6cc095d8f718 09:25:30 Step 18/22 : ENTRYPOINT ["/device-virtual"] 09:25:30 ---> Running in fcc08d007928 09:25:31 Removing intermediate container fcc08d007928 09:25:31 ---> 0b5eaeb7f918 09:25:31 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:25:31 ---> Running in 45386f8e57d3 09:25:31 Removing intermediate container 45386f8e57d3 09:25:31 ---> d95461b4863a 09:25:31 Step 20/22 : LABEL arch=amd64 09:25:31 ---> Running in 78b91daafd16 09:25:31 Removing intermediate container 78b91daafd16 09:25:31 ---> 500c8cfc10fe 09:25:31 Step 21/22 : LABEL git_sha=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 09:25:31 ---> Running in d73a06c96cfb 09:25:31 Removing intermediate container bc33c05d20e5 09:25:31 ---> 385c6ae2179b 09:25:31 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:32 Removing intermediate container d73a06c96cfb 09:25:32 ---> a3fd1995a558 09:25:32 Step 22/22 : LABEL version=1.3.2-dev.3 09:25:32 ---> Running in 2544df907a32 09:25:32 ---> Running in 5174a7c54a92 09:25:32 Removing intermediate container 2544df907a32 09:25:32 ---> efa072f46a4e 09:25:32 [Warning] One or more build-args [ARCH] were not consumed 09:25:32 Successfully built efa072f46a4e 09:25:32 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:25:32 provisioning config files... 09:25:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/42@tmp/config5243767371161266770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:33 ---> docker-login.sh 09:25:33 nexus3.edgexfoundry.org:10001 09:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:33 Configure a credential helper to remove this warning. See 09:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:33 09:25:33 Login Succeeded 09:25:33 nexus3.edgexfoundry.org:10002 09:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:33 Configure a credential helper to remove this warning. See 09:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:33 09:25:33 Login Succeeded 09:25:33 nexus3.edgexfoundry.org:10003 09:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:33 Configure a credential helper to remove this warning. See 09:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:33 09:25:33 Login Succeeded 09:25:33 nexus3.edgexfoundry.org:10004 09:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:33 Configure a credential helper to remove this warning. See 09:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:33 09:25:33 Login Succeeded 09:25:33 docker.io 09:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:34 Configure a credential helper to remove this warning. See 09:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:34 09:25:34 Login Succeeded 09:25:34 ---> docker-login.sh ends [Pipeline] } 09:25:34 Deleting 1 temporary files 09:25:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:25:34 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 09:25:34 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 09:25:34 latest 09:25:34 1.3.2-dev.3 09:25:34 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 09:25:34 master 09:25:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:25:34 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] isUnix [Pipeline] sh 09:25:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 09:25:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 09:25:35 0d65ddb4f085: Preparing 09:25:35 97cb3e9025f8: Preparing 09:25:35 b88cc804e438: Preparing 09:25:35 33e8713114f8: Preparing 09:25:35 33e8713114f8: Layer already exists 09:25:35 0d65ddb4f085: Pushed 09:25:35 97cb3e9025f8: Pushed 09:25:35 OK: 221 MiB in 53 packages 09:25:36 Removing intermediate container 5174a7c54a92 09:25:36 ---> 5a96669f54d2 09:25:36 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 09:25:36 ---> Running in 288328fbbc41 09:25:36 b88cc804e438: Pushed 09:25:36 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec: digest: sha256:96c43f12c7229964bb3174304b1a52c6fad010d0488f4a3406ea86e661d86f73 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:25:37 Removing intermediate container 288328fbbc41 09:25:37 ---> dda9d9a653df 09:25:37 Step 9/22 : COPY . . 09:25:37 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 09:25:37 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 09:25:37 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 09:25:37 0d65ddb4f085: Preparing 09:25:37 97cb3e9025f8: Preparing 09:25:37 b88cc804e438: Preparing 09:25:37 33e8713114f8: Preparing 09:25:37 0d65ddb4f085: Layer already exists 09:25:37 b88cc804e438: Layer already exists 09:25:37 33e8713114f8: Layer already exists 09:25:37 97cb3e9025f8: Layer already exists 09:25:37 latest: digest: sha256:96c43f12c7229964bb3174304b1a52c6fad010d0488f4a3406ea86e661d86f73 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:25:37 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh 09:25:38 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.3 09:25:38 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 09:25:38 0d65ddb4f085: Preparing 09:25:38 97cb3e9025f8: Preparing 09:25:38 b88cc804e438: Preparing 09:25:38 33e8713114f8: Preparing 09:25:38 0d65ddb4f085: Layer already exists 09:25:38 b88cc804e438: Layer already exists 09:25:38 33e8713114f8: Layer already exists 09:25:38 97cb3e9025f8: Layer already exists 09:25:38 1.3.2-dev.3: digest: sha256:96c43f12c7229964bb3174304b1a52c6fad010d0488f4a3406ea86e661d86f73 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:25:38 ---> e85e53a66632 09:25:38 Step 10/22 : ARG MAKE='make build' 09:25:38 ---> Running in 157d3876e0b6 09:25:38 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh 09:25:38 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 09:25:38 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 09:25:38 0d65ddb4f085: Preparing 09:25:38 97cb3e9025f8: Preparing 09:25:38 b88cc804e438: Preparing 09:25:38 33e8713114f8: Preparing 09:25:38 33e8713114f8: Layer already exists 09:25:38 b88cc804e438: Layer already exists 09:25:38 97cb3e9025f8: Layer already exists 09:25:38 0d65ddb4f085: Layer already exists 09:25:38 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3: digest: sha256:96c43f12c7229964bb3174304b1a52c6fad010d0488f4a3406ea86e661d86f73 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:25:38 Removing intermediate container 157d3876e0b6 09:25:38 ---> 13c66a1ed221 09:25:38 Step 11/22 : RUN $MAKE 09:25:38 ---> Running in aec5ff1c5276 09:25:39 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 09:25:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 09:25:39 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 09:25:39 0d65ddb4f085: Preparing 09:25:39 97cb3e9025f8: Preparing 09:25:39 b88cc804e438: Preparing 09:25:39 33e8713114f8: Preparing 09:25:39 97cb3e9025f8: Layer already exists 09:25:39 33e8713114f8: Layer already exists 09:25:39 0d65ddb4f085: Layer already exists 09:25:39 b88cc804e438: Layer already exists 09:25:39 master: digest: sha256:96c43f12c7229964bb3174304b1a52c6fad010d0488f4a3406ea86e661d86f73 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:25:39 ===================================================== [Pipeline] echo 09:25:39 taggedImages: 09:25:39 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 09:25:39 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 09:25:39 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.3 09:25:39 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 09:25:39 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [Pipeline] } 09:25:39 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.3" -o cmd/device-virtual ./cmd [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:25:40 ---> job-cost.sh 09:25:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-f8Ws 09:25:55 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:26:12 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:26:22 Removing intermediate container aec5ff1c5276 09:26:22 ---> 9c38db8c3295 09:26:22 Step 12/22 : FROM alpine:3.12 09:26:22 3.12: Pulling from library/alpine 09:26:22 dce8679b510e: Pulling fs layer 09:26:22 dce8679b510e: Verifying Checksum 09:26:22 dce8679b510e: Download complete 09:26:22 dce8679b510e: Pull complete 09:26:22 Digest: sha256:a295107679b0d92cb70145fc18fb53c76e79fceed7e1cf10ed763c7c102c5ebe 09:26:22 Status: Downloaded newer image for alpine:3.12 09:26:22 ---> d10569e2745f 09:26:22 Step 13/22 : ENV APP_PORT=49990 09:26:22 ---> Running in f801a778ad1b 09:26:22 Removing intermediate container f801a778ad1b 09:26:22 ---> f21cfc2f21e9 09:26:22 Step 14/22 : EXPOSE $APP_PORT 09:26:22 ---> Running in da7d61bfe617 09:26:23 Removing intermediate container da7d61bfe617 09:26:23 ---> a9f167bde500 09:26:23 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 09:26:24 ---> ef150963eb9a 09:26:24 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 09:26:25 ---> eaed926456e5 09:26:25 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 09:26:26 ---> b23a93bf31ef 09:26:26 Step 18/22 : ENTRYPOINT ["/device-virtual"] 09:26:26 ---> Running in d833e9dbd194 09:26:26 Removing intermediate container d833e9dbd194 09:26:26 ---> 177dae8e635b 09:26:26 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:26:26 ---> Running in 4112806169a2 09:26:27 Removing intermediate container 4112806169a2 09:26:27 ---> 0bfc4ef824c4 09:26:27 Step 20/22 : LABEL arch=arm64 09:26:27 ---> Running in fef2488c994b 09:26:27 lf-activate-venv(): INFO: Adding /tmp/venv-f8Ws/bin to PATH 09:26:27 INFO: No Stack... 09:26:27 INFO: Retrieving Pricing Info for: v1-standard-2 09:26:27 INFO: Archiving Costs [Pipeline] sh 09:26:27 Removing intermediate container fef2488c994b 09:26:27 ---> 6358042431b1 09:26:27 Step 21/22 : LABEL git_sha=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 09:26:27 ---> Running in ad38396ba3e9 09:26:28 + cat /w/workspace/device-virtual-go/42/archives/cost.csv 09:26:28 + cut -d, -f6 [Pipeline] lock 09:26:28 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] 09:26:28 Resource [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] did not exist. Created. 09:26:28 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:28 Removing intermediate container ad38396ba3e9 09:26:28 ---> cdae2fd4ec6d 09:26:28 Step 22/22 : LABEL version=1.3.2-dev.3 09:26:28 ---> Running in 8e18ef83bf86 09:26:28 + echo total: 0.029999999329447746 [Pipeline] stash 09:26:28 Stashed 1 file(s) [Pipeline] } 09:26:28 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv 09:26:29 Removing intermediate container 8e18ef83bf86 09:26:29 ---> 65591ba97540 09:26:29 [Warning] One or more build-args [ARCH] were not consumed 09:26:29 Successfully built 65591ba97540 09:26:29 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:26:29 provisioning config files... 09:26:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/42@tmp/config7536758039628037181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:30 ---> docker-login.sh 09:26:30 nexus3.edgexfoundry.org:10001 09:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:30 Configure a credential helper to remove this warning. See 09:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:30 09:26:30 Login Succeeded 09:26:30 nexus3.edgexfoundry.org:10002 09:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:31 Configure a credential helper to remove this warning. See 09:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:31 09:26:31 Login Succeeded 09:26:31 nexus3.edgexfoundry.org:10003 09:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:31 Configure a credential helper to remove this warning. See 09:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:31 09:26:31 Login Succeeded 09:26:31 nexus3.edgexfoundry.org:10004 09:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:32 Configure a credential helper to remove this warning. See 09:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:32 09:26:32 Login Succeeded 09:26:32 docker.io 09:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:32 Configure a credential helper to remove this warning. See 09:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:32 09:26:32 Login Succeeded 09:26:32 ---> docker-login.sh ends [Pipeline] } 09:26:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:26:33 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 09:26:33 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 09:26:33 latest 09:26:33 1.3.2-dev.3 09:26:33 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 09:26:33 master 09:26:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:26:33 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] isUnix [Pipeline] sh 09:26:34 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 09:26:34 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 09:26:34 e5f1c12fb544: Preparing 09:26:34 f46e0b462a17: Preparing 09:26:34 ea1d310d70ef: Preparing 09:26:34 02a88cfff88f: Preparing 09:26:34 02a88cfff88f: Layer already exists 09:26:34 f46e0b462a17: Pushed 09:26:34 e5f1c12fb544: Pushed 09:26:37 ea1d310d70ef: Pushed 09:26:37 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec: digest: sha256:1b3a87884ffd83fdaba7ccb2cd278be4958f6c46a057971316bbff748333e3e1 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:26:38 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:26:38 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 09:26:38 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 09:26:38 e5f1c12fb544: Preparing 09:26:38 f46e0b462a17: Preparing 09:26:38 ea1d310d70ef: Preparing 09:26:38 02a88cfff88f: Preparing 09:26:38 02a88cfff88f: Layer already exists 09:26:38 ea1d310d70ef: Layer already exists 09:26:38 f46e0b462a17: Layer already exists 09:26:38 e5f1c12fb544: Layer already exists 09:26:38 latest: digest: sha256:1b3a87884ffd83fdaba7ccb2cd278be4958f6c46a057971316bbff748333e3e1 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:26:39 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh 09:26:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.3 09:26:39 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 09:26:39 e5f1c12fb544: Preparing 09:26:39 f46e0b462a17: Preparing 09:26:39 ea1d310d70ef: Preparing 09:26:39 02a88cfff88f: Preparing 09:26:39 ea1d310d70ef: Layer already exists 09:26:39 e5f1c12fb544: Layer already exists 09:26:39 02a88cfff88f: Layer already exists 09:26:39 f46e0b462a17: Layer already exists 09:26:39 1.3.2-dev.3: digest: sha256:1b3a87884ffd83fdaba7ccb2cd278be4958f6c46a057971316bbff748333e3e1 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:26:40 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh 09:26:40 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 09:26:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 09:26:40 e5f1c12fb544: Preparing 09:26:40 f46e0b462a17: Preparing 09:26:40 ea1d310d70ef: Preparing 09:26:40 02a88cfff88f: Preparing 09:26:40 f46e0b462a17: Layer already exists 09:26:40 02a88cfff88f: Layer already exists 09:26:40 ea1d310d70ef: Layer already exists 09:26:40 e5f1c12fb544: Layer already exists 09:26:40 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3: digest: sha256:1b3a87884ffd83fdaba7ccb2cd278be4958f6c46a057971316bbff748333e3e1 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:26:40 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 09:26:41 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 09:26:41 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 09:26:41 e5f1c12fb544: Preparing 09:26:41 f46e0b462a17: Preparing 09:26:41 ea1d310d70ef: Preparing 09:26:41 02a88cfff88f: Preparing 09:26:41 e5f1c12fb544: Layer already exists 09:26:41 02a88cfff88f: Layer already exists 09:26:41 f46e0b462a17: Layer already exists 09:26:41 ea1d310d70ef: Layer already exists 09:26:41 master: digest: sha256:1b3a87884ffd83fdaba7ccb2cd278be4958f6c46a057971316bbff748333e3e1 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:26:41 ===================================================== [Pipeline] echo 09:26:41 taggedImages: 09:26:41 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec 09:26:41 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 09:26:41 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.3 09:26:41 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec-1.3.2-dev.3 09:26:41 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:26:42 ---> job-cost.sh 09:26:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gP7r 09:27:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:28:43 lf-activate-venv(): INFO: Adding /tmp/venv-gP7r/bin to PATH 09:28:43 INFO: No Stack... 09:28:44 INFO: Retrieving Pricing Info for: lf-standard-4 09:28:44 INFO: Archiving Costs [Pipeline] sh 09:28:44 + cat /w/workspace/device-virtual-go/42/archives/cost.csv 09:28:44 + cut -d, -f6 [Pipeline] lock 09:28:44 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] 09:28:44 Resource [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] did not exist. Created. 09:28:44 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:28:45 /w/workspace/device-virtual-go/42@tmp/durable-5cbeeabf/script.sh: 1: /w/workspace/device-virtual-go/42@tmp/durable-5cbeeabf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:28:45 + echo total: 0.20999999344348907 [Pipeline] stash 09:28:45 Warning: overwriting stash ‘stack-cost’ 09:28:45 Stashed 1 file(s) [Pipeline] } 09:28:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-42-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 09:28:47 provisioning config files... 09:28:47 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1819154384410772967tmp [Pipeline] { [Pipeline] sh 09:28:47 + set +x 09:28:47 + curl -s https://codecov.io/bash 09:28:47 + bash -s -- 09:28:47 09:28:47 _____ _ 09:28:47 / ____| | | 09:28:47 | | ___ __| | ___ ___ _____ __ 09:28:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:28:47 | |___| (_) | (_| | __/ (_| (_) \ V / 09:28:47 \_____\___/ \__,_|\___|\___\___/ \_/ 09:28:47 Bash-20210309-2b87ace 09:28:47 09:28:47 09:28:47 ==> git version 2.24.3 found 09:28: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 09:28:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:28:47 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:28:47 ==> Jenkins CI detected. 09:28:47 project root: . 09:28:47 --> token set from env 09:28:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:28:47 ==> Running gcov in . (disable via -X gcov) 09:28:47 ==> Python coveragepy not found 09:28:47 ==> Searching for coverage reports in: 09:28:47 + . 09:28:47 -> Found 1 reports 09:28:47 ==> Detecting git/mercurial file structure 09:28:47 ==> Reading reports 09:28:47 + ./coverage.out bytes=47247 09:28:47 ==> Appending adjustments 09:28:47 https://docs.codecov.io/docs/fixing-reports 09:28:48 + Found adjustments 09:28:48 ==> Gzipping contents 09:28:48 8.0K /tmp/codecov.78upOW.gz 09:28:48 ==> Uploading reports 09:28:48 url: https://codecov.io 09:28:48 query: branch=master&commit=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:28:48 -> Pinging Codecov 09:28:48 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:28:48 -> Uploading to 09:28:48 https://storage.googleapis.com/codecov/v4/raw/2021-03-19/5E52B4B073DB2E39498172D8E973AA87/bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec/fc5fa46b-6084-4c3d-9ef9-d04b4efcb268.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T092848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=49a15d038a9ab299d3eef3fec9c34431cd2f297c9a4b99c75eae72f0552d5cc2 09:28:48 % Total % Received % Xferd Average Speed Time Time Time Current 09:28:48 Dload Upload Total Spent Left Speed 09:28:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5757 0 0 100 5757 0 11893 --:--:-- --:--:-- --:--:-- 11894 100 5757 0 0 100 5757 0 11889 --:--:-- --:--:-- --:--:-- 11870 09:28:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] } 09:28:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:28:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:28:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:28:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:28:50 09:28:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 09:28:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:28:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:28:50 188c0c94c7c5: Pulling fs layer 09:28:50 0ef7d3d256c8: Pulling fs layer 09:28:50 de9db76c5a1d: Pulling fs layer 09:28:50 0eba1c9be4d2: Pulling fs layer 09:28:50 0d57e429df01: Pulling fs layer 09:28:50 4e4be7b47b0d: Pulling fs layer 09:28:50 e1f770b5df2f: Pulling fs layer 09:28:50 85a0685a4137: Pulling fs layer 09:28:50 4e4be7b47b0d: Waiting 09:28:50 e1f770b5df2f: Waiting 09:28:50 0eba1c9be4d2: Waiting 09:28:50 0d57e429df01: Waiting 09:28:50 85a0685a4137: Waiting 09:28:50 de9db76c5a1d: Verifying Checksum 09:28:50 de9db76c5a1d: Download complete 09:28:50 0ef7d3d256c8: Download complete 09:28:50 0d57e429df01: Verifying Checksum 09:28:50 0d57e429df01: Download complete 09:28:50 188c0c94c7c5: Verifying Checksum 09:28:50 4e4be7b47b0d: Verifying Checksum 09:28:50 4e4be7b47b0d: Download complete 09:28:51 188c0c94c7c5: Pull complete 09:28:51 0ef7d3d256c8: Pull complete 09:28:51 de9db76c5a1d: Pull complete 09:28:52 e1f770b5df2f: Verifying Checksum 09:28:52 e1f770b5df2f: Download complete 09:28:53 0eba1c9be4d2: Download complete 09:28:54 85a0685a4137: Verifying Checksum 09:28:54 85a0685a4137: Download complete 09:28:58 0eba1c9be4d2: Pull complete 09:28:58 0d57e429df01: Pull complete 09:28:59 4e4be7b47b0d: Pull complete 09:29:03 e1f770b5df2f: Pull complete 09:29:09 85a0685a4137: Pull complete 09:29:09 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 09:29:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:29:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 09:29:10 prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container 09:29:10 $ 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 09:29:11 $ docker top 77dbd8226359ac6371686639aea72e3c846e029819a4c381d4094bf5fcebc278 -eo pid,comm [Pipeline] { [Pipeline] echo 09:29:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 09:29:11 + set -o pipefail 09:29:11 + snyk monitor '--org=edgex-jenkins' 09:29:19 09:29:19 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 09:29:19 09:29:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/8261a73e-57b4-416e-b97b-33919d117b46 09:29:19 09:29:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:29:19 09:29:19 [Pipeline] } 09:29:19 $ docker stop --time=1 77dbd8226359ac6371686639aea72e3c846e029819a4c381d4094bf5fcebc278 09:29:22 $ docker rm -f 77dbd8226359ac6371686639aea72e3c846e029819a4c381d4094bf5fcebc278 [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 09:29:24 + git log --format=format:%s -1 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec [Pipeline] isUnix [Pipeline] sh 09:29:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:29:24 . [Pipeline] withDockerContainer 09:29:24 prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container 09:29:24 $ 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 09:29:25 $ docker top 67e4a22033adaeee91ec73d898b8a0b5eb28d51f8883962e697768adbd59565c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:29:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:29:25 [ssh-agent] Looking for ssh-agent implementation... 09:29:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:29:26 $ docker exec 67e4a22033adaeee91ec73d898b8a0b5eb28d51f8883962e697768adbd59565c ssh-agent 09:29:26 SSH_AUTH_SOCK=/tmp/ssh-AlsEs5O7juuo/agent.11 09:29:26 SSH_AGENT_PID=16 09:29:26 Running ssh-add (command line suppressed) 09:29:26 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1155615316988434998.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1155615316988434998.key) 09:29:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:29:26 + git semver tag 09:29:26 # -> Open(): unable to determine branch for HEAD 09:29:26 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 09:29:26 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 09:29:26 # $SEMVER_REMOTE_NAME = origin 09:29:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:29:26 # $SEMVER_USER_NAME = edgex-jenkins 09:29:26 # $SEMVER_BRANCH = master 09:29:26 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 09:29:26 # bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec HEAD 09:29:27 # -> Force: false 09:29:27 # 4e3023585db1a7ce6b8e6644c8b41578f547988d refs/tags/v1.3.2-dev.3 [Pipeline] } 09:29:27 $ docker exec --env ******** --env ******** 67e4a22033adaeee91ec73d898b8a0b5eb28d51f8883962e697768adbd59565c ssh-agent -k 09:29:27 unset SSH_AUTH_SOCK; 09:29:27 unset SSH_AGENT_PID; 09:29:27 echo Agent pid 16 killed; 09:29:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:29:27 + git semver [Pipeline] } 09:29:27 $ docker stop --time=1 67e4a22033adaeee91ec73d898b8a0b5eb28d51f8883962e697768adbd59565c 09:29:29 $ docker rm -f 67e4a22033adaeee91ec73d898b8a0b5eb28d51f8883962e697768adbd59565c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:29:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:29:29 09:29:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:29:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:29:30 0.23.1-centos7: Pulling from edgex-lftools 09:29:30 ab5ef0e58194: Pulling fs layer 09:29:30 9712f1f96733: Pulling fs layer 09:29:30 63f879dbbcfc: Pulling fs layer 09:29:30 0d9ebad4ef96: Pulling fs layer 09:29:30 e9a5061849ea: Pulling fs layer 09:29:30 d747dcd14b5f: Pulling fs layer 09:29:30 2de7ff778b66: Pulling fs layer 09:29:30 0d9ebad4ef96: Waiting 09:29:30 d747dcd14b5f: Waiting 09:29:30 e9a5061849ea: Waiting 09:29:30 2de7ff778b66: Waiting 09:29:30 9712f1f96733: Download complete 09:29:31 63f879dbbcfc: Verifying Checksum 09:29:31 63f879dbbcfc: Download complete 09:29:31 e9a5061849ea: Verifying Checksum 09:29:31 e9a5061849ea: Download complete 09:29:31 d747dcd14b5f: Verifying Checksum 09:29:31 d747dcd14b5f: Download complete 09:29:32 2de7ff778b66: Verifying Checksum 09:29:32 2de7ff778b66: Download complete 09:29:32 ab5ef0e58194: Verifying Checksum 09:29:32 ab5ef0e58194: Download complete 09:29:32 0d9ebad4ef96: Verifying Checksum 09:29:32 0d9ebad4ef96: Download complete 09:29:36 ab5ef0e58194: Pull complete 09:29:37 9712f1f96733: Pull complete 09:29:40 63f879dbbcfc: Pull complete 09:29:47 0d9ebad4ef96: Pull complete 09:29:48 e9a5061849ea: Pull complete 09:29:48 d747dcd14b5f: Pull complete 09:29:50 2de7ff778b66: Pull complete 09:29:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:29:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:29:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:29:51 prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container 09:29:51 $ 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 09:29:55 $ docker top ca587dab7e3a2bf5113189236a7129b1c1f31a630a63a1f49741dcda5acd2c5f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:29:55 provisioning config files... 09:29:55 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7195736027776420781tmp 09:29:55 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3998603053568798940tmp 09:29:55 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7151445368900584317tmp [Pipeline] { [Pipeline] echo 09:29:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:29:55 ---> sigul-configuration.sh 09:29:55 gpg: directory `/root/.gnupg' created 09:29:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:29:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:29:55 gpg: keyring `/root/.gnupg/secring.gpg' created 09:29:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:29:55 gpg: CAST5 encrypted data 09:29:55 gpg: encrypted with 1 passphrase 09:29:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:29:56 + mkdir /home/jenkins 09:29:56 + mkdir /home/jenkins/sigul [Pipeline] sh 09:29:56 + 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 09:29:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:29:56 ---> sigul-install.sh 09:30:03 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 09:30:03 + git tag --list 09:30:03 v1.0.0 09:30:03 v1.1.0 09:30:03 v1.1.1 09:30:03 v1.2.1 09:30:03 v1.2.2 09:30:03 v1.2.3 09:30:03 v1.3.0 09:30:03 v1.3.1 09:30:03 v1.3.1-dev.1 09:30:03 v1.3.1-dev.2 09:30:03 v1.3.1-dev.3 09:30:03 v1.3.1-dev.4 09:30:03 v1.3.1-dev.5 09:30:03 v1.3.2-dev.1 09:30:03 v1.3.2-dev.2 09:30:03 v1.3.2-dev.3 [Pipeline] sh 09:30:04 + lftools sign git-tag v1.3.2-dev.3 09:30:05 Signing Git tag with Sigul... 09:30:05 Signing v1.3.2-dev.3 [Pipeline] echo 09:30:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:30:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:30:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:30:06 $ docker stop --time=1 ca587dab7e3a2bf5113189236a7129b1c1f31a630a63a1f49741dcda5acd2c5f 09:30:09 $ docker rm -f ca587dab7e3a2bf5113189236a7129b1c1f31a630a63a1f49741dcda5acd2c5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 09:30:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:30:09 . [Pipeline] withDockerContainer 09:30:10 prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container 09:30:10 $ 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 09:30:10 $ docker top 95bc07f5f4dbf2f22cfbd8a5ea2be930239a509ad2c5f815c1c8568199671543 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:30:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:11 [ssh-agent] Looking for ssh-agent implementation... 09:30:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:11 $ docker exec 95bc07f5f4dbf2f22cfbd8a5ea2be930239a509ad2c5f815c1c8568199671543 ssh-agent 09:30:11 SSH_AUTH_SOCK=/tmp/ssh-E8rtNAGTXohJ/agent.12 09:30:11 SSH_AGENT_PID=18 09:30:11 Running ssh-add (command line suppressed) 09:30:11 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8595255235357549892.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8595255235357549892.key) 09:30:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:11 + git semver bump pre 09:30:11 # -> Open(): unable to determine branch for HEAD 09:30:11 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 09:30:11 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 09:30:11 # $SEMVER_REMOTE_NAME = origin 09:30:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:30:11 # $SEMVER_USER_NAME = edgex-jenkins 09:30:11 # $SEMVER_BRANCH = master 09:30:11 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 09:30:11 1.3.2-dev.4 [Pipeline] } 09:30:11 $ docker exec --env ******** --env ******** 95bc07f5f4dbf2f22cfbd8a5ea2be930239a509ad2c5f815c1c8568199671543 ssh-agent -k 09:30:12 unset SSH_AUTH_SOCK; 09:30:12 unset SSH_AGENT_PID; 09:30:12 echo Agent pid 18 killed; 09:30:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:30:12 + git semver [Pipeline] } 09:30:12 $ docker stop --time=1 95bc07f5f4dbf2f22cfbd8a5ea2be930239a509ad2c5f815c1c8568199671543 09:30:14 $ docker rm -f 95bc07f5f4dbf2f22cfbd8a5ea2be930239a509ad2c5f815c1c8568199671543 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:30:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:30:14 . [Pipeline] withDockerContainer 09:30:14 prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container 09:30:14 $ 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 09:30:15 $ docker top bc427b83e3fda88d507215806a5d237818574b04ec3eece3d571f9c0520bb06e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:30:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:15 [ssh-agent] Looking for ssh-agent implementation... 09:30:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:15 $ docker exec bc427b83e3fda88d507215806a5d237818574b04ec3eece3d571f9c0520bb06e ssh-agent 09:30:15 SSH_AUTH_SOCK=/tmp/ssh-7TMLEF9BCgT4/agent.13 09:30:15 SSH_AGENT_PID=18 09:30:15 Running ssh-add (command line suppressed) 09:30:16 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4699805362903243122.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4699805362903243122.key) 09:30:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:16 + git semver push 09:30:16 # -> Open(): unable to determine branch for HEAD 09:30:16 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 09:30:16 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 09:30:16 # $SEMVER_REMOTE_NAME = origin 09:30:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:30:16 # $SEMVER_USER_NAME = edgex-jenkins 09:30:16 # $SEMVER_BRANCH = master 09:30:16 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 09:30:19 $ docker exec --env ******** --env ******** bc427b83e3fda88d507215806a5d237818574b04ec3eece3d571f9c0520bb06e ssh-agent -k 09:30:20 unset SSH_AUTH_SOCK; 09:30:20 unset SSH_AGENT_PID; 09:30:20 echo Agent pid 18 killed; 09:30:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:30:20 + git semver [Pipeline] } 09:30:20 $ docker stop --time=1 bc427b83e3fda88d507215806a5d237818574b04ec3eece3d571f9c0520bb06e 09:30:22 $ docker rm -f bc427b83e3fda88d507215806a5d237818574b04ec3eece3d571f9c0520bb06e [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 09:30:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:30:24 ---> package-listing.sh 09:30:24 ++ facter osfamily 09:30:24 ++ tr '[:upper:]' '[:lower:]' 09:30:24 + OS_FAMILY=redhat 09:30:24 + workspace=/w/workspace/foundry_device-virtual-go_master 09:30:24 + START_PACKAGES=/tmp/packages_start.txt 09:30:24 + END_PACKAGES=/tmp/packages_end.txt 09:30:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:30:24 + PACKAGES=/tmp/packages_start.txt 09:30:24 + '[' /w/workspace/foundry_device-virtual-go_master ']' 09:30:24 + PACKAGES=/tmp/packages_end.txt 09:30:24 + case "${OS_FAMILY}" in 09:30:24 + rpm -qa 09:30:24 + sort 09:30:30 + '[' -f /tmp/packages_start.txt ']' 09:30:30 + '[' -f /tmp/packages_end.txt ']' 09:30:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:30:30 + '[' /w/workspace/foundry_device-virtual-go_master ']' 09:30:30 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 09:30:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 09:30:30 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 09:30:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:30:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:30:30 09:30:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:30:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:30:31 alpine: Pulling from edgex-lftools-log-publisher 09:30:31 df20fa9351a1: Pulling fs layer 09:30:31 36b3adc4ff6f: Pulling fs layer 09:30:31 8ad3a11d3b57: Pulling fs layer 09:30:31 46f8f816bc3b: Pulling fs layer 09:30:31 93b61091891f: Pulling fs layer 09:30:31 93b9cdb0e59b: Pulling fs layer 09:30:31 5e14af77c1be: Pulling fs layer 09:30:31 01666e4c0597: Pulling fs layer 09:30:31 aa168da1d23b: Pulling fs layer 09:30:31 01666e4c0597: Waiting 09:30:31 93b9cdb0e59b: Waiting 09:30:31 5e14af77c1be: Waiting 09:30:31 aa168da1d23b: Waiting 09:30:31 46f8f816bc3b: Waiting 09:30:31 93b61091891f: Waiting 09:30:31 36b3adc4ff6f: Download complete 09:30:31 46f8f816bc3b: Verifying Checksum 09:30:31 46f8f816bc3b: Download complete 09:30:31 df20fa9351a1: Verifying Checksum 09:30:31 df20fa9351a1: Download complete 09:30:31 93b9cdb0e59b: Verifying Checksum 09:30:31 93b9cdb0e59b: Download complete 09:30:31 5e14af77c1be: Verifying Checksum 09:30:31 5e14af77c1be: Download complete 09:30:31 93b61091891f: Verifying Checksum 09:30:31 93b61091891f: Download complete 09:30:31 01666e4c0597: Verifying Checksum 09:30:31 01666e4c0597: Download complete 09:30:31 8ad3a11d3b57: Verifying Checksum 09:30:31 8ad3a11d3b57: Download complete 09:30:31 df20fa9351a1: Pull complete 09:30:31 36b3adc4ff6f: Pull complete 09:30:32 8ad3a11d3b57: Pull complete 09:30:33 46f8f816bc3b: Pull complete 09:30:33 aa168da1d23b: Verifying Checksum 09:30:33 aa168da1d23b: Download complete 09:30:34 93b61091891f: Pull complete 09:30:34 93b9cdb0e59b: Pull complete 09:30:34 5e14af77c1be: Pull complete 09:30:34 01666e4c0597: Pull complete 09:30:42 aa168da1d23b: Pull complete 09:30:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:30:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:30:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:30:42 prd-centos7-docker-4c-2g-30527 does not seem to be running inside a container 09:30:42 $ 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 09:30:45 $ docker top 028d2e54b8c28b3ef3bb68646a0aeef5096a1a6e664958f76b5b9dda1305ac32 -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:45 + touch /tmp/pre-build-complete [Pipeline] sh 09:30:46 + mkdir -p /var/log/sa [Pipeline] sh 09:30:46 + ls /var/log/sa-host 09:30:46 + sadf -c /var/log/sa-host/sa19 09:30:46 file_magic: OK 09:30:46 HZ: Using current value: 100 09:30:46 file_header: OK 09:30:46 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:30:46 Statistics: 09:30:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:30:46 File successfully converted to sysstat format version 12.2.1 09:30:46 + sadf -c /var/log/sa-host/sa23 09:30:46 file_magic: OK 09:30:46 HZ: Using current value: 100 09:30:46 file_header: OK 09:30:46 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:30:46 Statistics: 09:30:46 Hnuu...uuuununununu... 09:30:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:30:48 provisioning config files... 09:30:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6002298195119145303tmp [Pipeline] { [Pipeline] echo 09:30:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:30:48 ---> create-netrc.sh [Pipeline] } 09:30:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:30:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:30:49 ---> python-tools-install.sh [Pipeline] echo 09:30:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:30:49 ---> sudo-logs.sh 09:30:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:30:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:30:49 ---> job-cost.sh 09:30:49 lf-activate-venv: SKIPPING 09:30:49 DEBUG: total: 0.20999999344348907 09:30:49 INFO: Retrieving Stack Cost... 09:30:51 INFO: Retrieving Pricing Info for: v1-standard-2 09:30:51 INFO: Archiving Costs [Pipeline] echo 09:30:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:30:51 ---> logs-deploy.sh 09:30:51 lf-activate-venv: SKIPPING 09:30:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/42 09:30:51 INFO: archiving workspace using pattern(s): 09:30:53 Archives upload complete. 09:30:53 INFO: archiving logs to Nexus