Started by upstream project "edgexfoundry/cd-management/release" build number 47 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 ‘prd-centos7-docker-4c-2g-24603’ Running on prd-centos7-docker-4c-2g-24611 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 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b (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 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b # timeout=10 Commit message: "Merge pull request #167 from iain-anderson/commit-lint" > git rev-list --no-walk bdf1cd5a2d4a5f1f1834e794e258934dca5f302b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:32:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:32:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:32:43 ========================================================= 20:32:43 EdgeX Global Pipelines Version Info 20:32:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:32:45 ------------------- 20:32:45 stable info: 20:32:45 ------------------- 20:32:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:32:45 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 20:32:45 Message: update stable to v1.0.179 20:32:46 ------------------- 20:32:46 experimental info: 20:32:46 ------------------- 20:32:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:32:46 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 20:32:46 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:32:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:32:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:32:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:32:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:32:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:32:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:32:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:32:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:32:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:32:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:32:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:32:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 20:32:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:32:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:32:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:32:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:32:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:32:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:32:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:32:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:32:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:32:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:32:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:32:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:32:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:32:48 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 20:32:48 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 20:32:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 20:32:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 20:32:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 20:32:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdf1cd5a2d4a5f1f1834e794e258934dca5f302b [Pipeline] echo 20:32:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdf1cd5 [Pipeline] echo 20:32:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:32:49 provisioning config files... 20:32:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config30668886390975616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:50 ---> docker-login.sh 20:32:50 nexus3.edgexfoundry.org:10001 20:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:50 Configure a credential helper to remove this warning. See 20:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:50 20:32:50 Login Succeeded 20:32:50 nexus3.edgexfoundry.org:10002 20:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:50 Configure a credential helper to remove this warning. See 20:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:50 20:32:50 Login Succeeded 20:32:50 nexus3.edgexfoundry.org:10003 20:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:50 Configure a credential helper to remove this warning. See 20:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:50 20:32:50 Login Succeeded 20:32:50 nexus3.edgexfoundry.org:10004 20:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:51 Configure a credential helper to remove this warning. See 20:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:51 20:32:51 Login Succeeded 20:32:51 docker.io 20:32:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:51 Configure a credential helper to remove this warning. See 20:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:51 20:32:51 Login Succeeded 20:32:51 ---> docker-login.sh ends [Pipeline] } 20:32:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:52 + git log --format=format:%s -1 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b [Pipeline] echo 20:32:52 GIT_COMMIT: bdf1cd5a2d4a5f1f1834e794e258934dca5f302b, Commit Message: Merge pull request #167 from iain-anderson/commit-lint [Pipeline] echo 20:32:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:32:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:32:53 20:32:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:32:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:32:53 latest: Pulling from edgex-devops/git-semver 20:32:53 31603596830f: Pulling fs layer 20:32:53 2a8b12db71e7: Pulling fs layer 20:32:53 6ca5941a6612: Pulling fs layer 20:32:53 ecc8261a40a4: Pulling fs layer 20:32:53 ecc8261a40a4: Waiting 20:32:53 2a8b12db71e7: Verifying Checksum 20:32:53 2a8b12db71e7: Download complete 20:32:53 31603596830f: Verifying Checksum 20:32:53 31603596830f: Download complete 20:32:53 ecc8261a40a4: Verifying Checksum 20:32:53 ecc8261a40a4: Download complete 20:32:53 6ca5941a6612: Verifying Checksum 20:32:53 6ca5941a6612: Download complete 20:32:53 31603596830f: Pull complete 20:32:53 2a8b12db71e7: Pull complete 20:32:54 6ca5941a6612: Pull complete 20:32:55 ecc8261a40a4: Pull complete 20:32:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:32:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:32:55 prd-centos7-docker-4c-2g-24611 does not seem to be running inside a container 20:32:55 $ 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 20:32:57 $ docker top 154270d9ed6d37d53ae2e675456a7151aad8f7a75d84d5827a57268c8ca1774f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:32:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:57 [ssh-agent] Looking for ssh-agent implementation... 20:32:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:57 $ docker exec 154270d9ed6d37d53ae2e675456a7151aad8f7a75d84d5827a57268c8ca1774f ssh-agent 20:32:57 SSH_AUTH_SOCK=/tmp/ssh-5AXMAzhSUCF1/agent.11 20:32:57 SSH_AGENT_PID=17 20:32:58 Running ssh-add (command line suppressed) 20:32:58 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8201549794034277340.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8201549794034277340.key) 20:32:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:58 + git tag --points-at HEAD [Pipeline] } 20:32:58 $ docker exec --env ******** --env ******** 154270d9ed6d37d53ae2e675456a7151aad8f7a75d84d5827a57268c8ca1774f ssh-agent -k 20:32:58 unset SSH_AUTH_SOCK; 20:32:58 unset SSH_AGENT_PID; 20:32:58 echo Agent pid 17 killed; 20:32:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:32:58 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.3.1|v1.3.1-dev.5' [Pipeline] sshagent 20:32:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:58 [ssh-agent] Looking for ssh-agent implementation... 20:32:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:59 $ docker exec 154270d9ed6d37d53ae2e675456a7151aad8f7a75d84d5827a57268c8ca1774f ssh-agent 20:32:59 SSH_AUTH_SOCK=/tmp/ssh-dNaqOEEtUdIp/agent.46 20:32:59 SSH_AGENT_PID=52 20:32:59 Running ssh-add (command line suppressed) 20:32:59 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5218565322154179556.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5218565322154179556.key) 20:32:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:59 + git semver init 20:32:59 # -> Open(): unable to determine branch for HEAD 20:32:59 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 20:32:59 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 20:32:59 # $SEMVER_REMOTE_NAME = origin 20:32:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:32:59 # $SEMVER_USER_NAME = edgex-jenkins 20:32:59 # $SEMVER_BRANCH = master 20:32:59 # $SEMVER_TEMP = /tmp/semver-696128367 20:32:59 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 20:33:00 # '/tmp/semver-696128367' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 20:33:00 # -> Force: false 20:33:00 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 20:33:00 $ docker exec --env ******** --env ******** 154270d9ed6d37d53ae2e675456a7151aad8f7a75d84d5827a57268c8ca1774f ssh-agent -k 20:33:00 unset SSH_AUTH_SOCK; 20:33:00 unset SSH_AGENT_PID; 20:33:00 echo Agent pid 52 killed; 20:33:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:33:01 + git semver [Pipeline] } 20:33:01 $ docker stop --time=1 154270d9ed6d37d53ae2e675456a7151aad8f7a75d84d5827a57268c8ca1774f 20:33:02 $ docker rm -f 154270d9ed6d37d53ae2e675456a7151aad8f7a75d84d5827a57268c8ca1774f [Pipeline] // withDockerContainer [Pipeline] sh 20:33:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:33:03 Stashed 1 file(s) [Pipeline] echo 20:33:03 [edgeXSemver]: initialized semver on version 1.3.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:33:19 Still waiting to schedule task 20:33:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:33:19 Still waiting to schedule task 20:33:19 ‘prd-ubuntu18.04-docker-arm64-4c-16g-24613’ is offline 20:34:19 Running on prd-centos7-docker-4c-2g-24620 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 20:34:19 Running in /w/workspace/device-virtual-go/39 [Pipeline] { [Pipeline] checkout 20:34:22 using credential edgex-jenkins-ssh 20:34:22 Cloning the remote Git repository 20:34:21 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:34:22 > git init /w/workspace/device-virtual-go/39 # timeout=10 20:34:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:34:22 > git --version # timeout=10 20:34:22 > git --version # 'git version 2.24.3' 20:34:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:34:23 Checking out Revision bdf1cd5a2d4a5f1f1834e794e258934dca5f302b (master) 20:34:22 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:34:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:34:22 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:34:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:34:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:34:23 > git config core.sparsecheckout # timeout=10 20:34:23 > git checkout -f bdf1cd5a2d4a5f1f1834e794e258934dca5f302b # timeout=10 20:34:26 Commit message: "Merge pull request #167 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:34:28 + git checkout bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 20:34:28 HEAD is now at bdf1cd5 Merge pull request #167 from iain-anderson/commit-lint [Pipeline] sh 20:34:28 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:34:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:34:29 + true 20:34:29 + sudo service docker restart 20:34:29 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:34:30 provisioning config files... 20:34:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/39@tmp/config7219553987551445209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:30 ---> docker-login.sh 20:34:30 nexus3.edgexfoundry.org:10001 20:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:30 Configure a credential helper to remove this warning. See 20:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:30 20:34:30 Login Succeeded 20:34:30 nexus3.edgexfoundry.org:10002 20:34:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:31 Configure a credential helper to remove this warning. See 20:34:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:31 20:34:31 Login Succeeded 20:34:31 nexus3.edgexfoundry.org:10003 20:34:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:31 Configure a credential helper to remove this warning. See 20:34:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:31 20:34:31 Login Succeeded 20:34:31 nexus3.edgexfoundry.org:10004 20:34:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:31 Configure a credential helper to remove this warning. See 20:34:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:31 20:34:31 Login Succeeded 20:34:31 docker.io 20:34:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:31 Configure a credential helper to remove this warning. See 20:34:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:31 20:34:31 Login Succeeded 20:34:31 ---> docker-login.sh ends [Pipeline] } 20:34:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:34:32 ========================================================= 20:34:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:34:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:34:32 + 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 . 20:34:32 Sending build context to Docker daemon 466.9kB 20:34:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:34:32 Step 2/8 : FROM ${BASE} 20:34:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:34:32 188c0c94c7c5: Pulling fs layer 20:34:32 0ef7d3d256c8: Pulling fs layer 20:34:32 de9db76c5a1d: Pulling fs layer 20:34:32 bca2f99d35d6: Pulling fs layer 20:34:32 93359f2a8cfa: Pulling fs layer 20:34:32 7c6f9722023f: Pulling fs layer 20:34:32 a35cf1a2eb13: Pulling fs layer 20:34:32 93359f2a8cfa: Waiting 20:34:32 7c6f9722023f: Waiting 20:34:32 bca2f99d35d6: Waiting 20:34:32 a35cf1a2eb13: Waiting 20:34:32 de9db76c5a1d: Verifying Checksum 20:34:32 de9db76c5a1d: Download complete 20:34:32 0ef7d3d256c8: Verifying Checksum 20:34:32 0ef7d3d256c8: Download complete 20:34:32 93359f2a8cfa: Download complete 20:34:32 7c6f9722023f: Download complete 20:34:32 188c0c94c7c5: Verifying Checksum 20:34:32 188c0c94c7c5: Download complete 20:34:33 188c0c94c7c5: Pull complete 20:34:33 0ef7d3d256c8: Pull complete 20:34:33 de9db76c5a1d: Pull complete 20:34:34 a35cf1a2eb13: Verifying Checksum 20:34:34 a35cf1a2eb13: Download complete 20:34:35 bca2f99d35d6: Verifying Checksum 20:34:35 bca2f99d35d6: Download complete 20:34:40 bca2f99d35d6: Pull complete 20:34:40 93359f2a8cfa: Pull complete 20:34:40 7c6f9722023f: Pull complete 20:34:44 a35cf1a2eb13: Pull complete 20:34:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 20:34:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:34:44 ---> a62c8e92a672 20:34:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:34:45 ---> Running in d9b62bb36139 20:34:45 Removing intermediate container d9b62bb36139 20:34:45 ---> 7ebf2e7f148f 20:34:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:34:45 ---> Running in 219572f09533 20:34:46 Removing intermediate container 219572f09533 20:34:46 ---> e26de5ef7f24 20:34:46 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:34:46 ---> Running in 00d4bff4901c 20:34:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:34:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:34:48 (1/14) Installing libmagic (5.38-r0) 20:34:48 (2/14) Installing file (5.38-r0) 20:34:48 (3/14) Installing libc-dev (0.7.2-r3) 20:34:48 (4/14) Installing g++ (9.3.0-r2) 20:35:00 (5/14) Installing fortify-headers (1.1-r0) 20:35:00 (6/14) Installing patch (2.7.6-r6) 20:35:00 (7/14) Installing build-base (0.5-r2) 20:35:00 (8/14) Installing openssh-keygen (8.3_p1-r1) 20:35:00 (9/14) Installing libedit (20191231.3.1-r0) 20:35:00 (10/14) Installing openssh-client (8.3_p1-r1) 20:35:02 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 20:35:02 (12/14) Installing openssh-server-common (8.3_p1-r1) 20:35:02 (13/14) Installing openssh-server (8.3_p1-r1) 20:35:03 (14/14) Installing openssh (8.3_p1-r1) 20:35:03 Executing busybox-1.31.1-r19.trigger 20:35:03 OK: 237 MiB in 53 packages 20:35:06 Removing intermediate container 00d4bff4901c 20:35:06 ---> ddc664ee5381 20:35:06 Step 6/8 : WORKDIR /device-virtual-go 20:35:07 ---> Running in 53e108964a23 20:35:07 Removing intermediate container 53e108964a23 20:35:07 ---> ddbd9157c698 20:35:07 Step 7/8 : COPY . . 20:35:07 ---> 2d2df7e19774 20:35:07 Step 8/8 : RUN go mod download 20:35:08 ---> Running in 943fe4321e37 20:35:30 Removing intermediate container 943fe4321e37 20:35:30 ---> 1809de80a483 20:35:30 Successfully built 1809de80a483 20:35:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:35:30 + docker inspect -f . ci-base-image-x86_64 20:35:30 . [Pipeline] withDockerContainer 20:35:30 prd-centos7-docker-4c-2g-24620 does not seem to be running inside a container 20:35:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/39 -v /w/workspace/device-virtual-go/39:/w/workspace/device-virtual-go/39:rw,z -v /w/workspace/device-virtual-go/39@tmp:/w/workspace/device-virtual-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:35:31 $ docker top 08dc3365f334ec12694dc9c3db90e9c4379106c9d00288f8182c160ddeb8e75c -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:32 + go version 20:35:32 go version go1.15.5 linux/amd64 [Pipeline] } 20:35:32 $ docker stop --time=1 08dc3365f334ec12694dc9c3db90e9c4379106c9d00288f8182c160ddeb8e75c 20:35:33 $ docker rm -f 08dc3365f334ec12694dc9c3db90e9c4379106c9d00288f8182c160ddeb8e75c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:35:34 + docker inspect -f . ci-base-image-x86_64 20:35:34 . [Pipeline] withDockerContainer 20:35:34 prd-centos7-docker-4c-2g-24620 does not seem to be running inside a container 20:35:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/39 -v /w/workspace/device-virtual-go/39:/w/workspace/device-virtual-go/39:rw,z -v /w/workspace/device-virtual-go/39@tmp:/w/workspace/device-virtual-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:35:34 $ docker top bd46c1d12ce92669eb15901e328a1f5137c7358cfe7b3d67d507b3e57c0e18f4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:35 + make test 20:35:35 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:35:36 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:35:52 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:35:52 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.359s coverage: 64.4% of statements 20:35:52 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:35:55 gofmt -l . 20:35:55 [ "`gofmt -l .`" = "" ] 20:35:55 ./bin/test-attribution-txt.sh 20:35:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:35:56 $ docker stop --time=1 bd46c1d12ce92669eb15901e328a1f5137c7358cfe7b3d67d507b3e57c0e18f4 20:35:58 $ docker rm -f bd46c1d12ce92669eb15901e328a1f5137c7358cfe7b3d67d507b3e57c0e18f4 [Pipeline] // withDockerContainer [Pipeline] sh 20:35:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:35:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 20:36:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24627 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] sh [Pipeline] ws 20:36:02 Running in /w/workspace/device-virtual-go/39 [Pipeline] { [Pipeline] checkout 20:36:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:36:03 + ls -al . 20:36:03 total 124 20:36:03 drwxrwxr-x. 7 jenkins jenkins 4096 Feb 2 20:35 . 20:36:03 drwxrwxr-x. 4 jenkins jenkins 30 Feb 2 20:34 .. 20:36:03 -rw-rw-r--. 1 jenkins jenkins 6713 Feb 2 20:34 Attribution.txt 20:36:03 drwxrwxr-x. 2 jenkins jenkins 64 Feb 2 20:34 bin 20:36:03 drwxrwxr-x. 3 jenkins jenkins 32 Feb 2 20:34 cmd 20:36:03 -rw-r--r--. 1 jenkins jenkins 47242 Feb 2 20:35 coverage.out 20:36:03 -rw-rw-r--. 1 jenkins jenkins 1851 Feb 2 20:34 Dockerfile 20:36:03 -rw-rw-r--. 1 jenkins jenkins 961 Feb 2 20:34 Dockerfile.build 20:36:03 drwxrwxr-x. 8 jenkins jenkins 162 Feb 2 20:34 .git 20:36:03 drwxrwxr-x. 2 jenkins jenkins 103 Feb 2 20:34 .github 20:36:03 -rw-rw-r--. 1 jenkins jenkins 258 Feb 2 20:34 .gitignore 20:36:03 -rw-r--r--. 1 jenkins jenkins 856 Feb 2 20:35 go.mod 20:36:03 -rw-r--r--. 1 jenkins jenkins 16346 Feb 2 20:35 go.sum 20:36:03 drwxrwxr-x. 3 jenkins jenkins 20 Feb 2 20:34 internal 20:36:03 -rw-rw-r--. 1 jenkins jenkins 660 Feb 2 20:34 Jenkinsfile 20:36:03 -rw-rw-r--. 1 jenkins jenkins 11340 Feb 2 20:34 LICENSE 20:36:03 -rw-rw-r--. 1 jenkins jenkins 873 Feb 2 20:34 Makefile 20:36:03 -rw-rw-r--. 1 jenkins jenkins 918 Feb 2 20:34 README.md 20:36:03 -rw-rw-r--. 1 jenkins jenkins 5 Feb 2 20:33 VERSION 20:36:03 -rw-rw-r--. 1 jenkins jenkins 235 Feb 2 20:34 version.go [Pipeline] isUnix [Pipeline] sh 20:36:03 + 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=bdf1cd5a2d4a5f1f1834e794e258934dca5f302b --label arch=amd64 --label version=1.3.1 . 20:36:03 Sending build context to Docker daemon 532kB 20:36:03 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 20:36:03 Step 2/22 : FROM ${BASE} AS builder 20:36:03 ---> 1809de80a483 20:36:03 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 20:36:03 ---> Running in 67403a425022 20:36:04 Removing intermediate container 67403a425022 20:36:04 ---> 15b82272eaaa 20:36:04 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 20:36:04 ---> Running in d120a6ef0ac1 20:36:04 Removing intermediate container d120a6ef0ac1 20:36:04 ---> 83211ecd8afe 20:36:04 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 20:36:04 ---> Running in ddd4d124e77d 20:36:04 Removing intermediate container ddd4d124e77d 20:36:04 ---> 58fc1f411864 20:36:04 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:36:04 ---> Running in a926417b8412 20:36:05 Removing intermediate container a926417b8412 20:36:05 ---> c76ab3c951d4 20:36:05 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:05 ---> Running in 05c9541bffa2 20:36:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:36:08 using credential edgex-jenkins-ssh 20:36:08 Cloning the remote Git repository 20:36:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:36:08 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:36:08 > git init /w/workspace/device-virtual-go/39 # timeout=10 20:36:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:36:08 > git --version # timeout=10 20:36:08 > git --version # 'git version 2.17.1' 20:36:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:10 Checking out Revision bdf1cd5a2d4a5f1f1834e794e258934dca5f302b (master) 20:36:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:36:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:36:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:36:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:36:10 > git config core.sparsecheckout # timeout=10 20:36:10 > git checkout -f bdf1cd5a2d4a5f1f1834e794e258934dca5f302b # timeout=10 20:36:11 OK: 237 MiB in 53 packages 20:36:11 Removing intermediate container 05c9541bffa2 20:36:11 ---> b02c080de438 20:36:11 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 20:36:11 ---> Running in 68633905cb60 20:36:11 Removing intermediate container 68633905cb60 20:36:11 ---> d91e9f1c650e 20:36:11 Step 9/22 : COPY . . 20:36:12 ---> 7603b021a2e7 20:36:12 Step 10/22 : ARG MAKE='make build' 20:36:12 ---> Running in e351feccf639 20:36:12 Removing intermediate container e351feccf639 20:36:12 ---> a26903beccb4 20:36:12 Step 11/22 : RUN $MAKE 20:36:13 ---> Running in 34b5c0de26da 20:36:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.1" -o cmd/device-virtual ./cmd 20:36:15 Commit message: "Merge pull request #167 from iain-anderson/commit-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:16 + git checkout bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 20:36:16 HEAD is now at bdf1cd5 Merge pull request #167 from iain-anderson/commit-lint [Pipeline] sh 20:36:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:36:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:36:18 + sudo service docker restart 20:36:18 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:36:20 provisioning config files... 20:36:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/39@tmp/config524498134008185702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:21 ---> docker-login.sh 20:36:21 nexus3.edgexfoundry.org:10001 20:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:22 Configure a credential helper to remove this warning. See 20:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:22 20:36:22 Login Succeeded 20:36:22 nexus3.edgexfoundry.org:10002 20:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:23 Configure a credential helper to remove this warning. See 20:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:23 20:36:23 Login Succeeded 20:36:23 nexus3.edgexfoundry.org:10003 20:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:23 Configure a credential helper to remove this warning. See 20:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:23 20:36:23 Login Succeeded 20:36:23 nexus3.edgexfoundry.org:10004 20:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:24 Configure a credential helper to remove this warning. See 20:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:24 20:36:24 Login Succeeded 20:36:24 docker.io 20:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:25 Configure a credential helper to remove this warning. See 20:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:25 20:36:25 Login Succeeded 20:36:25 ---> docker-login.sh ends [Pipeline] } 20:36:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:36:25 ========================================================= 20:36:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:36:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:36:26 + 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 . 20:36:26 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:36:26 Sending build context to Docker daemon 465.9kB 20:36:26 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:36:26 Step 2/8 : FROM ${BASE} 20:36:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:36:26 5f621e34cdf4: Pulling fs layer 20:36:26 a4357932f1b6: Pulling fs layer 20:36:26 18c013af1878: Pulling fs layer 20:36:26 00ac8860ef70: Pulling fs layer 20:36:26 63d7cb157983: Pulling fs layer 20:36:26 b116817d02f9: Pulling fs layer 20:36:26 745a02a5169b: Pulling fs layer 20:36:26 b116817d02f9: Waiting 20:36:26 00ac8860ef70: Waiting 20:36:26 63d7cb157983: Waiting 20:36:26 745a02a5169b: Waiting 20:36:26 18c013af1878: Verifying Checksum 20:36:26 18c013af1878: Download complete 20:36:26 a4357932f1b6: Verifying Checksum 20:36:26 a4357932f1b6: Download complete 20:36:26 63d7cb157983: Verifying Checksum 20:36:26 63d7cb157983: Download complete 20:36:26 b116817d02f9: Verifying Checksum 20:36:26 b116817d02f9: Download complete 20:36:26 5f621e34cdf4: Verifying Checksum 20:36:26 5f621e34cdf4: Download complete 20:36:27 5f621e34cdf4: Pull complete 20:36:28 a4357932f1b6: Pull complete 20:36:28 Removing intermediate container 34b5c0de26da 20:36:28 ---> ef16504b5c28 20:36:28 Step 12/22 : FROM alpine:3.12 20:36:28 18c013af1878: Pull complete 20:36:29 3.12: Pulling from library/alpine 20:36:29 801bfaa63ef2: Pulling fs layer 20:36:29 745a02a5169b: Verifying Checksum 20:36:29 745a02a5169b: Download complete 20:36:29 801bfaa63ef2: Verifying Checksum 20:36:29 801bfaa63ef2: Download complete 20:36:29 801bfaa63ef2: Pull complete 20:36:29 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 20:36:29 Status: Downloaded newer image for alpine:3.12 20:36:29 ---> 389fef711851 20:36:29 Step 13/22 : ENV APP_PORT=49990 20:36:29 ---> Running in c4184d15c11d 20:36:30 Removing intermediate container c4184d15c11d 20:36:30 ---> ed34dbbde898 20:36:30 Step 14/22 : EXPOSE $APP_PORT 20:36:30 ---> Running in 4ce5884e7541 20:36:30 Removing intermediate container 4ce5884e7541 20:36:30 ---> 1641b063fc58 20:36:30 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 20:36:30 00ac8860ef70: Verifying Checksum 20:36:30 00ac8860ef70: Download complete 20:36:30 ---> fbf095fa26b6 20:36:30 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 20:36:31 ---> 4f805333056c 20:36:31 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 20:36:31 ---> be49a457ea35 20:36:31 Step 18/22 : ENTRYPOINT ["/device-virtual"] 20:36:31 ---> Running in aaf43e515813 20:36:31 Removing intermediate container aaf43e515813 20:36:31 ---> 422687c08886 20:36:31 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:36:31 ---> Running in c13b86f9e13e 20:36:31 Removing intermediate container c13b86f9e13e 20:36:31 ---> 16fa0c331611 20:36:31 Step 20/22 : LABEL arch=amd64 20:36:31 ---> Running in 28231a10bc18 20:36:31 Removing intermediate container 28231a10bc18 20:36:31 ---> e92c3ec9ad90 20:36:31 Step 21/22 : LABEL git_sha=bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 20:36:31 ---> Running in d349b035dc80 20:36:32 Removing intermediate container d349b035dc80 20:36:32 ---> 4fcbf09a8a99 20:36:32 Step 22/22 : LABEL version=1.3.1 20:36:32 ---> Running in 986fd10bf74c 20:36:32 Removing intermediate container 986fd10bf74c 20:36:32 ---> 8b859bf06c14 20:36:32 [Warning] One or more build-args [ARCH] were not consumed 20:36:32 Successfully built 8b859bf06c14 20:36:32 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:36:32 provisioning config files... 20:36:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/39@tmp/config6114053446519048273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:33 ---> docker-login.sh 20:36:33 nexus3.edgexfoundry.org:10001 20:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:33 Configure a credential helper to remove this warning. See 20:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:33 20:36:33 Login Succeeded 20:36:33 nexus3.edgexfoundry.org:10002 20:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:33 Configure a credential helper to remove this warning. See 20:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:33 20:36:33 Login Succeeded 20:36:33 nexus3.edgexfoundry.org:10003 20:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:33 Configure a credential helper to remove this warning. See 20:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:33 20:36:33 Login Succeeded 20:36:33 nexus3.edgexfoundry.org:10004 20:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:34 Configure a credential helper to remove this warning. See 20:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:34 20:36:34 Login Succeeded 20:36:34 docker.io 20:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:34 Configure a credential helper to remove this warning. See 20:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:34 20:36:34 Login Succeeded 20:36:34 ---> docker-login.sh ends [Pipeline] } 20:36:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:36:34 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 20:36:34 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 20:36:34 latest 20:36:34 1.3.1 20:36:34 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b-1.3.1 20:36:34 master 20:36:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:36:35 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b [Pipeline] isUnix [Pipeline] sh 20:36:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 20:36:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 20:36:35 addaa0cfd84f: Preparing 20:36:35 d5f424652c25: Preparing 20:36:35 509f3f8d1087: Preparing 20:36:35 777b2c648970: Preparing 20:36:35 777b2c648970: Layer already exists 20:36:35 d5f424652c25: Pushed 20:36:35 addaa0cfd84f: Pushed 20:36:37 509f3f8d1087: Pushed 20:36:37 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b: digest: sha256:02ef9ac5c235475d00435e13d705f463d0312acd69edf4105d70398e84c59806 size: 1155 [Pipeline] isUnix [Pipeline] sh 20:36:37 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 20:36:37 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 20:36:37 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 20:36:37 addaa0cfd84f: Preparing 20:36:37 d5f424652c25: Preparing 20:36:37 509f3f8d1087: Preparing 20:36:37 777b2c648970: Preparing 20:36:37 777b2c648970: Layer already exists 20:36:37 509f3f8d1087: Layer already exists 20:36:37 d5f424652c25: Layer already exists 20:36:37 addaa0cfd84f: Layer already exists 20:36:37 latest: digest: sha256:02ef9ac5c235475d00435e13d705f463d0312acd69edf4105d70398e84c59806 size: 1155 [Pipeline] isUnix [Pipeline] sh 20:36:38 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1 [Pipeline] isUnix [Pipeline] sh 20:36:38 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1 20:36:38 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 20:36:38 addaa0cfd84f: Preparing 20:36:38 d5f424652c25: Preparing 20:36:38 509f3f8d1087: Preparing 20:36:38 777b2c648970: Preparing 20:36:38 509f3f8d1087: Layer already exists 20:36:38 777b2c648970: Layer already exists 20:36:38 addaa0cfd84f: Layer already exists 20:36:38 d5f424652c25: Layer already exists 20:36:38 1.3.1: digest: sha256:02ef9ac5c235475d00435e13d705f463d0312acd69edf4105d70398e84c59806 size: 1155 [Pipeline] isUnix [Pipeline] sh 20:36:38 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b-1.3.1 [Pipeline] isUnix [Pipeline] sh 20:36:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b-1.3.1 20:36:39 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 20:36:39 addaa0cfd84f: Preparing 20:36:39 d5f424652c25: Preparing 20:36:39 509f3f8d1087: Preparing 20:36:39 777b2c648970: Preparing 20:36:39 777b2c648970: Layer already exists 20:36:39 509f3f8d1087: Layer already exists 20:36:39 d5f424652c25: Layer already exists 20:36:39 addaa0cfd84f: Layer already exists 20:36:39 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b-1.3.1: digest: sha256:02ef9ac5c235475d00435e13d705f463d0312acd69edf4105d70398e84c59806 size: 1155 [Pipeline] isUnix [Pipeline] sh 20:36:39 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 20:36:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 20:36:39 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 20:36:39 addaa0cfd84f: Preparing 20:36:39 d5f424652c25: Preparing 20:36:39 509f3f8d1087: Preparing 20:36:39 777b2c648970: Preparing 20:36:39 509f3f8d1087: Layer already exists 20:36:39 777b2c648970: Layer already exists 20:36:39 d5f424652c25: Layer already exists 20:36:39 addaa0cfd84f: Layer already exists 20:36:39 master: digest: sha256:02ef9ac5c235475d00435e13d705f463d0312acd69edf4105d70398e84c59806 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:36:40 ===================================================== [Pipeline] echo 20:36:40 taggedImages: 20:36:40 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 20:36:40 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 20:36:40 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1 20:36:40 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b-1.3.1 20:36:40 - 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 20:36:41 00ac8860ef70: Pull complete 20:36:41 63d7cb157983: Pull complete 20:36:41 b116817d02f9: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] } 20:36:44 745a02a5169b: Pull complete 20:36:44 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 20:36:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:36:44 ---> b7e6874047d6 20:36:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:36:47 ---> Running in 6513df25fdb3 20:36:47 Removing intermediate container 6513df25fdb3 20:36:47 ---> 36ea9e217327 20:36:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:36:47 ---> Running in b70667bbb552 20:36:50 Removing intermediate container b70667bbb552 20:36:50 ---> 91378d9beb33 20:36:50 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:36:50 ---> Running in 35d07ef6c5d3 20:36:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:36:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:36:57 (1/14) Installing libmagic (5.38-r0) 20:36:58 (2/14) Installing file (5.38-r0) 20:36:58 (3/14) Installing libc-dev (0.7.2-r3) 20:36:58 (4/14) Installing g++ (9.3.0-r2) 20:37:20 (5/14) Installing fortify-headers (1.1-r0) 20:37:20 (6/14) Installing patch (2.7.6-r6) 20:37:20 (7/14) Installing build-base (0.5-r2) 20:37:20 (8/14) Installing openssh-keygen (8.3_p1-r1) 20:37:20 (9/14) Installing libedit (20191231.3.1-r0) 20:37:20 (10/14) Installing openssh-client (8.3_p1-r1) 20:37:23 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 20:37:23 (12/14) Installing openssh-server-common (8.3_p1-r1) 20:37:23 (13/14) Installing openssh-server (8.3_p1-r1) 20:37:24 (14/14) Installing openssh (8.3_p1-r1) 20:37:25 Executing busybox-1.31.1-r19.trigger 20:37:25 OK: 221 MiB in 53 packages 20:37:29 Removing intermediate container 35d07ef6c5d3 20:37:29 ---> 06474aab97a2 20:37:29 Step 6/8 : WORKDIR /device-virtual-go 20:37:29 ---> Running in 01189411bb84 20:37:30 Removing intermediate container 01189411bb84 20:37:30 ---> 26b07d97ef53 20:37:30 Step 7/8 : COPY . . 20:37:31 ---> ce3b1d37f8a0 20:37:31 Step 8/8 : RUN go mod download 20:37:31 ---> Running in 8880720f6374 20:37:57 Removing intermediate container 8880720f6374 20:37:57 ---> bbc98ae3780d 20:37:57 Successfully built bbc98ae3780d 20:37:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:37:58 + docker inspect -f . ci-base-image-arm64 20:37:58 . [Pipeline] withDockerContainer 20:37:58 prd-ubuntu18.04-docker-arm64-4c-16g-24627 does not seem to be running inside a container 20:37:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/39 -v /w/workspace/device-virtual-go/39:/w/workspace/device-virtual-go/39:rw,z -v /w/workspace/device-virtual-go/39@tmp:/w/workspace/device-virtual-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:37:59 $ docker top 728cd5d3608fbf4da243380a288ce30834e71a0f106d3f7e25af0cb16587231f -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:01 + go version 20:38:01 go version go1.15.5 linux/arm64 [Pipeline] } 20:38:01 $ docker stop --time=1 728cd5d3608fbf4da243380a288ce30834e71a0f106d3f7e25af0cb16587231f 20:38:03 $ docker rm -f 728cd5d3608fbf4da243380a288ce30834e71a0f106d3f7e25af0cb16587231f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:38:04 + docker inspect -f . ci-base-image-arm64 20:38:04 . [Pipeline] withDockerContainer 20:38:04 prd-ubuntu18.04-docker-arm64-4c-16g-24627 does not seem to be running inside a container 20:38:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/39 -v /w/workspace/device-virtual-go/39:/w/workspace/device-virtual-go/39:rw,z -v /w/workspace/device-virtual-go/39@tmp:/w/workspace/device-virtual-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:38:06 $ docker top 5d6884755af4753ccdeb70689d6f3a4f405d6b5a8c52e35dd10df4655744c23d -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:07 + make test 20:38:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:38:08 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:38:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:38:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.617s coverage: 64.4% of statements 20:38:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:39:05 gofmt -l . 20:39:05 [ "`gofmt -l .`" = "" ] 20:39:05 ./bin/test-attribution-txt.sh 20:39:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:39:06 $ docker stop --time=1 5d6884755af4753ccdeb70689d6f3a4f405d6b5a8c52e35dd10df4655744c23d 20:39:09 $ docker rm -f 5d6884755af4753ccdeb70689d6f3a4f405d6b5a8c52e35dd10df4655744c23d [Pipeline] // withDockerContainer [Pipeline] sh 20:39:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:39:10 Warning: overwriting stash ‘coverage-report’ 20:39:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:39:12 + ls -al . 20:39:12 total 148 20:39:12 drwxrwxr-x 7 jenkins jenkins 4096 Feb 2 20:39 . 20:39:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 20:36 .. 20:39:12 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 20:36 .git 20:39:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 20:36 .github 20:39:12 -rw-rw-r-- 1 jenkins jenkins 258 Feb 2 20:36 .gitignore 20:39:12 -rw-rw-r-- 1 jenkins jenkins 6713 Feb 2 20:36 Attribution.txt 20:39:12 -rw-rw-r-- 1 jenkins jenkins 1851 Feb 2 20:36 Dockerfile 20:39:12 -rw-rw-r-- 1 jenkins jenkins 961 Feb 2 20:36 Dockerfile.build 20:39:12 -rw-rw-r-- 1 jenkins jenkins 660 Feb 2 20:36 Jenkinsfile 20:39:12 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 2 20:36 LICENSE 20:39:12 -rw-rw-r-- 1 jenkins jenkins 873 Feb 2 20:36 Makefile 20:39:12 -rw-rw-r-- 1 jenkins jenkins 918 Feb 2 20:36 README.md 20:39:12 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 20:33 VERSION 20:39:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 20:36 bin 20:39:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 20:36 cmd 20:39:12 -rw-r--r-- 1 jenkins jenkins 47242 Feb 2 20:38 coverage.out 20:39:12 -rw-r--r-- 1 jenkins jenkins 856 Feb 2 20:39 go.mod 20:39:12 -rw-r--r-- 1 jenkins jenkins 16346 Feb 2 20:39 go.sum 20:39:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 20:36 internal 20:39:12 -rw-rw-r-- 1 jenkins jenkins 235 Feb 2 20:36 version.go [Pipeline] isUnix [Pipeline] sh 20:39:12 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bdf1cd5a2d4a5f1f1834e794e258934dca5f302b --label arch=arm64 --label version=1.3.1 . 20:39:12 Sending build context to Docker daemon 530.9kB 20:39:12 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 20:39:12 Step 2/22 : FROM ${BASE} AS builder 20:39:12 ---> bbc98ae3780d 20:39:12 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 20:39:12 ---> Running in 8719642c017b 20:39:13 Removing intermediate container 8719642c017b 20:39:13 ---> 516e224d415c 20:39:13 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 20:39:13 ---> Running in b92ae58aff2f 20:39:14 Removing intermediate container b92ae58aff2f 20:39:14 ---> 7d6548b84b0c 20:39:14 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 20:39:14 ---> Running in 61aae059442e 20:39:14 Removing intermediate container 61aae059442e 20:39:14 ---> 5c5c56c738e0 20:39:14 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:39:14 ---> Running in b7c8e2c172fc 20:39:16 Removing intermediate container b7c8e2c172fc 20:39:16 ---> 71e9cbf6859d 20:39:16 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:16 ---> Running in aadad498be3a 20:39:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:39:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:39:23 OK: 221 MiB in 53 packages 20:39:24 Removing intermediate container aadad498be3a 20:39:24 ---> bea98a68f456 20:39:24 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 20:39:24 ---> Running in 98f840fb2bbd 20:39:24 Removing intermediate container 98f840fb2bbd 20:39:24 ---> f9f5f79db896 20:39:24 Step 9/22 : COPY . . 20:39:25 ---> 0b1b0ee01b20 20:39:25 Step 10/22 : ARG MAKE='make build' 20:39:26 ---> Running in 1ee58dc53954 20:39:26 Removing intermediate container 1ee58dc53954 20:39:26 ---> b536e269fb0b 20:39:26 Step 11/22 : RUN $MAKE 20:39:26 ---> Running in 4c95e71de9a7 20:39:27 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.1" -o cmd/device-virtual ./cmd 20:40:06 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:40:10 Removing intermediate container 4c95e71de9a7 20:40:10 ---> 73c73f662962 20:40:10 Step 12/22 : FROM alpine:3.12 20:40:10 3.12: Pulling from library/alpine 20:40:10 159e5727ea61: Pulling fs layer 20:40:11 159e5727ea61: Download complete 20:40:11 159e5727ea61: Pull complete 20:40:11 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 20:40:11 Status: Downloaded newer image for alpine:3.12 20:40:11 ---> afeebe901d6b 20:40:11 Step 13/22 : ENV APP_PORT=49990 20:40:11 ---> Running in db35b640fb67 20:40:12 Removing intermediate container db35b640fb67 20:40:12 ---> 7115fedd0657 20:40:12 Step 14/22 : EXPOSE $APP_PORT 20:40:12 ---> Running in c4ed64dd02ef 20:40:12 Removing intermediate container c4ed64dd02ef 20:40:12 ---> a08d7fa864f5 20:40:12 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 20:40:14 ---> 8c6845d852c4 20:40:14 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 20:40:14 ---> 6771f9747186 20:40:14 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 20:40:15 ---> 36970e6fd3a6 20:40:15 Step 18/22 : ENTRYPOINT ["/device-virtual"] 20:40:15 ---> Running in e68dae8e7290 20:40:15 Removing intermediate container e68dae8e7290 20:40:15 ---> 85b2b19ce561 20:40:15 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:40:15 ---> Running in 5724d010ade0 20:40:16 Removing intermediate container 5724d010ade0 20:40:16 ---> d469f441acb9 20:40:16 Step 20/22 : LABEL arch=arm64 20:40:16 ---> Running in 111d3ac44953 20:40:17 Removing intermediate container 111d3ac44953 20:40:17 ---> 8273a67eb043 20:40:17 Step 21/22 : LABEL git_sha=bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 20:40:17 ---> Running in 83f76c3a124e 20:40:17 Removing intermediate container 83f76c3a124e 20:40:17 ---> ce94890b9f0e 20:40:17 Step 22/22 : LABEL version=1.3.1 20:40:17 ---> Running in f3bcbefea7c5 20:40:18 Removing intermediate container f3bcbefea7c5 20:40:18 ---> 4eabd4c284a8 20:40:18 [Warning] One or more build-args [ARCH] were not consumed 20:40:18 Successfully built 4eabd4c284a8 20:40:18 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 20:40:18 provisioning config files... 20:40:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/39@tmp/config4011231630916944565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:18 ---> docker-login.sh 20:40:18 nexus3.edgexfoundry.org:10001 20:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:19 Configure a credential helper to remove this warning. See 20:40:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:19 20:40:19 Login Succeeded 20:40:19 nexus3.edgexfoundry.org:10002 20:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:20 Configure a credential helper to remove this warning. See 20:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:20 20:40:20 Login Succeeded 20:40:20 nexus3.edgexfoundry.org:10003 20:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:20 Configure a credential helper to remove this warning. See 20:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:20 20:40:20 Login Succeeded 20:40:20 nexus3.edgexfoundry.org:10004 20:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:21 Configure a credential helper to remove this warning. See 20:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:21 20:40:21 Login Succeeded 20:40:21 docker.io 20:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:21 Configure a credential helper to remove this warning. See 20:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:21 20:40:21 Login Succeeded 20:40:21 ---> docker-login.sh ends [Pipeline] } 20:40:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:40:21 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 20:40:21 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 20:40:21 latest 20:40:21 1.3.1 20:40:21 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b-1.3.1 20:40:21 master 20:40:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:40:22 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b [Pipeline] isUnix [Pipeline] sh 20:40:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 20:40:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 20:40:22 e1bfb24b8008: Preparing 20:40:22 000e2d687de9: Preparing 20:40:22 c2136a73cb02: Preparing 20:40:22 379067d0cb53: Preparing 20:40:22 379067d0cb53: Layer already exists 20:40:22 000e2d687de9: Pushed 20:40:22 e1bfb24b8008: Pushed 20:40:26 c2136a73cb02: Pushed 20:40:26 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b: digest: sha256:4ac0a6f828e18ef21507fe2816742067425e1e8df5cdbbe559bb07edbc03edad size: 1155 [Pipeline] isUnix [Pipeline] sh 20:40:26 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:40:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 20:40:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 20:40:27 e1bfb24b8008: Preparing 20:40:27 000e2d687de9: Preparing 20:40:27 c2136a73cb02: Preparing 20:40:27 379067d0cb53: Preparing 20:40:27 000e2d687de9: Layer already exists 20:40:27 e1bfb24b8008: Layer already exists 20:40:27 c2136a73cb02: Layer already exists 20:40:27 379067d0cb53: Layer already exists 20:40:27 latest: digest: sha256:4ac0a6f828e18ef21507fe2816742067425e1e8df5cdbbe559bb07edbc03edad size: 1155 [Pipeline] isUnix [Pipeline] sh 20:40:27 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1 [Pipeline] isUnix [Pipeline] sh 20:40:28 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1 20:40:28 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 20:40:28 e1bfb24b8008: Preparing 20:40:28 000e2d687de9: Preparing 20:40:28 c2136a73cb02: Preparing 20:40:28 379067d0cb53: Preparing 20:40:28 c2136a73cb02: Layer already exists 20:40:28 e1bfb24b8008: Layer already exists 20:40:28 379067d0cb53: Layer already exists 20:40:28 000e2d687de9: Layer already exists 20:40:28 1.3.1: digest: sha256:4ac0a6f828e18ef21507fe2816742067425e1e8df5cdbbe559bb07edbc03edad size: 1155 [Pipeline] isUnix [Pipeline] sh 20:40:28 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b-1.3.1 [Pipeline] isUnix [Pipeline] sh 20:40:29 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b-1.3.1 20:40:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 20:40:29 e1bfb24b8008: Preparing 20:40:29 000e2d687de9: Preparing 20:40:29 c2136a73cb02: Preparing 20:40:29 379067d0cb53: Preparing 20:40:29 c2136a73cb02: Layer already exists 20:40:29 379067d0cb53: Layer already exists 20:40:29 000e2d687de9: Layer already exists 20:40:29 e1bfb24b8008: Layer already exists 20:40:29 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b-1.3.1: digest: sha256:4ac0a6f828e18ef21507fe2816742067425e1e8df5cdbbe559bb07edbc03edad size: 1155 [Pipeline] isUnix [Pipeline] sh 20:40:29 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 20:40:29 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 20:40:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 20:40:29 e1bfb24b8008: Preparing 20:40:29 000e2d687de9: Preparing 20:40:29 c2136a73cb02: Preparing 20:40:29 379067d0cb53: Preparing 20:40:30 c2136a73cb02: Layer already exists 20:40:30 000e2d687de9: Layer already exists 20:40:30 e1bfb24b8008: Layer already exists 20:40:30 379067d0cb53: Layer already exists 20:40:30 master: digest: sha256:4ac0a6f828e18ef21507fe2816742067425e1e8df5cdbbe559bb07edbc03edad size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:40:30 ===================================================== [Pipeline] echo 20:40:30 taggedImages: 20:40:30 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b 20:40:30 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 20:40:30 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1 20:40:30 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:bdf1cd5a2d4a5f1f1834e794e258934dca5f302b-1.3.1 20:40:30 - 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 20:40:32 provisioning config files... 20:40:32 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5712975168640527181tmp [Pipeline] { [Pipeline] sh 20:40:32 + set +x 20:40:32 + curl -s https://codecov.io/bash 20:40:32 + bash -s -- 20:40:32 20:40:32 _____ _ 20:40:32 / ____| | | 20:40:32 | | ___ __| | ___ ___ _____ __ 20:40:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:40:32 | |___| (_) | (_| | __/ (_| (_) \ V / 20:40:32 \_____\___/ \__,_|\___|\___\___/ \_/ 20:40:32 Bash-20210129-7c25fce 20:40:32 20:40:32 20:40:32 ==> git version 2.24.3 found 20:40:32 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:40:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:40:32 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:40:32 ==> Jenkins CI detected. 20:40:32 project root: . 20:40:32 --> token set from env 20:40:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:40:32 ==> Running gcov in . (disable via -X gcov) 20:40:32 ==> Python coveragepy not found 20:40:32 ==> Searching for coverage reports in: 20:40:32 + . 20:40:32 -> Found 1 reports 20:40:32 ==> Detecting git/mercurial file structure 20:40:32 ==> Reading reports 20:40:32 + ./coverage.out bytes=47242 20:40:32 ==> Appending adjustments 20:40:32 https://docs.codecov.io/docs/fixing-reports 20:40:32 + Found adjustments 20:40:32 ==> Gzipping contents 20:40:33 8.0K /tmp/codecov.ex44SV.gz 20:40:33 ==> Uploading reports 20:40:33 url: https://codecov.io 20:40:33 query: branch=master&commit=bdf1cd5a2d4a5f1f1834e794e258934dca5f302b&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:40:33 -> Pinging Codecov 20:40:33 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=bdf1cd5a2d4a5f1f1834e794e258934dca5f302b&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:40:33 -> Uploading to 20:40:33 https://storage.googleapis.com/codecov/v4/raw/2021-02-02/5E52B4B073DB2E39498172D8E973AA87/bdf1cd5a2d4a5f1f1834e794e258934dca5f302b/9f2d9715-edf6-484d-b2ec-f8f29da217eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210202T204033Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96fe32305235d69afb079aabff15dff3a5ba1e98c9626dc369a85478b231a75c 20:40:33 % Total % Received % Xferd Average Speed Time Time Time Current 20:40:33 Dload Upload Total Spent Left Speed 20:40:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5789 0 0 100 5789 0 13659 --:--:-- --:--:-- --:--:-- 13653 20:40:34 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/bdf1cd5a2d4a5f1f1834e794e258934dca5f302b [Pipeline] } 20:40:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:40:34 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:40:34 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:40:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:40:34 20:40:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:40:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:40:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:40:35 188c0c94c7c5: Pulling fs layer 20:40:35 0ef7d3d256c8: Pulling fs layer 20:40:35 de9db76c5a1d: Pulling fs layer 20:40:35 0eba1c9be4d2: Pulling fs layer 20:40:35 0d57e429df01: Pulling fs layer 20:40:35 4e4be7b47b0d: Pulling fs layer 20:40:35 e1f770b5df2f: Pulling fs layer 20:40:35 85a0685a4137: Pulling fs layer 20:40:35 e1f770b5df2f: Waiting 20:40:35 4e4be7b47b0d: Waiting 20:40:35 85a0685a4137: Waiting 20:40:35 0eba1c9be4d2: Waiting 20:40:35 0d57e429df01: Waiting 20:40:35 de9db76c5a1d: Verifying Checksum 20:40:35 de9db76c5a1d: Download complete 20:40:35 0ef7d3d256c8: Verifying Checksum 20:40:35 0ef7d3d256c8: Download complete 20:40:35 0d57e429df01: Verifying Checksum 20:40:35 0d57e429df01: Download complete 20:40:35 4e4be7b47b0d: Verifying Checksum 20:40:35 4e4be7b47b0d: Download complete 20:40:35 188c0c94c7c5: Verifying Checksum 20:40:35 188c0c94c7c5: Download complete 20:40:35 188c0c94c7c5: Pull complete 20:40:36 0ef7d3d256c8: Pull complete 20:40:36 e1f770b5df2f: Verifying Checksum 20:40:36 e1f770b5df2f: Download complete 20:40:36 de9db76c5a1d: Pull complete 20:40:37 0eba1c9be4d2: Verifying Checksum 20:40:37 0eba1c9be4d2: Download complete 20:40:38 85a0685a4137: Verifying Checksum 20:40:38 85a0685a4137: Download complete 20:40:42 0eba1c9be4d2: Pull complete 20:40:42 0d57e429df01: Pull complete 20:40:43 4e4be7b47b0d: Pull complete 20:40:46 e1f770b5df2f: Pull complete 20:40:54 85a0685a4137: Pull complete 20:40:54 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:40:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:40:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:40:55 prd-centos7-docker-4c-2g-24611 does not seem to be running inside a container 20:40:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:40:57 $ docker top 474a85654b7c6d0a2de942cb1e3a9e0a20edc52985e4de864565f9d255428973 -eo pid,comm [Pipeline] { [Pipeline] echo 20:40:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:40:57 + set -o pipefail 20:40:57 + snyk monitor '--org=edgex-jenkins' 20:41:10 20:41:10 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 20:41:10 20:41:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/53873e9d-8f4b-4389-9f9d-121f3392628a 20:41:10 20:41:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:41:10 20:41:10 [Pipeline] } 20:41:10 $ docker stop --time=1 474a85654b7c6d0a2de942cb1e3a9e0a20edc52985e4de864565f9d255428973 20:41:13 $ docker rm -f 474a85654b7c6d0a2de942cb1e3a9e0a20edc52985e4de864565f9d255428973 [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 20:41:15 + git log --format=format:%s -1 bdf1cd5a2d4a5f1f1834e794e258934dca5f302b [Pipeline] isUnix [Pipeline] sh 20:41:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:41:15 . [Pipeline] withDockerContainer 20:41:15 prd-centos7-docker-4c-2g-24611 does not seem to be running inside a container 20:41:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:41:16 $ docker top 98e549c1f69f3ea0f21c78cf514ba33be59c0ece05b59a088c90c4f00e2a46c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:41:16 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.3.1|v1.3.1-dev.5' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:41:16 + git semver [Pipeline] } 20:41:17 $ docker stop --time=1 98e549c1f69f3ea0f21c78cf514ba33be59c0ece05b59a088c90c4f00e2a46c4 20:41:18 $ docker rm -f 98e549c1f69f3ea0f21c78cf514ba33be59c0ece05b59a088c90c4f00e2a46c4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:41:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:41:18 20:41:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:41:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:41:19 0.23.1-centos7: Pulling from edgex-lftools 20:41:19 ab5ef0e58194: Pulling fs layer 20:41:19 9712f1f96733: Pulling fs layer 20:41:19 63f879dbbcfc: Pulling fs layer 20:41:19 0d9ebad4ef96: Pulling fs layer 20:41:19 e9a5061849ea: Pulling fs layer 20:41:19 d747dcd14b5f: Pulling fs layer 20:41:19 2de7ff778b66: Pulling fs layer 20:41:19 e9a5061849ea: Waiting 20:41:19 d747dcd14b5f: Waiting 20:41:19 2de7ff778b66: Waiting 20:41:19 0d9ebad4ef96: Waiting 20:41:19 9712f1f96733: Verifying Checksum 20:41:19 9712f1f96733: Download complete 20:41:22 63f879dbbcfc: Verifying Checksum 20:41:22 63f879dbbcfc: Download complete 20:41:22 e9a5061849ea: Verifying Checksum 20:41:22 e9a5061849ea: Download complete 20:41:22 d747dcd14b5f: Verifying Checksum 20:41:22 d747dcd14b5f: Download complete 20:41:23 2de7ff778b66: Verifying Checksum 20:41:23 2de7ff778b66: Download complete 20:41:23 0d9ebad4ef96: Verifying Checksum 20:41:23 0d9ebad4ef96: Download complete 20:41:23 ab5ef0e58194: Verifying Checksum 20:41:23 ab5ef0e58194: Download complete 20:41:28 ab5ef0e58194: Pull complete 20:41:28 9712f1f96733: Pull complete 20:41:30 63f879dbbcfc: Pull complete 20:41:37 0d9ebad4ef96: Pull complete 20:41:37 e9a5061849ea: Pull complete 20:41:37 d747dcd14b5f: Pull complete 20:41:41 2de7ff778b66: Pull complete 20:41:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:41:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:41:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:41:42 prd-centos7-docker-4c-2g-24611 does not seem to be running inside a container 20:41:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:41:45 $ docker top a2200e9ea1d1efb790e595eb01dd8b3185ba1b2b23a572a6cd4908bb6ee62567 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:41:45 provisioning config files... 20:41:45 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4011360609379864852tmp 20:41:45 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5754776031883149997tmp 20:41:45 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6204587143571146570tmp [Pipeline] { [Pipeline] echo 20:41:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:41:46 ---> sigul-configuration.sh 20:41:46 gpg: directory `/root/.gnupg' created 20:41:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:41:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:41:46 gpg: keyring `/root/.gnupg/secring.gpg' created 20:41:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:41:46 gpg: CAST5 encrypted data 20:41:46 gpg: encrypted with 1 passphrase 20:41:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:41:47 + mkdir /home/jenkins 20:41:47 + mkdir /home/jenkins/sigul [Pipeline] sh 20:41:47 + 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 20:41:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:41:47 ---> sigul-install.sh 20:41:52 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 20:41:53 + git tag --list 20:41:53 v1.0.0 20:41:53 v1.1.0 20:41:53 v1.1.1 20:41:53 v1.2.1 20:41:53 v1.2.2 20:41:53 v1.2.3 20:41:53 v1.3.0 20:41:53 v1.3.1 20:41:53 v1.3.1-dev.1 20:41:53 v1.3.1-dev.2 20:41:53 v1.3.1-dev.3 20:41:53 v1.3.1-dev.4 20:41:53 v1.3.1-dev.5 [Pipeline] sh 20:41:53 + lftools sign git-tag v1.3.1 20:41:54 Signing Git tag with Sigul... 20:41:54 Signing v1.3.1 [Pipeline] echo 20:41:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:41:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:41:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:41:56 $ docker stop --time=1 a2200e9ea1d1efb790e595eb01dd8b3185ba1b2b23a572a6cd4908bb6ee62567 20:41:58 $ docker rm -f a2200e9ea1d1efb790e595eb01dd8b3185ba1b2b23a572a6cd4908bb6ee62567 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:41:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:41:59 . [Pipeline] withDockerContainer 20:41:59 prd-centos7-docker-4c-2g-24611 does not seem to be running inside a container 20:41:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:42:00 $ docker top 3aca6c504f957449be63bf4691404f445ac55e97c81a21f089ce806066758edf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:42:00 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.3.1|v1.3.1-dev.5' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:42:01 + git semver [Pipeline] } 20:42:01 $ docker stop --time=1 3aca6c504f957449be63bf4691404f445ac55e97c81a21f089ce806066758edf 20:42:02 $ docker rm -f 3aca6c504f957449be63bf4691404f445ac55e97c81a21f089ce806066758edf [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:42:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:42:03 . [Pipeline] withDockerContainer 20:42:03 prd-centos7-docker-4c-2g-24611 does not seem to be running inside a container 20:42:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:42:03 $ docker top 51510b29ffd3468cf6c10ac31bad6efe95e05428b38a6d9cf90eeef8dc191ec5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:42:04 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.3.1|v1.3.1-dev.5' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:42:04 + git semver [Pipeline] } 20:42:04 $ docker stop --time=1 51510b29ffd3468cf6c10ac31bad6efe95e05428b38a6d9cf90eeef8dc191ec5 20:42:05 $ docker rm -f 51510b29ffd3468cf6c10ac31bad6efe95e05428b38a6d9cf90eeef8dc191ec5 [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 20:42:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:42:07 ---> package-listing.sh 20:42:07 ++ facter osfamily 20:42:07 ++ tr '[:upper:]' '[:lower:]' 20:42:07 + OS_FAMILY=redhat 20:42:07 + workspace=/w/workspace/foundry_device-virtual-go_master 20:42:07 + START_PACKAGES=/tmp/packages_start.txt 20:42:07 + END_PACKAGES=/tmp/packages_end.txt 20:42:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:42:07 + PACKAGES=/tmp/packages_start.txt 20:42:07 + '[' /w/workspace/foundry_device-virtual-go_master ']' 20:42:07 + PACKAGES=/tmp/packages_end.txt 20:42:07 + case "${OS_FAMILY}" in 20:42:07 + rpm -qa 20:42:07 + sort 20:42:13 + '[' -f /tmp/packages_start.txt ']' 20:42:13 + '[' -f /tmp/packages_end.txt ']' 20:42:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:42:13 + '[' /w/workspace/foundry_device-virtual-go_master ']' 20:42:13 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 20:42:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 20:42:13 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 20:42:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:42:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:42:13 20:42:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:42:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:42:14 alpine: Pulling from edgex-lftools-log-publisher 20:42:14 df20fa9351a1: Pulling fs layer 20:42:14 36b3adc4ff6f: Pulling fs layer 20:42:14 8ad3a11d3b57: Pulling fs layer 20:42:14 46f8f816bc3b: Pulling fs layer 20:42:14 93b61091891f: Pulling fs layer 20:42:14 93b9cdb0e59b: Pulling fs layer 20:42:14 5e14af77c1be: Pulling fs layer 20:42:14 01666e4c0597: Pulling fs layer 20:42:14 aa168da1d23b: Pulling fs layer 20:42:14 93b61091891f: Waiting 20:42:14 46f8f816bc3b: Waiting 20:42:14 93b9cdb0e59b: Waiting 20:42:14 5e14af77c1be: Waiting 20:42:14 01666e4c0597: Waiting 20:42:14 36b3adc4ff6f: Verifying Checksum 20:42:14 36b3adc4ff6f: Download complete 20:42:14 46f8f816bc3b: Verifying Checksum 20:42:14 46f8f816bc3b: Download complete 20:42:14 93b61091891f: Verifying Checksum 20:42:14 93b61091891f: Download complete 20:42:14 93b9cdb0e59b: Download complete 20:42:14 5e14af77c1be: Verifying Checksum 20:42:14 5e14af77c1be: Download complete 20:42:14 01666e4c0597: Download complete 20:42:14 8ad3a11d3b57: Download complete 20:42:14 df20fa9351a1: Verifying Checksum 20:42:14 df20fa9351a1: Download complete 20:42:15 df20fa9351a1: Pull complete 20:42:15 36b3adc4ff6f: Pull complete 20:42:16 8ad3a11d3b57: Pull complete 20:42:16 46f8f816bc3b: Pull complete 20:42:17 aa168da1d23b: Verifying Checksum 20:42:17 aa168da1d23b: Download complete 20:42:17 93b61091891f: Pull complete 20:42:17 93b9cdb0e59b: Pull complete 20:42:18 5e14af77c1be: Pull complete 20:42:18 01666e4c0597: Pull complete 20:42:26 aa168da1d23b: Pull complete 20:42:26 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:42:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:42:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:42:26 prd-centos7-docker-4c-2g-24611 does not seem to be running inside a container 20:42:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:42:30 $ docker top bda28a739bf2b4a4dd2a5e8839a983bcfe87430f695d822900a0b56b60419bbf -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:30 + touch /tmp/pre-build-complete [Pipeline] sh 20:42:30 + mkdir -p /var/log/sa [Pipeline] sh 20:42:31 + ls /var/log/sa-host 20:42:31 + sadf -c /var/log/sa-host/sa02 20:42:31 file_magic: OK 20:42:31 HZ: Using current value: 100 20:42:31 file_header: OK 20:42:31 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:42:31 Statistics: 20:42:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:42:31 File successfully converted to sysstat format version 12.2.1 20:42:31 + sadf -c /var/log/sa-host/sa23 20:42:31 file_magic: OK 20:42:31 HZ: Using current value: 100 20:42:31 file_header: OK 20:42:31 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:42:31 Statistics: 20:42:31 Hnuu...uuuununununu... 20:42:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:31 provisioning config files... 20:42:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config785399723499794974tmp [Pipeline] { [Pipeline] echo 20:42:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:42:31 ---> create-netrc.sh [Pipeline] } 20:42:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:42:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:42:32 ---> python-tools-install.sh [Pipeline] echo 20:42:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:42:32 ---> sudo-logs.sh 20:42:32 Archiving 'sudo' log.. [Pipeline] echo 20:42:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:42:32 ---> job-cost.sh 20:42:32 lf-activate-venv: SKIPPING 20:42:32 INFO: No Stack... 20:42:33 INFO: Retrieving Pricing Info for: v1-standard-2 20:42:34 INFO: Archiving Costs [Pipeline] echo 20:42:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:42:34 ---> logs-deploy.sh 20:42:34 lf-activate-venv: SKIPPING 20:42:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/39 20:42:34 INFO: archiving workspace using pattern(s): 20:42:35 Archives upload complete. 20:42:36 INFO: archiving logs to Nexus