Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 69c81efe40b40196065d751e2d1c999af0ecde18 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-ssh1003273937893241445.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-ssh5564368445236417529.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-ssh981096949252189587.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-ssh2559425729826340734.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-ssh9048148026847460060.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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-14868 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_master@tmp/jenkins-gitclient-ssh5214669247589987643.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 69c81efe40b40196065d751e2d1c999af0ecde18 (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 69c81efe40b40196065d751e2d1c999af0ecde18 # timeout=10 Commit message: "Merge pull request #101 from lenny-intel/service-keys" > git rev-list --no-walk 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:54:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:54:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:54:55 ========================================================= 22:54:55 EdgeX Global Pipelines Version Info 22:54:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:54:56 ------------------- 22:54:56 stable info: 22:54:56 ------------------- 22:54:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:54:56 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 22:54:56 Message: update stable to v1.0.192 22:54:57 ------------------- 22:54:57 experimental info: 22:54:57 ------------------- 22:54:57 Commited By: **** collab-it+edgex@linuxfoundation.org 22:54:57 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 22:54:57 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:54:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:54:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:54:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:54:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:54:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 22:54:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 22:54:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 22:54:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] echo 22:54:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 69c81ef [Pipeline] echo 22:54:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:58 provisioning config files... 22:54:58 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4643305567762690742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:58 ---> docker-login.sh 22:54:58 nexus3.edgexfoundry.org:10001 22:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:58 Configure a credential helper to remove this warning. See 22:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:58 22:54:58 Login Succeeded 22:54:58 nexus3.edgexfoundry.org:10002 22:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:58 Configure a credential helper to remove this warning. See 22:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:58 22:54:58 Login Succeeded 22:54:58 nexus3.edgexfoundry.org:10003 22:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:59 Configure a credential helper to remove this warning. See 22:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:59 22:54:59 Login Succeeded 22:54:59 nexus3.edgexfoundry.org:10004 22:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:59 Configure a credential helper to remove this warning. See 22:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:59 22:54:59 Login Succeeded 22:54:59 docker.io 22:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:59 Configure a credential helper to remove this warning. See 22:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:59 22:54:59 Login Succeeded 22:54:59 ---> docker-login.sh ends [Pipeline] } 22:54:59 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 22:55:00 + git log --format=format:%s -1 69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] echo 22:55:00 GIT_COMMIT: 69c81efe40b40196065d751e2d1c999af0ecde18, Commit Message: Merge pull request #101 from lenny-intel/service-keys [Pipeline] echo 22:55:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:55:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:00 22:55:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:55:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:01 latest: Pulling from edgex-devops/git-semver 22:55:01 31603596830f: Pulling fs layer 22:55:01 54011a49482f: Pulling fs layer 22:55:01 a6820b24f6d8: Pulling fs layer 22:55:01 f581987b2513: Pulling fs layer 22:55:01 f581987b2513: Waiting 22:55:01 54011a49482f: Verifying Checksum 22:55:01 54011a49482f: Download complete 22:55:01 31603596830f: Verifying Checksum 22:55:01 31603596830f: Download complete 22:55:01 a6820b24f6d8: Verifying Checksum 22:55:01 a6820b24f6d8: Download complete 22:55:01 f581987b2513: Verifying Checksum 22:55:01 f581987b2513: Download complete 22:55:01 31603596830f: Pull complete 22:55:01 54011a49482f: Pull complete 22:55:02 a6820b24f6d8: Pull complete 22:55:02 f581987b2513: Pull complete 22:55:02 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:55:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:55:02 prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container 22:55:02 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:55:03 $ docker top 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:55:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:03 [ssh-agent] Looking for ssh-agent implementation... 22:55:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:04 $ docker exec 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab ssh-agent 22:55:04 SSH_AUTH_SOCK=/tmp/ssh-hVHagwLOpg9D/agent.14 22:55:04 SSH_AGENT_PID=21 22:55:04 Running ssh-add (command line suppressed) 22:55:04 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1655448289065823276.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1655448289065823276.key) 22:55:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:04 + git tag --points-at HEAD [Pipeline] } 22:55:04 $ docker exec --env ******** --env ******** 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab ssh-agent -k 22:55:04 unset SSH_AUTH_SOCK; 22:55:04 unset SSH_AGENT_PID; 22:55:04 echo Agent pid 21 killed; 22:55:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:55:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:04 [ssh-agent] Looking for ssh-agent implementation... 22:55:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:04 $ docker exec 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab ssh-agent 22:55:05 SSH_AUTH_SOCK=/tmp/ssh-IGGxDQYtqxpW/agent.52 22:55:05 SSH_AGENT_PID=59 22:55:05 Running ssh-add (command line suppressed) 22:55:05 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7332798402668425928.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7332798402668425928.key) 22:55:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:05 + git semver init 22:55:05 # -> Open(): unable to determine branch for HEAD 22:55:05 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 22:55:05 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 22:55:05 # $SEMVER_REMOTE_NAME = origin 22:55:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:55:05 # $SEMVER_USER_NAME = edgex-jenkins 22:55:05 # $SEMVER_BRANCH = master 22:55:05 # $SEMVER_TEMP = /tmp/semver-107972400 22:55:05 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 22:55:06 # '/tmp/semver-107972400' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 22:55:06 # -> Force: false 22:55:06 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 22:55:06 $ docker exec --env ******** --env ******** 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab ssh-agent -k 22:55:07 unset SSH_AUTH_SOCK; 22:55:07 unset SSH_AGENT_PID; 22:55:07 echo Agent pid 59 killed; 22:55:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:55:07 + git semver [Pipeline] } 22:55:07 $ docker stop --time=1 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab 22:55:08 $ docker rm -f 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab [Pipeline] // withDockerContainer [Pipeline] sh 22:55:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:55:09 Stashed 1 file(s) [Pipeline] echo 22:55:09 [edgeXSemver]: initialized semver on version 1.2.2-dev.11 [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 22:55:24 Still waiting to schedule task 22:55:24 ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ 22:55:24 ‘prd-centos7-docker-4c-2g-14871’ is offline 22:55:24 ‘prd-centos7-docker-4c-2g-14872’ is offline 22:55:24 ‘prd-centos7-docker-4c-2g-309’ is offline 22:55:24 ‘prd-ubuntu18.04-docker-arm64-4c-16g-14869’ doesn’t have label ‘centos7-docker-4c-2g’ 22:55:24 Still waiting to schedule task 22:55:24 ‘prd-ubuntu18.04-docker-arm64-4c-16g-14869’ is offline 22:56:17 Running on prd-centos7-docker-4c-2g-14874 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 22:56:17 Running in /w/workspace/device-rest-go/44 [Pipeline] { [Pipeline] checkout 22:56:17 The recommended git tool is: git 22:56:20 using credential edgex-jenkins-ssh 22:56:20 Cloning the remote Git repository 22:56:20 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:56:20 > git init /w/workspace/device-rest-go/44 # timeout=10 22:56:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:56:20 > git --version # timeout=10 22:56:20 > git --version # 'git version 2.24.4' 22:56:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:56:20 [INFO] Currently running in a labeled security context 22:56:20 [INFO] Currently SELinux is 'enforcing' on the host 22:56:20 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/44@tmp/jenkins-gitclient-ssh1391785973994940470.key 22:56:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:21 Avoid second fetch 22:56:21 Checking out Revision 69c81efe40b40196065d751e2d1c999af0ecde18 (master) 22:56:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:56:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:21 > git config core.sparsecheckout # timeout=10 22:56:21 > git checkout -f 69c81efe40b40196065d751e2d1c999af0ecde18 # timeout=10 22:56:24 Commit message: "Merge pull request #101 from lenny-intel/service-keys" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:56:25 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:56:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:56:26 + sudo service docker restart 22:56:26 + true 22:56:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:56:44 provisioning config files... 22:56:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/44@tmp/config5983341022021940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:44 ---> docker-login.sh 22:56:44 nexus3.edgexfoundry.org:10001 22:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:45 Configure a credential helper to remove this warning. See 22:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:45 22:56:45 Login Succeeded 22:56:45 nexus3.edgexfoundry.org:10002 22:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:45 Configure a credential helper to remove this warning. See 22:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:45 22:56:45 Login Succeeded 22:56:45 nexus3.edgexfoundry.org:10003 22:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:45 Configure a credential helper to remove this warning. See 22:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:45 22:56:45 Login Succeeded 22:56:45 nexus3.edgexfoundry.org:10004 22:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:45 Configure a credential helper to remove this warning. See 22:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:45 22:56:45 Login Succeeded 22:56:45 docker.io 22:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:46 Configure a credential helper to remove this warning. See 22:56:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:46 22:56:46 Login Succeeded 22:56:46 ---> docker-login.sh ends [Pipeline] } 22:56:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:56:46 ========================================================= 22:56:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:56:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:56: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 . 22:56:46 Sending build context to Docker daemon 92.16kB 22:56:46 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 22:56:46 Step 2/10 : FROM ${BASE} 22:56:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:56:46 540db60ca938: Pulling fs layer 22:56:46 adcc1eea9eea: Pulling fs layer 22:56:46 4c4ab2625f07: Pulling fs layer 22:56:46 0510c868ecb4: Pulling fs layer 22:56:46 afea3b2eda06: Pulling fs layer 22:56:46 7809a108b3ef: Pulling fs layer 22:56:46 f706445af74f: Pulling fs layer 22:56:46 0510c868ecb4: Waiting 22:56:46 afea3b2eda06: Waiting 22:56:46 7809a108b3ef: Waiting 22:56:46 4c4ab2625f07: Verifying Checksum 22:56:46 4c4ab2625f07: Download complete 22:56:46 adcc1eea9eea: Verifying Checksum 22:56:46 adcc1eea9eea: Download complete 22:56:46 afea3b2eda06: Download complete 22:56:46 7809a108b3ef: Verifying Checksum 22:56:46 7809a108b3ef: Download complete 22:56:46 540db60ca938: Verifying Checksum 22:56:46 540db60ca938: Download complete 22:56:47 540db60ca938: Pull complete 22:56:47 adcc1eea9eea: Pull complete 22:56:47 4c4ab2625f07: Pull complete 22:56:50 f706445af74f: Verifying Checksum 22:56:50 f706445af74f: Download complete 22:56:50 0510c868ecb4: Verifying Checksum 22:56:50 0510c868ecb4: Download complete 22:56:54 0510c868ecb4: Pull complete 22:56:54 afea3b2eda06: Pull complete 22:56:54 7809a108b3ef: Pull complete 22:56:55 f706445af74f: Pull complete 22:56:55 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:56:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:56:55 ---> b068be0155e3 22:56:55 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:56:59 ---> Running in afae1c76fd9e 22:56:59 Removing intermediate container afae1c76fd9e 22:56:59 ---> e916e5f123c9 22:56:59 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:56:59 ---> Running in 8628be2880f3 22:56:59 Removing intermediate container 8628be2880f3 22:56:59 ---> 144b060bee9d 22:56:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:56:59 ---> Running in c33d0aa53aee 22:56:59 Removing intermediate container c33d0aa53aee 22:56:59 ---> 67ffee913df9 22:56:59 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:56:59 ---> Running in 0e0dc533bafb 22:57:00 Removing intermediate container 0e0dc533bafb 22:57:00 ---> 7f2a8e4bbf03 22:57:00 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:57:00 ---> Running in 1240000dd05e 22:57:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:57:01 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:57:01 (1/9) Installing libc-dev (0.7.2-r3) 22:57:01 (2/9) Installing libsodium (1.0.18-r0) 22:57:02 (3/9) Installing pkgconf (1.7.3-r0) 22:57:02 (4/9) Installing libsodium-dev (1.0.18-r0) 22:57:02 (5/9) Installing openssh-keygen (8.4_p1-r3) 22:57:02 (6/9) Installing libedit (20191231.3.1-r1) 22:57:02 (7/9) Installing openssh-client (8.4_p1-r3) 22:57:02 (8/9) Installing libzmq (4.3.3-r1) 22:57:02 (9/9) Installing zeromq-dev (4.3.3-r1) 22:57:02 Executing busybox-1.32.1-r6.trigger 22:57:02 OK: 154 MiB in 49 packages 22:57:03 Removing intermediate container 1240000dd05e 22:57:03 ---> c683c7331387 22:57:03 Step 8/10 : WORKDIR /device-rest-go 22:57:03 ---> Running in 83c08bee2f65 22:57:03 Removing intermediate container 83c08bee2f65 22:57:03 ---> 14c68445c45b 22:57:03 Step 9/10 : COPY . . 22:57:03 ---> 7713cad977ef 22:57:03 Step 10/10 : RUN go mod download 22:57:03 ---> Running in d3c5a6c66d82 22:57:16 Removing intermediate container d3c5a6c66d82 22:57:16 ---> 58ff5fb6dc96 22:57:16 Successfully built 58ff5fb6dc96 22:57:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:57:16 + docker inspect -f . ci-base-image-x86_64 22:57:16 . [Pipeline] withDockerContainer 22:57:16 prd-centos7-docker-4c-2g-14874 does not seem to be running inside a container 22:57:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:57:16 $ docker top c6fcf6e2fe4fcd3023ab60c181bb87d046114b472ce7779a5d741294d7a9fe42 -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:17 + go version 22:57:17 go version go1.16.3 linux/amd64 [Pipeline] } 22:57:17 $ docker stop --time=1 c6fcf6e2fe4fcd3023ab60c181bb87d046114b472ce7779a5d741294d7a9fe42 22:57:18 $ docker rm -f c6fcf6e2fe4fcd3023ab60c181bb87d046114b472ce7779a5d741294d7a9fe42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:57:18 + docker inspect -f . ci-base-image-x86_64 22:57:18 . [Pipeline] withDockerContainer 22:57:19 prd-centos7-docker-4c-2g-14874 does not seem to be running inside a container 22:57:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:57:19 $ docker top 0a659e101b27e71987f272dd8b85ae7e4d5d054e1b3ebc29d4bc978fac09b120 -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:19 + go mod tidy [Pipeline] sh 22:57:20 + make test 22:57:20 go mod tidy 22:57:20 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:57:20 ? github.com/edgexfoundry/device-rest-go [no test files] 22:57:35 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:57:36 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements 22:57:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:57:43 gofmt -l . 22:57:43 [ "`gofmt -l .`" = "" ] 22:57:43 ./bin/test-go-mod-tidy.sh 22:57:43 ./bin/test-attribution-txt.sh [Pipeline] } 22:57:43 $ docker stop --time=1 0a659e101b27e71987f272dd8b85ae7e4d5d054e1b3ebc29d4bc978fac09b120 22:57:45 $ docker rm -f 0a659e101b27e71987f272dd8b85ae7e4d5d054e1b3ebc29d4bc978fac09b120 [Pipeline] // withDockerContainer [Pipeline] sh 22:57:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:57:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:57:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:57:47 + ls -al . 22:57:47 total 104 22:57:47 drwxrwxr-x. 8 jenkins jenkins 4096 May 18 22:57 . 22:57:47 drwxrwxr-x. 4 jenkins jenkins 30 May 18 22:56 .. 22:57:47 -rw-rw-r--. 1 jenkins jenkins 6792 May 18 22:56 Attribution.txt 22:57:47 drwxrwxr-x. 2 jenkins jenkins 64 May 18 22:56 bin 22:57:47 drwxrwxr-x. 3 jenkins jenkins 32 May 18 22:56 cmd 22:57:47 -rw-r--r--. 1 jenkins jenkins 8513 May 18 22:57 coverage.out 22:57:47 -rw-rw-r--. 1 jenkins jenkins 1615 May 18 22:56 Dockerfile 22:57:47 -rw-rw-r--. 1 jenkins jenkins 1087 May 18 22:56 Dockerfile.build 22:57:47 -rw-rw-r--. 1 jenkins jenkins 151 May 18 22:56 .dockerignore 22:57:47 drwxrwxr-x. 2 jenkins jenkins 76 May 18 22:56 driver 22:57:47 drwxrwxr-x. 8 jenkins jenkins 162 May 18 22:56 .git 22:57:47 drwxrwxr-x. 2 jenkins jenkins 103 May 18 22:56 .github 22:57:47 -rw-rw-r--. 1 jenkins jenkins 336 May 18 22:56 .gitignore 22:57:47 -rw-r--r--. 1 jenkins jenkins 285 May 18 22:57 go.mod 22:57:47 -rw-r--r--. 1 jenkins jenkins 21177 May 18 22:57 go.sum 22:57:47 -rw-rw-r--. 1 jenkins jenkins 680 May 18 22:56 Jenkinsfile 22:57:47 -rw-rw-r--. 1 jenkins jenkins 11340 May 18 22:56 LICENSE 22:57:47 -rw-rw-r--. 1 jenkins jenkins 996 May 18 22:56 Makefile 22:57:47 -rw-rw-r--. 1 jenkins jenkins 7667 May 18 22:56 README.md 22:57:47 drwxrwxr-x. 4 jenkins jenkins 71 May 18 22:56 snap 22:57:47 -rw-rw-r--. 1 jenkins jenkins 12 May 18 22:55 VERSION 22:57:47 -rw-rw-r--. 1 jenkins jenkins 713 May 18 22:56 version.go [Pipeline] isUnix [Pipeline] sh 22:57:47 + 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=69c81efe40b40196065d751e2d1c999af0ecde18 --label arch=amd64 --label version=1.2.2-dev.11 . 22:57:47 Sending build context to Docker daemon 101.9kB 22:57:47 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 22:57:47 Step 2/25 : FROM ${BASE} AS builder 22:57:47 ---> 58ff5fb6dc96 22:57:47 Step 3/25 : ARG MAKE='make build' 22:57:47 ---> Running in 76f6ea26a448 22:57:47 Removing intermediate container 76f6ea26a448 22:57:47 ---> 1591253d6913 22:57:47 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:57:48 ---> Running in a463eddafa0f 22:57:48 Removing intermediate container a463eddafa0f 22:57:48 ---> 0af19cb59558 22:57:48 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:57:48 ---> Running in 97d152687325 22:57:48 Removing intermediate container 97d152687325 22:57:48 ---> a5e052ebf8fb 22:57:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:48 ---> Running in fe6c775821db 22:57:48 Removing intermediate container fe6c775821db 22:57:48 ---> 9be58ae427f7 22:57:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:57:48 ---> Running in f0af1bdf472e 22:57:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:57:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:57:50 OK: 154 MiB in 49 packages 22:57:50 Removing intermediate container f0af1bdf472e 22:57:50 ---> eb474b6fbc15 22:57:50 Step 8/25 : WORKDIR /device-rest-go 22:57:50 ---> Running in 9a0d3efdf55c 22:57:50 Removing intermediate container 9a0d3efdf55c 22:57:50 ---> ff2cd40f9d41 22:57:50 Step 9/25 : COPY . . 22:57:50 ---> c43ac2d18405 22:57:50 Step 10/25 : RUN go mod tidy 22:57:50 ---> Running in 390fc2a8581e 22:57:51 Removing intermediate container 390fc2a8581e 22:57:51 ---> 5dc77b2350d7 22:57:51 Step 11/25 : RUN make update 22:57:51 ---> Running in d6b4d90e3d7e 22:57:51 CGO_ENABLED=0 GO111MODULE=on go mod download 22:57:52 Removing intermediate container d6b4d90e3d7e 22:57:52 ---> 625a94d2fc4f 22:57:52 Step 12/25 : RUN $MAKE 22:57:52 ---> Running in 48cc1c624320 22:57:52 go mod tidy 22:57:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.11" -o cmd/device-rest ./cmd 22:57:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14877 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 22:57:58 Running in /w/workspace/device-rest-go/44 [Pipeline] { [Pipeline] checkout 22:57:58 The recommended git tool is: git 22:58:04 using credential edgex-jenkins-ssh 22:58:04 Cloning the remote Git repository 22:58:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:58:04 > git init /w/workspace/device-rest-go/44 # timeout=10 22:58:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:58:04 > git --version # timeout=10 22:58:04 > git --version # 'git version 2.17.1' 22:58:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:05 Removing intermediate container 48cc1c624320 22:58:05 ---> 68df28e2c43f 22:58:05 Step 13/25 : FROM alpine:3.12 22:58:05 3.12: Pulling from library/alpine 22:58:05 339de151aab4: Pulling fs layer 22:58:05 339de151aab4: Verifying Checksum 22:58:05 339de151aab4: Download complete 22:58:05 339de151aab4: Pull complete 22:58:05 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:58:05 Status: Downloaded newer image for alpine:3.12 22:58:05 ---> 13621d1b12d4 22:58:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:58:05 ---> Running in 0645742ea191 22:58:05 Removing intermediate container 0645742ea191 22:58:05 ---> 99bba62a5609 22:58:05 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:58:05 ---> Running in 3b404f9dbbf1 22:58:05 Removing intermediate container 3b404f9dbbf1 22:58:05 ---> dfc895475c97 22:58:05 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:58:05 ---> Running in fe39fddd1a00 22:58:05 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:58:05 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:58:05 (1/6) Installing dumb-init (1.2.2-r1) 22:58:05 (2/6) Installing libgcc (9.3.0-r2) 22:58:05 (3/6) Installing libsodium (1.0.18-r0) 22:58:05 (4/6) Installing libstdc++ (9.3.0-r2) 22:58:05 (5/6) Installing libzmq (4.3.3-r0) 22:58:05 (6/6) Installing zeromq (4.3.3-r0) 22:58:05 Executing busybox-1.31.1-r20.trigger 22:58:05 OK: 8 MiB in 20 packages 22:58:06 Removing intermediate container fe39fddd1a00 22:58:06 ---> efff27709a61 22:58:06 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:58:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:58:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:06 Avoid second fetch 22:58:06 Checking out Revision 69c81efe40b40196065d751e2d1c999af0ecde18 (master) 22:58:06 ---> 514a517ab252 22:58:06 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:58:06 ---> 06f3ce969c0f 22:58:06 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:58:06 ---> b0777dd9bd3d 22:58:06 Step 20/25 : EXPOSE 49986 22:58:06 ---> Running in ac0dbe08b6a7 22:58:06 Removing intermediate container ac0dbe08b6a7 22:58:06 ---> 8244c3ebeda4 22:58:06 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:58:06 ---> Running in 91d49fb434b1 22:58:06 Removing intermediate container 91d49fb434b1 22:58:06 ---> 152e5b520a2f 22:58:06 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:58:07 ---> Running in 71163a0b40fe 22:58:07 Removing intermediate container 71163a0b40fe 22:58:07 ---> ecef811c651c 22:58:07 Step 23/25 : LABEL arch=amd64 22:58:07 ---> Running in 672c5b921109 22:58:07 Removing intermediate container 672c5b921109 22:58:07 ---> a764f00ffc4c 22:58:07 Step 24/25 : LABEL git_sha=69c81efe40b40196065d751e2d1c999af0ecde18 22:58:07 ---> Running in a76f4db8b870 22:58:07 Removing intermediate container a76f4db8b870 22:58:07 ---> 524cd91af1c3 22:58:07 Step 25/25 : LABEL version=1.2.2-dev.11 22:58:07 ---> Running in 4cf47c1fa472 22:58:07 Removing intermediate container 4cf47c1fa472 22:58:07 ---> a6e858f4d8c2 22:58:07 [Warning] One or more build-args [ARCH] were not consumed 22:58:07 Successfully built a6e858f4d8c2 22:58:07 Successfully tagged device-rest:latest 22:58:06 > git config core.sparsecheckout # timeout=10 22:58:06 > git checkout -f 69c81efe40b40196065d751e2d1c999af0ecde18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:58:07 provisioning config files... 22:58:07 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/44@tmp/config6101523428698613865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:07 ---> docker-login.sh 22:58:07 nexus3.edgexfoundry.org:10001 22:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:07 Configure a credential helper to remove this warning. See 22:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:07 22:58:07 Login Succeeded 22:58:07 nexus3.edgexfoundry.org:10002 22:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:08 Configure a credential helper to remove this warning. See 22:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:08 22:58:08 Login Succeeded 22:58:08 nexus3.edgexfoundry.org:10003 22:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:08 Configure a credential helper to remove this warning. See 22:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:08 22:58:08 Login Succeeded 22:58:08 nexus3.edgexfoundry.org:10004 22:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:08 Configure a credential helper to remove this warning. See 22:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:08 22:58:08 Login Succeeded 22:58:08 docker.io 22:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:08 Configure a credential helper to remove this warning. See 22:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:08 22:58:08 Login Succeeded 22:58:08 ---> docker-login.sh ends [Pipeline] } 22:58:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:58:08 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:58:08 69c81efe40b40196065d751e2d1c999af0ecde18 22:58:08 latest 22:58:08 1.2.2-dev.11 22:58:08 69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 22:58:08 master 22:58:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:58:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] isUnix [Pipeline] sh 22:58:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18 22:58:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:58:09 840914d236ed: Preparing 22:58:09 7700006b10fc: Preparing 22:58:09 2610ac5eddef: Preparing 22:58:09 0954de3e8001: Preparing 22:58:09 32f366d666a5: Preparing 22:58:09 32f366d666a5: Layer already exists 22:58:09 840914d236ed: Pushed 22:58:09 0954de3e8001: Pushed 22:58:09 7700006b10fc: Pushed 22:58:10 Commit message: "Merge pull request #101 from lenny-intel/service-keys" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:58:11 2610ac5eddef: Pushed 22:58:11 69c81efe40b40196065d751e2d1c999af0ecde18: digest: sha256:cdf9b734da87b2f383e88ee9d56d6974554804f3164c4aa47977c98f1b7967a8 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:58:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 22:58:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:58:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:58:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:58:11 840914d236ed: Preparing 22:58:11 7700006b10fc: Preparing 22:58:11 2610ac5eddef: Preparing 22:58:11 0954de3e8001: Preparing 22:58:11 32f366d666a5: Preparing 22:58:11 32f366d666a5: Layer already exists 22:58:11 7700006b10fc: Layer already exists 22:58:11 2610ac5eddef: Layer already exists 22:58:11 840914d236ed: Layer already exists 22:58:11 0954de3e8001: Layer already exists 22:58:11 latest: digest: sha256:cdf9b734da87b2f383e88ee9d56d6974554804f3164c4aa47977c98f1b7967a8 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:58:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:58:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.11 [Pipeline] isUnix [Pipeline] sh 22:58:12 + sudo service docker restart 22:58:12 + true 22:58:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.11 22:58:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:58:12 840914d236ed: Preparing 22:58:12 7700006b10fc: Preparing 22:58:12 2610ac5eddef: Preparing 22:58:12 0954de3e8001: Preparing 22:58:12 32f366d666a5: Preparing 22:58:12 840914d236ed: Layer already exists 22:58:12 7700006b10fc: Layer already exists 22:58:12 0954de3e8001: Layer already exists 22:58:12 2610ac5eddef: Layer already exists 22:58:12 32f366d666a5: Layer already exists 22:58:12 1.2.2-dev.11: digest: sha256:cdf9b734da87b2f383e88ee9d56d6974554804f3164c4aa47977c98f1b7967a8 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:58:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 [Pipeline] isUnix [Pipeline] sh 22:58:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 22:58:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:58:13 840914d236ed: Preparing 22:58:13 7700006b10fc: Preparing 22:58:13 2610ac5eddef: Preparing 22:58:13 0954de3e8001: Preparing 22:58:13 32f366d666a5: Preparing 22:58:13 0954de3e8001: Layer already exists 22:58:13 32f366d666a5: Layer already exists 22:58:13 840914d236ed: Layer already exists 22:58:13 2610ac5eddef: Layer already exists 22:58:13 7700006b10fc: Layer already exists 22:58:13 69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11: digest: sha256:cdf9b734da87b2f383e88ee9d56d6974554804f3164c4aa47977c98f1b7967a8 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:58:13 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 22:58:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 22:58:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:58:13 840914d236ed: Preparing 22:58:13 7700006b10fc: Preparing 22:58:13 2610ac5eddef: Preparing 22:58:13 0954de3e8001: Preparing 22:58:13 32f366d666a5: Preparing 22:58:13 32f366d666a5: Layer already exists 22:58:13 7700006b10fc: Layer already exists 22:58:13 840914d236ed: Layer already exists 22:58:13 2610ac5eddef: Layer already exists 22:58:13 0954de3e8001: Layer already exists 22:58:13 master: digest: sha256:cdf9b734da87b2f383e88ee9d56d6974554804f3164c4aa47977c98f1b7967a8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:58:13 ===================================================== [Pipeline] echo 22:58:13 taggedImages: 22:58:13 - nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18 22:58:13 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:58:13 - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.11 22:58:13 - nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 22:58:13 - 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 22:58:14 ---> job-cost.sh 22:58:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Psdb 22:58:24 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:58:30 provisioning config files... 22:58:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/44@tmp/config3756939370923103670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:31 ---> docker-login.sh 22:58:31 nexus3.edgexfoundry.org:10001 22:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:32 Configure a credential helper to remove this warning. See 22:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:32 22:58:32 Login Succeeded 22:58:32 nexus3.edgexfoundry.org:10002 22:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:32 Configure a credential helper to remove this warning. See 22:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:32 22:58:32 Login Succeeded 22:58:32 nexus3.edgexfoundry.org:10003 22:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:33 Configure a credential helper to remove this warning. See 22:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:33 22:58:33 Login Succeeded 22:58:33 nexus3.edgexfoundry.org:10004 22:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:33 Configure a credential helper to remove this warning. See 22:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:33 22:58:33 Login Succeeded 22:58:33 docker.io 22:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:34 Configure a credential helper to remove this warning. See 22:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:34 22:58:34 Login Succeeded 22:58:34 ---> docker-login.sh ends [Pipeline] } 22:58:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:58:34 ========================================================= 22:58:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:58:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:58:35 + 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 . 22:58:35 Sending build context to Docker daemon 92.16kB 22:58:35 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 22:58:35 Step 2/10 : FROM ${BASE} 22:58:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:58:35 595b0fe564bb: Pulling fs layer 22:58:35 7186ed65a4f7: Pulling fs layer 22:58:35 316046926c0a: Pulling fs layer 22:58:35 4ebd0625c992: Pulling fs layer 22:58:35 207e8628e3a3: Pulling fs layer 22:58:35 c791037a9be2: Pulling fs layer 22:58:35 ffd874e62e21: Pulling fs layer 22:58:35 207e8628e3a3: Waiting 22:58:35 c791037a9be2: Waiting 22:58:35 ffd874e62e21: Waiting 22:58:35 4ebd0625c992: Waiting 22:58:35 316046926c0a: Download complete 22:58:35 7186ed65a4f7: Download complete 22:58:35 207e8628e3a3: Download complete 22:58:35 c791037a9be2: Download complete 22:58:35 595b0fe564bb: Verifying Checksum 22:58:35 595b0fe564bb: Download complete 22:58:36 lf-activate-venv(): INFO: Adding /tmp/venv-Psdb/bin to PATH 22:58:36 INFO: No Stack... 22:58:36 595b0fe564bb: Pull complete 22:58:37 INFO: Retrieving Pricing Info for: v3-standard-2 22:58:37 7186ed65a4f7: Pull complete 22:58:37 316046926c0a: Pull complete 22:58:37 INFO: Archiving Costs [Pipeline] sh 22:58:38 + cut -d, -f6 22:58:38 + cat /w/workspace/device-rest-go/44/archives/cost.csv [Pipeline] lock 22:58:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] 22:58:38 Resource [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] did not exist. Created. 22:58:38 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:58:38 + echo total: 0.05999999865889549 [Pipeline] stash 22:58:38 Stashed 1 file(s) [Pipeline] } 22:58:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 22:58:38 ffd874e62e21: Verifying Checksum 22:58:38 ffd874e62e21: Download complete [Pipeline] // stage [Pipeline] } 22:58:39 4ebd0625c992: Download complete 22:58:51 4ebd0625c992: Pull complete 22:58:51 207e8628e3a3: Pull complete 22:58:51 c791037a9be2: Pull complete 22:58:54 ffd874e62e21: Pull complete 22:58:54 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 22:58:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:58:54 ---> cfc18b08335c 22:58:54 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:58:55 ---> Running in 6e84c9e5e656 22:58:56 Removing intermediate container 6e84c9e5e656 22:58:56 ---> 39ff5dcc0da0 22:58:56 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:58:56 ---> Running in f52d38161445 22:58:56 Removing intermediate container f52d38161445 22:58:56 ---> c2c6914ab68f 22:58:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:58:56 ---> Running in 26e5f4922ab8 22:58:57 Removing intermediate container 26e5f4922ab8 22:58:57 ---> 06e8011de399 22:58:57 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:58:57 ---> Running in bdcfa0226ec2 22:59:00 Removing intermediate container bdcfa0226ec2 22:59:00 ---> 60f3af04eb19 22:59:00 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:59:00 ---> Running in 102898dbbac2 22:59:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:59:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:59:03 (1/9) Installing libc-dev (0.7.2-r3) 22:59:03 (2/9) Installing libsodium (1.0.18-r0) 22:59:03 (3/9) Installing pkgconf (1.7.3-r0) 22:59:03 (4/9) Installing libsodium-dev (1.0.18-r0) 22:59:03 (5/9) Installing openssh-keygen (8.4_p1-r3) 22:59:04 (6/9) Installing libedit (20191231.3.1-r1) 22:59:04 (7/9) Installing openssh-client (8.4_p1-r3) 22:59:04 (8/9) Installing libzmq (4.3.3-r1) 22:59:04 (9/9) Installing zeromq-dev (4.3.3-r1) 22:59:04 Executing busybox-1.32.1-r6.trigger 22:59:04 OK: 144 MiB in 49 packages 22:59:06 Removing intermediate container 102898dbbac2 22:59:06 ---> c815b9e8fbcc 22:59:06 Step 8/10 : WORKDIR /device-rest-go 22:59:06 ---> Running in a0f369cd25fb 22:59:06 Removing intermediate container a0f369cd25fb 22:59:06 ---> ef3d92e4fcc7 22:59:06 Step 9/10 : COPY . . 22:59:07 ---> 0c587150c0b8 22:59:07 Step 10/10 : RUN go mod download 22:59:07 ---> Running in 32d612a90734 22:59:34 Removing intermediate container 32d612a90734 22:59:34 ---> 0fc8537f4677 22:59:34 Successfully built 0fc8537f4677 22:59:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:59:34 + docker inspect -f . ci-base-image-arm64 22:59:34 . [Pipeline] withDockerContainer 22:59:35 prd-ubuntu18.04-docker-arm64-4c-16g-14877 does not seem to be running inside a container 22:59:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@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 22:59:37 $ docker top b8be365927626e9a50fc1b976e8c3f43ea839cea9ee9a698100eedaab5a9c9e9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:59:38 + go version 22:59:38 go version go1.16.3 linux/arm64 [Pipeline] } 22:59:38 $ docker stop --time=1 b8be365927626e9a50fc1b976e8c3f43ea839cea9ee9a698100eedaab5a9c9e9 22:59:39 $ docker rm -f b8be365927626e9a50fc1b976e8c3f43ea839cea9ee9a698100eedaab5a9c9e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:59:40 + docker inspect -f . ci-base-image-arm64 22:59:40 . [Pipeline] withDockerContainer 22:59:41 prd-ubuntu18.04-docker-arm64-4c-16g-14877 does not seem to be running inside a container 22:59:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@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 22:59:42 $ docker top c49e2ad3dd6d540ab6509a716abbb6e4036e07034e5e1a9732257f5040143b39 -eo pid,comm [Pipeline] { [Pipeline] sh 22:59:43 + go mod tidy [Pipeline] sh 22:59:44 + make test 22:59:44 go mod tidy 22:59:45 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:59:46 ? github.com/edgexfoundry/device-rest-go [no test files] 23:00:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:00:43 ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 54.0% of statements 23:00:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:01:05 gofmt -l . 23:01:05 [ "`gofmt -l .`" = "" ] 23:01:05 ./bin/test-go-mod-tidy.sh 23:01:05 ./bin/test-attribution-txt.sh [Pipeline] } 23:01:07 $ docker stop --time=1 c49e2ad3dd6d540ab6509a716abbb6e4036e07034e5e1a9732257f5040143b39 23:01:09 $ docker rm -f c49e2ad3dd6d540ab6509a716abbb6e4036e07034e5e1a9732257f5040143b39 [Pipeline] // withDockerContainer [Pipeline] sh 23:01:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:01:10 Warning: overwriting stash ‘coverage-report’ 23:01:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:01:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:01:12 + ls -al . 23:01:12 total 132 23:01:12 drwxrwxr-x 8 jenkins jenkins 4096 May 18 23:01 . 23:01:12 drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:58 .. 23:01:12 -rw-rw-r-- 1 jenkins jenkins 151 May 18 22:58 .dockerignore 23:01:12 drwxrwxr-x 8 jenkins jenkins 4096 May 18 22:58 .git 23:01:12 drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 .github 23:01:12 -rw-rw-r-- 1 jenkins jenkins 336 May 18 22:58 .gitignore 23:01:12 -rw-rw-r-- 1 jenkins jenkins 6792 May 18 22:58 Attribution.txt 23:01:12 -rw-rw-r-- 1 jenkins jenkins 1615 May 18 22:58 Dockerfile 23:01:12 -rw-rw-r-- 1 jenkins jenkins 1087 May 18 22:58 Dockerfile.build 23:01:12 -rw-rw-r-- 1 jenkins jenkins 680 May 18 22:58 Jenkinsfile 23:01:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 22:58 LICENSE 23:01:12 -rw-rw-r-- 1 jenkins jenkins 996 May 18 22:58 Makefile 23:01:12 -rw-rw-r-- 1 jenkins jenkins 7667 May 18 22:58 README.md 23:01:12 -rw-rw-r-- 1 jenkins jenkins 12 May 18 22:55 VERSION 23:01:12 drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 bin 23:01:12 drwxrwxr-x 3 jenkins jenkins 4096 May 18 22:58 cmd 23:01:12 -rw-r--r-- 1 jenkins jenkins 8513 May 18 23:00 coverage.out 23:01:12 drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 driver 23:01:12 -rw-r--r-- 1 jenkins jenkins 285 May 18 23:01 go.mod 23:01:12 -rw-r--r-- 1 jenkins jenkins 21177 May 18 22:59 go.sum 23:01:12 drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:58 snap 23:01:12 -rw-rw-r-- 1 jenkins jenkins 713 May 18 22:58 version.go [Pipeline] isUnix [Pipeline] sh 23:01:12 + 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=69c81efe40b40196065d751e2d1c999af0ecde18 --label arch=arm64 --label version=1.2.2-dev.11 . 23:01:12 Sending build context to Docker daemon 101.9kB 23:01:12 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 23:01:12 Step 2/25 : FROM ${BASE} AS builder 23:01:12 ---> 0fc8537f4677 23:01:12 Step 3/25 : ARG MAKE='make build' 23:01:12 ---> Running in 603e9017a3f1 23:01:13 Removing intermediate container 603e9017a3f1 23:01:13 ---> b1034cfa4c51 23:01:13 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:01:13 ---> Running in 802d642eb31b 23:01:14 Removing intermediate container 802d642eb31b 23:01:14 ---> b24ee988599f 23:01:14 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:01:14 ---> Running in 17e234445a6a 23:01:14 Removing intermediate container 17e234445a6a 23:01:14 ---> 05814ed12e29 23:01:14 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:01:14 ---> Running in 27ba18d74518 23:01:17 Removing intermediate container 27ba18d74518 23:01:17 ---> 599e3a97b773 23:01:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:01:17 ---> Running in a36a5549620c 23:01:18 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:01:19 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:01:20 OK: 144 MiB in 49 packages 23:01:21 Removing intermediate container a36a5549620c 23:01:21 ---> c68267ba2013 23:01:21 Step 8/25 : WORKDIR /device-rest-go 23:01:21 ---> Running in 3da4556eab95 23:01:22 Removing intermediate container 3da4556eab95 23:01:22 ---> 1d3d6647a050 23:01:22 Step 9/25 : COPY . . 23:01:22 ---> 778131ce28fd 23:01:22 Step 10/25 : RUN go mod tidy 23:01:23 ---> Running in c274a3d1529b 23:01:25 Removing intermediate container c274a3d1529b 23:01:25 ---> a011bf6527d3 23:01:25 Step 11/25 : RUN make update 23:01:25 ---> Running in ef6757d43499 23:01:26 CGO_ENABLED=0 GO111MODULE=on go mod download 23:01:28 Removing intermediate container ef6757d43499 23:01:28 ---> 56d8ade9eddf 23:01:28 Step 12/25 : RUN $MAKE 23:01:28 ---> Running in 7764e385103c 23:01:29 go mod tidy 23:01:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.11" -o cmd/device-rest ./cmd 23:02:08 Removing intermediate container 7764e385103c 23:02:08 ---> 20e8b98db7a0 23:02:08 Step 13/25 : FROM alpine:3.12 23:02:08 3.12: Pulling from library/alpine 23:02:08 d2f70382dc9a: Pulling fs layer 23:02:08 d2f70382dc9a: Verifying Checksum 23:02:08 d2f70382dc9a: Download complete 23:02:09 d2f70382dc9a: Pull complete 23:02:09 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 23:02:09 Status: Downloaded newer image for alpine:3.12 23:02:09 ---> 9852663dfa18 23:02:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:02:09 ---> Running in 6d197c0fe706 23:02:10 Removing intermediate container 6d197c0fe706 23:02:10 ---> ccb980e515e5 23:02:10 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:02:10 ---> Running in 4c0209a488ac 23:02:10 Removing intermediate container 4c0209a488ac 23:02:10 ---> cdf6928e088a 23:02:10 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:02:11 ---> Running in 80fe4fdce373 23:02:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:02:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:02:13 (1/6) Installing dumb-init (1.2.2-r1) 23:02:13 (2/6) Installing libgcc (9.3.0-r2) 23:02:13 (3/6) Installing libsodium (1.0.18-r0) 23:02:13 (4/6) Installing libstdc++ (9.3.0-r2) 23:02:13 (5/6) Installing libzmq (4.3.3-r0) 23:02:13 (6/6) Installing zeromq (4.3.3-r0) 23:02:13 Executing busybox-1.31.1-r20.trigger 23:02:13 OK: 8 MiB in 20 packages 23:02:14 Removing intermediate container 80fe4fdce373 23:02:14 ---> 673368bf7843 23:02:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:02:16 ---> bef381296d41 23:02:16 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:02:16 ---> 7c9967e958b4 23:02:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:02:17 ---> edf300703075 23:02:17 Step 20/25 : EXPOSE 49986 23:02:17 ---> Running in 949c18ceabea 23:02:18 Removing intermediate container 949c18ceabea 23:02:18 ---> b4c655959d0f 23:02:18 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:02:18 ---> Running in 1060083cef6f 23:02:18 Removing intermediate container 1060083cef6f 23:02:18 ---> 6b32c6e66ec2 23:02:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:02:18 ---> Running in e99105d986f6 23:02:19 Removing intermediate container e99105d986f6 23:02:19 ---> 050de186ad20 23:02:19 Step 23/25 : LABEL arch=arm64 23:02:19 ---> Running in 4c18fda68964 23:02:19 Removing intermediate container 4c18fda68964 23:02:19 ---> e835d30de3d4 23:02:19 Step 24/25 : LABEL git_sha=69c81efe40b40196065d751e2d1c999af0ecde18 23:02:19 ---> Running in eca71d0d6709 23:02:20 Removing intermediate container eca71d0d6709 23:02:20 ---> da35cd70d863 23:02:20 Step 25/25 : LABEL version=1.2.2-dev.11 23:02:20 ---> Running in 496d88f416b6 23:02:21 Removing intermediate container 496d88f416b6 23:02:21 ---> 39ed51fbedf8 23:02:21 [Warning] One or more build-args [ARCH] were not consumed 23:02:21 Successfully built 39ed51fbedf8 23:02:21 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 23:02:21 provisioning config files... 23:02:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/44@tmp/config7687775455967631739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:02:21 ---> docker-login.sh 23:02:21 nexus3.edgexfoundry.org:10001 23:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:22 Configure a credential helper to remove this warning. See 23:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:22 23:02:22 Login Succeeded 23:02:22 nexus3.edgexfoundry.org:10002 23:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:22 Configure a credential helper to remove this warning. See 23:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:22 23:02:22 Login Succeeded 23:02:22 nexus3.edgexfoundry.org:10003 23:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:23 Configure a credential helper to remove this warning. See 23:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:23 23:02:23 Login Succeeded 23:02:23 nexus3.edgexfoundry.org:10004 23:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:23 Configure a credential helper to remove this warning. See 23:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:23 23:02:23 Login Succeeded 23:02:23 docker.io 23:02:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:24 Configure a credential helper to remove this warning. See 23:02:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:24 23:02:24 Login Succeeded 23:02:24 ---> docker-login.sh ends [Pipeline] } 23:02:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:02:24 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 23:02:24 69c81efe40b40196065d751e2d1c999af0ecde18 23:02:24 latest 23:02:24 1.2.2-dev.11 23:02:24 69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 23:02:24 master 23:02:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:02:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] isUnix [Pipeline] sh 23:02:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18 23:02:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:02:25 8f97d7d11adb: Preparing 23:02:25 9bfbb7aa9a93: Preparing 23:02:25 475063a6eef4: Preparing 23:02:25 9bfff21c4e79: Preparing 23:02:25 3fbe34a1663b: Preparing 23:02:25 3fbe34a1663b: Layer already exists 23:02:25 9bfbb7aa9a93: Pushed 23:02:25 8f97d7d11adb: Pushed 23:02:26 9bfff21c4e79: Pushed 23:02:28 475063a6eef4: Pushed 23:02:28 69c81efe40b40196065d751e2d1c999af0ecde18: digest: sha256:e073c25a8655b4f353b19daa52fc8a2b6fc6578907dccf99ee727109e88ac001 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:02:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:02:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:02:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:02:29 8f97d7d11adb: Preparing 23:02:29 9bfbb7aa9a93: Preparing 23:02:29 475063a6eef4: Preparing 23:02:29 9bfff21c4e79: Preparing 23:02:29 3fbe34a1663b: Preparing 23:02:29 8f97d7d11adb: Layer already exists 23:02:29 3fbe34a1663b: Layer already exists 23:02:29 475063a6eef4: Layer already exists 23:02:29 9bfff21c4e79: Layer already exists 23:02:29 9bfbb7aa9a93: Layer already exists 23:02:29 latest: digest: sha256:e073c25a8655b4f353b19daa52fc8a2b6fc6578907dccf99ee727109e88ac001 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:02:30 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.11 [Pipeline] isUnix [Pipeline] sh 23:02:30 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.11 23:02:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:02:30 8f97d7d11adb: Preparing 23:02:30 9bfbb7aa9a93: Preparing 23:02:30 475063a6eef4: Preparing 23:02:30 9bfff21c4e79: Preparing 23:02:30 3fbe34a1663b: Preparing 23:02:30 9bfbb7aa9a93: Layer already exists 23:02:30 3fbe34a1663b: Layer already exists 23:02:30 475063a6eef4: Layer already exists 23:02:30 9bfff21c4e79: Layer already exists 23:02:30 8f97d7d11adb: Layer already exists 23:02:30 1.2.2-dev.11: digest: sha256:e073c25a8655b4f353b19daa52fc8a2b6fc6578907dccf99ee727109e88ac001 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:02:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 [Pipeline] isUnix [Pipeline] sh 23:02:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 23:02:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:02:31 8f97d7d11adb: Preparing 23:02:31 9bfbb7aa9a93: Preparing 23:02:31 475063a6eef4: Preparing 23:02:31 9bfff21c4e79: Preparing 23:02:31 3fbe34a1663b: Preparing 23:02:31 3fbe34a1663b: Layer already exists 23:02:31 9bfff21c4e79: Layer already exists 23:02:31 8f97d7d11adb: Layer already exists 23:02:31 9bfbb7aa9a93: Layer already exists 23:02:31 475063a6eef4: Layer already exists 23:02:31 69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11: digest: sha256:e073c25a8655b4f353b19daa52fc8a2b6fc6578907dccf99ee727109e88ac001 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:02:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 23:02:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 23:02:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:02:32 8f97d7d11adb: Preparing 23:02:32 9bfbb7aa9a93: Preparing 23:02:32 475063a6eef4: Preparing 23:02:32 9bfff21c4e79: Preparing 23:02:32 3fbe34a1663b: Preparing 23:02:32 9bfbb7aa9a93: Layer already exists 23:02:32 8f97d7d11adb: Layer already exists 23:02:32 3fbe34a1663b: Layer already exists 23:02:32 9bfff21c4e79: Layer already exists 23:02:32 475063a6eef4: Layer already exists 23:02:32 master: digest: sha256:e073c25a8655b4f353b19daa52fc8a2b6fc6578907dccf99ee727109e88ac001 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:02:32 ===================================================== [Pipeline] echo 23:02:32 taggedImages: 23:02:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18 23:02:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:02:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.11 23:02:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 23:02:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 23:02:33 ---> job-cost.sh 23:02:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Wt4W 23:03:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:05:21 lf-activate-venv(): INFO: Adding /tmp/venv-Wt4W/bin to PATH 23:05:21 INFO: No Stack... 23:05:21 INFO: Retrieving Pricing Info for: v2-standard-4 23:05:21 INFO: Archiving Costs [Pipeline] sh 23:05:22 + cut -d, -f6 23:05:22 + cat /w/workspace/device-rest-go/44/archives/cost.csv [Pipeline] lock 23:05:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] 23:05:22 Resource [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] did not exist. Created. 23:05:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:05:22 /w/workspace/device-rest-go/44@tmp/durable-25904d0e/script.sh: 1: /w/workspace/device-rest-go/44@tmp/durable-25904d0e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:05:22 + echo total: 0.18000000715255737 [Pipeline] stash 23:05:22 Warning: overwriting stash ‘stack-cost’ 23:05:23 Stashed 1 file(s) [Pipeline] } 23:05:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-44-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 23:05:23 provisioning config files... 23:05:23 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1672119171257495596tmp [Pipeline] { [Pipeline] sh 23:05:24 + set +x 23:05:24 + bash -s -- 23:05:24 + curl -s https://codecov.io/bash 23:05:24 23:05:24 _____ _ 23:05:24 / ____| | | 23:05:24 | | ___ __| | ___ ___ _____ __ 23:05:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:05:24 | |___| (_) | (_| | __/ (_| (_) \ V / 23:05:24 \_____\___/ \__,_|\___|\___\___/ \_/ 23:05:24 Bash-1.0.2 23:05:24 23:05:24 23:05:24 ==> git version 2.24.4 found 23:05:24 ==> 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 23:05:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:05:24 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:05:24 ==> Jenkins CI detected. 23:05:24 project root: . 23:05:24 --> token set from env 23:05:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:05:24 ==> Running gcov in . (disable via -X gcov) 23:05:24 ==> Python coveragepy not found 23:05:24 ==> Searching for coverage reports in: 23:05:24 + . 23:05:24 -> Found 1 reports 23:05:24 ==> Detecting git/mercurial file structure 23:05:24 ==> Reading reports 23:05:24 + ./coverage.out bytes=8513 23:05:24 ==> Appending adjustments 23:05:24 https://docs.codecov.io/docs/fixing-reports 23:05:24 + Found adjustments 23:05:24 ==> Gzipping contents 23:05:24 4.0K /tmp/codecov.Zo7hy6.gz 23:05:24 ==> Uploading reports 23:05:24 url: https://codecov.io 23:05:24 query: branch=master&commit=69c81efe40b40196065d751e2d1c999af0ecde18&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:05:24 -> Pinging Codecov 23:05:24 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=69c81efe40b40196065d751e2d1c999af0ecde18&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:05:24 -> Uploading to 23:05:24 https://storage.googleapis.com/codecov/v4/raw/2021-05-18/4E5D53B4F1F92C436F7061BF334D961C/69c81efe40b40196065d751e2d1c999af0ecde18/816134fa-3a50-4510-86fc-16df1518c7d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210518T230524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bce03742e049c996d330be22bc4e868e77130748dad82a846c5723397a07a0a9 23:05:24 % Total % Received % Xferd Average Speed Time Time Time Current 23:05:24 Dload Upload Total Spent Left Speed 23:05:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3274 --:--:-- --:--:-- --:--:-- 3281 23:05:25 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] } 23:05:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:05:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:05:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:05:25 23:05:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:05:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:05:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:05:26 188c0c94c7c5: Pulling fs layer 23:05:26 0ef7d3d256c8: Pulling fs layer 23:05:26 de9db76c5a1d: Pulling fs layer 23:05:26 0eba1c9be4d2: Pulling fs layer 23:05:26 0d57e429df01: Pulling fs layer 23:05:26 4e4be7b47b0d: Pulling fs layer 23:05:26 e1f770b5df2f: Pulling fs layer 23:05:26 85a0685a4137: Pulling fs layer 23:05:26 0d57e429df01: Waiting 23:05:26 4e4be7b47b0d: Waiting 23:05:26 e1f770b5df2f: Waiting 23:05:26 85a0685a4137: Waiting 23:05:26 0eba1c9be4d2: Waiting 23:05:26 de9db76c5a1d: Verifying Checksum 23:05:26 de9db76c5a1d: Download complete 23:05:26 0ef7d3d256c8: Verifying Checksum 23:05:26 0ef7d3d256c8: Download complete 23:05:26 0d57e429df01: Verifying Checksum 23:05:26 0d57e429df01: Download complete 23:05:26 4e4be7b47b0d: Verifying Checksum 23:05:26 4e4be7b47b0d: Download complete 23:05:26 188c0c94c7c5: Verifying Checksum 23:05:26 188c0c94c7c5: Download complete 23:05:26 188c0c94c7c5: Pull complete 23:05:26 0ef7d3d256c8: Pull complete 23:05:26 de9db76c5a1d: Pull complete 23:05:26 e1f770b5df2f: Verifying Checksum 23:05:26 e1f770b5df2f: Download complete 23:05:28 0eba1c9be4d2: Verifying Checksum 23:05:28 0eba1c9be4d2: Download complete 23:05:29 85a0685a4137: Verifying Checksum 23:05:29 85a0685a4137: Download complete 23:05:31 0eba1c9be4d2: Pull complete 23:05:31 0d57e429df01: Pull complete 23:05:31 4e4be7b47b0d: Pull complete 23:05:32 e1f770b5df2f: Pull complete 23:05:37 85a0685a4137: Pull complete 23:05:37 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:05:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:05:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:05:37 prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container 23:05:37 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:05:38 $ docker top 77e246ec6126474fc6f722ae24d17fe5cb683eed3a94f9fbbbb83b74c17ff862 -eo pid,comm [Pipeline] { [Pipeline] echo 23:05:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:05:38 + set -o pipefail 23:05:38 + snyk monitor '--org=edgex-jenkins' 23:05:48 23:05:48 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 23:05:48 23:05:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/523ea8a7-8f47-4553-869d-65789838dfb8 23:05:48 23:05:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:05:48 23:05:48 [Pipeline] } 23:05:49 $ docker stop --time=1 77e246ec6126474fc6f722ae24d17fe5cb683eed3a94f9fbbbb83b74c17ff862 23:05:50 $ docker rm -f 77e246ec6126474fc6f722ae24d17fe5cb683eed3a94f9fbbbb83b74c17ff862 [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 23:05:51 + git log --format=format:%s -1 69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] isUnix [Pipeline] sh 23:05:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:05:52 . [Pipeline] withDockerContainer 23:05:52 prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container 23:05:52 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:05:52 $ docker top 2370e8b418223cb1580bc7a6cc08a966dd9fb79deff0e57c1697373dfee4dd47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:05:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:05:52 [ssh-agent] Looking for ssh-agent implementation... 23:05:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:05:52 $ docker exec 2370e8b418223cb1580bc7a6cc08a966dd9fb79deff0e57c1697373dfee4dd47 ssh-agent 23:05:53 SSH_AUTH_SOCK=/tmp/ssh-pJ7tHW1h3dhM/agent.14 23:05:53 SSH_AGENT_PID=21 23:05:53 Running ssh-add (command line suppressed) 23:05:53 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1653048807143796684.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1653048807143796684.key) 23:05:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:05:53 + git semver tag 23:05:53 # -> Open(): unable to determine branch for HEAD 23:05:53 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 23:05:53 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 23:05:53 # $SEMVER_REMOTE_NAME = origin 23:05:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:05:53 # $SEMVER_USER_NAME = edgex-jenkins 23:05:53 # $SEMVER_BRANCH = master 23:05:53 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 23:05:53 # 69c81efe40b40196065d751e2d1c999af0ecde18 HEAD 23:05:53 # -> Force: false 23:05:53 # 6fea279780d88cb5493e4b4cf82d62954e5eadb4 refs/tags/v1.2.2-dev.11 [Pipeline] } 23:05:53 $ docker exec --env ******** --env ******** 2370e8b418223cb1580bc7a6cc08a966dd9fb79deff0e57c1697373dfee4dd47 ssh-agent -k 23:05:53 unset SSH_AUTH_SOCK; 23:05:53 unset SSH_AGENT_PID; 23:05:53 echo Agent pid 21 killed; 23:05:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:05:53 + git semver [Pipeline] } 23:05:53 $ docker stop --time=1 2370e8b418223cb1580bc7a6cc08a966dd9fb79deff0e57c1697373dfee4dd47 23:05:55 $ docker rm -f 2370e8b418223cb1580bc7a6cc08a966dd9fb79deff0e57c1697373dfee4dd47 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:05:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:05:55 23:05:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:05:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:05:55 0.23.1-centos7: Pulling from edgex-lftools 23:05:55 ab5ef0e58194: Pulling fs layer 23:05:55 9712f1f96733: Pulling fs layer 23:05:55 63f879dbbcfc: Pulling fs layer 23:05:55 0d9ebad4ef96: Pulling fs layer 23:05:55 e9a5061849ea: Pulling fs layer 23:05:55 d747dcd14b5f: Pulling fs layer 23:05:55 2de7ff778b66: Pulling fs layer 23:05:55 e9a5061849ea: Waiting 23:05:55 d747dcd14b5f: Waiting 23:05:55 2de7ff778b66: Waiting 23:05:55 0d9ebad4ef96: Waiting 23:05:55 9712f1f96733: Verifying Checksum 23:05:55 9712f1f96733: Download complete 23:05:57 63f879dbbcfc: Verifying Checksum 23:05:57 63f879dbbcfc: Download complete 23:05:57 e9a5061849ea: Verifying Checksum 23:05:57 e9a5061849ea: Download complete 23:05:57 d747dcd14b5f: Verifying Checksum 23:05:57 d747dcd14b5f: Download complete 23:05:57 2de7ff778b66: Verifying Checksum 23:05:57 2de7ff778b66: Download complete 23:05:57 0d9ebad4ef96: Verifying Checksum 23:05:57 0d9ebad4ef96: Download complete 23:05:57 ab5ef0e58194: Verifying Checksum 23:05:57 ab5ef0e58194: Download complete 23:06:00 ab5ef0e58194: Pull complete 23:06:00 9712f1f96733: Pull complete 23:06:01 63f879dbbcfc: Pull complete 23:06:04 0d9ebad4ef96: Pull complete 23:06:04 e9a5061849ea: Pull complete 23:06:04 d747dcd14b5f: Pull complete 23:06:05 2de7ff778b66: Pull complete 23:06:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:06:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:06:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:06:05 prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container 23:06:05 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:06:10 $ docker top 22f0fbbd0b6ae80c31c02786da7931f3bfc9cafbee44be0ea3435cdb11c8e25f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:06:10 provisioning config files... 23:06:10 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7943343717369257468tmp 23:06:10 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config814973982018526021tmp 23:06:10 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1732196956059964053tmp [Pipeline] { [Pipeline] echo 23:06:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:06:11 ---> sigul-configuration.sh 23:06:11 gpg: directory `/root/.gnupg' created 23:06:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:06:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:06:11 gpg: keyring `/root/.gnupg/secring.gpg' created 23:06:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:06:11 gpg: CAST5 encrypted data 23:06:11 gpg: encrypted with 1 passphrase 23:06:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:06:11 + mkdir /home/jenkins 23:06:11 + mkdir /home/jenkins/sigul [Pipeline] sh 23:06:11 + 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 23:06:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:06:12 ---> sigul-install.sh 23:06:16 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 23:06:16 + git tag --list 23:06:16 v1.0.0 23:06:16 v1.1.0 23:06:16 v1.1.1 23:06:16 v1.1.2 23:06:16 v1.2.0 23:06:16 v1.2.1 23:06:16 v1.2.1-dev.1 23:06:16 v1.2.1-dev.2 23:06:16 v1.2.1-dev.3 23:06:16 v1.2.1-dev.4 23:06:16 v1.2.2-dev.1 23:06:16 v1.2.2-dev.10 23:06:16 v1.2.2-dev.11 23:06:16 v1.2.2-dev.2 23:06:16 v1.2.2-dev.3 23:06:16 v1.2.2-dev.4 23:06:16 v1.2.2-dev.5 23:06:16 v1.2.2-dev.6 23:06:16 v1.2.2-dev.7 23:06:16 v1.2.2-dev.8 23:06:16 v1.2.2-dev.9 [Pipeline] sh 23:06:16 + lftools sign git-tag v1.2.2-dev.11 23:06:17 Signing Git tag with Sigul... 23:06:17 Signing v1.2.2-dev.11 [Pipeline] echo 23:06:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:06:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:06:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:06:18 $ docker stop --time=1 22f0fbbd0b6ae80c31c02786da7931f3bfc9cafbee44be0ea3435cdb11c8e25f 23:06:20 $ docker rm -f 22f0fbbd0b6ae80c31c02786da7931f3bfc9cafbee44be0ea3435cdb11c8e25f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 23:06:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:06:20 . [Pipeline] withDockerContainer 23:06:20 prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container 23:06:20 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:06:21 $ docker top 4a45212e696545782171874a7f8dfd773cbed967fdbfcf0cd8b4d402b75b27a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:06:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:06:21 [ssh-agent] Looking for ssh-agent implementation... 23:06:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:06:21 $ docker exec 4a45212e696545782171874a7f8dfd773cbed967fdbfcf0cd8b4d402b75b27a4 ssh-agent 23:06:21 SSH_AUTH_SOCK=/tmp/ssh-sLR8dSFdcRQu/agent.14 23:06:21 SSH_AGENT_PID=20 23:06:21 Running ssh-add (command line suppressed) 23:06:21 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3634573170163809542.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3634573170163809542.key) 23:06:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:06:22 + git semver bump pre 23:06:22 # -> Open(): unable to determine branch for HEAD 23:06:22 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 23:06:22 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 23:06:22 # $SEMVER_REMOTE_NAME = origin 23:06:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:06:22 # $SEMVER_USER_NAME = edgex-jenkins 23:06:22 # $SEMVER_BRANCH = master 23:06:22 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 23:06:22 1.2.2-dev.12 [Pipeline] } 23:06:22 $ docker exec --env ******** --env ******** 4a45212e696545782171874a7f8dfd773cbed967fdbfcf0cd8b4d402b75b27a4 ssh-agent -k 23:06:22 unset SSH_AUTH_SOCK; 23:06:22 unset SSH_AGENT_PID; 23:06:22 echo Agent pid 20 killed; 23:06:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:06:22 + git semver [Pipeline] } 23:06:22 $ docker stop --time=1 4a45212e696545782171874a7f8dfd773cbed967fdbfcf0cd8b4d402b75b27a4 23:06:23 $ docker rm -f 4a45212e696545782171874a7f8dfd773cbed967fdbfcf0cd8b4d402b75b27a4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 23:06:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:06:24 . [Pipeline] withDockerContainer 23:06:24 prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container 23:06:24 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:06:24 $ docker top b8e03d3799de89674e197510fa84f134b8b3b5614046aeaec7062103d9e0cacc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:06:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:06:24 [ssh-agent] Looking for ssh-agent implementation... 23:06:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:06:24 $ docker exec b8e03d3799de89674e197510fa84f134b8b3b5614046aeaec7062103d9e0cacc ssh-agent 23:06:24 SSH_AUTH_SOCK=/tmp/ssh-4LH7l1vG9UWb/agent.14 23:06:24 SSH_AGENT_PID=21 23:06:24 Running ssh-add (command line suppressed) 23:06:24 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8991559464971933205.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8991559464971933205.key) 23:06:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:06:25 + git semver push 23:06:25 # -> Open(): unable to determine branch for HEAD 23:06:25 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 23:06:25 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 23:06:25 # $SEMVER_REMOTE_NAME = origin 23:06:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:06:25 # $SEMVER_USER_NAME = edgex-jenkins 23:06:25 # $SEMVER_BRANCH = master 23:06:25 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 23:06:29 $ docker exec --env ******** --env ******** b8e03d3799de89674e197510fa84f134b8b3b5614046aeaec7062103d9e0cacc ssh-agent -k 23:06:29 unset SSH_AUTH_SOCK; 23:06:29 unset SSH_AGENT_PID; 23:06:29 echo Agent pid 21 killed; 23:06:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:06:29 + git semver [Pipeline] } 23:06:29 $ docker stop --time=1 b8e03d3799de89674e197510fa84f134b8b3b5614046aeaec7062103d9e0cacc 23:06:31 $ docker rm -f b8e03d3799de89674e197510fa84f134b8b3b5614046aeaec7062103d9e0cacc [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 23:06:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:06:32 ---> package-listing.sh 23:06:32 ++ facter osfamily 23:06:32 ++ tr '[:upper:]' '[:lower:]' 23:06:33 + OS_FAMILY=redhat 23:06:33 + workspace=/w/workspace/gexfoundry_device-rest-go_master 23:06:33 + START_PACKAGES=/tmp/packages_start.txt 23:06:33 + END_PACKAGES=/tmp/packages_end.txt 23:06:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:06:33 + PACKAGES=/tmp/packages_start.txt 23:06:33 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 23:06:33 + PACKAGES=/tmp/packages_end.txt 23:06:33 + case "${OS_FAMILY}" in 23:06:33 + rpm -qa 23:06:33 + sort 23:06:33 + '[' -f /tmp/packages_start.txt ']' 23:06:33 + '[' -f /tmp/packages_end.txt ']' 23:06:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:06:33 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 23:06:33 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 23:06:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 23:06:33 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 23:06:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:06:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:06:34 23:06:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:06:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:06:34 alpine: Pulling from edgex-lftools-log-publisher 23:06:34 df20fa9351a1: Pulling fs layer 23:06:34 36b3adc4ff6f: Pulling fs layer 23:06:34 8ad3a11d3b57: Pulling fs layer 23:06:34 46f8f816bc3b: Pulling fs layer 23:06:34 93b61091891f: Pulling fs layer 23:06:34 93b9cdb0e59b: Pulling fs layer 23:06:34 5e14af77c1be: Pulling fs layer 23:06:34 01666e4c0597: Pulling fs layer 23:06:34 aa168da1d23b: Pulling fs layer 23:06:34 46f8f816bc3b: Waiting 23:06:34 93b61091891f: Waiting 23:06:34 93b9cdb0e59b: Waiting 23:06:34 5e14af77c1be: Waiting 23:06:34 01666e4c0597: Waiting 23:06:34 aa168da1d23b: Waiting 23:06:34 36b3adc4ff6f: Verifying Checksum 23:06:34 36b3adc4ff6f: Download complete 23:06:34 46f8f816bc3b: Verifying Checksum 23:06:34 46f8f816bc3b: Download complete 23:06:34 df20fa9351a1: Verifying Checksum 23:06:34 df20fa9351a1: Download complete 23:06:34 93b9cdb0e59b: Verifying Checksum 23:06:34 93b9cdb0e59b: Download complete 23:06:34 5e14af77c1be: Verifying Checksum 23:06:34 5e14af77c1be: Download complete 23:06:34 01666e4c0597: Verifying Checksum 23:06:34 01666e4c0597: Download complete 23:06:34 93b61091891f: Download complete 23:06:34 8ad3a11d3b57: Verifying Checksum 23:06:34 8ad3a11d3b57: Download complete 23:06:34 df20fa9351a1: Pull complete 23:06:34 36b3adc4ff6f: Pull complete 23:06:35 8ad3a11d3b57: Pull complete 23:06:35 46f8f816bc3b: Pull complete 23:06:36 93b61091891f: Pull complete 23:06:36 93b9cdb0e59b: Pull complete 23:06:36 5e14af77c1be: Pull complete 23:06:36 01666e4c0597: Pull complete 23:06:36 aa168da1d23b: Verifying Checksum 23:06:36 aa168da1d23b: Download complete 23:06:40 aa168da1d23b: Pull complete 23:06:40 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:06:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:06:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:06:40 prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container 23:06:40 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:06:42 $ docker top b21f34de8e028202fcacb548f3fc5eda1719837a4a94868db92452e4de8c4fd2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:06:43 + touch /tmp/pre-build-complete [Pipeline] sh 23:06:43 + mkdir -p /var/log/sa [Pipeline] sh 23:06:43 + ls /var/log/sa-host 23:06:43 + sadf -c /var/log/sa-host/sa05 23:06:43 file_magic: OK 23:06:43 HZ: Using current value: 100 23:06:43 file_header: OK 23:06:43 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 23:06:43 Statistics: 23:06:43 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:06:43 File successfully converted to sysstat format version 12.2.1 23:06:43 + sadf -c /var/log/sa-host/sa18 23:06:43 file_magic: OK 23:06:43 HZ: Using current value: 100 23:06:43 file_header: OK 23:06:43 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 23:06:43 Statistics: 23:06:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:06:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:06:44 provisioning config files... 23:06:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4152111387576546265tmp [Pipeline] { [Pipeline] echo 23:06:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:06:44 ---> create-netrc.sh [Pipeline] } 23:06:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:06:44 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:06:44 ---> python-tools-install.sh [Pipeline] echo 23:06:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:06:45 ---> sudo-logs.sh 23:06:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:06:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:06:45 ---> job-cost.sh 23:06:45 lf-activate-venv: SKIPPING 23:06:45 DEBUG: total: 0.18000000715255737 23:06:45 INFO: Retrieving Stack Cost... 23:06:46 INFO: Retrieving Pricing Info for: v3-standard-2 23:06:46 INFO: Archiving Costs [Pipeline] echo 23:06:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:06:47 ---> logs-deploy.sh 23:06:47 lf-activate-venv: SKIPPING 23:06:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/44 23:06:47 INFO: archiving workspace using pattern(s): 23:06:48 Archives upload complete. 23:06:48 INFO: archiving logs to Nexus 23:06:48 ---> uname -a: 23:06:48 Linux prd-centos7-docker-4c-2g-14868.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 23:06:48 23:06:48 23:06:48 ---> lscpu: 23:06:48 Architecture: x86_64 23:06:48 CPU op-mode(s): 32-bit, 64-bit 23:06:48 Byte Order: Little Endian 23:06:48 Address sizes: 40 bits physical, 48 bits virtual 23:06:48 CPU(s): 2 23:06:48 On-line CPU(s) list: 0,1 23:06:48 Thread(s) per core: 1 23:06:48 Core(s) per socket: 1 23:06:48 Socket(s): 2 23:06:48 NUMA node(s): 1 23:06:48 Vendor ID: AuthenticAMD 23:06:48 CPU family: 23 23:06:48 Model: 49 23:06:48 Model name: AMD EPYC-Rome Processor 23:06:48 Stepping: 0 23:06:48 CPU MHz: 2799.998 23:06:48 BogoMIPS: 5599.99 23:06:48 Virtualization: AMD-V 23:06:48 Hypervisor vendor: KVM 23:06:48 Virtualization type: full 23:06:48 L1d cache: 64 KiB 23:06:48 L1i cache: 64 KiB 23:06:48 L2 cache: 1 MiB 23:06:48 L3 cache: 32 MiB 23:06:48 NUMA node0 CPU(s): 0,1 23:06:48 Vulnerability Itlb multihit: Not affected 23:06:48 Vulnerability L1tf: Not affected 23:06:48 Vulnerability Mds: Not affected 23:06:48 Vulnerability Meltdown: Not affected 23:06:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:06:48 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:06:48 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:06:48 Vulnerability Srbds: Not affected 23:06:48 Vulnerability Tsx async abort: Not affected 23:06:48 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 23:06:48 23:06:48 23:06:48 ---> nproc: 23:06:48 2 23:06:48 23:06:48 23:06:48 ---> df -h: 23:06:48 Filesystem Size Used Available Use% Mounted on 23:06:48 overlay 40.0G 8.9G 31.1G 22% / 23:06:48 tmpfs 64.0M 0 64.0M 0% /dev 23:06:48 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 23:06:48 shm 64.0M 0 64.0M 0% /dev/shm 23:06:48 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 23:06:48 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 23:06:48 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 23:06:48 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 23:06:48 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 23:06:48 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master 23:06:48 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 23:06:48 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master@tmp 23:06:48 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 23:06:48 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 23:06:48 23:06:48 23:06:48 ---> free -m: 23:06:48 total used free shared buff/cache available 23:06:48 Mem: 7821 1193 3228 0 3399 6546 23:06:48 Swap: 1023 0 1023 23:06:48 23:06:48 23:06:48 ---> ip addr: 23:06:48 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:06:48 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:06:48 inet 127.0.0.1/8 scope host lo 23:06:48 valid_lft forever preferred_lft forever 23:06:48 inet6 ::1/128 scope host 23:06:48 valid_lft forever preferred_lft forever 23:06:48 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:06:48 link/ether fa:16:3e:4e:30:6a brd ff:ff:ff:ff:ff:ff 23:06:48 inet 10.30.122.17/23 brd 10.30.123.255 scope global dynamic eth0 23:06:48 valid_lft 85659sec preferred_lft 85659sec 23:06:48 inet6 fe80::f816:3eff:fe4e:306a/64 scope link 23:06:48 valid_lft forever preferred_lft forever 23:06:48 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:06:48 link/ether 02:42:88:1e:c5:66 brd ff:ff:ff:ff:ff:ff 23:06:48 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:06:48 valid_lft forever preferred_lft forever 23:06:48 inet6 fe80::42:88ff:fe1e:c566/64 scope link 23:06:48 valid_lft forever preferred_lft forever 23:06:48 23:06:48 23:06:48 ---> sar -b -r -n DEV: 23:06:48 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/18/21 _x86_64_ (2 CPU) 23:06:48 23:06:48 22:54:17 LINUX RESTART (2 CPU) 23:06:48 23:06:48 22:55:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:06:48 22:56:01 17.32 0.62 16.70 0.00 351.71 3356.97 0.00 23:06:48 22:57:01 0.40 0.02 0.38 0.00 0.53 5.95 0.00 23:06:48 22:58:01 0.27 0.00 0.27 0.00 0.00 3.60 0.00 23:06:48 22:59:01 0.20 0.00 0.20 0.00 0.00 2.57 0.00 23:06:48 23:00:01 0.25 0.00 0.25 0.00 0.00 3.93 0.00 23:06:48 23:01:01 0.38 0.02 0.37 0.00 0.13 5.56 0.00 23:06:48 23:02:01 0.40 0.10 0.30 0.00 1.73 4.73 0.00 23:06:48 23:03:01 0.25 0.00 0.25 0.00 0.00 2.85 0.00 23:06:48 23:04:01 0.28 0.00 0.28 0.00 0.00 2.93 0.00 23:06:48 23:05:01 0.20 0.00 0.20 0.00 0.00 2.57 0.00 23:06:48 23:06:01 124.16 0.03 124.13 0.00 3.73 31870.89 0.00 23:06:48 Average: 13.10 0.07 13.03 0.00 32.54 3206.56 0.00 23:06:48 23:06:48 22:55:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:06:48 22:56:01 5443372 0 811544 10.13 2620 1751404 1331844 14.70 582764 1582352 20 23:06:48 22:57:01 5454500 0 800408 9.99 2620 1751412 1234312 13.63 573836 1581752 20 23:06:48 22:58:01 5456908 0 798000 9.96 2620 1751412 1202772 13.28 570908 1583276 20 23:06:48 22:59:01 5455844 0 799060 9.98 2620 1751416 1202772 13.28 572056 1583276 16 23:06:48 23:00:01 5456260 0 798636 9.97 2620 1751424 1202688 13.28 568572 1586380 16 23:06:48 23:01:01 5455812 0 799084 9.98 2620 1751424 1205744 13.31 568384 1586380 12 23:06:48 23:02:01 5456204 0 798564 9.97 2620 1751552 1203016 13.28 568788 1586440 16 23:06:48 23:03:01 5449756 0 805004 10.05 2620 1751560 1203016 13.28 575168 1586440 8 23:06:48 23:04:01 5449220 0 805540 10.06 2620 1751560 1203016 13.28 577588 1584632 8 23:06:48 23:05:01 5448096 0 806660 10.07 2620 1751564 1203208 13.28 578588 1584632 16 23:06:48 23:06:01 4071636 0 1012600 12.64 2620 2922084 1614388 17.82 847968 2563636 451564 23:06:48 Average: 5327055 0 821373 10.26 2620 1857892 1255161 13.86 598602 1673563 41065 23:06:48 23:06:48 22:55:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:06:48 22:56:01 eth0 79.30 69.13 311.92 35.08 0.00 0.00 0.00 0.00 23:06:48 22:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 22:56:01 docker0 33.99 26.63 3.34 132.47 0.00 0.00 0.00 0.00 23:06:48 22:57:01 eth0 2.56 0.68 0.91 0.58 0.00 0.00 0.00 0.00 23:06:48 22:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 22:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 22:58:01 eth0 2.17 0.47 0.63 0.36 0.00 0.00 0.00 0.00 23:06:48 22:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 22:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 22:59:01 eth0 0.85 0.35 0.30 0.23 0.00 0.00 0.00 0.00 23:06:48 22:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 22:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:00:01 eth0 0.70 0.42 0.35 0.27 0.00 0.00 0.00 0.00 23:06:48 23:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:01:01 eth0 0.27 0.18 0.10 0.01 0.00 0.00 0.00 0.00 23:06:48 23:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:02:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:06:48 23:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:03:01 eth0 0.18 0.08 0.02 0.01 0.00 0.00 0.00 0.00 23:06:48 23:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:04:01 eth0 0.98 0.08 0.10 0.01 0.00 0.00 0.00 0.00 23:06:48 23:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:05:01 eth0 1.13 0.68 0.62 0.46 0.00 0.00 0.00 0.00 23:06:48 23:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:06:01 eth0 854.74 782.81 7670.97 68.57 0.00 0.00 0.00 0.00 23:06:48 23:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 23:06:01 docker0 71.19 74.29 5.75 385.37 0.00 0.00 0.00 0.00 23:06:48 Average: eth0 85.75 77.75 726.19 9.60 0.00 0.00 0.00 0.00 23:06:48 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:06:48 Average: docker0 9.56 9.18 0.83 47.09 0.00 0.00 0.00 0.00 23:06:48 23:06:48 23:06:48 ---> sar -P ALL: 23:06:48 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/18/21 _x86_64_ (2 CPU) 23:06:48 23:06:48 22:54:17 LINUX RESTART (2 CPU) 23:06:48 23:06:48 22:55:01 CPU %user %nice %system %iowait %steal %idle 23:06:48 22:56:01 all 3.04 0.00 1.35 0.51 0.04 95.05 23:06:48 22:56:01 0 2.84 0.00 1.46 0.30 0.05 95.34 23:06:48 22:56:01 1 3.23 0.00 1.25 0.72 0.03 94.77 23:06:48 22:57:01 all 0.11 0.00 0.04 0.00 0.03 99.82 23:06:48 22:57:01 0 0.17 0.00 0.05 0.00 0.05 99.73 23:06:48 22:57:01 1 0.05 0.00 0.03 0.00 0.02 99.90 23:06:48 22:58:01 all 0.21 0.00 0.03 0.00 0.03 99.73 23:06:48 22:58:01 0 0.37 0.00 0.03 0.00 0.03 99.57 23:06:48 22:58:01 1 0.05 0.00 0.03 0.00 0.02 99.90 23:06:48 22:59:01 all 0.10 0.00 0.03 0.00 0.03 99.85 23:06:48 22:59:01 0 0.18 0.00 0.02 0.00 0.03 99.77 23:06:48 22:59:01 1 0.02 0.00 0.03 0.00 0.02 99.93 23:06:48 23:00:01 all 0.17 0.00 0.03 0.00 0.03 99.78 23:06:48 23:00:01 0 0.30 0.00 0.03 0.00 0.02 99.65 23:06:48 23:00:01 1 0.03 0.00 0.02 0.00 0.03 99.92 23:06:48 23:01:01 all 0.14 0.00 0.03 0.00 0.03 99.80 23:06:48 23:01:01 0 0.27 0.00 0.03 0.00 0.03 99.67 23:06:48 23:01:01 1 0.02 0.00 0.03 0.00 0.02 99.93 23:06:48 23:02:01 all 0.11 0.00 0.03 0.00 0.03 99.83 23:06:48 23:02:01 0 0.17 0.00 0.03 0.00 0.03 99.77 23:06:48 23:02:01 1 0.05 0.00 0.03 0.00 0.02 99.90 23:06:48 23:03:01 all 0.08 0.00 0.02 0.00 0.03 99.87 23:06:48 23:03:01 0 0.17 0.00 0.02 0.00 0.03 99.78 23:06:48 23:03:01 1 0.00 0.00 0.02 0.00 0.02 99.97 23:06:48 23:04:01 all 0.10 0.00 0.03 0.00 0.02 99.85 23:06:48 23:04:01 0 0.17 0.00 0.03 0.00 0.02 99.78 23:06:48 23:04:01 1 0.03 0.00 0.03 0.00 0.02 99.92 23:06:48 23:05:01 all 0.08 0.00 0.01 0.00 0.03 99.88 23:06:48 23:05:01 0 0.13 0.00 0.00 0.00 0.02 99.85 23:06:48 23:05:01 1 0.03 0.00 0.02 0.00 0.03 99.92 23:06:48 23:06:01 all 15.58 0.00 6.49 2.29 0.05 75.59 23:06:48 23:06:01 0 16.14 0.00 7.19 2.34 0.05 74.28 23:06:48 23:06:01 1 15.03 0.00 5.81 2.23 0.05 76.88 23:06:48 23:06:48 Average: CPU %user %nice %system %iowait %steal %idle 23:06:48 Average: all 1.74 0.00 0.72 0.25 0.03 97.27 23:06:48 Average: 0 1.84 0.00 0.78 0.23 0.03 97.11 23:06:48 Average: 1 1.64 0.00 0.65 0.26 0.02 97.43 23:06:48 23:06:48 23:06:48