Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3017879520357389726.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8759404485236803115.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh911206060506066402.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3649093930177050563.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2797829751895610895.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-50 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git Avoid second fetch Checking out Revision eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 (master) > 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_master@tmp/jenkins-gitclient-ssh1799115300580181798.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 # timeout=10 Commit message: "Merge pull request #213 from hahattan/sdk" > git rev-list --no-walk 8a7f4322be0982c7f8078a781a398084f2a2a662 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:21:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:21:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:21:17 ========================================================= 04:21:17 EdgeX Global Pipelines Version Info 04:21:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:21:18 ------------------- 04:21:18 stable info: 04:21:18 ------------------- 04:21:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:21:18 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 04:21:18 Message: update stable to v1.0.192 04:21:19 ------------------- 04:21:19 experimental info: 04:21:19 ------------------- 04:21:19 Commited By: **** collab-it+edgex@linuxfoundation.org 04:21:19 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 04:21:19 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:21:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb590ed [Pipeline] echo 04:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:20 provisioning config files... 04:21:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5253313473569447789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:20 ---> docker-login.sh 04:21:20 nexus3.edgexfoundry.org:10001 04:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:20 Configure a credential helper to remove this warning. See 04:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:20 04:21:20 Login Succeeded 04:21:20 nexus3.edgexfoundry.org:10002 04:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:21 Configure a credential helper to remove this warning. See 04:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:21 04:21:21 Login Succeeded 04:21:21 nexus3.edgexfoundry.org:10003 04:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:21 Configure a credential helper to remove this warning. See 04:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:21 04:21:21 Login Succeeded 04:21:21 nexus3.edgexfoundry.org:10004 04:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:21 Configure a credential helper to remove this warning. See 04:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:21 04:21:21 Login Succeeded 04:21:21 docker.io 04:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:21 Configure a credential helper to remove this warning. See 04:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:21 04:21:21 Login Succeeded 04:21:21 ---> docker-login.sh ends [Pipeline] } 04:21:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:21:22 + git log --format=format:%s -1 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] echo 04:21:22 GIT_COMMIT: eb590ed696e9e9466b4ef6c3e58a00375ee0ca86, Commit Message: Merge pull request #213 from hahattan/sdk [Pipeline] echo 04:21:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:21:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:21:23 04:21:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:21:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:21:23 latest: Pulling from edgex-devops/git-semver 04:21:23 31603596830f: Pulling fs layer 04:21:23 54011a49482f: Pulling fs layer 04:21:23 a6820b24f6d8: Pulling fs layer 04:21:23 f581987b2513: Pulling fs layer 04:21:23 f581987b2513: Waiting 04:21:23 54011a49482f: Verifying Checksum 04:21:23 54011a49482f: Download complete 04:21:23 31603596830f: Download complete 04:21:23 f581987b2513: Verifying Checksum 04:21:23 f581987b2513: Download complete 04:21:23 a6820b24f6d8: Verifying Checksum 04:21:23 a6820b24f6d8: Download complete 04:21:23 31603596830f: Pull complete 04:21:24 54011a49482f: Pull complete 04:21:24 a6820b24f6d8: Pull complete 04:21:24 f581987b2513: Pull complete 04:21:24 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 04:21:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:21:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:21:24 prd-centos7-docker-4c-2g-50 does not seem to be running inside a container 04:21:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:21:26 $ docker top 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:21:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:21:26 [ssh-agent] Looking for ssh-agent implementation... 04:21:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:21:26 $ docker exec 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 ssh-agent 04:21:26 SSH_AUTH_SOCK=/tmp/ssh-b0hSgDZAJIxg/agent.14 04:21:26 SSH_AGENT_PID=20 04:21:26 Running ssh-add (command line suppressed) 04:21:26 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_753623350221244338.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_753623350221244338.key) 04:21:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:21:26 + git tag --points-at HEAD [Pipeline] } 04:21:26 $ docker exec --env ******** --env ******** 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 ssh-agent -k 04:21:26 unset SSH_AUTH_SOCK; 04:21:26 unset SSH_AGENT_PID; 04:21:26 echo Agent pid 20 killed; 04:21:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:21:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:21:27 [ssh-agent] Looking for ssh-agent implementation... 04:21:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:21:27 $ docker exec 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 ssh-agent 04:21:27 SSH_AUTH_SOCK=/tmp/ssh-Z7ULy7CjjMvY/agent.54 04:21:27 SSH_AGENT_PID=60 04:21:27 Running ssh-add (command line suppressed) 04:21:27 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_536547762737849215.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_536547762737849215.key) 04:21:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:21:27 + git semver init 04:21:27 # -> Open(): unable to determine branch for HEAD 04:21:27 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 04:21:27 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 04:21:27 # $SEMVER_REMOTE_NAME = origin 04:21:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:21:27 # $SEMVER_USER_NAME = edgex-jenkins 04:21:27 # $SEMVER_BRANCH = master 04:21:27 # $SEMVER_TEMP = /tmp/semver-938457662 04:21:27 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 04:21:28 # '/tmp/semver-938457662' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 04:21:28 # -> Force: false 04:21:28 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 04:21:28 $ docker exec --env ******** --env ******** 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 ssh-agent -k 04:21:28 unset SSH_AUTH_SOCK; 04:21:28 unset SSH_AGENT_PID; 04:21:28 echo Agent pid 60 killed; 04:21:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:21:29 + git semver [Pipeline] } 04:21:29 $ docker stop --time=1 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 04:21:30 $ docker rm -f 2c20cda99b36eab68547916cd18dd5c7c7910e9db352de2502cb35c22bc76510 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:21:31 Stashed 1 file(s) [Pipeline] echo 04:21:31 [edgeXSemver]: initialized semver on version 1.3.2-dev.18 [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 04:21:46 Still waiting to schedule task 04:21:46 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:21:46 Still waiting to schedule task 04:21:46 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:23:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-51 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 04:23:44 Running in /w/workspace/device-virtual-go/58 [Pipeline] { [Pipeline] checkout 04:23:45 Selected Git installation does not exist. Using Default 04:23:45 The recommended git tool is: NONE 04:23:50 using credential edgex-jenkins-ssh 04:23:50 Cloning the remote Git repository 04:23:50 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:23:50 > git init /w/workspace/device-virtual-go/58 # timeout=10 04:23:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:23:50 > git --version # timeout=10 04:23:50 > git --version # 'git version 2.17.1' 04:23:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:52 Avoid second fetch 04:23:52 Checking out Revision eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 (master) 04:23:52 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:23:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:52 > git config core.sparsecheckout # timeout=10 04:23:52 > git checkout -f eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 # timeout=10 04:23:56 Commit message: "Merge pull request #213 from hahattan/sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:58 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:23:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:23:59 + true 04:23:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:17 provisioning config files... 04:24:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/58@tmp/config5379723171301353005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:17 ---> docker-login.sh 04:24:17 nexus3.edgexfoundry.org:10001 04:24:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:18 Running on prd-centos7-docker-4c-2g-52 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 04:24:18 Running in /w/workspace/device-virtual-go/58 [Pipeline] { [Pipeline] checkout 04:24:18 Selected Git installation does not exist. Using Default 04:24:18 The recommended git tool is: NONE 04:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:19 Configure a credential helper to remove this warning. See 04:24:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:19 04:24:19 Login Succeeded 04:24:19 nexus3.edgexfoundry.org:10002 04:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:19 Configure a credential helper to remove this warning. See 04:24:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:19 04:24:19 Login Succeeded 04:24:19 nexus3.edgexfoundry.org:10003 04:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:20 Configure a credential helper to remove this warning. See 04:24:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:20 04:24:20 Login Succeeded 04:24:20 nexus3.edgexfoundry.org:10004 04:24:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:20 Configure a credential helper to remove this warning. See 04:24:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:20 04:24:20 Login Succeeded 04:24:20 docker.io 04:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:21 using credential edgex-jenkins-ssh 04:24:21 Cloning the remote Git repository 04:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:21 Configure a credential helper to remove this warning. See 04:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:21 04:24:21 Login Succeeded 04:24:21 ---> docker-login.sh ends [Pipeline] } 04:24:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:24:21 ========================================================= 04:24:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:24:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:24:21 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:24:21 > git init /w/workspace/device-virtual-go/58 # timeout=10 04:24:21 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:24:21 > git --version # timeout=10 04:24:21 > git --version # 'git version 2.24.4' 04:24:21 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:21 [INFO] Currently running in a labeled security context 04:24:21 [INFO] Currently SELinux is 'enforcing' on the host 04:24:21 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/58@tmp/jenkins-gitclient-ssh8252003788932507093.key 04:24:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:22 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 04:24:22 Avoid second fetch 04:24:22 Checking out Revision eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 (master) 04:24:22 Sending build context to Docker daemon 8.581MB 04:24:22 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 04:24:22 Step 2/8 : FROM ${BASE} 04:24:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:24:22 595b0fe564bb: Pulling fs layer 04:24:22 7186ed65a4f7: Pulling fs layer 04:24:22 316046926c0a: Pulling fs layer 04:24:22 4ebd0625c992: Pulling fs layer 04:24:22 207e8628e3a3: Pulling fs layer 04:24:22 c791037a9be2: Pulling fs layer 04:24:22 ffd874e62e21: Pulling fs layer 04:24:22 4ebd0625c992: Waiting 04:24:22 207e8628e3a3: Waiting 04:24:22 c791037a9be2: Waiting 04:24:22 ffd874e62e21: Waiting 04:24:22 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:24:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:22 > git config core.sparsecheckout # timeout=10 04:24:22 > git checkout -f eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 # timeout=10 04:24:23 316046926c0a: Download complete 04:24:23 7186ed65a4f7: Verifying Checksum 04:24:23 7186ed65a4f7: Download complete 04:24:23 207e8628e3a3: Download complete 04:24:23 595b0fe564bb: Verifying Checksum 04:24:23 595b0fe564bb: Download complete 04:24:23 c791037a9be2: Verifying Checksum 04:24:23 c791037a9be2: Download complete 04:24:23 595b0fe564bb: Pull complete 04:24:24 7186ed65a4f7: Pull complete 04:24:24 316046926c0a: Pull complete 04:24:25 ffd874e62e21: Verifying Checksum 04:24:25 ffd874e62e21: Download complete 04:24:25 Commit message: "Merge pull request #213 from hahattan/sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:26 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:24:27 4ebd0625c992: Verifying Checksum 04:24:27 4ebd0625c992: Download complete 04:24:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:24:27 + sudo service docker restart 04:24:27 + true 04:24:27 Redirecting to /bin/systemctl restart docker.service 04:24:37 4ebd0625c992: Pull complete 04:24:37 207e8628e3a3: Pull complete 04:24:38 c791037a9be2: Pull complete 04:24:42 ffd874e62e21: Pull complete 04:24:42 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 04:24:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:24:42 ---> cfc18b08335c 04:24:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 04:24:43 ---> Running in 22e381bd36ea 04:24:44 Removing intermediate container 22e381bd36ea 04:24:44 ---> c850c5f14bfc 04:24:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:24:44 ---> Running in f03fff4f9947 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:45 provisioning config files... 04:24:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/58@tmp/config5493831432168797314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:46 ---> docker-login.sh 04:24:46 nexus3.edgexfoundry.org:10001 04:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:46 Configure a credential helper to remove this warning. See 04:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:46 04:24:46 Login Succeeded 04:24:46 nexus3.edgexfoundry.org:10002 04:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:46 Configure a credential helper to remove this warning. See 04:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:46 04:24:46 Login Succeeded 04:24:46 nexus3.edgexfoundry.org:10003 04:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:46 Configure a credential helper to remove this warning. See 04:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:46 04:24:46 Login Succeeded 04:24:46 nexus3.edgexfoundry.org:10004 04:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:46 Configure a credential helper to remove this warning. See 04:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:46 04:24:46 Login Succeeded 04:24:46 docker.io 04:24:47 Removing intermediate container f03fff4f9947 04:24:47 ---> 3e1fd09c888f 04:24:47 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 04:24:47 ---> Running in f60ae1e68439 04:24:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:24:47 Configure a credential helper to remove this warning. See 04:24:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:24:47 04:24:47 Login Succeeded 04:24:47 ---> docker-login.sh ends [Pipeline] } 04:24:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:24:47 ========================================================= 04:24:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:24:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:24:47 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 04:24:47 Sending build context to Docker daemon 8.582MB 04:24:47 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 04:24:47 Step 2/8 : FROM ${BASE} 04:24:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 04:24:48 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:24:48 540db60ca938: Pulling fs layer 04:24:48 adcc1eea9eea: Pulling fs layer 04:24:48 4c4ab2625f07: Pulling fs layer 04:24:48 0510c868ecb4: Pulling fs layer 04:24:48 afea3b2eda06: Pulling fs layer 04:24:48 7809a108b3ef: Pulling fs layer 04:24:48 f706445af74f: Pulling fs layer 04:24:48 0510c868ecb4: Waiting 04:24:48 afea3b2eda06: Waiting 04:24:48 7809a108b3ef: Waiting 04:24:48 f706445af74f: Waiting 04:24:48 4c4ab2625f07: Verifying Checksum 04:24:48 4c4ab2625f07: Download complete 04:24:48 adcc1eea9eea: Verifying Checksum 04:24:48 adcc1eea9eea: Download complete 04:24:48 afea3b2eda06: Verifying Checksum 04:24:48 afea3b2eda06: Download complete 04:24:48 540db60ca938: Verifying Checksum 04:24:48 540db60ca938: Download complete 04:24:48 7809a108b3ef: Verifying Checksum 04:24:48 7809a108b3ef: Download complete 04:24:48 540db60ca938: Pull complete 04:24:48 adcc1eea9eea: Pull complete 04:24:48 4c4ab2625f07: Pull complete 04:24:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 04:24:50 f706445af74f: Verifying Checksum 04:24:50 f706445af74f: Download complete 04:24:50 0510c868ecb4: Verifying Checksum 04:24:50 0510c868ecb4: Download complete 04:24:52 (1/13) Installing libc-dev (0.7.2-r3) 04:24:52 (2/13) Installing libsodium (1.0.18-r0) 04:24:52 (3/13) Installing pkgconf (1.7.3-r0) 04:24:52 (4/13) Installing libsodium-dev (1.0.18-r0) 04:24:52 (5/13) Installing openssh-keygen (8.4_p1-r3) 04:24:52 (6/13) Installing libedit (20191231.3.1-r1) 04:24:53 (7/13) Installing openssh-client (8.4_p1-r3) 04:24:54 0510c868ecb4: Pull complete 04:24:54 afea3b2eda06: Pull complete 04:24:54 7809a108b3ef: Pull complete 04:24:55 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 04:24:55 (9/13) Installing openssh-server-common (8.4_p1-r3) 04:24:55 (10/13) Installing openssh-server (8.4_p1-r3) 04:24:55 f706445af74f: Pull complete 04:24:55 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 04:24:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:24:55 ---> b068be0155e3 04:24:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 04:24:55 (11/13) Installing openssh (8.4_p1-r3) 04:24:55 (12/13) Installing libzmq (4.3.3-r1) 04:24:56 (13/13) Installing zeromq-dev (4.3.3-r1) 04:24:56 Executing busybox-1.32.1-r6.trigger 04:24:56 OK: 145 MiB in 53 packages 04:24:57 Removing intermediate container f60ae1e68439 04:24:57 ---> a08e4a3c5ac0 04:24:57 Step 6/8 : WORKDIR /device-virtual-go 04:24:57 ---> Running in ca893453d2cf 04:24:58 Removing intermediate container ca893453d2cf 04:24:58 ---> 15decbea2393 04:24:58 Step 7/8 : COPY . . 04:24:59 ---> 8e26ffaa0de8 04:24:59 Step 8/8 : RUN go mod download 04:24:59 ---> Running in 208011a8637f 04:24:59 Removing intermediate container 208011a8637f 04:24:59 ---> a4b6793f5353 04:24:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:24:59 ---> Running in 1adafac02427 04:24:59 ---> Running in 425f49270d25 04:25:00 Removing intermediate container 1adafac02427 04:25:00 ---> badbaaedf004 04:25:00 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 04:25:00 ---> Running in a81bf9b83fff 04:25:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 04:25:01 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 04:25:02 (1/13) Installing libc-dev (0.7.2-r3) 04:25:02 (2/13) Installing libsodium (1.0.18-r0) 04:25:02 (3/13) Installing pkgconf (1.7.3-r0) 04:25:02 (4/13) Installing libsodium-dev (1.0.18-r0) 04:25:02 (5/13) Installing openssh-keygen (8.4_p1-r3) 04:25:02 (6/13) Installing libedit (20191231.3.1-r1) 04:25:02 (7/13) Installing openssh-client (8.4_p1-r3) 04:25:03 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 04:25:03 (9/13) Installing openssh-server-common (8.4_p1-r3) 04:25:03 (10/13) Installing openssh-server (8.4_p1-r3) 04:25:03 (11/13) Installing openssh (8.4_p1-r3) 04:25:03 (12/13) Installing libzmq (4.3.3-r1) 04:25:03 (13/13) Installing zeromq-dev (4.3.3-r1) 04:25:03 Executing busybox-1.32.1-r6.trigger 04:25:03 OK: 156 MiB in 53 packages 04:25:03 Removing intermediate container a81bf9b83fff 04:25:03 ---> 9ccfbbace2c4 04:25:03 Step 6/8 : WORKDIR /device-virtual-go 04:25:03 ---> Running in 78489b56b56c 04:25:04 Removing intermediate container 78489b56b56c 04:25:04 ---> bdd7acee45c0 04:25:04 Step 7/8 : COPY . . 04:25:04 ---> c3e6c8c53420 04:25:04 Step 8/8 : RUN go mod download 04:25:04 ---> Running in aac3d5f78c84 04:25:16 Removing intermediate container aac3d5f78c84 04:25:16 ---> 7125d9a88abe 04:25:16 Successfully built 7125d9a88abe 04:25:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:25:16 + docker inspect -f . ci-base-image-x86_64 04:25:16 . [Pipeline] withDockerContainer 04:25:17 prd-centos7-docker-4c-2g-52 does not seem to be running inside a container 04:25:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@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 ******** ci-base-image-x86_64 cat 04:25:17 $ docker top 85f790e3457281b12c65c7795b630141aee926b42ebf912ea10bb40d4eb4488d -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:17 + go version 04:25:17 go version go1.16.3 linux/amd64 [Pipeline] } 04:25:17 $ docker stop --time=1 85f790e3457281b12c65c7795b630141aee926b42ebf912ea10bb40d4eb4488d 04:25:19 $ docker rm -f 85f790e3457281b12c65c7795b630141aee926b42ebf912ea10bb40d4eb4488d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:25:19 + docker inspect -f . ci-base-image-x86_64 04:25:19 . [Pipeline] withDockerContainer 04:25:19 prd-centos7-docker-4c-2g-52 does not seem to be running inside a container 04:25:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@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 ******** ci-base-image-x86_64 cat 04:25:20 $ docker top 295f58f87edd5aa154823ea4bf1d0c34d6bf29dca16b6452b053377981f19c0f -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:20 + go mod tidy [Pipeline] sh 04:25:20 + make test 04:25:20 go mod tidy 04:25:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:25:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:25:32 Removing intermediate container 425f49270d25 04:25:32 ---> 41e17177edd6 04:25:32 Successfully built 41e17177edd6 04:25:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:25:32 + docker inspect -f . ci-base-image-arm64 04:25:32 . [Pipeline] withDockerContainer 04:25:32 prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container 04:25:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@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 04:25:34 $ docker top 05762e7d4a6d877203a38f4e375d58ff3d7dccdfd49299a322e555e8e0c491be -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:35 + go version 04:25:35 go version go1.16.3 linux/arm64 [Pipeline] } 04:25:35 $ docker stop --time=1 05762e7d4a6d877203a38f4e375d58ff3d7dccdfd49299a322e555e8e0c491be 04:25:37 $ docker rm -f 05762e7d4a6d877203a38f4e375d58ff3d7dccdfd49299a322e555e8e0c491be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:25:38 + docker inspect -f . ci-base-image-arm64 04:25:38 . [Pipeline] withDockerContainer 04:25:38 prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container 04:25:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@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 04:25:39 $ docker top 52dd84ff443ad4b050c01b8d8adef2afb3c58f49b7874f9ec67188e9ede13fac -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:40 + go mod tidy [Pipeline] sh 04:25:42 + make test 04:25:42 go mod tidy 04:25:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:25:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:25:43 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.270s coverage: 63.8% of statements 04:25:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:25:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:25:50 gofmt -l . 04:25:50 [ "`gofmt -l .`" = "" ] 04:25:50 ./bin/test-attribution-txt.sh 04:25:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:25:50 $ docker stop --time=1 295f58f87edd5aa154823ea4bf1d0c34d6bf29dca16b6452b053377981f19c0f 04:25:51 $ docker rm -f 295f58f87edd5aa154823ea4bf1d0c34d6bf29dca16b6452b053377981f19c0f [Pipeline] // withDockerContainer [Pipeline] sh 04:25:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:25:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:25:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:25:55 + ls -al . 04:25:55 total 132 04:25:55 drwxrwxr-x. 7 jenkins jenkins 4096 May 25 04:25 . 04:25:55 drwxrwxr-x. 4 jenkins jenkins 30 May 25 04:24 .. 04:25:55 -rw-rw-r--. 1 jenkins jenkins 8153 May 25 04:24 Attribution.txt 04:25:55 drwxrwxr-x. 2 jenkins jenkins 64 May 25 04:24 bin 04:25:55 drwxrwxr-x. 3 jenkins jenkins 32 May 25 04:24 cmd 04:25:55 -rw-r--r--. 1 jenkins jenkins 47247 May 25 04:25 coverage.out 04:25:55 -rw-rw-r--. 1 jenkins jenkins 1921 May 25 04:24 Dockerfile 04:25:55 -rw-rw-r--. 1 jenkins jenkins 998 May 25 04:24 Dockerfile.build 04:25:55 drwxrwxr-x. 8 jenkins jenkins 162 May 25 04:24 .git 04:25:55 drwxrwxr-x. 2 jenkins jenkins 103 May 25 04:24 .github 04:25:55 -rw-rw-r--. 1 jenkins jenkins 277 May 25 04:24 .gitignore 04:25:55 -rw-r--r--. 1 jenkins jenkins 809 May 25 04:25 go.mod 04:25:55 -rw-r--r--. 1 jenkins jenkins 23431 May 25 04:25 go.sum 04:25:55 drwxrwxr-x. 3 jenkins jenkins 20 May 25 04:24 internal 04:25:55 -rw-rw-r--. 1 jenkins jenkins 660 May 25 04:24 Jenkinsfile 04:25:55 -rw-rw-r--. 1 jenkins jenkins 11340 May 25 04:24 LICENSE 04:25:55 -rw-rw-r--. 1 jenkins jenkins 905 May 25 04:24 Makefile 04:25:55 -rw-rw-r--. 1 jenkins jenkins 2745 May 25 04:24 README.md 04:25:55 -rw-rw-r--. 1 jenkins jenkins 12 May 25 04:21 VERSION 04:25:55 -rw-rw-r--. 1 jenkins jenkins 235 May 25 04:24 version.go [Pipeline] isUnix [Pipeline] sh 04:25:55 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 --label arch=amd64 --label version=1.3.2-dev.18 . 04:25:55 Sending build context to Docker daemon 8.654MB 04:25:55 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 04:25:55 Step 2/26 : FROM ${BASE} AS builder 04:25:55 ---> 7125d9a88abe 04:25:55 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:25:55 ---> Running in 816c6bb4f516 04:25:55 Removing intermediate container 816c6bb4f516 04:25:55 ---> cae017bd8c81 04:25:55 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:25:55 ---> Running in 8861d01bec82 04:25:55 Removing intermediate container 8861d01bec82 04:25:55 ---> 2d89a5bc5e65 04:25:55 Step 5/26 : WORKDIR /device-virtual-go 04:25:56 ---> Running in e36671f05117 04:25:56 Removing intermediate container e36671f05117 04:25:56 ---> b274e65e4485 04:25:56 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:25:56 ---> Running in 8b7052a44aad 04:25:56 Removing intermediate container 8b7052a44aad 04:25:56 ---> 0cd7a30d18e5 04:25:56 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:25:56 ---> Running in eb4abd37c3c2 04:25:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 04:25:57 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 04:25:58 OK: 156 MiB in 53 packages 04:25:58 Removing intermediate container eb4abd37c3c2 04:25:58 ---> 31adc7d0d993 04:25:58 Step 8/26 : COPY . . 04:25:59 ---> 23a18fa86012 04:25:59 Step 9/26 : RUN go mod tidy 04:25:59 ---> Running in 8f5b20470a26 04:25:59 Removing intermediate container 8f5b20470a26 04:25:59 ---> 43ecf2f1467e 04:25:59 Step 10/26 : RUN go mod download 04:25:59 ---> Running in bb296e4134b7 04:26:00 Removing intermediate container bb296e4134b7 04:26:00 ---> 439a214ba511 04:26:00 Step 11/26 : ARG MAKE='make build' 04:26:00 ---> Running in 7a37371a56b5 04:26:00 Removing intermediate container 7a37371a56b5 04:26:00 ---> 64536377930f 04:26:00 Step 12/26 : RUN $MAKE 04:26:00 ---> Running in d8650e2219dd 04:26:00 go mod tidy 04:26:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.18" -o cmd/device-virtual ./cmd 04:26:19 Removing intermediate container d8650e2219dd 04:26:19 ---> e970202e7d5c 04:26:19 Step 13/26 : FROM alpine:3.12 04:26:19 3.12: Pulling from library/alpine 04:26:19 339de151aab4: Pulling fs layer 04:26:19 339de151aab4: Download complete 04:26:19 339de151aab4: Pull complete 04:26:19 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 04:26:19 Status: Downloaded newer image for alpine:3.12 04:26:19 ---> 13621d1b12d4 04:26:19 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:26:19 ---> Running in 7963c8dbcc1c 04:26:19 Removing intermediate container 7963c8dbcc1c 04:26:19 ---> fda42017804b 04:26:19 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:26:19 ---> Running in 9bad696c0290 04:26:19 Removing intermediate container 9bad696c0290 04:26:19 ---> c1e0aab3a952 04:26:19 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:26:19 ---> Running in 9ba9a677cfff 04:26:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:26:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:26:19 (1/6) Installing dumb-init (1.2.2-r1) 04:26:19 (2/6) Installing libgcc (9.3.0-r2) 04:26:19 (3/6) Installing libsodium (1.0.18-r0) 04:26:19 (4/6) Installing libstdc++ (9.3.0-r2) 04:26:20 (5/6) Installing libzmq (4.3.3-r0) 04:26:20 (6/6) Installing zeromq (4.3.3-r0) 04:26:20 Executing busybox-1.31.1-r20.trigger 04:26:20 OK: 8 MiB in 20 packages 04:26:21 Removing intermediate container 9ba9a677cfff 04:26:21 ---> ccccefdd80cb 04:26:21 Step 17/26 : WORKDIR / 04:26:21 ---> Running in 3cc5c616a953 04:26:21 Removing intermediate container 3cc5c616a953 04:26:21 ---> 882c413dde65 04:26:21 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:26:21 ---> 2d1627274113 04:26:21 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 04:26:21 ---> 12408289328e 04:26:21 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 04:26:21 ---> e4a9fda85719 04:26:21 Step 21/26 : EXPOSE 59900 04:26:21 ---> Running in a80b4ee53599 04:26:21 Removing intermediate container a80b4ee53599 04:26:21 ---> db944be2a7f6 04:26:21 Step 22/26 : ENTRYPOINT ["/device-virtual"] 04:26:21 ---> Running in dee5000463b5 04:26:22 Removing intermediate container dee5000463b5 04:26:22 ---> 9c14bfbadd98 04:26:22 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:26:22 ---> Running in c6006d4b0236 04:26:22 Removing intermediate container c6006d4b0236 04:26:22 ---> 225d49b24173 04:26:22 Step 24/26 : LABEL arch=amd64 04:26:22 ---> Running in e4152b96b01f 04:26:22 Removing intermediate container e4152b96b01f 04:26:22 ---> aafd793ae8b3 04:26:22 Step 25/26 : LABEL git_sha=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 04:26:22 ---> Running in cc6d6f7a5ac3 04:26:22 Removing intermediate container cc6d6f7a5ac3 04:26:22 ---> 223840a70dcf 04:26:22 Step 26/26 : LABEL version=1.3.2-dev.18 04:26:22 ---> Running in 5b7fe5390b8f 04:26:22 Removing intermediate container 5b7fe5390b8f 04:26:22 ---> 2ca9a111bffb 04:26:22 [Warning] One or more build-args [ARCH] were not consumed 04:26:22 Successfully built 2ca9a111bffb 04:26:22 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:22 provisioning config files... 04:26:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/58@tmp/config692795180626194392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:22 ---> docker-login.sh 04:26:22 nexus3.edgexfoundry.org:10001 04:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:22 Configure a credential helper to remove this warning. See 04:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:22 04:26:22 Login Succeeded 04:26:22 nexus3.edgexfoundry.org:10002 04:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:23 Configure a credential helper to remove this warning. See 04:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:23 04:26:23 Login Succeeded 04:26:23 nexus3.edgexfoundry.org:10003 04:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:23 Configure a credential helper to remove this warning. See 04:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:23 04:26:23 Login Succeeded 04:26:23 nexus3.edgexfoundry.org:10004 04:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:23 Configure a credential helper to remove this warning. See 04:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:23 04:26:23 Login Succeeded 04:26:23 docker.io 04:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:23 Configure a credential helper to remove this warning. See 04:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:23 04:26:23 Login Succeeded 04:26:23 ---> docker-login.sh ends [Pipeline] } 04:26:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:26:23 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 04:26:23 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 04:26:23 latest 04:26:23 1.3.2-dev.18 04:26:23 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 04:26:23 master 04:26:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:26:24 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] isUnix [Pipeline] sh 04:26:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 04:26:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:26:24 e41a13cd1565: Preparing 04:26:24 5ec895ea3c89: Preparing 04:26:24 3289f601c0c9: Preparing 04:26:24 07f6ebd13119: Preparing 04:26:24 e1093347c125: Preparing 04:26:24 32f366d666a5: Preparing 04:26:24 32f366d666a5: Waiting 04:26:24 e1093347c125: Pushed 04:26:24 07f6ebd13119: Pushed 04:26:24 32f366d666a5: Layer already exists 04:26:24 3289f601c0c9: Pushed 04:26:24 5ec895ea3c89: Pushed 04:26:26 e41a13cd1565: Pushed 04:26:26 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86: digest: sha256:9de414289e6e36021f370c39dbff5750f3a8403eb0a7ac57fc964567cef28942 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:26:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 04:26:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 04:26:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:26:27 e41a13cd1565: Preparing 04:26:27 5ec895ea3c89: Preparing 04:26:27 3289f601c0c9: Preparing 04:26:27 07f6ebd13119: Preparing 04:26:27 e1093347c125: Preparing 04:26:27 32f366d666a5: Preparing 04:26:27 32f366d666a5: Waiting 04:26:27 5ec895ea3c89: Layer already exists 04:26:27 07f6ebd13119: Layer already exists 04:26:27 3289f601c0c9: Layer already exists 04:26:27 e1093347c125: Layer already exists 04:26:27 e41a13cd1565: Layer already exists 04:26:27 32f366d666a5: Layer already exists 04:26:27 latest: digest: sha256:9de414289e6e36021f370c39dbff5750f3a8403eb0a7ac57fc964567cef28942 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:26:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh 04:26:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.18 04:26:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:26:27 e41a13cd1565: Preparing 04:26:27 5ec895ea3c89: Preparing 04:26:27 3289f601c0c9: Preparing 04:26:27 07f6ebd13119: Preparing 04:26:27 e1093347c125: Preparing 04:26:27 32f366d666a5: Preparing 04:26:27 32f366d666a5: Waiting 04:26:27 3289f601c0c9: Layer already exists 04:26:27 07f6ebd13119: Layer already exists 04:26:27 5ec895ea3c89: Layer already exists 04:26:27 e41a13cd1565: Layer already exists 04:26:27 e1093347c125: Layer already exists 04:26:27 32f366d666a5: Layer already exists 04:26:27 1.3.2-dev.18: digest: sha256:9de414289e6e36021f370c39dbff5750f3a8403eb0a7ac57fc964567cef28942 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:26:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh 04:26:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 04:26:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:26:28 e41a13cd1565: Preparing 04:26:28 5ec895ea3c89: Preparing 04:26:28 3289f601c0c9: Preparing 04:26:28 07f6ebd13119: Preparing 04:26:28 e1093347c125: Preparing 04:26:28 32f366d666a5: Preparing 04:26:28 32f366d666a5: Waiting 04:26:28 07f6ebd13119: Layer already exists 04:26:28 3289f601c0c9: Layer already exists 04:26:28 5ec895ea3c89: Layer already exists 04:26:28 e41a13cd1565: Layer already exists 04:26:28 e1093347c125: Layer already exists 04:26:28 32f366d666a5: Layer already exists 04:26:28 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18: digest: sha256:9de414289e6e36021f370c39dbff5750f3a8403eb0a7ac57fc964567cef28942 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:26:28 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh 04:26:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:master 04:26:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:26:28 e41a13cd1565: Preparing 04:26:28 5ec895ea3c89: Preparing 04:26:28 3289f601c0c9: Preparing 04:26:28 07f6ebd13119: Preparing 04:26:28 e1093347c125: Preparing 04:26:28 32f366d666a5: Preparing 04:26:28 32f366d666a5: Waiting 04:26:28 5ec895ea3c89: Layer already exists 04:26:28 07f6ebd13119: Layer already exists 04:26:28 3289f601c0c9: Layer already exists 04:26:28 e41a13cd1565: Layer already exists 04:26:28 e1093347c125: Layer already exists 04:26:28 32f366d666a5: Layer already exists 04:26:28 master: digest: sha256:9de414289e6e36021f370c39dbff5750f3a8403eb0a7ac57fc964567cef28942 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:26:28 ===================================================== [Pipeline] echo 04:26:28 taggedImages: 04:26:28 - nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 04:26:28 - nexus3.edgexfoundry.org:10004/device-virtual:latest 04:26:28 - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.18 04:26:28 - nexus3.edgexfoundry.org:10004/device-virtual:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 04:26:28 - nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 04:26:29 ---> job-cost.sh 04:26:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WCWO 04:26:39 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:26:51 lf-activate-venv(): INFO: Adding /tmp/venv-WCWO/bin to PATH 04:26:51 INFO: No Stack... 04:26:51 INFO: Retrieving Pricing Info for: v3-standard-2 04:26:52 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:26:52 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.720s coverage: 63.8% of statements 04:26:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:26:52 INFO: Archiving Costs [Pipeline] sh 04:26:52 + cat /w/workspace/device-virtual-go/58/archives/cost.csv 04:26:52 + cut -d, -f6 [Pipeline] lock 04:26:52 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] 04:26:52 Resource [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] did not exist. Created. 04:26:52 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:26:53 + echo total: 0.05999999865889549 [Pipeline] stash 04:26:53 Stashed 1 file(s) [Pipeline] } 04:26:53 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:27:19 gofmt -l . 04:27:19 [ "`gofmt -l .`" = "" ] 04:27:19 ./bin/test-attribution-txt.sh 04:27:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:27:19 $ docker stop --time=1 52dd84ff443ad4b050c01b8d8adef2afb3c58f49b7874f9ec67188e9ede13fac 04:27:21 $ docker rm -f 52dd84ff443ad4b050c01b8d8adef2afb3c58f49b7874f9ec67188e9ede13fac [Pipeline] // withDockerContainer [Pipeline] sh 04:27:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:27:22 Warning: overwriting stash ‘coverage-report’ 04:27:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:27:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:27:23 + ls -al . 04:27:23 total 156 04:27:23 drwxrwxr-x 7 jenkins jenkins 4096 May 25 04:27 . 04:27:23 drwxrwxr-x 4 jenkins jenkins 4096 May 25 04:23 .. 04:27:23 drwxrwxr-x 8 jenkins jenkins 4096 May 25 04:23 .git 04:27:23 drwxrwxr-x 2 jenkins jenkins 4096 May 25 04:23 .github 04:27:23 -rw-rw-r-- 1 jenkins jenkins 277 May 25 04:23 .gitignore 04:27:23 -rw-rw-r-- 1 jenkins jenkins 8153 May 25 04:23 Attribution.txt 04:27:23 -rw-rw-r-- 1 jenkins jenkins 1921 May 25 04:23 Dockerfile 04:27:23 -rw-rw-r-- 1 jenkins jenkins 998 May 25 04:23 Dockerfile.build 04:27:23 -rw-rw-r-- 1 jenkins jenkins 660 May 25 04:23 Jenkinsfile 04:27:23 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 04:23 LICENSE 04:27:23 -rw-rw-r-- 1 jenkins jenkins 905 May 25 04:23 Makefile 04:27:23 -rw-rw-r-- 1 jenkins jenkins 2745 May 25 04:23 README.md 04:27:23 -rw-rw-r-- 1 jenkins jenkins 12 May 25 04:21 VERSION 04:27:23 drwxrwxr-x 2 jenkins jenkins 4096 May 25 04:23 bin 04:27:23 drwxrwxr-x 3 jenkins jenkins 4096 May 25 04:23 cmd 04:27:23 -rw-r--r-- 1 jenkins jenkins 47247 May 25 04:26 coverage.out 04:27:23 -rw-r--r-- 1 jenkins jenkins 809 May 25 04:27 go.mod 04:27:23 -rw-r--r-- 1 jenkins jenkins 23431 May 25 04:25 go.sum 04:27:23 drwxrwxr-x 3 jenkins jenkins 4096 May 25 04:23 internal 04:27:23 -rw-rw-r-- 1 jenkins jenkins 235 May 25 04:23 version.go [Pipeline] isUnix [Pipeline] sh 04:27:23 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 --label arch=arm64 --label version=1.3.2-dev.18 . 04:27:24 Sending build context to Docker daemon 8.653MB 04:27:24 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 04:27:24 Step 2/26 : FROM ${BASE} AS builder 04:27:24 ---> 41e17177edd6 04:27:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:27:24 ---> Running in a981298ca3f3 04:27:25 Removing intermediate container a981298ca3f3 04:27:25 ---> 85dc2d92f3b2 04:27:25 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:27:25 ---> Running in 6d4df8ea69c1 04:27:25 Removing intermediate container 6d4df8ea69c1 04:27:25 ---> b73bbd77aa39 04:27:25 Step 5/26 : WORKDIR /device-virtual-go 04:27:25 ---> Running in 31c2a6f22a42 04:27:26 Removing intermediate container 31c2a6f22a42 04:27:26 ---> 2b8b1471463c 04:27:26 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:27:26 ---> Running in d89fe76b698b 04:27:28 Removing intermediate container d89fe76b698b 04:27:28 ---> 5c509adcbd71 04:27:28 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:27:28 ---> Running in 2e8c06a84b67 04:27:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 04:27:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 04:27:31 OK: 145 MiB in 53 packages 04:27:32 Removing intermediate container 2e8c06a84b67 04:27:32 ---> 328b6c1ff709 04:27:32 Step 8/26 : COPY . . 04:27:34 ---> 1d9eb4e5ffbc 04:27:34 Step 9/26 : RUN go mod tidy 04:27:34 ---> Running in 1b4b233a50f9 04:27:36 Removing intermediate container 1b4b233a50f9 04:27:36 ---> b4df7d915d36 04:27:36 Step 10/26 : RUN go mod download 04:27:36 ---> Running in 508485ebf40a 04:27:39 Removing intermediate container 508485ebf40a 04:27:39 ---> 8895a9761ba2 04:27:39 Step 11/26 : ARG MAKE='make build' 04:27:39 ---> Running in bd484636f35f 04:27:39 Removing intermediate container bd484636f35f 04:27:39 ---> 6974fb433081 04:27:39 Step 12/26 : RUN $MAKE 04:27:40 ---> Running in b5c2803b1d67 04:27:41 go mod tidy 04:27:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.18" -o cmd/device-virtual ./cmd 04:28:38 Removing intermediate container b5c2803b1d67 04:28:38 ---> a62360c7eae7 04:28:38 Step 13/26 : FROM alpine:3.12 04:28:38 3.12: Pulling from library/alpine 04:28:38 d2f70382dc9a: Pulling fs layer 04:28:38 d2f70382dc9a: Download complete 04:28:38 d2f70382dc9a: Pull complete 04:28:38 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 04:28:38 Status: Downloaded newer image for alpine:3.12 04:28:38 ---> 9852663dfa18 04:28:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:28:38 ---> Running in a50bfd17b751 04:28:38 Removing intermediate container a50bfd17b751 04:28:38 ---> 8e002d753083 04:28:38 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:28:38 ---> Running in 150acd6e49ae 04:28:38 Removing intermediate container 150acd6e49ae 04:28:38 ---> 2ae217606e7b 04:28:38 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:28:38 ---> Running in 1b44ed34d583 04:28:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:28:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:28:38 (1/6) Installing dumb-init (1.2.2-r1) 04:28:38 (2/6) Installing libgcc (9.3.0-r2) 04:28:38 (3/6) Installing libsodium (1.0.18-r0) 04:28:38 (4/6) Installing libstdc++ (9.3.0-r2) 04:28:38 (5/6) Installing libzmq (4.3.3-r0) 04:28:38 (6/6) Installing zeromq (4.3.3-r0) 04:28:38 Executing busybox-1.31.1-r20.trigger 04:28:38 OK: 8 MiB in 20 packages 04:28:38 Removing intermediate container 1b44ed34d583 04:28:38 ---> 88688fdc4471 04:28:38 Step 17/26 : WORKDIR / 04:28:39 ---> Running in 3fefd6ba1c9f 04:28:39 Removing intermediate container 3fefd6ba1c9f 04:28:39 ---> 7abc5f46a4ec 04:28:39 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:28:40 ---> 6afcc864af6c 04:28:40 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 04:28:41 ---> b13d274ac087 04:28:41 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 04:28:42 ---> 07c3c13bc9ca 04:28:42 Step 21/26 : EXPOSE 59900 04:28:42 ---> Running in 63d65b67ab50 04:28:43 Removing intermediate container 63d65b67ab50 04:28:43 ---> f5a50aaaca99 04:28:43 Step 22/26 : ENTRYPOINT ["/device-virtual"] 04:28:43 ---> Running in 6d37e6079c3b 04:28:44 Removing intermediate container 6d37e6079c3b 04:28:44 ---> b8b82976dadc 04:28:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:28:44 ---> Running in 7f44f64e7d80 04:28:45 Removing intermediate container 7f44f64e7d80 04:28:45 ---> 66918a41542d 04:28:45 Step 24/26 : LABEL arch=arm64 04:28:45 ---> Running in d804caea6711 04:28:46 Removing intermediate container d804caea6711 04:28:46 ---> 8cdf25dceaac 04:28:46 Step 25/26 : LABEL git_sha=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 04:28:46 ---> Running in 2f8e1d35cadd 04:28:46 Removing intermediate container 2f8e1d35cadd 04:28:46 ---> 21c90a3aaa98 04:28:46 Step 26/26 : LABEL version=1.3.2-dev.18 04:28:46 ---> Running in a1cace56c90b 04:28:47 Removing intermediate container a1cace56c90b 04:28:47 ---> b546c134dca5 04:28:47 [Warning] One or more build-args [ARCH] were not consumed 04:28:47 Successfully built b546c134dca5 04:28:47 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:47 provisioning config files... 04:28:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/58@tmp/config4976922510184986878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:47 ---> docker-login.sh 04:28:47 nexus3.edgexfoundry.org:10001 04:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:48 Configure a credential helper to remove this warning. See 04:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:48 04:28:48 Login Succeeded 04:28:48 nexus3.edgexfoundry.org:10002 04:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:49 Configure a credential helper to remove this warning. See 04:28:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:49 04:28:49 Login Succeeded 04:28:49 nexus3.edgexfoundry.org:10003 04:28:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:49 Configure a credential helper to remove this warning. See 04:28:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:49 04:28:49 Login Succeeded 04:28:49 nexus3.edgexfoundry.org:10004 04:28:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:50 Configure a credential helper to remove this warning. See 04:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:50 04:28:50 Login Succeeded 04:28:50 docker.io 04:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:50 Configure a credential helper to remove this warning. See 04:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:50 04:28:50 Login Succeeded 04:28:50 ---> docker-login.sh ends [Pipeline] } 04:28:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:28:50 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 04:28:50 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 04:28:50 latest 04:28:50 1.3.2-dev.18 04:28:50 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 04:28:50 master 04:28:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:28:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] isUnix [Pipeline] sh 04:28:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 04:28:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:28:51 35eb70d21a89: Preparing 04:28:51 35d24aa2898e: Preparing 04:28:51 aa127be8a5dd: Preparing 04:28:51 213e5710bc37: Preparing 04:28:51 ecb43abcf492: Preparing 04:28:51 3fbe34a1663b: Preparing 04:28:51 3fbe34a1663b: Waiting 04:28:51 35d24aa2898e: Pushed 04:28:51 ecb43abcf492: Pushed 04:28:51 aa127be8a5dd: Pushed 04:28:52 3fbe34a1663b: Layer already exists 04:28:52 213e5710bc37: Pushed 04:28:55 35eb70d21a89: Pushed 04:28:55 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86: digest: sha256:9186e35f56e4a80509c5a38fd9f2c668a7b0c8b401908bbf0f3281c1cb138fe8 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:28:56 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:28:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:28:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:28:56 35eb70d21a89: Preparing 04:28:56 35d24aa2898e: Preparing 04:28:56 aa127be8a5dd: Preparing 04:28:56 213e5710bc37: Preparing 04:28:56 ecb43abcf492: Preparing 04:28:56 3fbe34a1663b: Preparing 04:28:56 3fbe34a1663b: Waiting 04:28:56 aa127be8a5dd: Layer already exists 04:28:56 213e5710bc37: Layer already exists 04:28:56 35d24aa2898e: Layer already exists 04:28:56 35eb70d21a89: Layer already exists 04:28:56 ecb43abcf492: Layer already exists 04:28:56 3fbe34a1663b: Layer already exists 04:28:56 latest: digest: sha256:9186e35f56e4a80509c5a38fd9f2c668a7b0c8b401908bbf0f3281c1cb138fe8 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:28:57 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh 04:28:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.18 04:28:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:28:57 35eb70d21a89: Preparing 04:28:57 35d24aa2898e: Preparing 04:28:57 aa127be8a5dd: Preparing 04:28:57 213e5710bc37: Preparing 04:28:57 ecb43abcf492: Preparing 04:28:57 3fbe34a1663b: Preparing 04:28:57 3fbe34a1663b: Waiting 04:28:57 ecb43abcf492: Layer already exists 04:28:57 aa127be8a5dd: Layer already exists 04:28:57 213e5710bc37: Layer already exists 04:28:57 35d24aa2898e: Layer already exists 04:28:57 35eb70d21a89: Layer already exists 04:28:57 3fbe34a1663b: Layer already exists 04:28:57 1.3.2-dev.18: digest: sha256:9186e35f56e4a80509c5a38fd9f2c668a7b0c8b401908bbf0f3281c1cb138fe8 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:28:57 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 [Pipeline] isUnix [Pipeline] sh 04:28:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 04:28:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:28:58 35eb70d21a89: Preparing 04:28:58 35d24aa2898e: Preparing 04:28:58 aa127be8a5dd: Preparing 04:28:58 213e5710bc37: Preparing 04:28:58 ecb43abcf492: Preparing 04:28:58 3fbe34a1663b: Preparing 04:28:58 3fbe34a1663b: Waiting 04:28:58 35d24aa2898e: Layer already exists 04:28:58 ecb43abcf492: Layer already exists 04:28:58 35eb70d21a89: Layer already exists 04:28:58 213e5710bc37: Layer already exists 04:28:58 aa127be8a5dd: Layer already exists 04:28:58 3fbe34a1663b: Layer already exists 04:28:58 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18: digest: sha256:9186e35f56e4a80509c5a38fd9f2c668a7b0c8b401908bbf0f3281c1cb138fe8 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:28:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh 04:28:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master 04:28:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:28:59 35eb70d21a89: Preparing 04:28:59 35d24aa2898e: Preparing 04:28:59 aa127be8a5dd: Preparing 04:28:59 213e5710bc37: Preparing 04:28:59 ecb43abcf492: Preparing 04:28:59 3fbe34a1663b: Preparing 04:28:59 3fbe34a1663b: Waiting 04:28:59 ecb43abcf492: Layer already exists 04:28:59 213e5710bc37: Layer already exists 04:28:59 aa127be8a5dd: Layer already exists 04:28:59 35eb70d21a89: Layer already exists 04:28:59 35d24aa2898e: Layer already exists 04:28:59 3fbe34a1663b: Layer already exists 04:28:59 master: digest: sha256:9186e35f56e4a80509c5a38fd9f2c668a7b0c8b401908bbf0f3281c1cb138fe8 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:28:59 ===================================================== [Pipeline] echo 04:28:59 taggedImages: 04:28:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 04:28:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:28:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.18 04:28:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:eb590ed696e9e9466b4ef6c3e58a00375ee0ca86-1.3.2-dev.18 04:28:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 04:29:00 ---> job-cost.sh 04:29:00 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-K5pG 04:29:39 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:31:00 lf-activate-venv(): INFO: Adding /tmp/venv-K5pG/bin to PATH 04:31:00 INFO: No Stack... 04:31:00 INFO: Retrieving Pricing Info for: v2-standard-4 04:31:00 INFO: Archiving Costs [Pipeline] sh 04:31:01 + cat /w/workspace/device-virtual-go/58/archives/cost.csv 04:31:01 + cut -d, -f6 [Pipeline] lock 04:31:01 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] 04:31:01 Resource [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] did not exist. Created. 04:31:01 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:31:01 /w/workspace/device-virtual-go/58@tmp/durable-f5b71e29/script.sh: 1: /w/workspace/device-virtual-go/58@tmp/durable-f5b71e29/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:31:01 + echo total: 0.18000000715255737 [Pipeline] stash 04:31:01 Warning: overwriting stash ‘stack-cost’ 04:31:02 Stashed 1 file(s) [Pipeline] } 04:31:02 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-58-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:31:02 provisioning config files... 04:31:02 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3442682609793850739tmp [Pipeline] { [Pipeline] sh 04:31:03 + set +x 04:31:03 + bash -s -- 04:31:03 + curl -s https://codecov.io/bash 04:31:03 04:31:03 _____ _ 04:31:03 / ____| | | 04:31:03 | | ___ __| | ___ ___ _____ __ 04:31:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:31:03 | |___| (_) | (_| | __/ (_| (_) \ V / 04:31:03 \_____\___/ \__,_|\___|\___\___/ \_/ 04:31:03 Bash-1.0.3 04:31:03 04:31:03 04:31:03 ==> git version 2.24.4 found 04:31:03 ==> 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 04:31:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:31:03 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:31:03 ==> Jenkins CI detected. 04:31:03 project root: . 04:31:03 --> token set from env 04:31:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:31:03 ==> Running gcov in . (disable via -X gcov) 04:31:03 ==> Python coveragepy not found 04:31:03 ==> Searching for coverage reports in: 04:31:03 + . 04:31:03 -> Found 1 reports 04:31:03 ==> Detecting git/mercurial file structure 04:31:03 ==> Reading reports 04:31:03 + ./coverage.out bytes=47247 04:31:03 ==> Appending adjustments 04:31:03 https://docs.codecov.io/docs/fixing-reports 04:31:03 + Found adjustments 04:31:03 ==> Gzipping contents 04:31:03 8.0K /tmp/codecov.dyPHoE.gz 04:31:03 ==> Uploading reports 04:31:03 url: https://codecov.io 04:31:03 query: branch=master&commit=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:31:03 -> Pinging Codecov 04:31:03 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=eb590ed696e9e9466b4ef6c3e58a00375ee0ca86&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:31:03 -> Uploading to 04:31:03 https://storage.googleapis.com/codecov/v4/raw/2021-05-25/5E52B4B073DB2E39498172D8E973AA87/eb590ed696e9e9466b4ef6c3e58a00375ee0ca86/d5130ebd-0011-46c0-9507-c34d86110f54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210525T043103Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=604c75557a89fb01e221ac8663b8f52790e0491cd064f9610496b3ea2fce7e5f 04:31:03 % Total % Received % Xferd Average Speed Time Time Time Current 04:31:03 Dload Upload Total Spent Left Speed 04:31:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5780 0 0 100 5780 0 14917 --:--:-- --:--:-- --:--:-- 14896 04:31:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] } 04:31:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:31:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:31:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:31:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:31:05 04:31:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:31:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:31:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:31:05 188c0c94c7c5: Pulling fs layer 04:31:05 0ef7d3d256c8: Pulling fs layer 04:31:05 de9db76c5a1d: Pulling fs layer 04:31:05 0eba1c9be4d2: Pulling fs layer 04:31:05 0d57e429df01: Pulling fs layer 04:31:05 4e4be7b47b0d: Pulling fs layer 04:31:05 e1f770b5df2f: Pulling fs layer 04:31:05 85a0685a4137: Pulling fs layer 04:31:05 0d57e429df01: Waiting 04:31:05 4e4be7b47b0d: Waiting 04:31:05 e1f770b5df2f: Waiting 04:31:05 85a0685a4137: Waiting 04:31:05 0eba1c9be4d2: Waiting 04:31:05 de9db76c5a1d: Verifying Checksum 04:31:05 de9db76c5a1d: Download complete 04:31:05 0ef7d3d256c8: Verifying Checksum 04:31:05 0ef7d3d256c8: Download complete 04:31:05 0d57e429df01: Verifying Checksum 04:31:05 0d57e429df01: Download complete 04:31:05 188c0c94c7c5: Verifying Checksum 04:31:05 188c0c94c7c5: Download complete 04:31:05 4e4be7b47b0d: Verifying Checksum 04:31:05 4e4be7b47b0d: Download complete 04:31:05 188c0c94c7c5: Pull complete 04:31:06 0ef7d3d256c8: Pull complete 04:31:06 de9db76c5a1d: Pull complete 04:31:07 e1f770b5df2f: Verifying Checksum 04:31:07 e1f770b5df2f: Download complete 04:31:09 0eba1c9be4d2: Verifying Checksum 04:31:09 0eba1c9be4d2: Download complete 04:31:09 85a0685a4137: Verifying Checksum 04:31:09 85a0685a4137: Download complete 04:31:12 0eba1c9be4d2: Pull complete 04:31:12 0d57e429df01: Pull complete 04:31:12 4e4be7b47b0d: Pull complete 04:31:13 e1f770b5df2f: Pull complete 04:31:16 85a0685a4137: Pull complete 04:31:16 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:31:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:31:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:31:16 prd-centos7-docker-4c-2g-50 does not seem to be running inside a container 04:31:16 $ 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 04:31:20 $ docker top e9fa8104a49961eae19644bd5dbc172b26b4b22c15c34d074e88bbab80fdd4ce -eo pid,comm [Pipeline] { [Pipeline] echo 04:31:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:31:20 + set -o pipefail 04:31:20 + snyk monitor '--org=edgex-jenkins' 04:31:30 04:31:30 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 04:31:30 04:31:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/d55ce7b3-601a-4b9d-8479-89ebde270f0f 04:31:30 04:31:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:31:30 04:31:30 [Pipeline] } 04:31:30 $ docker stop --time=1 e9fa8104a49961eae19644bd5dbc172b26b4b22c15c34d074e88bbab80fdd4ce 04:31:33 $ docker rm -f e9fa8104a49961eae19644bd5dbc172b26b4b22c15c34d074e88bbab80fdd4ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:31:34 + git log --format=format:%s -1 eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 [Pipeline] isUnix [Pipeline] sh 04:31:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:31:34 . [Pipeline] withDockerContainer 04:31:34 prd-centos7-docker-4c-2g-50 does not seem to be running inside a container 04:31:34 $ 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 04:31:34 $ docker top b3c4e5b178b8788d76bd3455e0f3f6f54038b79e0a47133f1c69c6497c71adde -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:31:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:31:35 [ssh-agent] Looking for ssh-agent implementation... 04:31:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:31:35 $ docker exec b3c4e5b178b8788d76bd3455e0f3f6f54038b79e0a47133f1c69c6497c71adde ssh-agent 04:31:35 SSH_AUTH_SOCK=/tmp/ssh-rZZlB20qQ1uv/agent.15 04:31:35 SSH_AGENT_PID=22 04:31:35 Running ssh-add (command line suppressed) 04:31:35 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2002326587477941764.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2002326587477941764.key) 04:31:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:31:35 + git semver tag 04:31:35 # -> Open(): unable to determine branch for HEAD 04:31:35 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 04:31:35 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 04:31:35 # $SEMVER_REMOTE_NAME = origin 04:31:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:31:35 # $SEMVER_USER_NAME = edgex-jenkins 04:31:35 # $SEMVER_BRANCH = master 04:31:35 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 04:31:35 # eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 HEAD 04:31:35 # -> Force: false 04:31:35 # ac328824c6eae69bc93f9c5ebe090b526c6e92f3 refs/tags/v1.3.2-dev.18 [Pipeline] } 04:31:35 $ docker exec --env ******** --env ******** b3c4e5b178b8788d76bd3455e0f3f6f54038b79e0a47133f1c69c6497c71adde ssh-agent -k 04:31:35 unset SSH_AUTH_SOCK; 04:31:35 unset SSH_AGENT_PID; 04:31:35 echo Agent pid 22 killed; 04:31:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:31:36 + git semver [Pipeline] } 04:31:36 $ docker stop --time=1 b3c4e5b178b8788d76bd3455e0f3f6f54038b79e0a47133f1c69c6497c71adde 04:31:37 $ docker rm -f b3c4e5b178b8788d76bd3455e0f3f6f54038b79e0a47133f1c69c6497c71adde [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:31:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:31:37 04:31:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:31:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:31:38 0.23.1-centos7: Pulling from edgex-lftools 04:31:38 ab5ef0e58194: Pulling fs layer 04:31:38 9712f1f96733: Pulling fs layer 04:31:38 63f879dbbcfc: Pulling fs layer 04:31:38 0d9ebad4ef96: Pulling fs layer 04:31:38 e9a5061849ea: Pulling fs layer 04:31:38 d747dcd14b5f: Pulling fs layer 04:31:38 2de7ff778b66: Pulling fs layer 04:31:38 0d9ebad4ef96: Waiting 04:31:38 e9a5061849ea: Waiting 04:31:38 d747dcd14b5f: Waiting 04:31:38 2de7ff778b66: Waiting 04:31:38 9712f1f96733: Verifying Checksum 04:31:38 9712f1f96733: Download complete 04:31:39 63f879dbbcfc: Verifying Checksum 04:31:39 63f879dbbcfc: Download complete 04:31:39 e9a5061849ea: Verifying Checksum 04:31:39 e9a5061849ea: Download complete 04:31:39 d747dcd14b5f: Verifying Checksum 04:31:39 d747dcd14b5f: Download complete 04:31:39 2de7ff778b66: Verifying Checksum 04:31:39 2de7ff778b66: Download complete 04:31:40 0d9ebad4ef96: Verifying Checksum 04:31:40 0d9ebad4ef96: Download complete 04:31:40 ab5ef0e58194: Verifying Checksum 04:31:40 ab5ef0e58194: Download complete 04:31:42 ab5ef0e58194: Pull complete 04:31:42 9712f1f96733: Pull complete 04:31:43 63f879dbbcfc: Pull complete 04:31:47 0d9ebad4ef96: Pull complete 04:31:47 e9a5061849ea: Pull complete 04:31:47 d747dcd14b5f: Pull complete 04:31:48 2de7ff778b66: Pull complete 04:31:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:31:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:31:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:31:48 prd-centos7-docker-4c-2g-50 does not seem to be running inside a container 04:31:48 $ 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 04:31:54 $ docker top 0d55675dcdf935fac058393fed0e2dcc5ddacb96426a5ec46842dd07c2ad6d84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:31:54 provisioning config files... 04:31:54 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6857913280613634144tmp 04:31:54 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8810541746124854229tmp 04:31:54 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6159360108321891947tmp [Pipeline] { [Pipeline] echo 04:31:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:31:54 ---> sigul-configuration.sh 04:31:54 gpg: directory `/root/.gnupg' created 04:31:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:31:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:31:54 gpg: keyring `/root/.gnupg/secring.gpg' created 04:31:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:31:54 gpg: CAST5 encrypted data 04:31:54 gpg: encrypted with 1 passphrase 04:31:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:31:55 + mkdir /home/jenkins 04:31:55 + mkdir /home/jenkins/sigul [Pipeline] sh 04:31:55 + 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 04:31:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:31:55 ---> sigul-install.sh 04:32:01 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 04:32:01 + git tag --list 04:32:01 v1.0.0 04:32:01 v1.1.0 04:32:01 v1.1.1 04:32:01 v1.2.1 04:32:01 v1.2.2 04:32:01 v1.2.3 04:32:01 v1.3.0 04:32:01 v1.3.1 04:32:01 v1.3.1-dev.1 04:32:01 v1.3.1-dev.2 04:32:01 v1.3.1-dev.3 04:32:01 v1.3.1-dev.4 04:32:01 v1.3.1-dev.5 04:32:01 v1.3.2-dev.1 04:32:01 v1.3.2-dev.10 04:32:01 v1.3.2-dev.11 04:32:01 v1.3.2-dev.12 04:32:01 v1.3.2-dev.13 04:32:01 v1.3.2-dev.14 04:32:01 v1.3.2-dev.15 04:32:01 v1.3.2-dev.16 04:32:01 v1.3.2-dev.17 04:32:01 v1.3.2-dev.18 04:32:01 v1.3.2-dev.2 04:32:01 v1.3.2-dev.3 04:32:01 v1.3.2-dev.4 04:32:01 v1.3.2-dev.5 04:32:01 v1.3.2-dev.6 04:32:01 v1.3.2-dev.7 04:32:01 v1.3.2-dev.8 04:32:01 v1.3.2-dev.9 [Pipeline] sh 04:32:01 + lftools sign git-tag v1.3.2-dev.18 04:32:02 Signing Git tag with Sigul... 04:32:02 Signing v1.3.2-dev.18 [Pipeline] echo 04:32:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:32:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:32:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:32:03 $ docker stop --time=1 0d55675dcdf935fac058393fed0e2dcc5ddacb96426a5ec46842dd07c2ad6d84 04:32:05 $ docker rm -f 0d55675dcdf935fac058393fed0e2dcc5ddacb96426a5ec46842dd07c2ad6d84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 04:32:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:32:05 . [Pipeline] withDockerContainer 04:32:05 prd-centos7-docker-4c-2g-50 does not seem to be running inside a container 04:32:06 $ 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 04:32:06 $ docker top ec2cd3da7074e2bf94045ff11d02a8c7bc80f1af87f8593e1b8297d906849daf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:32:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:32:06 [ssh-agent] Looking for ssh-agent implementation... 04:32:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:32:06 $ docker exec ec2cd3da7074e2bf94045ff11d02a8c7bc80f1af87f8593e1b8297d906849daf ssh-agent 04:32:06 SSH_AUTH_SOCK=/tmp/ssh-5pRJS9f17Ofj/agent.12 04:32:06 SSH_AGENT_PID=18 04:32:06 Running ssh-add (command line suppressed) 04:32:07 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8209321720244914818.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8209321720244914818.key) 04:32:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:32:07 + git semver bump pre 04:32:07 # -> Open(): unable to determine branch for HEAD 04:32:07 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 04:32:07 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 04:32:07 # $SEMVER_REMOTE_NAME = origin 04:32:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:32:07 # $SEMVER_USER_NAME = edgex-jenkins 04:32:07 # $SEMVER_BRANCH = master 04:32:07 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 04:32:07 1.3.2-dev.19 [Pipeline] } 04:32:07 $ docker exec --env ******** --env ******** ec2cd3da7074e2bf94045ff11d02a8c7bc80f1af87f8593e1b8297d906849daf ssh-agent -k 04:32:07 unset SSH_AUTH_SOCK; 04:32:07 unset SSH_AGENT_PID; 04:32:07 echo Agent pid 18 killed; 04:32:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:32:07 + git semver [Pipeline] } 04:32:07 $ docker stop --time=1 ec2cd3da7074e2bf94045ff11d02a8c7bc80f1af87f8593e1b8297d906849daf 04:32:09 $ docker rm -f ec2cd3da7074e2bf94045ff11d02a8c7bc80f1af87f8593e1b8297d906849daf [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 04:32:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:32:09 . [Pipeline] withDockerContainer 04:32:09 prd-centos7-docker-4c-2g-50 does not seem to be running inside a container 04:32:09 $ 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 04:32:09 $ docker top da2c309e0b4eb903e0624e108906161a14c572aa0bf3b25221e3b108260de445 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:32:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:32:09 [ssh-agent] Looking for ssh-agent implementation... 04:32:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:32:10 $ docker exec da2c309e0b4eb903e0624e108906161a14c572aa0bf3b25221e3b108260de445 ssh-agent 04:32:10 SSH_AUTH_SOCK=/tmp/ssh-Ks0DQ52K2v5l/agent.15 04:32:10 SSH_AGENT_PID=21 04:32:10 Running ssh-add (command line suppressed) 04:32:10 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4465186227768881136.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4465186227768881136.key) 04:32:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:32:10 + git semver push 04:32:10 # -> Open(): unable to determine branch for HEAD 04:32:10 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 04:32:10 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 04:32:10 # $SEMVER_REMOTE_NAME = origin 04:32:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:32:10 # $SEMVER_USER_NAME = edgex-jenkins 04:32:10 # $SEMVER_BRANCH = master 04:32:10 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 04:32:14 $ docker exec --env ******** --env ******** da2c309e0b4eb903e0624e108906161a14c572aa0bf3b25221e3b108260de445 ssh-agent -k 04:32:14 unset SSH_AUTH_SOCK; 04:32:14 unset SSH_AGENT_PID; 04:32:14 echo Agent pid 21 killed; 04:32:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:32:15 + git semver [Pipeline] } 04:32:15 $ docker stop --time=1 da2c309e0b4eb903e0624e108906161a14c572aa0bf3b25221e3b108260de445 04:32:16 $ docker rm -f da2c309e0b4eb903e0624e108906161a14c572aa0bf3b25221e3b108260de445 [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 04:32:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:32:18 ---> package-listing.sh 04:32:18 ++ facter osfamily 04:32:18 ++ tr '[:upper:]' '[:lower:]' 04:32:18 + OS_FAMILY=redhat 04:32:18 + workspace=/w/workspace/foundry_device-virtual-go_master 04:32:18 + START_PACKAGES=/tmp/packages_start.txt 04:32:18 + END_PACKAGES=/tmp/packages_end.txt 04:32:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:32:18 + PACKAGES=/tmp/packages_start.txt 04:32:18 + '[' /w/workspace/foundry_device-virtual-go_master ']' 04:32:18 + PACKAGES=/tmp/packages_end.txt 04:32:18 + case "${OS_FAMILY}" in 04:32:18 + rpm -qa 04:32:18 + sort 04:32:19 + '[' -f /tmp/packages_start.txt ']' 04:32:19 + '[' -f /tmp/packages_end.txt ']' 04:32:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:32:19 + '[' /w/workspace/foundry_device-virtual-go_master ']' 04:32:19 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 04:32:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 04:32:19 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 04:32:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:32:19 04:32:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:32:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:32:20 alpine: Pulling from edgex-lftools-log-publisher 04:32:20 df20fa9351a1: Pulling fs layer 04:32:20 36b3adc4ff6f: Pulling fs layer 04:32:20 8ad3a11d3b57: Pulling fs layer 04:32:20 46f8f816bc3b: Pulling fs layer 04:32:20 93b61091891f: Pulling fs layer 04:32:20 93b9cdb0e59b: Pulling fs layer 04:32:20 5e14af77c1be: Pulling fs layer 04:32:20 01666e4c0597: Pulling fs layer 04:32:20 aa168da1d23b: Pulling fs layer 04:32:20 46f8f816bc3b: Waiting 04:32:20 93b9cdb0e59b: Waiting 04:32:20 5e14af77c1be: Waiting 04:32:20 93b61091891f: Waiting 04:32:20 01666e4c0597: Waiting 04:32:20 aa168da1d23b: Waiting 04:32:20 36b3adc4ff6f: Verifying Checksum 04:32:20 36b3adc4ff6f: Download complete 04:32:20 46f8f816bc3b: Verifying Checksum 04:32:20 46f8f816bc3b: Download complete 04:32:20 df20fa9351a1: Verifying Checksum 04:32:20 df20fa9351a1: Download complete 04:32:20 93b9cdb0e59b: Verifying Checksum 04:32:20 93b9cdb0e59b: Download complete 04:32:20 5e14af77c1be: Verifying Checksum 04:32:20 5e14af77c1be: Download complete 04:32:20 93b61091891f: Verifying Checksum 04:32:20 93b61091891f: Download complete 04:32:20 01666e4c0597: Verifying Checksum 04:32:20 01666e4c0597: Download complete 04:32:20 8ad3a11d3b57: Verifying Checksum 04:32:20 8ad3a11d3b57: Download complete 04:32:20 df20fa9351a1: Pull complete 04:32:20 36b3adc4ff6f: Pull complete 04:32:21 8ad3a11d3b57: Pull complete 04:32:21 46f8f816bc3b: Pull complete 04:32:21 93b61091891f: Pull complete 04:32:21 93b9cdb0e59b: Pull complete 04:32:21 5e14af77c1be: Pull complete 04:32:21 01666e4c0597: Pull complete 04:32:22 aa168da1d23b: Verifying Checksum 04:32:22 aa168da1d23b: Download complete 04:32:26 aa168da1d23b: Pull complete 04:32:26 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:32:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:32:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:32:26 prd-centos7-docker-4c-2g-50 does not seem to be running inside a container 04:32: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 04:32:30 $ docker top 3a244c9b4555a885d776dee9120d5586ed814355e28f676263960022c0c902b6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:30 + touch /tmp/pre-build-complete [Pipeline] sh 04:32:30 + mkdir -p /var/log/sa [Pipeline] sh 04:32:31 + ls /var/log/sa-host 04:32:31 + sadf -c /var/log/sa-host/sa05 04:32:31 file_magic: OK 04:32:31 HZ: Using current value: 100 04:32:31 file_header: OK 04:32: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 04:32:31 Statistics: 04:32:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:32:31 File successfully converted to sysstat format version 12.2.1 04:32:31 + sadf -c /var/log/sa-host/sa25 04:32:31 file_magic: OK 04:32:31 HZ: Using current value: 100 04:32:31 file_header: OK 04:32: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 04:32:31 Statistics: 04:32:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:32:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:31 provisioning config files... 04:32:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1687386160267777022tmp [Pipeline] { [Pipeline] echo 04:32:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:32:32 ---> create-netrc.sh [Pipeline] } 04:32:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:32:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:32:32 ---> python-tools-install.sh [Pipeline] echo 04:32:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:32:32 ---> sudo-logs.sh 04:32:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:32:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:32:33 ---> job-cost.sh 04:32:33 lf-activate-venv: SKIPPING 04:32:33 DEBUG: total: 0.18000000715255737 04:32:33 INFO: Retrieving Stack Cost... 04:32:34 INFO: Retrieving Pricing Info for: v3-standard-2 04:32:34 INFO: Archiving Costs [Pipeline] echo 04:32:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:32:34 ---> logs-deploy.sh 04:32:34 lf-activate-venv: SKIPPING 04:32:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/58 04:32:34 INFO: archiving workspace using pattern(s): 04:32:35 Archives upload complete. 04:32:36 INFO: archiving logs to Nexus 04:32:36 ---> uname -a: 04:32:36 Linux prd-centos7-docker-4c-2g-50.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 04:32:36 04:32:36 04:32:36 ---> lscpu: 04:32:36 Architecture: x86_64 04:32:36 CPU op-mode(s): 32-bit, 64-bit 04:32:36 Byte Order: Little Endian 04:32:36 Address sizes: 40 bits physical, 48 bits virtual 04:32:36 CPU(s): 2 04:32:36 On-line CPU(s) list: 0,1 04:32:36 Thread(s) per core: 1 04:32:36 Core(s) per socket: 1 04:32:36 Socket(s): 2 04:32:36 NUMA node(s): 1 04:32:36 Vendor ID: AuthenticAMD 04:32:36 CPU family: 23 04:32:36 Model: 49 04:32:36 Model name: AMD EPYC-Rome Processor 04:32:36 Stepping: 0 04:32:36 CPU MHz: 2800.000 04:32:36 BogoMIPS: 5600.00 04:32:36 Virtualization: AMD-V 04:32:36 Hypervisor vendor: KVM 04:32:36 Virtualization type: full 04:32:36 L1d cache: 64 KiB 04:32:36 L1i cache: 64 KiB 04:32:36 L2 cache: 1 MiB 04:32:36 L3 cache: 32 MiB 04:32:36 NUMA node0 CPU(s): 0,1 04:32:36 Vulnerability Itlb multihit: Not affected 04:32:36 Vulnerability L1tf: Not affected 04:32:36 Vulnerability Mds: Not affected 04:32:36 Vulnerability Meltdown: Not affected 04:32:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:32:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:32:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:32:36 Vulnerability Srbds: Not affected 04:32:36 Vulnerability Tsx async abort: Not affected 04:32:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 04:32:36 04:32:36 04:32:36 ---> nproc: 04:32:36 2 04:32:36 04:32:36 04:32:36 ---> df -h: 04:32:36 Filesystem Size Used Available Use% Mounted on 04:32:36 overlay 40.0G 8.9G 31.1G 22% / 04:32:36 tmpfs 64.0M 0 64.0M 0% /dev 04:32:36 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 04:32:36 shm 64.0M 0 64.0M 0% /dev/shm 04:32:36 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 04:32:36 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 04:32:36 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 04:32:36 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 04:32:36 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master 04:32:36 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master@tmp 04:32:36 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 04:32:36 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 04:32:36 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 04:32:36 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 04:32:36 04:32:36 04:32:36 ---> free -m: 04:32:36 total used free shared buff/cache available 04:32:36 Mem: 7821 1273 3148 0 3399 6466 04:32:36 Swap: 1023 0 1023 04:32:36 04:32:36 04:32:36 ---> ip addr: 04:32:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:32:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:32:36 inet 127.0.0.1/8 scope host lo 04:32:36 valid_lft forever preferred_lft forever 04:32:36 inet6 ::1/128 scope host 04:32:36 valid_lft forever preferred_lft forever 04:32:36 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 04:32:36 link/ether fa:16:3e:c0:8c:b8 brd ff:ff:ff:ff:ff:ff 04:32:36 inet 10.30.122.72/23 brd 10.30.123.255 scope global dynamic eth0 04:32:36 valid_lft 85689sec preferred_lft 85689sec 04:32:36 inet6 fe80::f816:3eff:fec0:8cb8/64 scope link 04:32:36 valid_lft forever preferred_lft forever 04:32:36 3: docker0: mtu 1500 qdisc noqueue state DOWN 04:32:36 link/ether 02:42:8c:7e:21:d6 brd ff:ff:ff:ff:ff:ff 04:32:36 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 04:32:36 valid_lft forever preferred_lft forever 04:32:36 inet6 fe80::42:8cff:fe7e:21d6/64 scope link 04:32:36 valid_lft forever preferred_lft forever 04:32:36 04:32:36 04:32:36 ---> sar -b -r -n DEV: 04:32:36 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/25/21 _x86_64_ (2 CPU) 04:32:36 04:32:36 04:20:33 LINUX RESTART (2 CPU) 04:32:36 04:32:36 04:21:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:32:36 04:22:02 113.26 16.89 96.37 0.00 5596.14 6438.47 0.00 04:32:36 04:23:01 1.71 0.00 1.71 0.00 0.00 36.72 0.00 04:32:36 04:24:01 0.42 0.00 0.42 0.00 0.00 7.28 0.00 04:32:36 04:25:01 0.32 0.00 0.32 0.00 0.00 5.51 0.00 04:32:36 04:26:01 0.32 0.00 0.32 0.00 0.00 4.66 0.00 04:32:36 04:27:01 0.30 0.00 0.30 0.00 0.00 4.21 0.00 04:32:36 04:28:01 0.28 0.00 0.28 0.00 0.00 5.26 0.00 04:32:36 04:29:01 0.32 0.00 0.32 0.00 0.00 4.63 0.00 04:32:36 04:30:01 0.33 0.00 0.33 0.00 0.00 4.90 0.00 04:32:36 04:31:01 0.25 0.00 0.25 0.00 0.00 4.15 0.00 04:32:36 04:32:02 208.64 0.03 208.61 0.00 3.73 57783.12 0.00 04:32:36 Average: 29.71 1.54 28.17 0.00 509.97 5858.12 0.00 04:32:36 04:32:36 04:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:32:36 04:22:02 5453836 0 800300 9.99 2620 1752176 1286840 14.21 575276 1579748 128 04:32:36 04:23:01 5457412 0 796716 9.95 2620 1752184 1252508 13.83 572640 1579712 12 04:32:36 04:24:01 5463340 0 790788 9.87 2620 1752184 1203916 13.29 566756 1580688 8 04:32:36 04:25:01 5461568 0 792556 9.90 2620 1752188 1203940 13.29 568372 1580688 8 04:32:36 04:26:01 5463276 0 790840 9.87 2620 1752196 1203712 13.29 563776 1583984 8 04:32:36 04:27:01 5460012 0 794104 9.92 2620 1752196 1203820 13.29 567196 1583984 8 04:32:36 04:28:01 5460388 0 793720 9.91 2620 1752204 1203712 13.29 566516 1584024 8 04:32:36 04:29:01 5458720 0 795384 9.93 2620 1752208 1203712 13.29 568152 1584024 8 04:32:36 04:30:01 5449660 0 804440 10.04 2620 1752212 1203712 13.29 576948 1584024 8 04:32:36 04:31:01 5449796 0 804296 10.04 2620 1752220 1203712 13.29 578796 1582248 8 04:32:36 04:32:02 3562852 0 1241116 15.50 2620 3202344 1395920 15.41 1057864 2745568 94384 04:32:36 Average: 5285533 0 836751 10.45 2620 1884028 1233228 13.62 614754 1688063 8599 04:32:36 04:32:36 04:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:32:36 04:22:02 eth0 688.56 519.62 1331.05 95.19 0.00 0.00 0.00 0.00 04:32:36 04:22:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:22:02 docker0 54.75 40.38 4.60 138.84 0.00 0.00 0.00 0.00 04:32:36 04:23:01 eth0 7.69 4.17 6.21 0.28 0.00 0.00 0.00 0.00 04:32:36 04:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:24:01 eth0 1.00 0.35 0.32 0.20 0.00 0.00 0.00 0.00 04:32:36 04:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:25:01 eth0 0.55 0.30 0.27 0.20 0.00 0.00 0.00 0.00 04:32:36 04:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:26:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:32:36 04:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:27:01 eth0 0.35 0.28 0.17 0.08 0.00 0.00 0.00 0.00 04:32:36 04:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:28:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:32:36 04:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:29:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:32:36 04:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:30:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:32:36 04:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:31:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:32:36 04:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:32:02 veth3fbe9d1 32.24 35.74 2.18 258.70 0.00 0.00 0.00 0.00 04:32:36 04:32:02 eth0 870.46 795.71 7957.34 75.86 0.00 0.00 0.00 0.00 04:32:36 04:32:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 04:32:02 docker0 105.56 118.69 7.56 660.66 0.00 0.00 0.00 0.00 04:32:36 Average: veth3fbe9d1 2.94 3.26 0.20 23.57 0.00 0.00 0.00 0.00 04:32:36 Average: eth0 142.92 120.32 846.86 15.65 0.00 0.00 0.00 0.00 04:32:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:32:36 Average: docker0 14.60 14.49 1.11 72.84 0.00 0.00 0.00 0.00 04:32:36 04:32:36 04:32:36 ---> sar -P ALL: 04:32:36 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/25/21 _x86_64_ (2 CPU) 04:32:36 04:32:36 04:20:33 LINUX RESTART (2 CPU) 04:32:36 04:32:36 04:21:01 CPU %user %nice %system %iowait %steal %idle 04:32:36 04:22:02 all 15.33 0.00 3.68 3.41 0.05 77.53 04:32:36 04:22:02 0 16.13 0.00 4.24 4.98 0.05 74.60 04:32:36 04:22:02 1 14.55 0.00 3.13 1.84 0.05 80.44 04:32:36 04:23:01 all 0.16 0.00 0.04 0.00 0.03 99.76 04:32:36 04:23:01 0 0.17 0.00 0.03 0.00 0.03 99.76 04:32:36 04:23:01 1 0.15 0.00 0.05 0.00 0.03 99.76 04:32:36 04:24:01 all 0.11 0.00 0.04 0.00 0.03 99.82 04:32:36 04:24:01 0 0.17 0.00 0.03 0.00 0.02 99.78 04:32:36 04:24:01 1 0.05 0.00 0.05 0.00 0.03 99.87 04:32:36 04:25:01 all 0.11 0.00 0.03 0.00 0.03 99.83 04:32:36 04:25:01 0 0.18 0.00 0.02 0.00 0.02 99.78 04:32:36 04:25:01 1 0.03 0.00 0.03 0.00 0.05 99.88 04:32:36 04:26:01 all 0.13 0.00 0.08 0.00 0.02 99.78 04:32:36 04:26:01 0 0.17 0.00 0.05 0.00 0.00 99.78 04:32:36 04:26:01 1 0.08 0.00 0.10 0.00 0.03 99.78 04:32:36 04:27:01 all 0.06 0.00 0.03 0.00 0.03 99.88 04:32:36 04:27:01 0 0.08 0.00 0.03 0.00 0.02 99.87 04:32:36 04:27:01 1 0.03 0.00 0.03 0.00 0.03 99.90 04:32:36 04:28:01 all 0.10 0.00 0.03 0.00 0.03 99.85 04:32:36 04:28:01 0 0.13 0.00 0.02 0.00 0.02 99.83 04:32:36 04:28:01 1 0.07 0.00 0.03 0.00 0.03 99.87 04:32:36 04:29:01 all 0.09 0.00 0.03 0.00 0.03 99.85 04:32:36 04:29:01 0 0.17 0.00 0.03 0.00 0.02 99.78 04:32:36 04:29:01 1 0.02 0.00 0.03 0.00 0.03 99.92 04:32:36 04:30:01 all 0.18 0.00 0.03 0.00 0.03 99.77 04:32:36 04:30:01 0 0.05 0.00 0.02 0.00 0.03 99.90 04:32:36 04:30:01 1 0.30 0.00 0.03 0.00 0.03 99.63 04:32:36 04:31:01 all 0.12 0.00 0.02 0.00 0.03 99.84 04:32:36 04:31:01 0 0.03 0.00 0.02 0.00 0.02 99.93 04:32:36 04:31:01 1 0.20 0.00 0.02 0.00 0.03 99.75 04:32:36 04:32:02 all 23.07 0.00 9.44 4.93 0.09 62.47 04:32:36 04:32:02 0 21.82 0.00 9.28 3.93 0.09 64.88 04:32:36 04:32:02 1 24.31 0.00 9.60 5.92 0.09 60.07 04:32:36 04:32:36 Average: CPU %user %nice %system %iowait %steal %idle 04:32:36 Average: all 3.46 0.00 1.17 0.73 0.03 94.60 04:32:36 Average: 0 3.43 0.00 1.20 0.78 0.03 94.56 04:32:36 Average: 1 3.49 0.00 1.15 0.68 0.04 94.65 04:32:36 04:32:36 04:32:36