Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 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-ssh5094190439890153968.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-ssh7966366326382095230.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-rest-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-rest-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3841211723174854148.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-ssh2738354890919785105.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-rest-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-rest-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6553281945743386332.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-rest-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-rest-go-settings PROJECT: device-rest-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-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-83 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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/gexfoundry_device-rest-go_master@tmp/jenkins-gitclient-ssh2485776664503678463.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 Commit message: "Merge pull request #96 from lenny-intel/secure-bus-rework" > git rev-list --no-walk 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:27:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:27:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:27:58 ========================================================= 08:27:58 EdgeX Global Pipelines Version Info 08:27:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:28:00 ------------------- 08:28:00 stable info: 08:28:00 ------------------- 08:28:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:28:00 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:28:00 Message: update stable to v1.0.192 08:28:01 ------------------- 08:28:01 experimental info: 08:28:01 ------------------- 08:28:01 Commited By: **** collab-it+edgex@linuxfoundation.org 08:28:01 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:28:01 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:28:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ab6185 [Pipeline] echo 08:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:28:02 provisioning config files... 08:28:02 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config955404638791744643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:28:02 ---> docker-login.sh 08:28:02 nexus3.edgexfoundry.org:10001 08:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:03 Configure a credential helper to remove this warning. See 08:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:03 08:28:03 Login Succeeded 08:28:03 nexus3.edgexfoundry.org:10002 08:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:03 Configure a credential helper to remove this warning. See 08:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:03 08:28:03 Login Succeeded 08:28:03 nexus3.edgexfoundry.org:10003 08:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:03 Configure a credential helper to remove this warning. See 08:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:03 08:28:03 Login Succeeded 08:28:03 nexus3.edgexfoundry.org:10004 08:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:03 Configure a credential helper to remove this warning. See 08:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:03 08:28:03 Login Succeeded 08:28:03 docker.io 08:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:04 Configure a credential helper to remove this warning. See 08:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:04 08:28:04 Login Succeeded 08:28:04 ---> docker-login.sh ends [Pipeline] } 08:28:04 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 08:28:04 + git log --format=format:%s -1 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] echo 08:28:04 GIT_COMMIT: 8ab618566fd99c79b3e6b1ee7b4c674816e04a15, Commit Message: Merge pull request #96 from lenny-intel/secure-bus-rework [Pipeline] echo 08:28:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:28:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:06 08:28:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:28:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:06 latest: Pulling from edgex-devops/git-semver 08:28:06 31603596830f: Pulling fs layer 08:28:06 54011a49482f: Pulling fs layer 08:28:06 a6820b24f6d8: Pulling fs layer 08:28:06 f581987b2513: Pulling fs layer 08:28:06 f581987b2513: Waiting 08:28:06 54011a49482f: Download complete 08:28:06 31603596830f: Verifying Checksum 08:28:06 31603596830f: Download complete 08:28:06 f581987b2513: Verifying Checksum 08:28:06 f581987b2513: Download complete 08:28:06 a6820b24f6d8: Verifying Checksum 08:28:06 a6820b24f6d8: Download complete 08:28:06 31603596830f: Pull complete 08:28:06 54011a49482f: Pull complete 08:28:07 a6820b24f6d8: Pull complete 08:28:08 f581987b2513: Pull complete 08:28:08 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 08:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:28:08 prd-centos7-docker-4c-2g-83 does not seem to be running inside a container 08:28:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:28:10 $ docker top 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:28:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:28:10 [ssh-agent] Looking for ssh-agent implementation... 08:28:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:28:10 $ docker exec 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b ssh-agent 08:28:10 SSH_AUTH_SOCK=/tmp/ssh-99H0ZZMI3FkW/agent.12 08:28:10 SSH_AGENT_PID=17 08:28:10 Running ssh-add (command line suppressed) 08:28:11 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1559411661433058819.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1559411661433058819.key) 08:28:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:28:11 + git tag --points-at HEAD [Pipeline] } 08:28:11 $ docker exec --env ******** --env ******** 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b ssh-agent -k 08:28:11 unset SSH_AUTH_SOCK; 08:28:11 unset SSH_AGENT_PID; 08:28:11 echo Agent pid 17 killed; 08:28:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:28:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:28:11 [ssh-agent] Looking for ssh-agent implementation... 08:28:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:28:11 $ docker exec 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b ssh-agent 08:28:12 SSH_AUTH_SOCK=/tmp/ssh-FKoKFMMSxBPJ/agent.45 08:28:12 SSH_AGENT_PID=50 08:28:12 Running ssh-add (command line suppressed) 08:28:12 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4974546625599323616.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4974546625599323616.key) 08:28:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:28:12 + git semver init 08:28:12 # -> Open(): unable to determine branch for HEAD 08:28:12 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 08:28:12 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 08:28:12 # $SEMVER_REMOTE_NAME = origin 08:28:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:28:12 # $SEMVER_USER_NAME = edgex-jenkins 08:28:12 # $SEMVER_BRANCH = master 08:28:12 # $SEMVER_TEMP = /tmp/semver-423934107 08:28:12 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 08:28:13 # '/tmp/semver-423934107' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 08:28:13 # -> Force: false 08:28:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 08:28:13 $ docker exec --env ******** --env ******** 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b ssh-agent -k 08:28:14 unset SSH_AUTH_SOCK; 08:28:14 unset SSH_AGENT_PID; 08:28:14 echo Agent pid 50 killed; 08:28:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:28:14 + git semver [Pipeline] } 08:28:14 $ docker stop --time=1 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b 08:28:15 $ docker rm -f 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b [Pipeline] // withDockerContainer [Pipeline] sh 08:28:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:28:16 Stashed 1 file(s) [Pipeline] echo 08:28:16 [edgeXSemver]: initialized semver on version 1.2.2-dev.10 [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 08:28:31 Still waiting to schedule task 08:28:31 ‘prd-centos7-docker-4c-2g-84’ is offline 08:28:31 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ 08:28:31 Still waiting to schedule task 08:28:31 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 08:30:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-85 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 08:30:21 Running in /w/workspace/device-rest-go/43 [Pipeline] { [Pipeline] checkout 08:30:21 The recommended git tool is: git 08:30:26 using credential edgex-jenkins-ssh 08:30:26 Cloning the remote Git repository 08:30:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:30:26 > git init /w/workspace/device-rest-go/43 # timeout=10 08:30:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:30:27 > git --version # timeout=10 08:30:27 > git --version # 'git version 2.17.1' 08:30:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:30:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:30:29 Avoid second fetch 08:30:29 Checking out Revision 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 (master) 08:30:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:30:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:30:29 > git config core.sparsecheckout # timeout=10 08:30:29 > git checkout -f 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 08:30:30 Running on prd-centos7-docker-4c-2g-88 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 08:30:30 Running in /w/workspace/device-rest-go/43 [Pipeline] { [Pipeline] checkout 08:30:30 The recommended git tool is: git 08:30:33 Commit message: "Merge pull request #96 from lenny-intel/secure-bus-rework" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:30:34 using credential edgex-jenkins-ssh 08:30:34 Cloning the remote Git repository 08:30:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:30:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:30:35 + sudo service docker restart 08:30:35 + true 08:30:34 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:30:34 > git init /w/workspace/device-rest-go/43 # timeout=10 08:30:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:30:35 > git --version # timeout=10 08:30:35 > git --version # 'git version 2.24.3' 08:30:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:30:35 [INFO] Currently running in a labeled security context 08:30:35 [INFO] Currently SELinux is 'enforcing' on the host 08:30:35 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/43@tmp/jenkins-gitclient-ssh209729866600977481.key 08:30:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:30:36 Avoid second fetch 08:30:36 Checking out Revision 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 (master) 08:30:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:30:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:30:36 > git config core.sparsecheckout # timeout=10 08:30:36 > git checkout -f 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:30:38 provisioning config files... 08:30:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config1430124937717064367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:30:38 ---> docker-login.sh 08:30:38 nexus3.edgexfoundry.org:10001 08:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:40 Configure a credential helper to remove this warning. See 08:30:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:40 08:30:40 Login Succeeded 08:30:40 nexus3.edgexfoundry.org:10002 08:30:40 Commit message: "Merge pull request #96 from lenny-intel/secure-bus-rework" 08:30:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:40 Configure a credential helper to remove this warning. See 08:30:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:40 08:30:40 Login Succeeded 08:30:40 nexus3.edgexfoundry.org:10003 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:41 Configure a credential helper to remove this warning. See 08:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:41 08:30:41 Login Succeeded 08:30:41 nexus3.edgexfoundry.org:10004 08:30:41 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:41 Configure a credential helper to remove this warning. See 08:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:41 08:30:41 Login Succeeded 08:30:41 docker.io 08:30:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:30:42 + sudo service docker restart 08:30:42 + true 08:30:42 Redirecting to /bin/systemctl restart docker.service 08:30:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:42 Configure a credential helper to remove this warning. See 08:30:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:42 08:30:42 Login Succeeded 08:30:42 ---> docker-login.sh ends [Pipeline] } 08:30:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:30:43 ========================================================= 08:30:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 08:30:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:30:43 + 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 . 08:30:43 Sending build context to Docker daemon 92.16kB 08:30:43 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 08:30:43 Step 2/10 : FROM ${BASE} [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:30:43 provisioning config files... 08:30:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config3577790134300303009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:30:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:30:43 595b0fe564bb: Pulling fs layer 08:30:43 7186ed65a4f7: Pulling fs layer 08:30:43 316046926c0a: Pulling fs layer 08:30:43 4ebd0625c992: Pulling fs layer 08:30:43 207e8628e3a3: Pulling fs layer 08:30:43 c791037a9be2: Pulling fs layer 08:30:43 ffd874e62e21: Pulling fs layer 08:30:43 207e8628e3a3: Waiting 08:30:43 c791037a9be2: Waiting 08:30:43 ffd874e62e21: Waiting 08:30:43 4ebd0625c992: Waiting 08:30:43 316046926c0a: Verifying Checksum 08:30:43 316046926c0a: Download complete 08:30:43 7186ed65a4f7: Download complete 08:30:43 207e8628e3a3: Verifying Checksum 08:30:43 207e8628e3a3: Download complete 08:30:43 c791037a9be2: Download complete 08:30:43 595b0fe564bb: Verifying Checksum 08:30:43 595b0fe564bb: Download complete 08:30:44 ---> docker-login.sh 08:30:44 nexus3.edgexfoundry.org:10001 08:30:44 595b0fe564bb: Pull complete 08:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:44 Configure a credential helper to remove this warning. See 08:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:44 08:30:44 Login Succeeded 08:30:44 nexus3.edgexfoundry.org:10002 08:30:45 7186ed65a4f7: Pull complete 08:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:45 Configure a credential helper to remove this warning. See 08:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:45 08:30:45 Login Succeeded 08:30:45 nexus3.edgexfoundry.org:10003 08:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:45 316046926c0a: Pull complete 08:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:45 Configure a credential helper to remove this warning. See 08:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:45 08:30:45 Login Succeeded 08:30:45 nexus3.edgexfoundry.org:10004 08:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:45 ffd874e62e21: Download complete 08:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:45 Configure a credential helper to remove this warning. See 08:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:45 08:30:45 Login Succeeded 08:30:45 docker.io 08:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:30:46 Configure a credential helper to remove this warning. See 08:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:30:46 08:30:46 Login Succeeded 08:30:46 ---> docker-login.sh ends [Pipeline] } 08:30:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:30:46 ========================================================= 08:30:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 08:30:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:30:46 + 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 . 08:30:46 Sending build context to Docker daemon 92.16kB 08:30:46 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 08:30:46 Step 2/10 : FROM ${BASE} 08:30:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 08:30:46 540db60ca938: Pulling fs layer 08:30:46 adcc1eea9eea: Pulling fs layer 08:30:46 4c4ab2625f07: Pulling fs layer 08:30:46 0510c868ecb4: Pulling fs layer 08:30:46 afea3b2eda06: Pulling fs layer 08:30:46 7809a108b3ef: Pulling fs layer 08:30:46 f706445af74f: Pulling fs layer 08:30:46 0510c868ecb4: Waiting 08:30:46 afea3b2eda06: Waiting 08:30:46 7809a108b3ef: Waiting 08:30:46 f706445af74f: Waiting 08:30:46 4c4ab2625f07: Download complete 08:30:46 adcc1eea9eea: Verifying Checksum 08:30:46 adcc1eea9eea: Download complete 08:30:46 afea3b2eda06: Download complete 08:30:46 7809a108b3ef: Verifying Checksum 08:30:46 7809a108b3ef: Download complete 08:30:46 540db60ca938: Verifying Checksum 08:30:46 540db60ca938: Download complete 08:30:47 4ebd0625c992: Verifying Checksum 08:30:47 4ebd0625c992: Download complete 08:30:47 540db60ca938: Pull complete 08:30:47 adcc1eea9eea: Pull complete 08:30:47 4c4ab2625f07: Pull complete 08:30:48 f706445af74f: Verifying Checksum 08:30:49 0510c868ecb4: Verifying Checksum 08:30:49 0510c868ecb4: Download complete 08:30:56 0510c868ecb4: Pull complete 08:30:56 afea3b2eda06: Pull complete 08:30:56 7809a108b3ef: Pull complete 08:30:59 4ebd0625c992: Pull complete 08:30:59 207e8628e3a3: Pull complete 08:30:59 c791037a9be2: Pull complete 08:31:00 f706445af74f: Pull complete 08:31:00 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 08:31:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 08:31:00 ---> b068be0155e3 08:31:00 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:31:01 ---> Running in d3ed8a718825 08:31:01 Removing intermediate container d3ed8a718825 08:31:01 ---> 03700ceef786 08:31:01 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:31:01 ---> Running in 881d6c24c746 08:31:01 Removing intermediate container 881d6c24c746 08:31:01 ---> 4b69f3ef1673 08:31:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:31:02 ---> Running in 2b9abc1b4c96 08:31:02 Removing intermediate container 2b9abc1b4c96 08:31:02 ---> 2f4b5d6b6bf1 08:31:02 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:31:02 ---> Running in f0709c3dcb92 08:31:03 ffd874e62e21: Pull complete 08:31:03 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 08:31:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 08:31:03 ---> cfc18b08335c 08:31:03 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:31:03 Removing intermediate container f0709c3dcb92 08:31:03 ---> fee851871827 08:31:03 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:31:03 ---> Running in c6fd83fc3b91 08:31:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:31:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:31:06 ---> Running in 0a594b3f5456 08:31:06 Removing intermediate container 0a594b3f5456 08:31:06 ---> 6ce37290a227 08:31:06 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:31:06 ---> Running in c899d2399449 08:31:06 (1/9) Installing libc-dev (0.7.2-r3) 08:31:06 (2/9) Installing libsodium (1.0.18-r0) 08:31:06 (3/9) Installing pkgconf (1.7.3-r0) 08:31:07 (4/9) Installing libsodium-dev (1.0.18-r0) 08:31:07 (5/9) Installing openssh-keygen (8.4_p1-r3) 08:31:07 (6/9) Installing libedit (20191231.3.1-r1) 08:31:07 Removing intermediate container c899d2399449 08:31:07 ---> 474ce6c10522 08:31:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:31:07 (7/9) Installing openssh-client (8.4_p1-r3) 08:31:07 ---> Running in 96fcff81d0c0 08:31:07 (8/9) Installing libzmq (4.3.3-r1) 08:31:07 (9/9) Installing zeromq-dev (4.3.3-r1) 08:31:07 Removing intermediate container 96fcff81d0c0 08:31:07 ---> 6907d89e8e13 08:31:07 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:31:07 Executing busybox-1.32.1-r6.trigger 08:31:07 OK: 154 MiB in 49 packages 08:31:08 ---> Running in c2ddc0a6b6e6 08:31:09 Removing intermediate container c6fd83fc3b91 08:31:09 ---> 2e4b141daa86 08:31:09 Step 8/10 : WORKDIR /device-rest-go 08:31:09 ---> Running in 19bc3c0e5455 08:31:09 Removing intermediate container 19bc3c0e5455 08:31:09 ---> d99586ecc5cf 08:31:09 Step 9/10 : COPY . . 08:31:09 ---> ad848550e2e7 08:31:09 Step 10/10 : RUN go mod download 08:31:09 ---> Running in ba60b6c69be2 08:31:10 Removing intermediate container c2ddc0a6b6e6 08:31:10 ---> eaa59af0622b 08:31:10 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:31:10 ---> Running in 026a86921ea1 08:31:12 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:31:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:31:13 (1/9) Installing libc-dev (0.7.2-r3) 08:31:14 (2/9) Installing libsodium (1.0.18-r0) 08:31:14 (3/9) Installing pkgconf (1.7.3-r0) 08:31:14 (4/9) Installing libsodium-dev (1.0.18-r0) 08:31:14 (5/9) Installing openssh-keygen (8.4_p1-r3) 08:31:14 (6/9) Installing libedit (20191231.3.1-r1) 08:31:14 (7/9) Installing openssh-client (8.4_p1-r3) 08:31:14 (8/9) Installing libzmq (4.3.3-r1) 08:31:14 (9/9) Installing zeromq-dev (4.3.3-r1) 08:31:14 Executing busybox-1.32.1-r6.trigger 08:31:14 OK: 144 MiB in 49 packages 08:31:16 Removing intermediate container 026a86921ea1 08:31:16 ---> 3adc92842cdd 08:31:16 Step 8/10 : WORKDIR /device-rest-go 08:31:16 ---> Running in 3212e094a189 08:31:17 Removing intermediate container 3212e094a189 08:31:17 ---> 72fb394ec755 08:31:17 Step 9/10 : COPY . . 08:31:18 ---> c0e47855b502 08:31:18 Step 10/10 : RUN go mod download 08:31:18 ---> Running in 93029d531702 08:31:42 Removing intermediate container ba60b6c69be2 08:31:42 ---> bbdd952400d6 08:31:42 Successfully built bbdd952400d6 08:31:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:31:42 + docker inspect -f . ci-base-image-x86_64 08:31:42 . [Pipeline] withDockerContainer 08:31:43 prd-centos7-docker-4c-2g-88 does not seem to be running inside a container 08:31:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:31:44 $ docker top 0e04cf1b888d6003b1ae4cc5364bf793aca8ed17c3b2eb39950abddcd1020419 -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:44 + go version 08:31:44 go version go1.16.3 linux/amd64 [Pipeline] } 08:31:44 $ docker stop --time=1 0e04cf1b888d6003b1ae4cc5364bf793aca8ed17c3b2eb39950abddcd1020419 08:31:45 Removing intermediate container 93029d531702 08:31:45 ---> 1af3e979214e 08:31:45 Successfully built 1af3e979214e 08:31:45 Successfully tagged ci-base-image-arm64:latest 08:31:46 $ docker rm -f 0e04cf1b888d6003b1ae4cc5364bf793aca8ed17c3b2eb39950abddcd1020419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:31:46 + docker inspect -f . ci-base-image-arm64 08:31:46 . [Pipeline] withDockerContainer 08:31:46 + docker inspect -f . ci-base-image-x86_64 08:31:46 . 08:31:47 prd-ubuntu18.04-docker-arm64-4c-16g-85 does not seem to be running inside a container 08:31:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:31:48 $ docker top c5307e8fffc46ba2645eb6885c66147fbe4448bdb76ba0a2895c005e523a332b -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 08:31:49 prd-centos7-docker-4c-2g-88 does not seem to be running inside a container 08:31:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:31:50 $ docker top e4f6d4cedee1592858898cc2507233231f6faeddf659ef62dff5a1d84befbab3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 08:31:51 + go mod tidy 08:31:51 + go version 08:31:51 go version go1.16.3 linux/arm64 [Pipeline] } 08:31:51 $ docker stop --time=1 c5307e8fffc46ba2645eb6885c66147fbe4448bdb76ba0a2895c005e523a332b 08:31:53 $ docker rm -f c5307e8fffc46ba2645eb6885c66147fbe4448bdb76ba0a2895c005e523a332b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:31:54 + make test 08:31:54 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:31:54 + docker inspect -f . ci-base-image-arm64 08:31:54 . [Pipeline] withDockerContainer 08:31:54 prd-ubuntu18.04-docker-arm64-4c-16g-85 does not seem to be running inside a container 08:31:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:31:55 ? github.com/edgexfoundry/device-rest-go [no test files] 08:31:56 $ docker top cd65d470eec77eee42bc48cb6f06754c9edfc7fcd50d1e0d159e280f76d4d5dd -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:57 + go mod tidy [Pipeline] sh 08:31:58 + make test 08:31:58 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:31:59 ? github.com/edgexfoundry/device-rest-go [no test files] 08:32:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:32:21 ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 54.0% of statements 08:32:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:32:33 gofmt -l . 08:32:33 [ "`gofmt -l .`" = "" ] 08:32:33 ./bin/test-go-mod-tidy.sh 08:32:33 ./bin/test-attribution-txt.sh [Pipeline] } 08:32:33 $ docker stop --time=1 e4f6d4cedee1592858898cc2507233231f6faeddf659ef62dff5a1d84befbab3 08:32:35 $ docker rm -f e4f6d4cedee1592858898cc2507233231f6faeddf659ef62dff5a1d84befbab3 [Pipeline] // withDockerContainer [Pipeline] sh 08:32:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:32:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:32:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:32:39 + ls -al . 08:32:39 total 104 08:32:39 drwxrwxr-x. 8 jenkins jenkins 4096 May 14 08:32 . 08:32:39 drwxrwxr-x. 4 jenkins jenkins 30 May 14 08:30 .. 08:32:39 -rw-rw-r--. 1 jenkins jenkins 6792 May 14 08:30 Attribution.txt 08:32:39 drwxrwxr-x. 2 jenkins jenkins 64 May 14 08:30 bin 08:32:39 drwxrwxr-x. 3 jenkins jenkins 32 May 14 08:30 cmd 08:32:39 -rw-r--r--. 1 jenkins jenkins 8513 May 14 08:32 coverage.out 08:32:39 -rw-rw-r--. 1 jenkins jenkins 1602 May 14 08:30 Dockerfile 08:32:39 -rw-rw-r--. 1 jenkins jenkins 1087 May 14 08:30 Dockerfile.build 08:32:39 -rw-rw-r--. 1 jenkins jenkins 151 May 14 08:30 .dockerignore 08:32:39 drwxrwxr-x. 2 jenkins jenkins 76 May 14 08:30 driver 08:32:39 drwxrwxr-x. 8 jenkins jenkins 162 May 14 08:30 .git 08:32:39 drwxrwxr-x. 2 jenkins jenkins 103 May 14 08:30 .github 08:32:39 -rw-rw-r--. 1 jenkins jenkins 339 May 14 08:30 .gitignore 08:32:39 -rw-r--r--. 1 jenkins jenkins 285 May 14 08:32 go.mod 08:32:39 -rw-r--r--. 1 jenkins jenkins 20782 May 14 08:31 go.sum 08:32:39 -rw-rw-r--. 1 jenkins jenkins 680 May 14 08:30 Jenkinsfile 08:32:39 -rw-rw-r--. 1 jenkins jenkins 11340 May 14 08:30 LICENSE 08:32:39 -rw-rw-r--. 1 jenkins jenkins 989 May 14 08:30 Makefile 08:32:39 -rw-rw-r--. 1 jenkins jenkins 7667 May 14 08:30 README.md 08:32:39 drwxrwxr-x. 4 jenkins jenkins 71 May 14 08:30 snap 08:32:39 -rw-rw-r--. 1 jenkins jenkins 12 May 14 08:28 VERSION 08:32:39 -rw-rw-r--. 1 jenkins jenkins 713 May 14 08:30 version.go [Pipeline] isUnix [Pipeline] sh 08:32:40 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8ab618566fd99c79b3e6b1ee7b4c674816e04a15 --label arch=amd64 --label version=1.2.2-dev.10 . 08:32:40 Sending build context to Docker daemon 101.9kB 08:32:40 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 08:32:40 Step 2/24 : FROM ${BASE} AS builder 08:32:40 ---> bbdd952400d6 08:32:40 Step 3/24 : ARG MAKE='make build' 08:32:40 ---> Running in 4193b3ae3913 08:32:40 Removing intermediate container 4193b3ae3913 08:32:40 ---> 4b1ba8b5d0c4 08:32:40 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:32:40 ---> Running in da1f01638dd1 08:32:40 Removing intermediate container da1f01638dd1 08:32:40 ---> c52c1fd79dab 08:32:40 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 08:32:40 ---> Running in 77456b6fa221 08:32:41 Removing intermediate container 77456b6fa221 08:32:41 ---> 3a64bc55a4c0 08:32:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:32:41 ---> Running in 49c25e835f3a 08:32:42 Removing intermediate container 49c25e835f3a 08:32:42 ---> f067992c7ad2 08:32:42 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:32:42 ---> Running in 6b2edc120a01 08:32:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:32:43 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:32:44 OK: 154 MiB in 49 packages 08:32:45 Removing intermediate container 6b2edc120a01 08:32:45 ---> 52310d1407ed 08:32:45 Step 8/24 : WORKDIR /device-rest-go 08:32:45 ---> Running in b5fdc62164ad 08:32:45 Removing intermediate container b5fdc62164ad 08:32:45 ---> b56db71445d1 08:32:45 Step 9/24 : COPY . . 08:32:46 ---> 21d1142d68d6 08:32:46 Step 10/24 : RUN make update 08:32:46 ---> Running in 0f10a86b7a12 08:32:46 CGO_ENABLED=0 GO111MODULE=on go mod download 08:32:47 Removing intermediate container 0f10a86b7a12 08:32:47 ---> 53de96829ad6 08:32:47 Step 11/24 : RUN $MAKE 08:32:47 ---> Running in 8922667d3444 08:32:48 go mod tidy 08:32:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.10" -o cmd/device-rest-go ./cmd 08:32:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:32:56 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 54.0% of statements 08:32:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:33:06 Removing intermediate container 8922667d3444 08:33:06 ---> 6c70e26f2dd3 08:33:06 Step 12/24 : FROM alpine:3.12 08:33:06 3.12: Pulling from library/alpine 08:33:06 339de151aab4: Pulling fs layer 08:33:06 339de151aab4: Verifying Checksum 08:33:06 339de151aab4: Download complete 08:33:06 339de151aab4: Pull complete 08:33:06 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:33:06 Status: Downloaded newer image for alpine:3.12 08:33:06 ---> 13621d1b12d4 08:33:06 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:33:06 ---> Running in 6cfae5be76ab 08:33:06 Removing intermediate container 6cfae5be76ab 08:33:06 ---> 2a5624f52afc 08:33:06 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 08:33:06 ---> Running in b4db5e129bc2 08:33:06 Removing intermediate container b4db5e129bc2 08:33:06 ---> 971cf31cb634 08:33:06 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 08:33:06 ---> Running in 892dc4abfdd4 08:33:07 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:33:07 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:33:07 (1/6) Installing dumb-init (1.2.2-r1) 08:33:07 (2/6) Installing libgcc (9.3.0-r2) 08:33:07 (3/6) Installing libsodium (1.0.18-r0) 08:33:07 (4/6) Installing libstdc++ (9.3.0-r2) 08:33:07 (5/6) Installing libzmq (4.3.3-r0) 08:33:07 (6/6) Installing zeromq (4.3.3-r0) 08:33:07 Executing busybox-1.31.1-r20.trigger 08:33:07 OK: 8 MiB in 20 packages 08:33:08 Removing intermediate container 892dc4abfdd4 08:33:08 ---> 3a3cf6743cf8 08:33:08 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 08:33:09 ---> f500ae5d06bd 08:33:09 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 08:33:09 ---> 42d7816669b3 08:33:09 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 08:33:09 ---> 36fa960e5f01 08:33:09 Step 19/24 : EXPOSE 49986 08:33:09 ---> Running in 6feb0074039f 08:33:09 Removing intermediate container 6feb0074039f 08:33:09 ---> dd68a2a68e14 08:33:09 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 08:33:10 ---> Running in aa1ab6735403 08:33:10 Removing intermediate container aa1ab6735403 08:33:10 ---> 5435df2d6b13 08:33:10 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:33:10 ---> Running in 4e0d1ed1d1ad 08:33:10 Removing intermediate container 4e0d1ed1d1ad 08:33:10 ---> 74a2b4837f2b 08:33:10 Step 22/24 : LABEL arch=amd64 08:33:10 ---> Running in d9d70087153b 08:33:10 Removing intermediate container d9d70087153b 08:33:10 ---> 75a648cacab2 08:33:10 Step 23/24 : LABEL git_sha=8ab618566fd99c79b3e6b1ee7b4c674816e04a15 08:33:10 ---> Running in 26aa1f68b916 08:33:11 Removing intermediate container 26aa1f68b916 08:33:11 ---> 9d1dfc4a657d 08:33:11 Step 24/24 : LABEL version=1.2.2-dev.10 08:33:11 ---> Running in f02ce353209c 08:33:11 Removing intermediate container f02ce353209c 08:33:11 ---> 77ab01ed3c86 08:33:11 [Warning] One or more build-args [ARCH] were not consumed 08:33:11 Successfully built 77ab01ed3c86 08:33:11 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:33:11 provisioning config files... 08:33:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config7587286356454681953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:33:12 ---> docker-login.sh 08:33:12 nexus3.edgexfoundry.org:10001 08:33:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:33:12 Configure a credential helper to remove this warning. See 08:33:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:33:12 08:33:12 Login Succeeded 08:33:12 nexus3.edgexfoundry.org:10002 08:33:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:33:12 Configure a credential helper to remove this warning. See 08:33:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:33:12 08:33:12 Login Succeeded 08:33:12 nexus3.edgexfoundry.org:10003 08:33:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:33:13 Configure a credential helper to remove this warning. See 08:33:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:33:13 08:33:13 Login Succeeded 08:33:13 nexus3.edgexfoundry.org:10004 08:33:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:33:13 Configure a credential helper to remove this warning. See 08:33:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:33:13 08:33:13 Login Succeeded 08:33:13 docker.io 08:33:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:33:13 Configure a credential helper to remove this warning. See 08:33:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:33:13 08:33:13 Login Succeeded 08:33:13 ---> docker-login.sh ends [Pipeline] } 08:33:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:33:14 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 08:33:14 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 08:33:14 latest 08:33:14 1.2.2-dev.10 08:33:14 8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 08:33:14 master 08:33:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:33:14 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] isUnix [Pipeline] sh 08:33:14 + docker push nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 08:33:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:33:14 0652777e8ffe: Preparing 08:33:14 7a5e1bdd92c1: Preparing 08:33:14 17819b82d31f: Preparing 08:33:14 c76de2c1afb0: Preparing 08:33:14 32f366d666a5: Preparing 08:33:14 32f366d666a5: Layer already exists 08:33:15 7a5e1bdd92c1: Pushed 08:33:15 0652777e8ffe: Pushed 08:33:15 c76de2c1afb0: Pushed 08:33:16 17819b82d31f: Pushed 08:33:16 8ab618566fd99c79b3e6b1ee7b4c674816e04a15: digest: sha256:9537243c456fdaf1d1c5a10f47f54093bbf63f52d12de573753824c47824f129 size: 1365 [Pipeline] isUnix [Pipeline] sh 08:33:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 08:33:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 08:33:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:33:17 0652777e8ffe: Preparing 08:33:17 7a5e1bdd92c1: Preparing 08:33:17 17819b82d31f: Preparing 08:33:17 c76de2c1afb0: Preparing 08:33:17 32f366d666a5: Preparing 08:33:17 17819b82d31f: Layer already exists 08:33:17 c76de2c1afb0: Layer already exists 08:33:17 7a5e1bdd92c1: Layer already exists 08:33:17 32f366d666a5: Layer already exists 08:33:17 0652777e8ffe: Layer already exists 08:33:17 latest: digest: sha256:9537243c456fdaf1d1c5a10f47f54093bbf63f52d12de573753824c47824f129 size: 1365 [Pipeline] isUnix [Pipeline] sh 08:33:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.10 [Pipeline] isUnix [Pipeline] sh 08:33:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.10 08:33:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:33:18 0652777e8ffe: Preparing 08:33:18 7a5e1bdd92c1: Preparing 08:33:18 17819b82d31f: Preparing 08:33:18 c76de2c1afb0: Preparing 08:33:18 32f366d666a5: Preparing 08:33:18 c76de2c1afb0: Layer already exists 08:33:18 7a5e1bdd92c1: Layer already exists 08:33:18 17819b82d31f: Layer already exists 08:33:18 0652777e8ffe: Layer already exists 08:33:18 32f366d666a5: Layer already exists 08:33:18 1.2.2-dev.10: digest: sha256:9537243c456fdaf1d1c5a10f47f54093bbf63f52d12de573753824c47824f129 size: 1365 [Pipeline] isUnix [Pipeline] sh 08:33:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 [Pipeline] isUnix [Pipeline] sh 08:33:19 + docker push nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 08:33:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:33:19 0652777e8ffe: Preparing 08:33:19 7a5e1bdd92c1: Preparing 08:33:19 17819b82d31f: Preparing 08:33:19 c76de2c1afb0: Preparing 08:33:19 32f366d666a5: Preparing 08:33:19 17819b82d31f: Layer already exists 08:33:19 7a5e1bdd92c1: Layer already exists 08:33:19 c76de2c1afb0: Layer already exists 08:33:19 32f366d666a5: Layer already exists 08:33:19 0652777e8ffe: Layer already exists 08:33:19 8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10: digest: sha256:9537243c456fdaf1d1c5a10f47f54093bbf63f52d12de573753824c47824f129 size: 1365 [Pipeline] isUnix [Pipeline] sh 08:33:19 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 08:33:19 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 08:33:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:33:19 0652777e8ffe: Preparing 08:33:19 7a5e1bdd92c1: Preparing 08:33:19 17819b82d31f: Preparing 08:33:19 c76de2c1afb0: Preparing 08:33:19 32f366d666a5: Preparing 08:33:19 32f366d666a5: Layer already exists 08:33:19 c76de2c1afb0: Layer already exists 08:33:19 0652777e8ffe: Layer already exists 08:33:19 17819b82d31f: Layer already exists 08:33:19 7a5e1bdd92c1: Layer already exists 08:33:19 master: digest: sha256:9537243c456fdaf1d1c5a10f47f54093bbf63f52d12de573753824c47824f129 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:33:19 ===================================================== [Pipeline] echo 08:33:19 taggedImages: 08:33:19 - nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 08:33:19 - nexus3.edgexfoundry.org:10004/device-rest:latest 08:33:19 - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.10 08:33:19 - nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 08:33:19 - nexus3.edgexfoundry.org:10004/device-rest: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 08:33:20 ---> job-cost.sh 08:33:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cmfv 08:33:23 gofmt -l . 08:33:23 [ "`gofmt -l .`" = "" ] 08:33:23 ./bin/test-go-mod-tidy.sh 08:33:23 ./bin/test-attribution-txt.sh [Pipeline] } 08:33:23 $ docker stop --time=1 cd65d470eec77eee42bc48cb6f06754c9edfc7fcd50d1e0d159e280f76d4d5dd 08:33:25 $ docker rm -f cd65d470eec77eee42bc48cb6f06754c9edfc7fcd50d1e0d159e280f76d4d5dd [Pipeline] // withDockerContainer [Pipeline] sh 08:33:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:33:26 Warning: overwriting stash ‘coverage-report’ 08:33:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:33:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:33:27 + ls -al . 08:33:27 total 132 08:33:27 drwxrwxr-x 8 jenkins jenkins 4096 May 14 08:33 . 08:33:27 drwxrwxr-x 4 jenkins jenkins 4096 May 14 08:30 .. 08:33:27 -rw-rw-r-- 1 jenkins jenkins 151 May 14 08:30 .dockerignore 08:33:27 drwxrwxr-x 8 jenkins jenkins 4096 May 14 08:30 .git 08:33:27 drwxrwxr-x 2 jenkins jenkins 4096 May 14 08:30 .github 08:33:27 -rw-rw-r-- 1 jenkins jenkins 339 May 14 08:30 .gitignore 08:33:27 -rw-rw-r-- 1 jenkins jenkins 6792 May 14 08:30 Attribution.txt 08:33:27 -rw-rw-r-- 1 jenkins jenkins 1602 May 14 08:30 Dockerfile 08:33:27 -rw-rw-r-- 1 jenkins jenkins 1087 May 14 08:30 Dockerfile.build 08:33:27 -rw-rw-r-- 1 jenkins jenkins 680 May 14 08:30 Jenkinsfile 08:33:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 14 08:30 LICENSE 08:33:27 -rw-rw-r-- 1 jenkins jenkins 989 May 14 08:30 Makefile 08:33:27 -rw-rw-r-- 1 jenkins jenkins 7667 May 14 08:30 README.md 08:33:27 -rw-rw-r-- 1 jenkins jenkins 12 May 14 08:28 VERSION 08:33:27 drwxrwxr-x 2 jenkins jenkins 4096 May 14 08:30 bin 08:33:27 drwxrwxr-x 3 jenkins jenkins 4096 May 14 08:30 cmd 08:33:27 -rw-r--r-- 1 jenkins jenkins 8513 May 14 08:32 coverage.out 08:33:27 drwxrwxr-x 2 jenkins jenkins 4096 May 14 08:30 driver 08:33:27 -rw-r--r-- 1 jenkins jenkins 285 May 14 08:33 go.mod 08:33:27 -rw-r--r-- 1 jenkins jenkins 20782 May 14 08:31 go.sum 08:33:27 drwxrwxr-x 4 jenkins jenkins 4096 May 14 08:30 snap 08:33:27 -rw-rw-r-- 1 jenkins jenkins 713 May 14 08:30 version.go [Pipeline] isUnix [Pipeline] sh 08:33:28 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8ab618566fd99c79b3e6b1ee7b4c674816e04a15 --label arch=arm64 --label version=1.2.2-dev.10 . 08:33:28 Sending build context to Docker daemon 101.9kB 08:33:28 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 08:33:28 Step 2/24 : FROM ${BASE} AS builder 08:33:28 ---> 1af3e979214e 08:33:28 Step 3/24 : ARG MAKE='make build' 08:33:28 ---> Running in f5cc867a4e62 08:33:28 Removing intermediate container f5cc867a4e62 08:33:28 ---> c155affb12e4 08:33:28 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:33:29 ---> Running in e8c4ee891eab 08:33:29 Removing intermediate container e8c4ee891eab 08:33:29 ---> 71f51f234e5d 08:33:29 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 08:33:29 ---> Running in 00bf911305a7 08:33:30 Removing intermediate container 00bf911305a7 08:33:30 ---> bfb6fdb2bbf4 08:33:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:33:30 ---> Running in d6d528267fbf 08:33:33 Removing intermediate container d6d528267fbf 08:33:33 ---> e9d0c2b1908f 08:33:33 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:33:33 ---> Running in 3988d9278adc 08:33:34 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:33:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:33:35 OK: 144 MiB in 49 packages 08:33:37 Removing intermediate container 3988d9278adc 08:33:37 ---> 772e09204f23 08:33:37 Step 8/24 : WORKDIR /device-rest-go 08:33:37 ---> Running in edc73a611beb 08:33:37 Removing intermediate container edc73a611beb 08:33:37 ---> 53cc1228ab2d 08:33:37 Step 9/24 : COPY . . 08:33:38 ---> 45702eca8c11 08:33:38 Step 10/24 : RUN make update 08:33:38 ---> Running in 054c113b5559 08:33:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:33:39 CGO_ENABLED=0 GO111MODULE=on go mod download 08:33:40 Removing intermediate container 054c113b5559 08:33:40 ---> c0032b71cada 08:33:40 Step 11/24 : RUN $MAKE 08:33:40 ---> Running in 1ce877a2e0be 08:33:41 go mod tidy 08:33:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.10" -o cmd/device-rest-go ./cmd 08:34:17 lf-activate-venv(): INFO: Adding /tmp/venv-cmfv/bin to PATH 08:34:17 INFO: No Stack... 08:34:17 INFO: Retrieving Pricing Info for: v1-standard-2 08:34:17 INFO: Archiving Costs [Pipeline] sh 08:34:18 + cat /w/workspace/device-rest-go/43/archives/cost.csv 08:34:18 + cut -d, -f6 [Pipeline] lock 08:34:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] 08:34:18 Resource [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] did not exist. Created. 08:34:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:34:18 + echo total: 0.029999999329447746 [Pipeline] stash 08:34:19 Stashed 1 file(s) [Pipeline] } 08:34:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:34:29 Removing intermediate container 1ce877a2e0be 08:34:29 ---> 62edf04b0b7f 08:34:29 Step 12/24 : FROM alpine:3.12 08:34:29 3.12: Pulling from library/alpine 08:34:29 d2f70382dc9a: Pulling fs layer 08:34:29 d2f70382dc9a: Verifying Checksum 08:34:29 d2f70382dc9a: Download complete 08:34:29 d2f70382dc9a: Pull complete 08:34:29 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:34:29 Status: Downloaded newer image for alpine:3.12 08:34:29 ---> 9852663dfa18 08:34:29 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:34:29 ---> Running in c80812a1246c 08:34:29 Removing intermediate container c80812a1246c 08:34:29 ---> a5158119e1c6 08:34:29 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 08:34:29 ---> Running in 42b6be06944b 08:34:29 Removing intermediate container 42b6be06944b 08:34:29 ---> 3c60bac8cf77 08:34:29 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 08:34:29 ---> Running in 36692c095d65 08:34:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:34:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:34:29 (1/6) Installing dumb-init (1.2.2-r1) 08:34:29 (2/6) Installing libgcc (9.3.0-r2) 08:34:29 (3/6) Installing libsodium (1.0.18-r0) 08:34:29 (4/6) Installing libstdc++ (9.3.0-r2) 08:34:29 (5/6) Installing libzmq (4.3.3-r0) 08:34:29 (6/6) Installing zeromq (4.3.3-r0) 08:34:29 Executing busybox-1.31.1-r20.trigger 08:34:29 OK: 8 MiB in 20 packages 08:34:29 Removing intermediate container 36692c095d65 08:34:29 ---> 4396d45eea11 08:34:29 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 08:34:29 ---> 4401dcad9767 08:34:29 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 08:34:30 ---> 38b55fd03610 08:34:30 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 08:34:30 ---> 3f14bac174d6 08:34:30 Step 19/24 : EXPOSE 49986 08:34:31 ---> Running in 5079a2a4bc91 08:34:31 Removing intermediate container 5079a2a4bc91 08:34:31 ---> 1ad207a6e5b0 08:34:31 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 08:34:31 ---> Running in 2c07792ffba8 08:34:32 Removing intermediate container 2c07792ffba8 08:34:32 ---> 41eadcd7e1b1 08:34:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:34:32 ---> Running in 219bbd3379ca 08:34:32 Removing intermediate container 219bbd3379ca 08:34:32 ---> 3ac5ad1897de 08:34:32 Step 22/24 : LABEL arch=arm64 08:34:32 ---> Running in f5c21085c493 08:34:33 Removing intermediate container f5c21085c493 08:34:33 ---> 4d4dd2b13991 08:34:33 Step 23/24 : LABEL git_sha=8ab618566fd99c79b3e6b1ee7b4c674816e04a15 08:34:33 ---> Running in aa2e066d887e 08:34:34 Removing intermediate container aa2e066d887e 08:34:34 ---> 5971a859bc85 08:34:34 Step 24/24 : LABEL version=1.2.2-dev.10 08:34:34 ---> Running in a77f21c5f08b 08:34:34 Removing intermediate container a77f21c5f08b 08:34:34 ---> ff0b616541b5 08:34:34 [Warning] One or more build-args [ARCH] were not consumed 08:34:34 Successfully built ff0b616541b5 08:34:34 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:35 provisioning config files... 08:34:35 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config1025398006622436220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:35 ---> docker-login.sh 08:34:35 nexus3.edgexfoundry.org:10001 08:34:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:36 Configure a credential helper to remove this warning. See 08:34:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:36 08:34:36 Login Succeeded 08:34:36 nexus3.edgexfoundry.org:10002 08:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:36 Configure a credential helper to remove this warning. See 08:34:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:36 08:34:36 Login Succeeded 08:34:36 nexus3.edgexfoundry.org:10003 08:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:37 Configure a credential helper to remove this warning. See 08:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:37 08:34:37 Login Succeeded 08:34:37 nexus3.edgexfoundry.org:10004 08:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:37 Configure a credential helper to remove this warning. See 08:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:37 08:34:37 Login Succeeded 08:34:37 docker.io 08:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:38 Configure a credential helper to remove this warning. See 08:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:38 08:34:38 Login Succeeded 08:34:38 ---> docker-login.sh ends [Pipeline] } 08:34:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:34:38 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 08:34:38 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 08:34:38 latest 08:34:38 1.2.2-dev.10 08:34:38 8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 08:34:38 master 08:34:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:34:39 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] isUnix [Pipeline] sh 08:34:39 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 08:34:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:34:39 859cc78b28f8: Preparing 08:34:39 4d7618c08d21: Preparing 08:34:39 bbfafa160455: Preparing 08:34:39 31442325ae40: Preparing 08:34:39 3fbe34a1663b: Preparing 08:34:39 3fbe34a1663b: Layer already exists 08:34:39 4d7618c08d21: Pushed 08:34:39 859cc78b28f8: Pushed 08:34:40 31442325ae40: Pushed 08:34:42 bbfafa160455: Pushed 08:34:42 8ab618566fd99c79b3e6b1ee7b4c674816e04a15: digest: sha256:c63a38b2fb95d4fb742958ca101f0cc30d602c639ec2a56d30e7a43a99c45745 size: 1365 [Pipeline] isUnix [Pipeline] sh 08:34:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:34:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 08:34:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:34:43 859cc78b28f8: Preparing 08:34:43 4d7618c08d21: Preparing 08:34:43 bbfafa160455: Preparing 08:34:43 31442325ae40: Preparing 08:34:43 3fbe34a1663b: Preparing 08:34:43 3fbe34a1663b: Layer already exists 08:34:43 31442325ae40: Layer already exists 08:34:43 4d7618c08d21: Layer already exists 08:34:43 bbfafa160455: Layer already exists 08:34:43 859cc78b28f8: Layer already exists 08:34:43 latest: digest: sha256:c63a38b2fb95d4fb742958ca101f0cc30d602c639ec2a56d30e7a43a99c45745 size: 1365 [Pipeline] isUnix [Pipeline] sh 08:34:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.10 [Pipeline] isUnix [Pipeline] sh 08:34:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.10 08:34:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:34:44 859cc78b28f8: Preparing 08:34:44 4d7618c08d21: Preparing 08:34:44 bbfafa160455: Preparing 08:34:44 31442325ae40: Preparing 08:34:44 3fbe34a1663b: Preparing 08:34:45 4d7618c08d21: Layer already exists 08:34:45 859cc78b28f8: Layer already exists 08:34:45 3fbe34a1663b: Layer already exists 08:34:45 bbfafa160455: Layer already exists 08:34:45 31442325ae40: Layer already exists 08:34:45 1.2.2-dev.10: digest: sha256:c63a38b2fb95d4fb742958ca101f0cc30d602c639ec2a56d30e7a43a99c45745 size: 1365 [Pipeline] isUnix [Pipeline] sh 08:34:45 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 [Pipeline] isUnix [Pipeline] sh 08:34:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 08:34:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:34:45 859cc78b28f8: Preparing 08:34:45 4d7618c08d21: Preparing 08:34:45 bbfafa160455: Preparing 08:34:45 31442325ae40: Preparing 08:34:45 3fbe34a1663b: Preparing 08:34:45 859cc78b28f8: Layer already exists 08:34:45 4d7618c08d21: Layer already exists 08:34:45 bbfafa160455: Layer already exists 08:34:45 31442325ae40: Layer already exists 08:34:45 3fbe34a1663b: Layer already exists 08:34:46 8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10: digest: sha256:c63a38b2fb95d4fb742958ca101f0cc30d602c639ec2a56d30e7a43a99c45745 size: 1365 [Pipeline] isUnix [Pipeline] sh 08:34:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 08:34:46 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 08:34:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:34:46 859cc78b28f8: Preparing 08:34:46 4d7618c08d21: Preparing 08:34:46 bbfafa160455: Preparing 08:34:46 31442325ae40: Preparing 08:34:46 3fbe34a1663b: Preparing 08:34:46 bbfafa160455: Layer already exists 08:34:46 859cc78b28f8: Layer already exists 08:34:46 31442325ae40: Layer already exists 08:34:46 4d7618c08d21: Layer already exists 08:34:46 3fbe34a1663b: Layer already exists 08:34:47 master: digest: sha256:c63a38b2fb95d4fb742958ca101f0cc30d602c639ec2a56d30e7a43a99c45745 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:34:47 ===================================================== [Pipeline] echo 08:34:47 taggedImages: 08:34:47 - nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 08:34:47 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 08:34:47 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.10 08:34:47 - nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 08:34:47 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 08:34:47 ---> job-cost.sh 08:34:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CU5p 08:35:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:37:51 lf-activate-venv(): INFO: Adding /tmp/venv-CU5p/bin to PATH 08:37:51 INFO: No Stack... 08:37:51 INFO: Retrieving Pricing Info for: lf-standard-4 08:37:51 INFO: Archiving Costs [Pipeline] sh 08:37:51 + cat+ /w/workspace/device-rest-go/43/archives/cost.csv 08:37:51 cut -d, -f6 [Pipeline] lock 08:37:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] 08:37:51 Resource [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] did not exist. Created. 08:37:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:37:52 /w/workspace/device-rest-go/43@tmp/durable-7cfb5f38/script.sh: 1: /w/workspace/device-rest-go/43@tmp/durable-7cfb5f38/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:37:52 + echo total: 0.20999999344348907 [Pipeline] stash 08:37:52 Warning: overwriting stash ‘stack-cost’ 08:37:52 Stashed 1 file(s) [Pipeline] } 08:37:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:37:53 provisioning config files... 08:37:53 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config639125471455890911tmp [Pipeline] { [Pipeline] sh 08:37:53 + set +x 08:37:53 + curl -s https://codecov.io/bash 08:37:53 + bash -s -- 08:37:54 08:37:54 _____ _ 08:37:54 / ____| | | 08:37:54 | | ___ __| | ___ ___ _____ __ 08:37:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:37:54 | |___| (_) | (_| | __/ (_| (_) \ V / 08:37:54 \_____\___/ \__,_|\___|\___\___/ \_/ 08:37:54 Bash-1.0.2 08:37:54 08:37:54 08:37:54 ==> git version 2.24.3 found 08:37:54 ==> 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 08:37:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:37:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:37:54 ==> Jenkins CI detected. 08:37:54 project root: . 08:37:54 --> token set from env 08:37:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:37:54 ==> Running gcov in . (disable via -X gcov) 08:37:54 ==> Python coveragepy not found 08:37:54 ==> Searching for coverage reports in: 08:37:54 + . 08:37:54 -> Found 1 reports 08:37:54 ==> Detecting git/mercurial file structure 08:37:54 ==> Reading reports 08:37:54 + ./coverage.out bytes=8513 08:37:54 ==> Appending adjustments 08:37:54 https://docs.codecov.io/docs/fixing-reports 08:37:54 + Found adjustments 08:37:54 ==> Gzipping contents 08:37:54 4.0K /tmp/codecov.KgPweV.gz 08:37:54 ==> Uploading reports 08:37:54 url: https://codecov.io 08:37:54 query: branch=master&commit=8ab618566fd99c79b3e6b1ee7b4c674816e04a15&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:37:54 -> Pinging Codecov 08:37:54 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=8ab618566fd99c79b3e6b1ee7b4c674816e04a15&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:37:54 -> Uploading to 08:37:54 https://storage.googleapis.com/codecov/v4/raw/2021-05-14/4E5D53B4F1F92C436F7061BF334D961C/8ab618566fd99c79b3e6b1ee7b4c674816e04a15/715f6aa6-2645-4e35-a08a-349b674b19b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210514%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210514T083754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=848df95d2a22ad5a9df42b9125800c3c59c553794a24fb94d172c3d6691f2a9d 08:37:54 % Total % Received % Xferd Average Speed Time Time Time Current 08:37:54 Dload Upload Total Spent Left Speed 08:37:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3866 --:--:-- --:--:-- --:--:-- 3872 08:37:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] } 08:37:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:37:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:37:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:37:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:37:56 08:37:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 08:37:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:37:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:37:56 188c0c94c7c5: Pulling fs layer 08:37:56 0ef7d3d256c8: Pulling fs layer 08:37:56 de9db76c5a1d: Pulling fs layer 08:37:56 0eba1c9be4d2: Pulling fs layer 08:37:56 0d57e429df01: Pulling fs layer 08:37:56 4e4be7b47b0d: Pulling fs layer 08:37:56 e1f770b5df2f: Pulling fs layer 08:37:56 85a0685a4137: Pulling fs layer 08:37:56 0d57e429df01: Waiting 08:37:56 e1f770b5df2f: Waiting 08:37:56 4e4be7b47b0d: Waiting 08:37:56 85a0685a4137: Waiting 08:37:56 de9db76c5a1d: Verifying Checksum 08:37:56 de9db76c5a1d: Download complete 08:37:56 0ef7d3d256c8: Verifying Checksum 08:37:56 0ef7d3d256c8: Download complete 08:37:56 0d57e429df01: Verifying Checksum 08:37:56 0d57e429df01: Download complete 08:37:56 188c0c94c7c5: Download complete 08:37:56 4e4be7b47b0d: Verifying Checksum 08:37:56 4e4be7b47b0d: Download complete 08:37:57 188c0c94c7c5: Pull complete 08:37:57 0ef7d3d256c8: Pull complete 08:37:57 de9db76c5a1d: Pull complete 08:37:58 e1f770b5df2f: Verifying Checksum 08:37:58 e1f770b5df2f: Download complete 08:38:00 0eba1c9be4d2: Verifying Checksum 08:38:00 0eba1c9be4d2: Download complete 08:38:00 85a0685a4137: Verifying Checksum 08:38:00 85a0685a4137: Download complete 08:38:06 0eba1c9be4d2: Pull complete 08:38:06 0d57e429df01: Pull complete 08:38:06 4e4be7b47b0d: Pull complete 08:38:08 e1f770b5df2f: Pull complete 08:38:16 85a0685a4137: Pull complete 08:38:16 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 08:38:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:38:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 08:38:16 prd-centos7-docker-4c-2g-83 does not seem to be running inside a container 08:38: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/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-devops/edgex-snyk-go:1.410.4 cat 08:38:18 $ docker top 7df65891524b78d3aab3fab94ac82fe4b36e9fc0d02799a21c32c6b146270489 -eo pid,comm [Pipeline] { [Pipeline] echo 08:38:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 08:38:18 + set -o pipefail 08:38:18 + snyk monitor '--org=edgex-jenkins' 08:38:26 08:38:26 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 08:38:26 08:38:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/b034672b-4578-453a-81c6-f266167fe7a6 08:38:26 08:38:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:38:26 08:38:26 [Pipeline] } 08:38:26 $ docker stop --time=1 7df65891524b78d3aab3fab94ac82fe4b36e9fc0d02799a21c32c6b146270489 08:38:30 $ docker rm -f 7df65891524b78d3aab3fab94ac82fe4b36e9fc0d02799a21c32c6b146270489 [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 08:38:31 + git log --format=format:%s -1 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] isUnix [Pipeline] sh 08:38:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:38:31 . [Pipeline] withDockerContainer 08:38:31 prd-centos7-docker-4c-2g-83 does not seem to be running inside a container 08:38:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:38:32 $ docker top 8490eb2f794ceb474bbb082ac49293d72a3930d836621900bf050a2ecfc7d54b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:38:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:38:32 [ssh-agent] Looking for ssh-agent implementation... 08:38:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:38:33 $ docker exec 8490eb2f794ceb474bbb082ac49293d72a3930d836621900bf050a2ecfc7d54b ssh-agent 08:38:33 SSH_AUTH_SOCK=/tmp/ssh-5PMZg7obe43G/agent.12 08:38:33 SSH_AGENT_PID=17 08:38:33 Running ssh-add (command line suppressed) 08:38:33 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8749435799881186722.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8749435799881186722.key) 08:38:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:38:33 + git semver tag 08:38:33 # -> Open(): unable to determine branch for HEAD 08:38:33 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 08:38:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 08:38:33 # $SEMVER_REMOTE_NAME = origin 08:38:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:38:33 # $SEMVER_USER_NAME = edgex-jenkins 08:38:33 # $SEMVER_BRANCH = master 08:38:33 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 08:38:33 # 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 HEAD 08:38:33 # -> Force: false 08:38:33 # 60efefc5158325bcfcebc2d03948490a10eb2a94 refs/tags/v1.2.2-dev.10 [Pipeline] } 08:38:33 $ docker exec --env ******** --env ******** 8490eb2f794ceb474bbb082ac49293d72a3930d836621900bf050a2ecfc7d54b ssh-agent -k 08:38:33 unset SSH_AUTH_SOCK; 08:38:33 unset SSH_AGENT_PID; 08:38:33 echo Agent pid 17 killed; 08:38:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:38:34 + git semver [Pipeline] } 08:38:34 $ docker stop --time=1 8490eb2f794ceb474bbb082ac49293d72a3930d836621900bf050a2ecfc7d54b 08:38:35 $ docker rm -f 8490eb2f794ceb474bbb082ac49293d72a3930d836621900bf050a2ecfc7d54b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:38:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:38:36 08:38:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:38:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:38:36 0.23.1-centos7: Pulling from edgex-lftools 08:38:36 ab5ef0e58194: Pulling fs layer 08:38:36 9712f1f96733: Pulling fs layer 08:38:36 63f879dbbcfc: Pulling fs layer 08:38:36 0d9ebad4ef96: Pulling fs layer 08:38:36 e9a5061849ea: Pulling fs layer 08:38:36 d747dcd14b5f: Pulling fs layer 08:38:36 2de7ff778b66: Pulling fs layer 08:38:36 0d9ebad4ef96: Waiting 08:38:36 e9a5061849ea: Waiting 08:38:36 d747dcd14b5f: Waiting 08:38:36 9712f1f96733: Verifying Checksum 08:38:36 9712f1f96733: Download complete 08:38:38 63f879dbbcfc: Verifying Checksum 08:38:38 63f879dbbcfc: Download complete 08:38:38 e9a5061849ea: Verifying Checksum 08:38:38 e9a5061849ea: Download complete 08:38:38 d747dcd14b5f: Verifying Checksum 08:38:38 d747dcd14b5f: Download complete 08:38:38 2de7ff778b66: Verifying Checksum 08:38:38 2de7ff778b66: Download complete 08:38:38 0d9ebad4ef96: Verifying Checksum 08:38:38 0d9ebad4ef96: Download complete 08:38:38 ab5ef0e58194: Download complete 08:38:44 ab5ef0e58194: Pull complete 08:38:44 9712f1f96733: Pull complete 08:38:46 63f879dbbcfc: Pull complete 08:38:53 0d9ebad4ef96: Pull complete 08:38:54 e9a5061849ea: Pull complete 08:38:54 d747dcd14b5f: Pull complete 08:38:56 2de7ff778b66: Pull complete 08:38:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:38:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:38:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:38:57 prd-centos7-docker-4c-2g-83 does not seem to be running inside a container 08:38:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:39:00 $ docker top 2991295b686d38efb35cd9c4a1b725d3b9cda4a28bd756116f119c67ea0f8f73 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:39:01 provisioning config files... 08:39:01 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2471429361693570015tmp 08:39:01 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3008808459047508282tmp 08:39:01 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4099006403491416125tmp [Pipeline] { [Pipeline] echo 08:39:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:39:01 ---> sigul-configuration.sh 08:39:01 gpg: directory `/root/.gnupg' created 08:39:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:39:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:39:01 gpg: keyring `/root/.gnupg/secring.gpg' created 08:39:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:39:01 gpg: CAST5 encrypted data 08:39:01 gpg: encrypted with 1 passphrase 08:39:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:39:02 + mkdir /home/jenkins 08:39:02 + mkdir /home/jenkins/sigul [Pipeline] sh 08:39:02 + 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 08:39:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:39:02 ---> sigul-install.sh 08:39:12 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 08:39:12 + git tag --list 08:39:12 v1.0.0 08:39:12 v1.1.0 08:39:12 v1.1.1 08:39:12 v1.1.2 08:39:12 v1.2.0 08:39:12 v1.2.1 08:39:12 v1.2.1-dev.1 08:39:12 v1.2.1-dev.2 08:39:12 v1.2.1-dev.3 08:39:12 v1.2.1-dev.4 08:39:12 v1.2.2-dev.1 08:39:12 v1.2.2-dev.10 08:39:12 v1.2.2-dev.2 08:39:12 v1.2.2-dev.3 08:39:12 v1.2.2-dev.4 08:39:12 v1.2.2-dev.5 08:39:12 v1.2.2-dev.6 08:39:12 v1.2.2-dev.7 08:39:12 v1.2.2-dev.8 08:39:12 v1.2.2-dev.9 [Pipeline] sh 08:39:13 + lftools sign git-tag v1.2.2-dev.10 08:39:14 Signing Git tag with Sigul... 08:39:14 Signing v1.2.2-dev.10 [Pipeline] echo 08:39:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:39:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:39:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:39:16 $ docker stop --time=1 2991295b686d38efb35cd9c4a1b725d3b9cda4a28bd756116f119c67ea0f8f73 08:39:17 $ docker rm -f 2991295b686d38efb35cd9c4a1b725d3b9cda4a28bd756116f119c67ea0f8f73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:39:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:39:18 . [Pipeline] withDockerContainer 08:39:18 prd-centos7-docker-4c-2g-83 does not seem to be running inside a container 08:39:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:39:19 $ docker top f19d87ce46813681e9790428393f18fa1e250dded003a980c56853ca33cf321a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:39:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:39:19 [ssh-agent] Looking for ssh-agent implementation... 08:39:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:39:19 $ docker exec f19d87ce46813681e9790428393f18fa1e250dded003a980c56853ca33cf321a ssh-agent 08:39:20 SSH_AUTH_SOCK=/tmp/ssh-N0LA9epXvhuw/agent.12 08:39:20 SSH_AGENT_PID=17 08:39:20 Running ssh-add (command line suppressed) 08:39:20 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3221930464261693341.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3221930464261693341.key) 08:39:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:39:20 + git semver bump pre 08:39:20 # -> Open(): unable to determine branch for HEAD 08:39:20 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 08:39:20 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 08:39:20 # $SEMVER_REMOTE_NAME = origin 08:39:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:39:20 # $SEMVER_USER_NAME = edgex-jenkins 08:39:20 # $SEMVER_BRANCH = master 08:39:20 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 08:39:20 1.2.2-dev.11 [Pipeline] } 08:39:20 $ docker exec --env ******** --env ******** f19d87ce46813681e9790428393f18fa1e250dded003a980c56853ca33cf321a ssh-agent -k 08:39:20 unset SSH_AUTH_SOCK; 08:39:20 unset SSH_AGENT_PID; 08:39:20 echo Agent pid 17 killed; 08:39:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:39:21 + git semver [Pipeline] } 08:39:21 $ docker stop --time=1 f19d87ce46813681e9790428393f18fa1e250dded003a980c56853ca33cf321a 08:39:22 $ docker rm -f f19d87ce46813681e9790428393f18fa1e250dded003a980c56853ca33cf321a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:39:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:39:23 . [Pipeline] withDockerContainer 08:39:23 prd-centos7-docker-4c-2g-83 does not seem to be running inside a container 08:39:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:39:23 $ docker top b061931ce1bf648f97f3c852ff010a493b4c33210be16e907bfddffe4aae4d35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:39:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:39:24 [ssh-agent] Looking for ssh-agent implementation... 08:39:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:39:24 $ docker exec b061931ce1bf648f97f3c852ff010a493b4c33210be16e907bfddffe4aae4d35 ssh-agent 08:39:24 SSH_AUTH_SOCK=/tmp/ssh-Evf4QF4a5rY8/agent.11 08:39:24 SSH_AGENT_PID=16 08:39:24 Running ssh-add (command line suppressed) 08:39:24 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3223792862787722370.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3223792862787722370.key) 08:39:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:39:24 + git semver push 08:39:24 # -> Open(): unable to determine branch for HEAD 08:39:24 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 08:39:24 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 08:39:24 # $SEMVER_REMOTE_NAME = origin 08:39:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:39:24 # $SEMVER_USER_NAME = edgex-jenkins 08:39:24 # $SEMVER_BRANCH = master 08:39:24 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 08:39:29 $ docker exec --env ******** --env ******** b061931ce1bf648f97f3c852ff010a493b4c33210be16e907bfddffe4aae4d35 ssh-agent -k 08:39:29 unset SSH_AUTH_SOCK; 08:39:29 unset SSH_AGENT_PID; 08:39:29 echo Agent pid 16 killed; 08:39:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:39:29 + git semver [Pipeline] } 08:39:29 $ docker stop --time=1 b061931ce1bf648f97f3c852ff010a493b4c33210be16e907bfddffe4aae4d35 08:39:31 $ docker rm -f b061931ce1bf648f97f3c852ff010a493b4c33210be16e907bfddffe4aae4d35 [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 08:39:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:39:32 ---> package-listing.sh 08:39:32 ++ facter osfamily 08:39:32 ++ tr '[:upper:]' '[:lower:]' 08:39:32 + OS_FAMILY=redhat 08:39:32 + workspace=/w/workspace/gexfoundry_device-rest-go_master 08:39:32 + START_PACKAGES=/tmp/packages_start.txt 08:39:32 + END_PACKAGES=/tmp/packages_end.txt 08:39:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:39:32 + PACKAGES=/tmp/packages_start.txt 08:39:32 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 08:39:32 + PACKAGES=/tmp/packages_end.txt 08:39:32 + case "${OS_FAMILY}" in 08:39:32 + rpm -qa 08:39:32 + sort 08:39:40 + '[' -f /tmp/packages_start.txt ']' 08:39:40 + '[' -f /tmp/packages_end.txt ']' 08:39:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:39:40 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 08:39:40 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 08:39:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 08:39:40 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/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:39:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:39:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:39:41 08:39:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:39:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:39:41 alpine: Pulling from edgex-lftools-log-publisher 08:39:41 df20fa9351a1: Pulling fs layer 08:39:41 36b3adc4ff6f: Pulling fs layer 08:39:41 8ad3a11d3b57: Pulling fs layer 08:39:41 46f8f816bc3b: Pulling fs layer 08:39:41 93b61091891f: Pulling fs layer 08:39:41 93b9cdb0e59b: Pulling fs layer 08:39:41 5e14af77c1be: Pulling fs layer 08:39:41 01666e4c0597: Pulling fs layer 08:39:41 aa168da1d23b: Pulling fs layer 08:39:41 93b61091891f: Waiting 08:39:41 93b9cdb0e59b: Waiting 08:39:41 5e14af77c1be: Waiting 08:39:41 01666e4c0597: Waiting 08:39:41 aa168da1d23b: Waiting 08:39:41 46f8f816bc3b: Waiting 08:39:41 36b3adc4ff6f: Verifying Checksum 08:39:41 36b3adc4ff6f: Download complete 08:39:41 46f8f816bc3b: Verifying Checksum 08:39:41 46f8f816bc3b: Download complete 08:39:41 df20fa9351a1: Verifying Checksum 08:39:41 df20fa9351a1: Download complete 08:39:42 93b9cdb0e59b: Verifying Checksum 08:39:42 93b9cdb0e59b: Download complete 08:39:42 5e14af77c1be: Verifying Checksum 08:39:42 5e14af77c1be: Download complete 08:39:42 93b61091891f: Verifying Checksum 08:39:42 93b61091891f: Download complete 08:39:42 01666e4c0597: Verifying Checksum 08:39:42 01666e4c0597: Download complete 08:39:42 8ad3a11d3b57: Download complete 08:39:42 df20fa9351a1: Pull complete 08:39:42 36b3adc4ff6f: Pull complete 08:39:44 aa168da1d23b: Verifying Checksum 08:39:44 aa168da1d23b: Download complete 08:39:44 8ad3a11d3b57: Pull complete 08:39:44 46f8f816bc3b: Pull complete 08:39:44 93b61091891f: Pull complete 08:39:45 93b9cdb0e59b: Pull complete 08:39:45 5e14af77c1be: Pull complete 08:39:45 01666e4c0597: Pull complete 08:39:52 aa168da1d23b: Pull complete 08:39:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:39:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:39:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:39:52 prd-centos7-docker-4c-2g-83 does not seem to be running inside a container 08:39:52 $ 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/gexfoundry_device-rest-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/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:39:55 $ docker top 84a14f695eb10912e14279b8a25d3ec8f147be7b33256d06d4febbb435b29b6a -eo pid,comm [Pipeline] { [Pipeline] sh 08:39:55 + touch /tmp/pre-build-complete [Pipeline] sh 08:39:56 + mkdir -p /var/log/sa [Pipeline] sh 08:39:56 + ls /var/log/sa-host 08:39:56 + sadf -c /var/log/sa-host/sa14 08:39:56 file_magic: OK 08:39:56 HZ: Using current value: 100 08:39:56 file_header: OK 08:39:56 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 08:39:56 Statistics: 08:39:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:39:56 File successfully converted to sysstat format version 12.2.1 08:39:56 + sadf -c /var/log/sa-host/sa23 08:39:56 file_magic: OK 08:39:56 HZ: Using current value: 100 08:39:56 file_header: OK 08:39:56 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 08:39:56 Statistics: 08:39:56 Hnuu...uuuununununu... 08:39:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:39:56 provisioning config files... 08:39:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config263608432604554948tmp [Pipeline] { [Pipeline] echo 08:39:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:39:56 ---> create-netrc.sh [Pipeline] } 08:39:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:39:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:39:57 ---> python-tools-install.sh [Pipeline] echo 08:39:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:39:57 ---> sudo-logs.sh 08:39:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:39:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:39:58 ---> job-cost.sh 08:39:58 lf-activate-venv: SKIPPING 08:39:58 DEBUG: total: 0.20999999344348907 08:39:58 INFO: Retrieving Stack Cost... 08:39:59 INFO: Retrieving Pricing Info for: v1-standard-2 08:39:59 INFO: Archiving Costs [Pipeline] echo 08:39:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:39:59 ---> logs-deploy.sh 08:39:59 lf-activate-venv: SKIPPING 08:39:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/43 08:39:59 INFO: archiving workspace using pattern(s): 08:40:01 Archives upload complete. 08:40:01 INFO: archiving logs to Nexus 08:40:02 ---> uname -a: 08:40:02 Linux prd-centos7-docker-4c-2g-83.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:40:02 08:40:02 08:40:02 ---> lscpu: 08:40:02 Architecture: x86_64 08:40:02 CPU op-mode(s): 32-bit, 64-bit 08:40:02 Byte Order: Little Endian 08:40:02 Address sizes: 40 bits physical, 48 bits virtual 08:40:02 CPU(s): 4 08:40:02 On-line CPU(s) list: 0-3 08:40:02 Thread(s) per core: 1 08:40:02 Core(s) per socket: 1 08:40:02 Socket(s): 4 08:40:02 NUMA node(s): 1 08:40:02 Vendor ID: GenuineIntel 08:40:02 CPU family: 6 08:40:02 Model: 44 08:40:02 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:40:02 Stepping: 1 08:40:02 CPU MHz: 2933.442 08:40:02 BogoMIPS: 5866.88 08:40:02 Virtualization: VT-x 08:40:02 Hypervisor vendor: KVM 08:40:02 Virtualization type: full 08:40:02 L1d cache: 128 KiB 08:40:02 L1i cache: 128 KiB 08:40:02 L2 cache: 16 MiB 08:40:02 L3 cache: 64 MiB 08:40:02 NUMA node0 CPU(s): 0-3 08:40:02 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:40:02 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:40:02 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:40:02 Vulnerability Meltdown: Mitigation; PTI 08:40:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:40:02 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:40:02 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:40:02 Vulnerability Srbds: Not affected 08:40:02 Vulnerability Tsx async abort: Not affected 08:40:02 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 08:40:02 08:40:02 08:40:02 ---> nproc: 08:40:02 4 08:40:02 08:40:02 08:40:02 ---> df -h: 08:40:02 Filesystem Size Used Available Use% Mounted on 08:40:02 overlay 50.0G 8.6G 41.4G 17% / 08:40:02 tmpfs 64.0M 0 64.0M 0% /dev 08:40:02 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:40:02 shm 64.0M 0 64.0M 0% /dev/shm 08:40:02 /dev/vda1 50.0G 8.6G 41.4G 17% /facter-os 08:40:02 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/resolv.conf 08:40:02 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hostname 08:40:02 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hosts 08:40:02 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/auth.log 08:40:02 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master 08:40:02 /dev/vda1 50.0G 8.6G 41.4G 17% /run/cloud-init/result.json 08:40:02 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master@tmp 08:40:02 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/sa-host 08:40:02 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/secure 08:40:02 08:40:02 08:40:02 ---> free -m: 08:40:02 total used free shared buff/cache available 08:40:02 Mem: 1837 845 151 0 841 928 08:40:02 Swap: 1023 2 1021 08:40:02 08:40:02 08:40:02 ---> ip addr: 08:40:02 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:40:02 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:40:02 inet 127.0.0.1/8 scope host lo 08:40:02 valid_lft forever preferred_lft forever 08:40:02 inet6 ::1/128 scope host 08:40:02 valid_lft forever preferred_lft forever 08:40:02 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:40:02 link/ether fa:16:3e:1d:32:2d brd ff:ff:ff:ff:ff:ff 08:40:02 inet 10.30.122.92/23 brd 10.30.123.255 scope global dynamic eth0 08:40:02 valid_lft 85642sec preferred_lft 85642sec 08:40:02 inet6 fe80::f816:3eff:fe1d:322d/64 scope link 08:40:02 valid_lft forever preferred_lft forever 08:40:02 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:40:02 link/ether 02:42:56:4e:5b:01 brd ff:ff:ff:ff:ff:ff 08:40:02 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:40:02 valid_lft forever preferred_lft forever 08:40:02 inet6 fe80::42:56ff:fe4e:5b01/64 scope link 08:40:02 valid_lft forever preferred_lft forever 08:40:02 08:40:02 08:40:02 ---> sar -b -r -n DEV: 08:40:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/14/21 _x86_64_ (4 CPU) 08:40:02 08:40:02 08:27:13 LINUX RESTART (4 CPU) 08:40:02 08:40:02 08:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:40:02 08:29:01 28.99 9.84 19.15 0.00 4264.94 3473.82 0.00 08:40:02 08:30:01 1.70 0.00 1.70 0.00 0.00 32.85 0.00 08:40:02 08:31:01 0.18 0.00 0.18 0.00 0.00 2.18 0.00 08:40:02 08:32:01 0.28 0.00 0.28 0.00 0.00 3.61 0.00 08:40:02 08:33:01 0.23 0.00 0.23 0.00 0.00 3.05 0.00 08:40:02 08:34:01 0.32 0.00 0.32 0.00 0.00 4.43 0.00 08:40:02 08:35:01 0.28 0.00 0.28 0.00 0.00 3.90 0.00 08:40:02 08:36:01 0.17 0.00 0.17 0.00 0.00 1.76 0.00 08:40:02 08:37:01 0.37 0.00 0.37 0.00 0.00 5.81 0.00 08:40:02 08:38:01 18.71 2.60 16.11 0.00 573.27 10933.72 0.00 08:40:02 08:39:01 449.68 226.80 222.88 0.00 10613.47 57581.20 0.00 08:40:02 Average: 44.95 21.45 23.50 0.00 1391.54 6476.16 0.00 08:40:02 08:40:02 08:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:40:02 08:29:01 152352 0 611832 32.52 2620 1114740 1124080 38.36 421076 1109432 20 08:40:02 08:30:01 151488 0 612688 32.56 2620 1114748 1115844 38.08 422772 1108952 8 08:40:02 08:31:01 151496 0 612676 32.56 2620 1114752 1115892 38.08 434520 1097280 8 08:40:02 08:32:01 146388 0 617780 32.83 2620 1114756 1108792 37.84 440592 1096256 8 08:40:02 08:33:01 147104 0 617060 32.80 2620 1114760 1108720 37.84 451612 1084968 20 08:40:02 08:34:01 148316 0 615844 32.73 2620 1114764 1092432 37.28 451024 1084428 20 08:40:02 08:35:01 147012 0 617144 32.80 2620 1114768 1092468 37.28 452236 1084428 8 08:40:02 08:36:01 147020 0 617132 32.80 2620 1114772 1088272 37.14 452984 1084236 12 08:40:02 08:37:01 147544 0 616596 32.77 2620 1114784 1088152 37.14 452172 1084236 20 08:40:02 08:38:01 74140 0 711848 37.83 2620 1092936 1515728 51.73 549788 1050000 26004 08:40:02 08:39:01 172008 0 779500 41.43 1492 928544 1210220 41.30 527596 855704 16 08:40:02 Average: 144079 0 639100 33.97 2517 1095848 1150964 39.28 459670 1067265 2377 08:40:02 08:40:02 08:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:40:02 08:29:01 eth0 119.02 113.56 473.35 20.12 0.00 0.00 0.00 0.00 08:40:02 08:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:29:01 docker0 61.72 46.71 4.94 135.88 0.00 0.00 0.00 0.00 08:40:02 08:30:01 eth0 2.86 0.40 0.49 0.20 0.00 0.00 0.00 0.00 08:40:02 08:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:31:01 eth0 3.26 1.07 1.22 0.79 0.00 0.00 0.00 0.00 08:40:02 08:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:32:01 eth0 3.06 0.62 0.74 0.37 0.00 0.00 0.00 0.00 08:40:02 08:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:33:01 eth0 2.07 0.62 0.68 0.49 0.00 0.00 0.00 0.00 08:40:02 08:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:34:01 eth0 2.95 0.58 0.53 0.22 0.00 0.00 0.00 0.00 08:40:02 08:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:35:01 eth0 2.40 0.58 0.68 0.41 0.00 0.00 0.00 0.00 08:40:02 08:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:36:01 eth0 0.97 0.55 0.54 0.36 0.00 0.00 0.00 0.00 08:40:02 08:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:37:01 eth0 0.20 0.08 0.01 0.04 0.00 0.00 0.00 0.00 08:40:02 08:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:38:01 eth0 422.32 361.12 4069.96 27.38 0.00 0.00 0.00 0.00 08:40:02 08:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:39:01 eth0 492.52 419.56 3671.45 83.20 0.00 0.00 0.00 0.00 08:40:02 08:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:39:01 veth9e70d3e 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 08:39:01 docker0 59.70 65.40 4.94 388.45 0.00 0.00 0.00 0.00 08:40:02 Average: eth0 95.05 81.24 743.20 12.04 0.00 0.00 0.00 0.00 08:40:02 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 Average: veth9e70d3e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:40:02 Average: docker0 10.97 10.11 0.89 47.18 0.00 0.00 0.00 0.00 08:40:02 08:40:02 08:40:02 ---> sar -P ALL: 08:40:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/14/21 _x86_64_ (4 CPU) 08:40:02 08:40:02 08:27:13 LINUX RESTART (4 CPU) 08:40:02 08:40:02 08:28:01 CPU %user %nice %system %iowait %steal %idle 08:40:02 08:29:01 all 2.55 0.00 2.05 0.45 0.09 94.86 08:40:02 08:29:01 0 2.42 0.00 2.28 0.07 0.08 95.15 08:40:02 08:29:01 1 2.65 0.00 2.29 1.29 0.10 93.67 08:40:02 08:29:01 2 2.64 0.00 1.98 0.27 0.08 95.03 08:40:02 08:29:01 3 2.49 0.00 1.65 0.18 0.10 95.58 08:40:02 08:30:01 all 0.17 0.00 0.03 0.00 0.01 99.79 08:40:02 08:30:01 0 0.02 0.00 0.03 0.00 0.00 99.95 08:40:02 08:30:01 1 0.10 0.00 0.05 0.00 0.02 99.83 08:40:02 08:30:01 2 0.53 0.00 0.02 0.00 0.02 99.43 08:40:02 08:30:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:40:02 08:31:01 all 0.20 0.00 0.08 0.00 0.02 99.70 08:40:02 08:31:01 0 0.08 0.00 0.03 0.00 0.00 99.88 08:40:02 08:31:01 1 0.32 0.00 0.10 0.00 0.05 99.53 08:40:02 08:31:01 2 0.27 0.00 0.05 0.00 0.02 99.67 08:40:02 08:31:01 3 0.13 0.00 0.13 0.00 0.02 99.72 08:40:02 08:32:01 all 0.17 0.00 0.05 0.00 0.02 99.76 08:40:02 08:32:01 0 0.03 0.00 0.03 0.00 0.02 99.92 08:40:02 08:32:01 1 0.55 0.00 0.05 0.00 0.03 99.37 08:40:02 08:32:01 2 0.05 0.00 0.08 0.00 0.02 99.85 08:40:02 08:32:01 3 0.03 0.00 0.03 0.00 0.02 99.92 08:40:02 08:33:01 all 0.18 0.00 0.06 0.00 0.00 99.76 08:40:02 08:33:01 0 0.03 0.00 0.02 0.00 0.00 99.95 08:40:02 08:33:01 1 0.57 0.00 0.05 0.00 0.00 99.38 08:40:02 08:33:01 2 0.07 0.00 0.03 0.00 0.00 99.90 08:40:02 08:33:01 3 0.03 0.00 0.15 0.00 0.00 99.82 08:40:02 08:34:01 all 0.16 0.00 0.05 0.00 0.01 99.79 08:40:02 08:34:01 0 0.02 0.00 0.05 0.00 0.00 99.93 08:40:02 08:34:01 1 0.52 0.00 0.03 0.00 0.02 99.43 08:40:02 08:34:01 2 0.07 0.00 0.07 0.00 0.02 99.85 08:40:02 08:34:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:40:02 08:35:01 all 0.18 0.00 0.04 0.00 0.01 99.77 08:40:02 08:35:01 0 0.03 0.00 0.03 0.00 0.00 99.93 08:40:02 08:35:01 1 0.58 0.00 0.05 0.00 0.00 99.37 08:40:02 08:35:01 2 0.05 0.00 0.03 0.00 0.00 99.92 08:40:02 08:35:01 3 0.05 0.00 0.05 0.00 0.03 99.87 08:40:02 08:36:01 all 0.16 0.00 0.03 0.00 0.00 99.81 08:40:02 08:36:01 0 0.05 0.00 0.02 0.00 0.00 99.93 08:40:02 08:36:01 1 0.52 0.00 0.03 0.00 0.00 99.45 08:40:02 08:36:01 2 0.03 0.00 0.03 0.00 0.00 99.93 08:40:02 08:36:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:40:02 08:37:01 all 0.17 0.00 0.03 0.00 0.00 99.79 08:40:02 08:37:01 0 0.02 0.00 0.03 0.00 0.00 99.95 08:40:02 08:37:01 1 0.55 0.00 0.02 0.00 0.02 99.42 08:40:02 08:37:01 2 0.05 0.00 0.03 0.00 0.00 99.92 08:40:02 08:37:01 3 0.07 0.00 0.05 0.00 0.00 99.88 08:40:02 08:38:01 all 2.37 0.00 1.91 0.06 0.03 95.63 08:40:02 08:38:01 0 2.09 0.00 2.51 0.12 0.03 95.25 08:40:02 08:38:01 1 2.75 0.00 1.88 0.05 0.03 95.29 08:40:02 08:38:01 2 2.25 0.00 1.78 0.05 0.02 95.91 08:40:02 08:38:01 3 2.41 0.00 1.48 0.02 0.02 96.08 08:40:02 08:39:01 all 16.64 0.00 12.90 6.95 0.13 63.38 08:40:02 08:39:01 0 15.80 0.00 13.34 8.38 0.14 62.35 08:40:02 08:39:01 1 17.01 0.00 12.32 6.48 0.11 64.09 08:40:02 08:39:01 2 15.83 0.00 12.23 6.27 0.14 65.52 08:40:02 08:39:01 3 17.93 0.00 13.72 6.65 0.14 61.56 08:40:02 08:40:02 Average: CPU %user %nice %system %iowait %steal %idle 08:40:02 Average: all 2.00 0.00 1.50 0.64 0.03 95.83 08:40:02 Average: 0 1.79 0.00 1.60 0.73 0.02 95.85 08:40:02 Average: 1 2.29 0.00 1.47 0.68 0.03 95.52 08:40:02 Average: 2 1.91 0.00 1.42 0.57 0.03 96.08 08:40:02 Average: 3 2.02 0.00 1.50 0.59 0.03 95.86 08:40:02 08:40:02 08:40:02