Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 14ab43fad92bd248aba56f332b2aaf744f255a41 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19451 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 14ab43fad92bd248aba56f332b2aaf744f255a41 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14ab43fad92bd248aba56f332b2aaf744f255a41 # timeout=10 Commit message: "Merge pull request #165 from weichou1229/issue-164" > git rev-list --no-walk b96cb17a8583da0d3f5cd3a5a2b6bed3e22654ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:22:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:22:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:22:46 ========================================================= 07:22:46 EdgeX Global Pipelines Version Info 07:22:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:22:48 ------------------- 07:22:48 stable info: 07:22:48 ------------------- 07:22:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:22:48 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 07:22:48 Message: update stable to v1.0.173 07:22:49 ------------------- 07:22:49 experimental info: 07:22:49 ------------------- 07:22:49 Commited By: **** collab-it+edgex@linuxfoundation.org 07:22:49 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 07:22:49 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:22:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:22:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:22:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:22:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:22:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:22:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:22:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:22:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:22:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:22:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:22:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:22:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 07:22:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:22:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:22:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:22:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:22:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:22:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:22:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:22:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:22:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:22:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:22:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:22:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:22:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:22:52 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:22:52 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 07:22:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 07:22:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 07:22:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 07:22:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14ab43fad92bd248aba56f332b2aaf744f255a41 [Pipeline] echo 07:22:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14ab43f [Pipeline] echo 07:22:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:22:52 provisioning config files... 07:22:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8528580641035106591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:53 ---> docker-login.sh 07:22:53 nexus3.edgexfoundry.org:10001 07:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:53 Configure a credential helper to remove this warning. See 07:22:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:53 07:22:53 Login Succeeded 07:22:53 nexus3.edgexfoundry.org:10002 07:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:53 Configure a credential helper to remove this warning. See 07:22:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:53 07:22:53 Login Succeeded 07:22:53 nexus3.edgexfoundry.org:10003 07:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:54 Configure a credential helper to remove this warning. See 07:22:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:54 07:22:54 Login Succeeded 07:22:54 nexus3.edgexfoundry.org:10004 07:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:54 Configure a credential helper to remove this warning. See 07:22:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:54 07:22:54 Login Succeeded 07:22:54 docker.io 07:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:54 Configure a credential helper to remove this warning. See 07:22:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:54 07:22:54 Login Succeeded 07:22:54 ---> docker-login.sh ends [Pipeline] } 07:22:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:55 + git log --format=format:%s -1 14ab43fad92bd248aba56f332b2aaf744f255a41 [Pipeline] echo 07:22:55 GIT_COMMIT: 14ab43fad92bd248aba56f332b2aaf744f255a41, Commit Message: Merge pull request #165 from weichou1229/issue-164 [Pipeline] echo 07:22:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:22:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:22:56 07:22:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:22:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:22:56 latest: Pulling from edgex-devops/git-semver 07:22:56 31603596830f: Pulling fs layer 07:22:56 2a8b12db71e7: Pulling fs layer 07:22:56 6ca5941a6612: Pulling fs layer 07:22:56 ecc8261a40a4: Pulling fs layer 07:22:56 ecc8261a40a4: Waiting 07:22:56 2a8b12db71e7: Download complete 07:22:56 31603596830f: Verifying Checksum 07:22:56 31603596830f: Download complete 07:22:56 ecc8261a40a4: Verifying Checksum 07:22:56 ecc8261a40a4: Download complete 07:22:56 6ca5941a6612: Verifying Checksum 07:22:56 6ca5941a6612: Download complete 07:22:57 31603596830f: Pull complete 07:22:57 2a8b12db71e7: Pull complete 07:22:58 6ca5941a6612: Pull complete 07:22:58 ecc8261a40a4: Pull complete 07:22:58 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:22:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:22:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:22:58 prd-centos7-docker-4c-2g-19451 does not seem to be running inside a container 07:22:58 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:23:00 $ docker top 0f4ef1f52356591eb7a37e120b7a86719207f5e93ab607710929d2c59e564bcb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:01 [ssh-agent] Looking for ssh-agent implementation... 07:23:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:01 $ docker exec 0f4ef1f52356591eb7a37e120b7a86719207f5e93ab607710929d2c59e564bcb ssh-agent 07:23:01 SSH_AUTH_SOCK=/tmp/ssh-QpXQZukAacWa/agent.11 07:23:01 SSH_AGENT_PID=16 07:23:01 Running ssh-add (command line suppressed) 07:23:01 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_892929010759014812.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_892929010759014812.key) 07:23:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:02 + git tag --points-at HEAD [Pipeline] } 07:23:02 $ docker exec --env ******** --env ******** 0f4ef1f52356591eb7a37e120b7a86719207f5e93ab607710929d2c59e564bcb ssh-agent -k 07:23:02 unset SSH_AUTH_SOCK; 07:23:02 unset SSH_AGENT_PID; 07:23:02 echo Agent pid 16 killed; 07:23:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:23:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:02 [ssh-agent] Looking for ssh-agent implementation... 07:23:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:02 $ docker exec 0f4ef1f52356591eb7a37e120b7a86719207f5e93ab607710929d2c59e564bcb ssh-agent 07:23:02 SSH_AUTH_SOCK=/tmp/ssh-5UsSTRtFKeGV/agent.46 07:23:02 SSH_AGENT_PID=51 07:23:02 Running ssh-add (command line suppressed) 07:23:02 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5816936189263887948.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5816936189263887948.key) 07:23:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:03 + git semver init 07:23:03 # -> Open(): unable to determine branch for HEAD 07:23:03 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:23:03 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:23:03 # $SEMVER_REMOTE_NAME = origin 07:23:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:23:03 # $SEMVER_USER_NAME = edgex-jenkins 07:23:03 # $SEMVER_BRANCH = master 07:23:03 # $SEMVER_TEMP = /tmp/semver-574382399 07:23:03 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 07:23:04 # '/tmp/semver-574382399' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 07:23:04 # -> Force: false 07:23:04 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 07:23:04 $ docker exec --env ******** --env ******** 0f4ef1f52356591eb7a37e120b7a86719207f5e93ab607710929d2c59e564bcb ssh-agent -k 07:23:04 unset SSH_AUTH_SOCK; 07:23:04 unset SSH_AGENT_PID; 07:23:04 echo Agent pid 51 killed; 07:23:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:04 + git semver [Pipeline] } 07:23:04 $ docker stop --time=1 0f4ef1f52356591eb7a37e120b7a86719207f5e93ab607710929d2c59e564bcb 07:23:06 $ docker rm -f 0f4ef1f52356591eb7a37e120b7a86719207f5e93ab607710929d2c59e564bcb [Pipeline] // withDockerContainer [Pipeline] sh 07:23:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:23:07 Stashed 1 file(s) [Pipeline] echo 07:23:07 [edgeXSemver]: initialized semver on version 1.3.1-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 07:23:22 Still waiting to schedule task 07:23:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:23:22 Still waiting to schedule task 07:23:22 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-19448’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19452’ is offline 07:25:14 Running on prd-centos7-docker-4c-2g-19454 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 07:25:14 Running in /w/workspace/device-virtual-go/37 [Pipeline] { [Pipeline] checkout 07:25:16 using credential edgex-jenkins-ssh 07:25:16 Cloning the remote Git repository 07:25:16 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:25:16 > git init /w/workspace/device-virtual-go/37 # timeout=10 07:25:16 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:25:16 > git --version # timeout=10 07:25:16 > git --version # 'git version 2.24.3' 07:25:16 using GIT_SSH to set credentials SSH Credentials for GitHub 07:25:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:25:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:25:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:25:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:25:17 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:25:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:25:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:25:17 Checking out Revision 14ab43fad92bd248aba56f332b2aaf744f255a41 (master) 07:25:17 > git config core.sparsecheckout # timeout=10 07:25:17 > git checkout -f 14ab43fad92bd248aba56f332b2aaf744f255a41 # timeout=10 07:25:21 Commit message: "Merge pull request #165 from weichou1229/issue-164" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:25:22 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:25:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:25:23 + sudo service docker restart 07:25:23 + true 07:25:23 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:25:24 provisioning config files... 07:25:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/37@tmp/config6068301007576042631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:25 ---> docker-login.sh 07:25:25 nexus3.edgexfoundry.org:10001 07:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:25:25 Configure a credential helper to remove this warning. See 07:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:25:25 07:25:25 Login Succeeded 07:25:25 nexus3.edgexfoundry.org:10002 07:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:25:25 Configure a credential helper to remove this warning. See 07:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:25:25 07:25:25 Login Succeeded 07:25:25 nexus3.edgexfoundry.org:10003 07:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:25:25 Configure a credential helper to remove this warning. See 07:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:25:25 07:25:25 Login Succeeded 07:25:25 nexus3.edgexfoundry.org:10004 07:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:25:26 Configure a credential helper to remove this warning. See 07:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:25:26 07:25:26 Login Succeeded 07:25:26 docker.io 07:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:25:26 Configure a credential helper to remove this warning. See 07:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:25:26 07:25:26 Login Succeeded 07:25:26 ---> docker-login.sh ends [Pipeline] } 07:25:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:25:26 ========================================================= 07:25:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:25:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:25:27 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 07:25:27 Sending build context to Docker daemon 479.2kB 07:25:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:25:27 Step 2/8 : FROM ${BASE} 07:25:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:25:27 188c0c94c7c5: Pulling fs layer 07:25:27 0ef7d3d256c8: Pulling fs layer 07:25:27 de9db76c5a1d: Pulling fs layer 07:25:27 bca2f99d35d6: Pulling fs layer 07:25:27 93359f2a8cfa: Pulling fs layer 07:25:27 7c6f9722023f: Pulling fs layer 07:25:27 a35cf1a2eb13: Pulling fs layer 07:25:27 93359f2a8cfa: Waiting 07:25:27 7c6f9722023f: Waiting 07:25:27 a35cf1a2eb13: Waiting 07:25:27 bca2f99d35d6: Waiting 07:25:27 de9db76c5a1d: Download complete 07:25:27 0ef7d3d256c8: Verifying Checksum 07:25:27 0ef7d3d256c8: Download complete 07:25:27 93359f2a8cfa: Verifying Checksum 07:25:27 93359f2a8cfa: Download complete 07:25:27 188c0c94c7c5: Verifying Checksum 07:25:27 188c0c94c7c5: Download complete 07:25:27 7c6f9722023f: Verifying Checksum 07:25:27 7c6f9722023f: Download complete 07:25:27 188c0c94c7c5: Pull complete 07:25:27 0ef7d3d256c8: Pull complete 07:25:27 de9db76c5a1d: Pull complete 07:25:29 a35cf1a2eb13: Verifying Checksum 07:25:29 a35cf1a2eb13: Download complete 07:25:30 bca2f99d35d6: Verifying Checksum 07:25:30 bca2f99d35d6: Download complete 07:25:35 bca2f99d35d6: Pull complete 07:25:35 93359f2a8cfa: Pull complete 07:25:35 7c6f9722023f: Pull complete 07:25:42 a35cf1a2eb13: Pull complete 07:25:42 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:25:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:25:42 ---> a62c8e92a672 07:25:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:25:42 ---> Running in bab58ef56579 07:25:42 Removing intermediate container bab58ef56579 07:25:42 ---> b5ee6f7400ba 07:25:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:25:42 ---> Running in ea81e09e2202 07:25:43 Removing intermediate container ea81e09e2202 07:25:43 ---> 66608bfeda92 07:25:43 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:25:43 ---> Running in 31222153a38c 07:25:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:25:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:25:44 (1/14) Installing libmagic (5.38-r0) 07:25:45 (2/14) Installing file (5.38-r0) 07:25:45 (3/14) Installing libc-dev (0.7.2-r3) 07:25:45 (4/14) Installing g++ (9.3.0-r2) 07:25:51 (5/14) Installing fortify-headers (1.1-r0) 07:25:51 (6/14) Installing patch (2.7.6-r6) 07:25:51 (7/14) Installing build-base (0.5-r2) 07:25:51 (8/14) Installing openssh-keygen (8.3_p1-r1) 07:25:51 (9/14) Installing libedit (20191231.3.1-r0) 07:25:51 (10/14) Installing openssh-client (8.3_p1-r1) 07:25:51 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 07:25:51 (12/14) Installing openssh-server-common (8.3_p1-r1) 07:25:52 (13/14) Installing openssh-server (8.3_p1-r1) 07:25:52 (14/14) Installing openssh (8.3_p1-r1) 07:25:52 Executing busybox-1.31.1-r19.trigger 07:25:52 OK: 237 MiB in 53 packages 07:25:55 Removing intermediate container 31222153a38c 07:25:55 ---> 514e8b1a985e 07:25:55 Step 6/8 : WORKDIR /device-virtual-go 07:25:56 ---> Running in 2b0e3a37ff33 07:25:56 Removing intermediate container 2b0e3a37ff33 07:25:56 ---> 5a6e0dee77b6 07:25:56 Step 7/8 : COPY . . 07:25:57 ---> 67b3695e606a 07:25:57 Step 8/8 : RUN go mod download 07:25:57 ---> Running in f839821f28c8 07:26:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19455 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 07:26:10 Running in /w/workspace/device-virtual-go/37 [Pipeline] { [Pipeline] checkout 07:26:16 using credential edgex-jenkins-ssh 07:26:16 Cloning the remote Git repository 07:26:16 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:26:16 > git init /w/workspace/device-virtual-go/37 # timeout=10 07:26:16 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:26:16 > git --version # timeout=10 07:26:16 > git --version # 'git version 2.17.1' 07:26:16 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:26:18 Checking out Revision 14ab43fad92bd248aba56f332b2aaf744f255a41 (master) 07:26:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:26:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:26:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:26:17 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:26:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:26:18 > git config core.sparsecheckout # timeout=10 07:26:18 > git checkout -f 14ab43fad92bd248aba56f332b2aaf744f255a41 # timeout=10 07:26:19 Removing intermediate container f839821f28c8 07:26:19 ---> 2d011469fd5d 07:26:19 Successfully built 2d011469fd5d 07:26:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:26:19 + docker inspect -f . ci-base-image-x86_64 07:26:19 . [Pipeline] withDockerContainer 07:26:19 prd-centos7-docker-4c-2g-19454 does not seem to be running inside a container 07:26:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/37 -v /w/workspace/device-virtual-go/37:/w/workspace/device-virtual-go/37:rw,z -v /w/workspace/device-virtual-go/37@tmp:/w/workspace/device-virtual-go/37@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-x86_64 cat 07:26:20 $ docker top 5005fd9ca28c1cd049d9a81c03369caab844c43753e07d97f8179da7075d600f -eo pid,comm [Pipeline] { [Pipeline] sh 07:26:21 + go version 07:26:21 go version go1.15.5 linux/amd64 [Pipeline] } 07:26:21 $ docker stop --time=1 5005fd9ca28c1cd049d9a81c03369caab844c43753e07d97f8179da7075d600f 07:26:22 Commit message: "Merge pull request #165 from weichou1229/issue-164" 07:26:22 $ docker rm -f 5005fd9ca28c1cd049d9a81c03369caab844c43753e07d97f8179da7075d600f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 07:26:23 + docker inspect -f . ci-base-image-x86_64 07:26:23 . [Pipeline] withDockerContainer 07:26:24 prd-centos7-docker-4c-2g-19454 does not seem to be running inside a container 07:26:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/37 -v /w/workspace/device-virtual-go/37:/w/workspace/device-virtual-go/37:rw,z -v /w/workspace/device-virtual-go/37@tmp:/w/workspace/device-virtual-go/37@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-x86_64 cat 07:26:24 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 07:26:24 $ docker top ebbc7eee9b75fe5b73004e740d67945d902cf2eb0a0aac18e30a9568ab841fcf -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 07:26:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:26:25 + make test 07:26:25 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:26:25 + sudo service docker restart 07:26:25 + true 07:26:26 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:26:28 provisioning config files... 07:26:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/37@tmp/config8661776571087701512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:28 ---> docker-login.sh 07:26:28 nexus3.edgexfoundry.org:10001 07:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:30 Configure a credential helper to remove this warning. See 07:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:30 07:26:30 Login Succeeded 07:26:30 nexus3.edgexfoundry.org:10002 07:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:30 Configure a credential helper to remove this warning. See 07:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:30 07:26:30 Login Succeeded 07:26:30 nexus3.edgexfoundry.org:10003 07:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:31 Configure a credential helper to remove this warning. See 07:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:31 07:26:31 Login Succeeded 07:26:31 nexus3.edgexfoundry.org:10004 07:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:31 Configure a credential helper to remove this warning. See 07:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:31 07:26:31 Login Succeeded 07:26:31 docker.io 07:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:32 Configure a credential helper to remove this warning. See 07:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:32 07:26:32 Login Succeeded 07:26:32 ---> docker-login.sh ends [Pipeline] } 07:26:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:26:33 ========================================================= 07:26:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:26:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:26:33 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 07:26:33 Sending build context to Docker daemon 478.2kB 07:26:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:26:33 Step 2/8 : FROM ${BASE} 07:26:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:26:34 5f621e34cdf4: Pulling fs layer 07:26:34 a4357932f1b6: Pulling fs layer 07:26:34 18c013af1878: Pulling fs layer 07:26:34 00ac8860ef70: Pulling fs layer 07:26:34 63d7cb157983: Pulling fs layer 07:26:34 b116817d02f9: Pulling fs layer 07:26:34 745a02a5169b: Pulling fs layer 07:26:34 00ac8860ef70: Waiting 07:26:34 63d7cb157983: Waiting 07:26:34 b116817d02f9: Waiting 07:26:34 745a02a5169b: Waiting 07:26:34 18c013af1878: Verifying Checksum 07:26:34 18c013af1878: Download complete 07:26:34 a4357932f1b6: Download complete 07:26:34 63d7cb157983: Verifying Checksum 07:26:34 63d7cb157983: Download complete 07:26:34 b116817d02f9: Download complete 07:26:34 5f621e34cdf4: Verifying Checksum 07:26:34 5f621e34cdf4: Download complete 07:26:35 5f621e34cdf4: Pull complete 07:26:36 a4357932f1b6: Pull complete 07:26:36 18c013af1878: Pull complete 07:26:37 745a02a5169b: Download complete 07:26:38 00ac8860ef70: Verifying Checksum 07:26:38 00ac8860ef70: Download complete 07:26:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:26:42 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.337s coverage: 64.4% of statements 07:26:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:26:45 gofmt -l . 07:26:45 [ "`gofmt -l .`" = "" ] 07:26:45 ./bin/test-attribution-txt.sh 07:26:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:26:46 $ docker stop --time=1 ebbc7eee9b75fe5b73004e740d67945d902cf2eb0a0aac18e30a9568ab841fcf 07:26:48 $ docker rm -f ebbc7eee9b75fe5b73004e740d67945d902cf2eb0a0aac18e30a9568ab841fcf 07:26:48 00ac8860ef70: Pull complete 07:26:48 63d7cb157983: Pull complete 07:26:48 b116817d02f9: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh 07:26:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:26:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:26:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:26:50 + ls -al . 07:26:50 total 124 07:26:50 drwxrwxr-x. 7 jenkins jenkins 4096 Jan 11 07:26 . 07:26:50 drwxrwxr-x. 4 jenkins jenkins 30 Jan 11 07:25 .. 07:26:50 -rw-rw-r--. 1 jenkins jenkins 6713 Jan 11 07:25 Attribution.txt 07:26:50 drwxrwxr-x. 2 jenkins jenkins 64 Jan 11 07:25 bin 07:26:50 drwxrwxr-x. 3 jenkins jenkins 32 Jan 11 07:25 cmd 07:26:50 -rw-r--r--. 1 jenkins jenkins 47242 Jan 11 07:26 coverage.out 07:26:50 -rw-rw-r--. 1 jenkins jenkins 1851 Jan 11 07:25 Dockerfile 07:26:50 -rw-rw-r--. 1 jenkins jenkins 961 Jan 11 07:25 Dockerfile.build 07:26:50 drwxrwxr-x. 8 jenkins jenkins 162 Jan 11 07:25 .git 07:26:50 drwxrwxr-x. 2 jenkins jenkins 60 Jan 11 07:25 .github 07:26:50 -rw-rw-r--. 1 jenkins jenkins 258 Jan 11 07:25 .gitignore 07:26:50 -rw-r--r--. 1 jenkins jenkins 856 Jan 11 07:26 go.mod 07:26:50 -rw-r--r--. 1 jenkins jenkins 16346 Jan 11 07:26 go.sum 07:26:50 drwxrwxr-x. 3 jenkins jenkins 20 Jan 11 07:25 internal 07:26:50 -rw-rw-r--. 1 jenkins jenkins 660 Jan 11 07:25 Jenkinsfile 07:26:50 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 11 07:25 LICENSE 07:26:50 -rw-rw-r--. 1 jenkins jenkins 873 Jan 11 07:25 Makefile 07:26:50 -rw-rw-r--. 1 jenkins jenkins 918 Jan 11 07:25 README.md 07:26:50 -rw-rw-r--. 1 jenkins jenkins 11 Jan 11 07:23 VERSION 07:26:50 -rw-rw-r--. 1 jenkins jenkins 235 Jan 11 07:25 version.go [Pipeline] isUnix [Pipeline] sh 07:26:51 + 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=14ab43fad92bd248aba56f332b2aaf744f255a41 --label arch=amd64 --label version=1.3.1-dev.4 . 07:26:51 Sending build context to Docker daemon 544.3kB 07:26:51 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 07:26:51 Step 2/22 : FROM ${BASE} AS builder 07:26:51 ---> 2d011469fd5d 07:26:51 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 07:26:51 ---> Running in ff0991350962 07:26:51 Removing intermediate container ff0991350962 07:26:51 ---> eb20d8f38f7f 07:26:51 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 07:26:51 ---> Running in cc23c33e2654 07:26:51 Removing intermediate container cc23c33e2654 07:26:51 ---> 84ce43f3a6d5 07:26:51 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 07:26:51 ---> Running in a3cf8f2327b2 07:26:52 745a02a5169b: Pull complete 07:26:52 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:26:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:26:52 ---> b7e6874047d6 07:26:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:26:52 Removing intermediate container a3cf8f2327b2 07:26:52 ---> 37b71d7774ca 07:26:52 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:26:52 ---> Running in 39611ebe2b19 07:26:53 Removing intermediate container 39611ebe2b19 07:26:53 ---> 06a62e3f0ba0 07:26:53 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:26:53 ---> Running in a955a28ccb02 07:26:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:26:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:26:54 ---> Running in 67d9252b8def 07:26:54 Removing intermediate container 67d9252b8def 07:26:54 ---> 9265f9425658 07:26:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:26:54 ---> Running in 7f550fcecf3f 07:26:54 OK: 237 MiB in 53 packages 07:26:55 Removing intermediate container a955a28ccb02 07:26:55 ---> b14d57c04f57 07:26:55 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 07:26:55 ---> Running in d635dabeaaf1 07:26:55 Removing intermediate container d635dabeaaf1 07:26:55 ---> 679183f9b26f 07:26:55 Step 9/22 : COPY . . 07:26:56 ---> 0a2da0e2a404 07:26:56 Step 10/22 : ARG MAKE='make build' 07:26:56 ---> Running in 090af2daf7b1 07:26:56 Removing intermediate container 090af2daf7b1 07:26:56 ---> f65debe9a7a6 07:26:56 Step 11/22 : RUN $MAKE 07:26:56 ---> Running in 4672a2070829 07:26:56 Removing intermediate container 7f550fcecf3f 07:26:56 ---> b6a1b3f4a3d2 07:26:56 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:26:56 ---> Running in c0ed1c4fa44a 07:26:57 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.1-dev.4" -o cmd/device-virtual ./cmd 07:26:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:26:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:26:59 (1/14) Installing libmagic (5.38-r0) 07:26:59 (2/14) Installing file (5.38-r0) 07:26:59 (3/14) Installing libc-dev (0.7.2-r3) 07:26:59 (4/14) Installing g++ (9.3.0-r2) 07:27:04 (5/14) Installing fortify-headers (1.1-r0) 07:27:04 (6/14) Installing patch (2.7.6-r6) 07:27:04 (7/14) Installing build-base (0.5-r2) 07:27:04 (8/14) Installing openssh-keygen (8.3_p1-r1) 07:27:04 (9/14) Installing libedit (20191231.3.1-r0) 07:27:04 (10/14) Installing openssh-client (8.3_p1-r1) 07:27:04 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 07:27:04 (12/14) Installing openssh-server-common (8.3_p1-r1) 07:27:04 (13/14) Installing openssh-server (8.3_p1-r1) 07:27:04 (14/14) Installing openssh (8.3_p1-r1) 07:27:04 Executing busybox-1.31.1-r19.trigger 07:27:04 OK: 221 MiB in 53 packages 07:27:09 Removing intermediate container c0ed1c4fa44a 07:27:09 ---> 82919678c582 07:27:09 Step 6/8 : WORKDIR /device-virtual-go 07:27:09 ---> Running in 57e97f802699 07:27:09 Removing intermediate container 57e97f802699 07:27:09 ---> daeedfc2f4a5 07:27:09 Step 7/8 : COPY . . 07:27:09 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:27:10 ---> 8aade83920c3 07:27:10 Step 8/8 : RUN go mod download 07:27:10 ---> Running in 90aefb5a6e52 07:27:12 Removing intermediate container 4672a2070829 07:27:12 ---> 53df3174a4ac 07:27:12 Step 12/22 : FROM alpine:3.12 07:27:12 3.12: Pulling from library/alpine 07:27:12 801bfaa63ef2: Pulling fs layer 07:27:12 801bfaa63ef2: Verifying Checksum 07:27:12 801bfaa63ef2: Download complete 07:27:13 801bfaa63ef2: Pull complete 07:27:13 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 07:27:13 Status: Downloaded newer image for alpine:3.12 07:27:13 ---> 389fef711851 07:27:13 Step 13/22 : ENV APP_PORT=49990 07:27:13 ---> Running in 0cd1a8fb467b 07:27:13 Removing intermediate container 0cd1a8fb467b 07:27:13 ---> 74d8a566c912 07:27:13 Step 14/22 : EXPOSE $APP_PORT 07:27:13 ---> Running in a1462b731000 07:27:13 Removing intermediate container a1462b731000 07:27:13 ---> d6c7f8c5139d 07:27:13 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 07:27:14 ---> d775700b2e00 07:27:14 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 07:27:14 ---> ee5a23d0c579 07:27:14 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 07:27:14 ---> ef800ede5d7d 07:27:14 Step 18/22 : ENTRYPOINT ["/device-virtual"] 07:27:14 ---> Running in 85d5e588c681 07:27:15 Removing intermediate container 85d5e588c681 07:27:15 ---> ca7a1549a2a6 07:27:15 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:27:15 ---> Running in fcb1e0e81c61 07:27:15 Removing intermediate container fcb1e0e81c61 07:27:15 ---> a8b613ac8942 07:27:15 Step 20/22 : LABEL arch=amd64 07:27:15 ---> Running in 6a7e7233b3eb 07:27:15 Removing intermediate container 6a7e7233b3eb 07:27:15 ---> 324763b3f177 07:27:15 Step 21/22 : LABEL git_sha=14ab43fad92bd248aba56f332b2aaf744f255a41 07:27:15 ---> Running in 9a8048bdc72b 07:27:15 Removing intermediate container 9a8048bdc72b 07:27:15 ---> dd19059dd4c1 07:27:15 Step 22/22 : LABEL version=1.3.1-dev.4 07:27:16 ---> Running in b0b8ab1da2b9 07:27:16 Removing intermediate container b0b8ab1da2b9 07:27:16 ---> cdfebd723c0d 07:27:16 [Warning] One or more build-args [ARCH] were not consumed 07:27:16 Successfully built cdfebd723c0d 07:27:16 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:27:16 provisioning config files... 07:27:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/37@tmp/config1000938634256093536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:16 ---> docker-login.sh 07:27:16 nexus3.edgexfoundry.org:10001 07:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:17 Configure a credential helper to remove this warning. See 07:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:17 07:27:17 Login Succeeded 07:27:17 nexus3.edgexfoundry.org:10002 07:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:17 Configure a credential helper to remove this warning. See 07:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:17 07:27:17 Login Succeeded 07:27:17 nexus3.edgexfoundry.org:10003 07:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:17 Configure a credential helper to remove this warning. See 07:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:17 07:27:17 Login Succeeded 07:27:17 nexus3.edgexfoundry.org:10004 07:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:17 Configure a credential helper to remove this warning. See 07:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:17 07:27:17 Login Succeeded 07:27:17 docker.io 07:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:17 Configure a credential helper to remove this warning. See 07:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:17 07:27:17 Login Succeeded 07:27:17 ---> docker-login.sh ends [Pipeline] } 07:27:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:27:18 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 07:27:18 14ab43fad92bd248aba56f332b2aaf744f255a41 07:27:18 latest 07:27:18 1.3.1-dev.4 07:27:18 14ab43fad92bd248aba56f332b2aaf744f255a41-1.3.1-dev.4 07:27:18 master 07:27:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:27:18 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:14ab43fad92bd248aba56f332b2aaf744f255a41 [Pipeline] isUnix [Pipeline] sh 07:27:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:14ab43fad92bd248aba56f332b2aaf744f255a41 07:27:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:27:18 8783a5aaddb5: Preparing 07:27:18 ec3d55af1336: Preparing 07:27:18 72e9816f0391: Preparing 07:27:18 777b2c648970: Preparing 07:27:18 777b2c648970: Layer already exists 07:27:19 ec3d55af1336: Pushed 07:27:19 8783a5aaddb5: Pushed 07:27:20 72e9816f0391: Pushed 07:27:20 14ab43fad92bd248aba56f332b2aaf744f255a41: digest: sha256:f06316d6c401f310b6d5249c983ee262dc49b1f877778585c4ab139b1feaefdb size: 1155 [Pipeline] isUnix [Pipeline] sh 07:27:20 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 07:27:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 07:27:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:27:21 8783a5aaddb5: Preparing 07:27:21 ec3d55af1336: Preparing 07:27:21 72e9816f0391: Preparing 07:27:21 777b2c648970: Preparing 07:27:21 8783a5aaddb5: Layer already exists 07:27:21 ec3d55af1336: Layer already exists 07:27:21 777b2c648970: Layer already exists 07:27:21 72e9816f0391: Layer already exists 07:27:21 latest: digest: sha256:f06316d6c401f310b6d5249c983ee262dc49b1f877778585c4ab139b1feaefdb size: 1155 [Pipeline] isUnix [Pipeline] sh 07:27:21 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1-dev.4 [Pipeline] isUnix [Pipeline] sh 07:27:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1-dev.4 07:27:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:27:21 8783a5aaddb5: Preparing 07:27:21 ec3d55af1336: Preparing 07:27:21 72e9816f0391: Preparing 07:27:21 777b2c648970: Preparing 07:27:21 ec3d55af1336: Layer already exists 07:27:21 777b2c648970: Layer already exists 07:27:21 72e9816f0391: Layer already exists 07:27:21 8783a5aaddb5: Layer already exists 07:27:21 1.3.1-dev.4: digest: sha256:f06316d6c401f310b6d5249c983ee262dc49b1f877778585c4ab139b1feaefdb size: 1155 [Pipeline] isUnix [Pipeline] sh 07:27:22 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:14ab43fad92bd248aba56f332b2aaf744f255a41-1.3.1-dev.4 [Pipeline] isUnix [Pipeline] sh 07:27:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:14ab43fad92bd248aba56f332b2aaf744f255a41-1.3.1-dev.4 07:27:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:27:22 8783a5aaddb5: Preparing 07:27:22 ec3d55af1336: Preparing 07:27:22 72e9816f0391: Preparing 07:27:22 777b2c648970: Preparing 07:27:22 8783a5aaddb5: Layer already exists 07:27:22 ec3d55af1336: Layer already exists 07:27:22 72e9816f0391: Layer already exists 07:27:22 777b2c648970: Layer already exists 07:27:22 14ab43fad92bd248aba56f332b2aaf744f255a41-1.3.1-dev.4: digest: sha256:f06316d6c401f310b6d5249c983ee262dc49b1f877778585c4ab139b1feaefdb size: 1155 [Pipeline] isUnix [Pipeline] sh 07:27:22 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 07:27:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 07:27:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:27:22 8783a5aaddb5: Preparing 07:27:22 ec3d55af1336: Preparing 07:27:22 72e9816f0391: Preparing 07:27:22 777b2c648970: Preparing 07:27:22 ec3d55af1336: Layer already exists 07:27:22 72e9816f0391: Layer already exists 07:27:22 777b2c648970: Layer already exists 07:27:22 8783a5aaddb5: Layer already exists 07:27:22 master: digest: sha256:f06316d6c401f310b6d5249c983ee262dc49b1f877778585c4ab139b1feaefdb size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:27:23 ===================================================== [Pipeline] echo 07:27:23 taggedImages: 07:27:23 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:14ab43fad92bd248aba56f332b2aaf744f255a41 07:27:23 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 07:27:23 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1-dev.4 07:27:23 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:14ab43fad92bd248aba56f332b2aaf744f255a41-1.3.1-dev.4 07:27:23 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:27:37 Removing intermediate container 90aefb5a6e52 07:27:37 ---> 6ff98d784fdf 07:27:37 Successfully built 6ff98d784fdf 07:27:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:27:37 + docker inspect -f . ci-base-image-arm64 07:27:37 . [Pipeline] withDockerContainer 07:27:37 prd-ubuntu18.04-docker-arm64-4c-16g-19455 does not seem to be running inside a container 07:27:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/37 -v /w/workspace/device-virtual-go/37:/w/workspace/device-virtual-go/37:rw,z -v /w/workspace/device-virtual-go/37@tmp:/w/workspace/device-virtual-go/37@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 07:27:39 $ docker top 462055f13be058bcace2ee8abc03f60dd04953ac46025b1c48ed1734d31fef28 -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:40 + go version 07:27:40 go version go1.15.5 linux/arm64 [Pipeline] } 07:27:40 $ docker stop --time=1 462055f13be058bcace2ee8abc03f60dd04953ac46025b1c48ed1734d31fef28 07:27:42 $ docker rm -f 462055f13be058bcace2ee8abc03f60dd04953ac46025b1c48ed1734d31fef28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:27:43 + docker inspect -f . ci-base-image-arm64 07:27:43 . [Pipeline] withDockerContainer 07:27:43 prd-ubuntu18.04-docker-arm64-4c-16g-19455 does not seem to be running inside a container 07:27:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/37 -v /w/workspace/device-virtual-go/37:/w/workspace/device-virtual-go/37:rw,z -v /w/workspace/device-virtual-go/37@tmp:/w/workspace/device-virtual-go/37@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 07:27:45 $ docker top 508b2e1f101e61b98b6437f4034aa0d4708ebfbae6b52ae32c0004b1023dbf0d -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:46 + make test 07:27:46 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:27:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:28:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:28:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.601s coverage: 64.4% of statements 07:28:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:28:43 gofmt -l . 07:28:43 [ "`gofmt -l .`" = "" ] 07:28:43 ./bin/test-attribution-txt.sh 07:28:44 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:28:44 $ docker stop --time=1 508b2e1f101e61b98b6437f4034aa0d4708ebfbae6b52ae32c0004b1023dbf0d 07:28:46 $ docker rm -f 508b2e1f101e61b98b6437f4034aa0d4708ebfbae6b52ae32c0004b1023dbf0d [Pipeline] // withDockerContainer [Pipeline] sh 07:28:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:28:47 Warning: overwriting stash ‘coverage-report’ 07:28:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:28:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:28:49 + ls -al . 07:28:49 total 148 07:28:49 drwxrwxr-x 7 jenkins jenkins 4096 Jan 11 07:28 . 07:28:49 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 07:26 .. 07:28:49 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 07:26 .git 07:28:49 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 07:26 .github 07:28:49 -rw-rw-r-- 1 jenkins jenkins 258 Jan 11 07:26 .gitignore 07:28:49 -rw-rw-r-- 1 jenkins jenkins 6713 Jan 11 07:26 Attribution.txt 07:28:49 -rw-rw-r-- 1 jenkins jenkins 1851 Jan 11 07:26 Dockerfile 07:28:49 -rw-rw-r-- 1 jenkins jenkins 961 Jan 11 07:26 Dockerfile.build 07:28:49 -rw-rw-r-- 1 jenkins jenkins 660 Jan 11 07:26 Jenkinsfile 07:28:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 07:26 LICENSE 07:28:49 -rw-rw-r-- 1 jenkins jenkins 873 Jan 11 07:26 Makefile 07:28:49 -rw-rw-r-- 1 jenkins jenkins 918 Jan 11 07:26 README.md 07:28:49 -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 07:23 VERSION 07:28:49 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 07:26 bin 07:28:49 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 07:26 cmd 07:28:49 -rw-r--r-- 1 jenkins jenkins 47242 Jan 11 07:28 coverage.out 07:28:49 -rw-r--r-- 1 jenkins jenkins 856 Jan 11 07:28 go.mod 07:28:49 -rw-r--r-- 1 jenkins jenkins 16346 Jan 11 07:28 go.sum 07:28:49 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 07:26 internal 07:28:49 -rw-rw-r-- 1 jenkins jenkins 235 Jan 11 07:26 version.go [Pipeline] isUnix [Pipeline] sh 07:28:49 + 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=14ab43fad92bd248aba56f332b2aaf744f255a41 --label arch=arm64 --label version=1.3.1-dev.4 . 07:28:50 Sending build context to Docker daemon 543.2kB 07:28:50 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 07:28:50 Step 2/22 : FROM ${BASE} AS builder 07:28:50 ---> 6ff98d784fdf 07:28:50 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 07:28:50 ---> Running in 4e4fba01e35c 07:28:51 Removing intermediate container 4e4fba01e35c 07:28:51 ---> 8c1eb67042ea 07:28:51 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 07:28:51 ---> Running in 9e903561b196 07:28:51 Removing intermediate container 9e903561b196 07:28:51 ---> b30d6fad10ec 07:28:51 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 07:28:51 ---> Running in 2db4775dc1e8 07:28:52 Removing intermediate container 2db4775dc1e8 07:28:52 ---> 53e484f685a3 07:28:52 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:28:52 ---> Running in beb5c6d10b86 07:28:54 Removing intermediate container beb5c6d10b86 07:28:54 ---> a7516393fc66 07:28:54 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:28:54 ---> Running in 85b5dd016157 07:28:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:28:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:28:57 OK: 221 MiB in 53 packages 07:28:58 Removing intermediate container 85b5dd016157 07:28:58 ---> 60ccf1130799 07:28:58 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 07:28:58 ---> Running in ea5326417b96 07:28:58 Removing intermediate container ea5326417b96 07:28:58 ---> 25fd17b21d47 07:28:58 Step 9/22 : COPY . . 07:28:59 ---> bb68a0bd3a6d 07:28:59 Step 10/22 : ARG MAKE='make build' 07:28:59 ---> Running in 62f943791eb9 07:29:00 Removing intermediate container 62f943791eb9 07:29:00 ---> bddce08e1391 07:29:00 Step 11/22 : RUN $MAKE 07:29:00 ---> Running in 8aa9382ddba0 07:29:01 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.1-dev.4" -o cmd/device-virtual ./cmd 07:29:33 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:29:42 Removing intermediate container 8aa9382ddba0 07:29:42 ---> c54e2c4b75c1 07:29:42 Step 12/22 : FROM alpine:3.12 07:29:42 3.12: Pulling from library/alpine 07:29:42 159e5727ea61: Pulling fs layer 07:29:42 159e5727ea61: Verifying Checksum 07:29:42 159e5727ea61: Download complete 07:29:42 159e5727ea61: Pull complete 07:29:42 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 07:29:42 Status: Downloaded newer image for alpine:3.12 07:29:42 ---> afeebe901d6b 07:29:42 Step 13/22 : ENV APP_PORT=49990 07:29:42 ---> Running in ac3c34d5d449 07:29:43 Removing intermediate container ac3c34d5d449 07:29:43 ---> 5dcf9f8f1787 07:29:43 Step 14/22 : EXPOSE $APP_PORT 07:29:43 ---> Running in ee7709b271d6 07:29:44 Removing intermediate container ee7709b271d6 07:29:44 ---> 95da6cd625e4 07:29:44 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 07:29:45 ---> 45794ebd45fc 07:29:45 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 07:29:46 ---> 44c923b5a22e 07:29:46 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 07:29:47 ---> 896bb74d20e1 07:29:47 Step 18/22 : ENTRYPOINT ["/device-virtual"] 07:29:47 ---> Running in 0671b2d61866 07:29:47 Removing intermediate container 0671b2d61866 07:29:47 ---> 5636c95eb980 07:29:47 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:29:48 ---> Running in f6699c32d0b1 07:29:48 Removing intermediate container f6699c32d0b1 07:29:48 ---> a25bdbba7c2b 07:29:48 Step 20/22 : LABEL arch=arm64 07:29:48 ---> Running in 3940001e1daf 07:29:49 Removing intermediate container 3940001e1daf 07:29:49 ---> 924f9beb7504 07:29:49 Step 21/22 : LABEL git_sha=14ab43fad92bd248aba56f332b2aaf744f255a41 07:29:49 ---> Running in d910cc92ca35 07:29:49 Removing intermediate container d910cc92ca35 07:29:49 ---> 880026001bd2 07:29:49 Step 22/22 : LABEL version=1.3.1-dev.4 07:29:50 ---> Running in 7e9ecb670e7c 07:29:50 Removing intermediate container 7e9ecb670e7c 07:29:50 ---> 8d8b4f6c33b9 07:29:50 [Warning] One or more build-args [ARCH] were not consumed 07:29:50 Successfully built 8d8b4f6c33b9 07:29:50 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:29:51 provisioning config files... 07:29:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/37@tmp/config1337551832481337740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:29:51 ---> docker-login.sh 07:29:51 nexus3.edgexfoundry.org:10001 07:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:52 Configure a credential helper to remove this warning. See 07:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:52 07:29:52 Login Succeeded 07:29:52 nexus3.edgexfoundry.org:10002 07:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:52 Configure a credential helper to remove this warning. See 07:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:52 07:29:52 Login Succeeded 07:29:52 nexus3.edgexfoundry.org:10003 07:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:53 Configure a credential helper to remove this warning. See 07:29:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:53 07:29:53 Login Succeeded 07:29:53 nexus3.edgexfoundry.org:10004 07:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:53 Configure a credential helper to remove this warning. See 07:29:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:53 07:29:53 Login Succeeded 07:29:53 docker.io 07:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:54 Configure a credential helper to remove this warning. See 07:29:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:54 07:29:54 Login Succeeded 07:29:54 ---> docker-login.sh ends [Pipeline] } 07:29:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:29:54 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 07:29:54 14ab43fad92bd248aba56f332b2aaf744f255a41 07:29:54 latest 07:29:54 1.3.1-dev.4 07:29:54 14ab43fad92bd248aba56f332b2aaf744f255a41-1.3.1-dev.4 07:29:54 master 07:29:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:29:55 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:14ab43fad92bd248aba56f332b2aaf744f255a41 [Pipeline] isUnix [Pipeline] sh 07:29:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:14ab43fad92bd248aba56f332b2aaf744f255a41 07:29:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:29:55 98d6aaeadcba: Preparing 07:29:55 58904c17d86a: Preparing 07:29:55 8a6cab1b0e9b: Preparing 07:29:55 379067d0cb53: Preparing 07:29:55 379067d0cb53: Layer already exists 07:29:55 58904c17d86a: Pushed 07:29:55 98d6aaeadcba: Pushed 07:29:59 8a6cab1b0e9b: Pushed 07:29:59 14ab43fad92bd248aba56f332b2aaf744f255a41: digest: sha256:0fbd26648682b74af24bc9d2c6f8b4d1547de785bd5ba678789c0c09cd87b0c7 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:29:59 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:29:59 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 07:29:59 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:29:59 98d6aaeadcba: Preparing 07:29:59 58904c17d86a: Preparing 07:29:59 8a6cab1b0e9b: Preparing 07:29:59 379067d0cb53: Preparing 07:30:00 8a6cab1b0e9b: Layer already exists 07:30:00 379067d0cb53: Layer already exists 07:30:00 98d6aaeadcba: Layer already exists 07:30:00 58904c17d86a: Layer already exists 07:30:00 latest: digest: sha256:0fbd26648682b74af24bc9d2c6f8b4d1547de785bd5ba678789c0c09cd87b0c7 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:30:00 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1-dev.4 [Pipeline] isUnix [Pipeline] sh 07:30:00 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1-dev.4 07:30:00 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:30:00 98d6aaeadcba: Preparing 07:30:00 58904c17d86a: Preparing 07:30:00 8a6cab1b0e9b: Preparing 07:30:00 379067d0cb53: Preparing 07:30:00 58904c17d86a: Layer already exists 07:30:00 379067d0cb53: Layer already exists 07:30:00 98d6aaeadcba: Layer already exists 07:30:00 8a6cab1b0e9b: Layer already exists 07:30:01 1.3.1-dev.4: digest: sha256:0fbd26648682b74af24bc9d2c6f8b4d1547de785bd5ba678789c0c09cd87b0c7 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:30:01 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:14ab43fad92bd248aba56f332b2aaf744f255a41-1.3.1-dev.4 [Pipeline] isUnix [Pipeline] sh 07:30:01 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:14ab43fad92bd248aba56f332b2aaf744f255a41-1.3.1-dev.4 07:30:01 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:30:01 98d6aaeadcba: Preparing 07:30:01 58904c17d86a: Preparing 07:30:01 8a6cab1b0e9b: Preparing 07:30:01 379067d0cb53: Preparing 07:30:02 379067d0cb53: Layer already exists 07:30:02 98d6aaeadcba: Layer already exists 07:30:02 8a6cab1b0e9b: Layer already exists 07:30:02 58904c17d86a: Layer already exists 07:30:02 14ab43fad92bd248aba56f332b2aaf744f255a41-1.3.1-dev.4: digest: sha256:0fbd26648682b74af24bc9d2c6f8b4d1547de785bd5ba678789c0c09cd87b0c7 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:30:02 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 07:30:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 07:30:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:30:03 98d6aaeadcba: Preparing 07:30:03 58904c17d86a: Preparing 07:30:03 8a6cab1b0e9b: Preparing 07:30:03 379067d0cb53: Preparing 07:30:03 58904c17d86a: Layer already exists 07:30:03 8a6cab1b0e9b: Layer already exists 07:30:03 379067d0cb53: Layer already exists 07:30:03 98d6aaeadcba: Layer already exists 07:30:03 master: digest: sha256:0fbd26648682b74af24bc9d2c6f8b4d1547de785bd5ba678789c0c09cd87b0c7 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:30:03 ===================================================== [Pipeline] echo 07:30:03 taggedImages: 07:30:03 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:14ab43fad92bd248aba56f332b2aaf744f255a41 07:30:03 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 07:30:03 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1-dev.4 07:30:03 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:14ab43fad92bd248aba56f332b2aaf744f255a41-1.3.1-dev.4 07:30:03 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:30:05 provisioning config files... 07:30:05 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2712397393580718664tmp [Pipeline] { [Pipeline] sh 07:30:05 + set +x 07:30:05 + curl -s https://codecov.io/bash 07:30:05 + bash -s -- 07:30:05 07:30:05 _____ _ 07:30:05 / ____| | | 07:30:05 | | ___ __| | ___ ___ _____ __ 07:30:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:30:05 | |___| (_) | (_| | __/ (_| (_) \ V / 07:30:05 \_____\___/ \__,_|\___|\___\___/ \_/ 07:30:05 Bash-20201231-23d4836 07:30:05 07:30:05 07:30:05 ==> git version 2.24.3 found 07:30:05 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 07:30:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:30:05 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:30:05 ==> Jenkins CI detected. 07:30:05 project root: . 07:30:05 --> token set from env 07:30:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:30:05 ==> Running gcov in . (disable via -X gcov) 07:30:05 ==> Python coveragepy not found 07:30:05 ==> Searching for coverage reports in: 07:30:05 + . 07:30:05 -> Found 1 reports 07:30:05 ==> Detecting git/mercurial file structure 07:30:05 ==> Reading reports 07:30:05 + ./coverage.out bytes=47242 07:30:05 ==> Appending adjustments 07:30:05 https://docs.codecov.io/docs/fixing-reports 07:30:05 + Found adjustments 07:30:05 ==> Gzipping contents 07:30:05 8.0K /tmp/codecov.QZplhd.gz 07:30:05 ==> Uploading reports 07:30:05 url: https://codecov.io 07:30:05 query: branch=master&commit=14ab43fad92bd248aba56f332b2aaf744f255a41&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:30:05 -> Pinging Codecov 07:30:05 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=14ab43fad92bd248aba56f332b2aaf744f255a41&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:30:06 -> Uploading to 07:30:06 https://storage.googleapis.com/codecov/v4/raw/2021-01-11/5E52B4B073DB2E39498172D8E973AA87/14ab43fad92bd248aba56f332b2aaf744f255a41/9e0e99a6-3800-4386-8dac-f79a4b5e4037.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210111T073006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8c08cb54b977b03bc36488d28d5fda81afa0c09c553567acca08dc8bbffc2f6d 07:30:06 % Total % Received % Xferd Average Speed Time Time Time Current 07:30:06 Dload Upload Total Spent Left Speed 07:30:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5792 0 0 100 5792 0 15369 --:--:-- --:--:-- --:--:-- 15363 07:30:07 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/14ab43fad92bd248aba56f332b2aaf744f255a41 [Pipeline] } 07:30:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:30:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:30:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:30:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:30:08 07:30:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 07:30:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:30:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:30:09 188c0c94c7c5: Pulling fs layer 07:30:09 0ef7d3d256c8: Pulling fs layer 07:30:09 de9db76c5a1d: Pulling fs layer 07:30:09 0eba1c9be4d2: Pulling fs layer 07:30:09 0d57e429df01: Pulling fs layer 07:30:09 4e4be7b47b0d: Pulling fs layer 07:30:09 e1f770b5df2f: Pulling fs layer 07:30:09 85a0685a4137: Pulling fs layer 07:30:09 0eba1c9be4d2: Waiting 07:30:09 0d57e429df01: Waiting 07:30:09 4e4be7b47b0d: Waiting 07:30:09 e1f770b5df2f: Waiting 07:30:09 85a0685a4137: Waiting 07:30:09 de9db76c5a1d: Verifying Checksum 07:30:09 de9db76c5a1d: Download complete 07:30:09 0ef7d3d256c8: Verifying Checksum 07:30:09 0ef7d3d256c8: Download complete 07:30:09 0d57e429df01: Verifying Checksum 07:30:09 0d57e429df01: Download complete 07:30:09 4e4be7b47b0d: Download complete 07:30:09 188c0c94c7c5: Verifying Checksum 07:30:09 188c0c94c7c5: Download complete 07:30:09 188c0c94c7c5: Pull complete 07:30:09 0ef7d3d256c8: Pull complete 07:30:09 e1f770b5df2f: Verifying Checksum 07:30:09 e1f770b5df2f: Download complete 07:30:09 de9db76c5a1d: Pull complete 07:30:12 0eba1c9be4d2: Verifying Checksum 07:30:12 0eba1c9be4d2: Download complete 07:30:12 85a0685a4137: Verifying Checksum 07:30:12 85a0685a4137: Download complete 07:30:18 0eba1c9be4d2: Pull complete 07:30:18 0d57e429df01: Pull complete 07:30:18 4e4be7b47b0d: Pull complete 07:30:20 e1f770b5df2f: Pull complete 07:30:28 85a0685a4137: Pull complete 07:30:28 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 07:30:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:30:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 07:30:28 prd-centos7-docker-4c-2g-19451 does not seem to be running inside a container 07:30:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:30:30 $ docker top f32c46b912ac8cf2cadf2d2f2a6d7c005944c2844a49421fb02560a09fbf7182 -eo pid,comm [Pipeline] { [Pipeline] echo 07:30:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 07:30:31 + set -o pipefail 07:30:31 + snyk monitor '--org=edgex-jenkins' 07:30:41 07:30:41 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 07:30:41 07:30:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/c38cb6c0-79b9-4bb6-b563-8935ffb8dc5b 07:30:41 07:30:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:30:41 07:30:41 [Pipeline] } 07:30:41 $ docker stop --time=1 f32c46b912ac8cf2cadf2d2f2a6d7c005944c2844a49421fb02560a09fbf7182 07:30:43 $ docker rm -f f32c46b912ac8cf2cadf2d2f2a6d7c005944c2844a49421fb02560a09fbf7182 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:30:45 + git log --format=format:%s -1 14ab43fad92bd248aba56f332b2aaf744f255a41 [Pipeline] isUnix [Pipeline] sh 07:30:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:30:46 . [Pipeline] withDockerContainer 07:30:46 prd-centos7-docker-4c-2g-19451 does not seem to be running inside a container 07:30:46 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:30:47 $ docker top ee12fb211861a37d34265c2034d1502644956b4ac436749611682c18167dbb4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:30:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:30:47 [ssh-agent] Looking for ssh-agent implementation... 07:30:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:30:47 $ docker exec ee12fb211861a37d34265c2034d1502644956b4ac436749611682c18167dbb4b ssh-agent 07:30:48 SSH_AUTH_SOCK=/tmp/ssh-LHYQYpUAUFX0/agent.11 07:30:48 SSH_AGENT_PID=16 07:30:48 Running ssh-add (command line suppressed) 07:30:48 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6109395712988019261.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6109395712988019261.key) 07:30:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:30:48 + git semver tag 07:30:48 # -> Open(): unable to determine branch for HEAD 07:30:48 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:30:48 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:30:48 # $SEMVER_REMOTE_NAME = origin 07:30:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:30:48 # $SEMVER_USER_NAME = edgex-jenkins 07:30:48 # $SEMVER_BRANCH = master 07:30:48 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 07:30:48 # 14ab43fad92bd248aba56f332b2aaf744f255a41 HEAD 07:30:48 # -> Force: false 07:30:48 # 20d007d44d38125181117f2b6e7ff9de0bd7a0ea refs/tags/v1.3.1-dev.4 [Pipeline] } 07:30:48 $ docker exec --env ******** --env ******** ee12fb211861a37d34265c2034d1502644956b4ac436749611682c18167dbb4b ssh-agent -k 07:30:49 unset SSH_AUTH_SOCK; 07:30:49 unset SSH_AGENT_PID; 07:30:49 echo Agent pid 16 killed; 07:30:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:30:49 + git semver [Pipeline] } 07:30:49 $ docker stop --time=1 ee12fb211861a37d34265c2034d1502644956b4ac436749611682c18167dbb4b 07:30:51 $ docker rm -f ee12fb211861a37d34265c2034d1502644956b4ac436749611682c18167dbb4b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:30:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:30:51 07:30:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:30:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:30:52 0.23.1-centos7: Pulling from edgex-lftools 07:30:52 ab5ef0e58194: Pulling fs layer 07:30:52 9712f1f96733: Pulling fs layer 07:30:52 63f879dbbcfc: Pulling fs layer 07:30:52 0d9ebad4ef96: Pulling fs layer 07:30:52 e9a5061849ea: Pulling fs layer 07:30:52 d747dcd14b5f: Pulling fs layer 07:30:52 2de7ff778b66: Pulling fs layer 07:30:52 e9a5061849ea: Waiting 07:30:52 d747dcd14b5f: Waiting 07:30:52 2de7ff778b66: Waiting 07:30:52 0d9ebad4ef96: Waiting 07:30:52 9712f1f96733: Verifying Checksum 07:30:52 9712f1f96733: Download complete 07:30:53 63f879dbbcfc: Verifying Checksum 07:30:53 63f879dbbcfc: Download complete 07:30:53 e9a5061849ea: Download complete 07:30:53 d747dcd14b5f: Verifying Checksum 07:30:53 d747dcd14b5f: Download complete 07:30:54 2de7ff778b66: Verifying Checksum 07:30:54 2de7ff778b66: Download complete 07:30:54 0d9ebad4ef96: Verifying Checksum 07:30:54 0d9ebad4ef96: Download complete 07:30:54 ab5ef0e58194: Verifying Checksum 07:30:54 ab5ef0e58194: Download complete 07:30:59 ab5ef0e58194: Pull complete 07:30:59 9712f1f96733: Pull complete 07:31:02 63f879dbbcfc: Pull complete 07:31:08 0d9ebad4ef96: Pull complete 07:31:09 e9a5061849ea: Pull complete 07:31:09 d747dcd14b5f: Pull complete 07:31:12 2de7ff778b66: Pull complete 07:31:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:31:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:31:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:31:12 prd-centos7-docker-4c-2g-19451 does not seem to be running inside a container 07:31:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:31:16 $ docker top 7906795d4d529f8c687ea996099e722dd4f17cbf40f0cc0041fc760d283507f8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:31:17 provisioning config files... 07:31:17 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6621517215452760565tmp 07:31:17 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config996090276710964712tmp 07:31:17 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2133744539986521060tmp [Pipeline] { [Pipeline] echo 07:31:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:31:17 ---> sigul-configuration.sh 07:31:17 gpg: directory `/root/.gnupg' created 07:31:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:31:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:31:17 gpg: keyring `/root/.gnupg/secring.gpg' created 07:31:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:31:17 gpg: CAST5 encrypted data 07:31:17 gpg: encrypted with 1 passphrase 07:31:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:31:18 + mkdir /home/jenkins 07:31:18 + mkdir /home/jenkins/sigul [Pipeline] sh 07:31:18 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:31:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:31:18 ---> sigul-install.sh 07:31:24 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 07:31:24 + git tag --list 07:31:24 v1.0.0 07:31:24 v1.1.0 07:31:24 v1.1.1 07:31:24 v1.2.1 07:31:24 v1.2.2 07:31:24 v1.2.3 07:31:24 v1.2.3-dev.1 07:31:24 v1.2.3-dev.2 07:31:24 v1.2.4-dev.1 07:31:24 v1.2.4-dev.10 07:31:24 v1.2.4-dev.11 07:31:24 v1.2.4-dev.2 07:31:24 v1.2.4-dev.3 07:31:24 v1.2.4-dev.4 07:31:24 v1.2.4-dev.5 07:31:24 v1.2.4-dev.6 07:31:24 v1.2.4-dev.7 07:31:24 v1.2.4-dev.8 07:31:24 v1.2.4-dev.9 07:31:24 v1.3.0 07:31:24 v1.3.1-dev.1 07:31:24 v1.3.1-dev.2 07:31:24 v1.3.1-dev.3 07:31:24 v1.3.1-dev.4 [Pipeline] sh 07:31:24 + lftools sign git-tag v1.3.1-dev.4 07:31:26 Signing Git tag with Sigul... 07:31:26 Signing v1.3.1-dev.4 [Pipeline] echo 07:31:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:31:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:31:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:31:27 $ docker stop --time=1 7906795d4d529f8c687ea996099e722dd4f17cbf40f0cc0041fc760d283507f8 07:31:29 $ docker rm -f 7906795d4d529f8c687ea996099e722dd4f17cbf40f0cc0041fc760d283507f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 07:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:31:30 . [Pipeline] withDockerContainer 07:31:30 prd-centos7-docker-4c-2g-19451 does not seem to be running inside a container 07:31:30 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:31:31 $ docker top e3275c28587ee08d7a80e9a1421535a2108221c638ebf71a5474d68df2bfea9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:31:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:31:31 [ssh-agent] Looking for ssh-agent implementation... 07:31:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:31:32 $ docker exec e3275c28587ee08d7a80e9a1421535a2108221c638ebf71a5474d68df2bfea9a ssh-agent 07:31:32 SSH_AUTH_SOCK=/tmp/ssh-UNJCFI2kOXpj/agent.13 07:31:32 SSH_AGENT_PID=19 07:31:32 Running ssh-add (command line suppressed) 07:31:32 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8608100005584680200.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8608100005584680200.key) 07:31:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:31:32 + git semver bump pre 07:31:32 # -> Open(): unable to determine branch for HEAD 07:31:32 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:31:32 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:31:32 # $SEMVER_REMOTE_NAME = origin 07:31:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:31:32 # $SEMVER_USER_NAME = edgex-jenkins 07:31:32 # $SEMVER_BRANCH = master 07:31:32 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 07:31:32 1.3.1-dev.5 [Pipeline] } 07:31:32 $ docker exec --env ******** --env ******** e3275c28587ee08d7a80e9a1421535a2108221c638ebf71a5474d68df2bfea9a ssh-agent -k 07:31:33 unset SSH_AUTH_SOCK; 07:31:33 unset SSH_AGENT_PID; 07:31:33 echo Agent pid 19 killed; 07:31:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:31:33 + git semver [Pipeline] } 07:31:33 $ docker stop --time=1 e3275c28587ee08d7a80e9a1421535a2108221c638ebf71a5474d68df2bfea9a 07:31:35 $ docker rm -f e3275c28587ee08d7a80e9a1421535a2108221c638ebf71a5474d68df2bfea9a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:31:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:31:35 . [Pipeline] withDockerContainer 07:31:35 prd-centos7-docker-4c-2g-19451 does not seem to be running inside a container 07:31:35 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:31:36 $ docker top 13485b63d0256cb2684d45ce9d0414f25691c8e158db66ac8646269e57bf1f6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:31:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:31:36 [ssh-agent] Looking for ssh-agent implementation... 07:31:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:31:37 $ docker exec 13485b63d0256cb2684d45ce9d0414f25691c8e158db66ac8646269e57bf1f6e ssh-agent 07:31:37 SSH_AUTH_SOCK=/tmp/ssh-ZJHDBpg2xrJG/agent.11 07:31:37 SSH_AGENT_PID=16 07:31:37 Running ssh-add (command line suppressed) 07:31:37 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_274259045881677524.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_274259045881677524.key) 07:31:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:31:37 + git semver push 07:31:37 # -> Open(): unable to determine branch for HEAD 07:31:37 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:31:37 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:31:37 # $SEMVER_REMOTE_NAME = origin 07:31:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:31:37 # $SEMVER_USER_NAME = edgex-jenkins 07:31:37 # $SEMVER_BRANCH = master 07:31:37 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 07:31:45 $ docker exec --env ******** --env ******** 13485b63d0256cb2684d45ce9d0414f25691c8e158db66ac8646269e57bf1f6e ssh-agent -k 07:31:46 unset SSH_AUTH_SOCK; 07:31:46 unset SSH_AGENT_PID; 07:31:46 echo Agent pid 16 killed; 07:31:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:31:46 + git semver [Pipeline] } 07:31:46 $ docker stop --time=1 13485b63d0256cb2684d45ce9d0414f25691c8e158db66ac8646269e57bf1f6e 07:31:48 $ docker rm -f 13485b63d0256cb2684d45ce9d0414f25691c8e158db66ac8646269e57bf1f6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 07:31:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:31:50 ---> package-listing.sh 07:31:50 ++ facter osfamily 07:31:50 ++ tr '[:upper:]' '[:lower:]' 07:31:50 + OS_FAMILY=redhat 07:31:50 + workspace=/w/workspace/foundry_device-virtual-go_master 07:31:50 + START_PACKAGES=/tmp/packages_start.txt 07:31:50 + END_PACKAGES=/tmp/packages_end.txt 07:31:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:31:50 + PACKAGES=/tmp/packages_start.txt 07:31:50 + '[' /w/workspace/foundry_device-virtual-go_master ']' 07:31:50 + PACKAGES=/tmp/packages_end.txt 07:31:50 + case "${OS_FAMILY}" in 07:31:50 + rpm -qa 07:31:50 + sort 07:31:55 + '[' -f /tmp/packages_start.txt ']' 07:31:55 + '[' -f /tmp/packages_end.txt ']' 07:31:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:31:55 + '[' /w/workspace/foundry_device-virtual-go_master ']' 07:31:55 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 07:31:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 07:31:55 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:31:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:31:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:31:56 07:31:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:31:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:31:56 alpine: Pulling from edgex-lftools-log-publisher 07:31:56 df20fa9351a1: Pulling fs layer 07:31:56 36b3adc4ff6f: Pulling fs layer 07:31:56 8ad3a11d3b57: Pulling fs layer 07:31:56 46f8f816bc3b: Pulling fs layer 07:31:56 93b61091891f: Pulling fs layer 07:31:56 93b9cdb0e59b: Pulling fs layer 07:31:56 5e14af77c1be: Pulling fs layer 07:31:56 01666e4c0597: Pulling fs layer 07:31:56 aa168da1d23b: Pulling fs layer 07:31:56 93b9cdb0e59b: Waiting 07:31:56 01666e4c0597: Waiting 07:31:56 5e14af77c1be: Waiting 07:31:56 aa168da1d23b: Waiting 07:31:56 46f8f816bc3b: Waiting 07:31:56 36b3adc4ff6f: Verifying Checksum 07:31:56 36b3adc4ff6f: Download complete 07:31:56 46f8f816bc3b: Verifying Checksum 07:31:56 46f8f816bc3b: Download complete 07:31:56 df20fa9351a1: Verifying Checksum 07:31:56 df20fa9351a1: Download complete 07:31:56 93b9cdb0e59b: Verifying Checksum 07:31:56 93b9cdb0e59b: Download complete 07:31:56 5e14af77c1be: Verifying Checksum 07:31:56 5e14af77c1be: Download complete 07:31:56 93b61091891f: Verifying Checksum 07:31:56 93b61091891f: Download complete 07:31:57 01666e4c0597: Verifying Checksum 07:31:57 01666e4c0597: Download complete 07:31:57 8ad3a11d3b57: Verifying Checksum 07:31:57 8ad3a11d3b57: Download complete 07:31:57 df20fa9351a1: Pull complete 07:31:57 36b3adc4ff6f: Pull complete 07:31:58 8ad3a11d3b57: Pull complete 07:31:58 46f8f816bc3b: Pull complete 07:31:58 aa168da1d23b: Verifying Checksum 07:31:58 aa168da1d23b: Download complete 07:31:59 93b61091891f: Pull complete 07:31:59 93b9cdb0e59b: Pull complete 07:32:00 5e14af77c1be: Pull complete 07:32:00 01666e4c0597: Pull complete 07:32:06 aa168da1d23b: Pull complete 07:32:06 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:32:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:32:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:32:07 prd-centos7-docker-4c-2g-19451 does not seem to be running inside a container 07:32:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:32:10 $ docker top 9e9c2544eb5e9ccfb52f4180961a18feb7727e4b82c025fd1803c99d61a9891f -eo pid,comm [Pipeline] { [Pipeline] sh 07:32:10 + touch /tmp/pre-build-complete [Pipeline] sh 07:32:10 + mkdir -p /var/log/sa [Pipeline] sh 07:32:11 + ls /var/log/sa-host 07:32:11 + sadf -c /var/log/sa-host/sa11 07:32:11 file_magic: OK 07:32:11 HZ: Using current value: 100 07:32:11 file_header: OK 07:32:11 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:32:11 Statistics: 07:32:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:32:11 File successfully converted to sysstat format version 12.2.1 07:32:11 + sadf -c /var/log/sa-host/sa23 07:32:11 file_magic: OK 07:32:11 HZ: Using current value: 100 07:32:11 file_header: OK 07:32:11 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:32:11 Statistics: 07:32:11 Hnuu...uuuununununu... 07:32:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:32:11 provisioning config files... 07:32:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3210431529318098382tmp [Pipeline] { [Pipeline] echo 07:32:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:32:11 ---> create-netrc.sh [Pipeline] } 07:32:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:32:11 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:32:12 ---> python-tools-install.sh [Pipeline] echo 07:32:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:32:12 ---> sudo-logs.sh 07:32:12 Archiving 'sudo' log.. [Pipeline] echo 07:32:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:32:12 ---> job-cost.sh 07:32:12 lf-activate-venv: SKIPPING 07:32:12 INFO: No Stack... 07:32:13 INFO: Retrieving Pricing Info for: v1-standard-2 07:32:14 INFO: Archiving Costs [Pipeline] echo 07:32:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:32:14 ---> logs-deploy.sh 07:32:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/37 07:32:14 INFO: archiving workspace using pattern(s): 07:32:16 Archives upload complete. 07:32:16 INFO: archiving logs to Nexus