Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b32159014ae45265b13142f0741b8ad008d9ae08 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-ssh7062506070333795726.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh5436370437040263616.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh8279057483167716118.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh6723218654732235638.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-ssh1813317010421233895.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 Finished waiting Running on prd-centos7-docker-4c-2g-0 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-ssh4556999523228701723.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 b32159014ae45265b13142f0741b8ad008d9ae08 (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 b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 Commit message: "Merge pull request #115 from lenny-intel/PublishTopicPrefix" > git rev-list --no-walk a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:25:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:25:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:25:39 ========================================================= 09:25:39 EdgeX Global Pipelines Version Info 09:25:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:25:40 ------------------- 09:25:40 stable info: 09:25:40 ------------------- 09:25:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:25:40 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 09:25:40 Message: update stable to v1.0.194 09:25:41 ------------------- 09:25:41 experimental info: 09:25:41 ------------------- 09:25:41 Commited By: **** collab-it+edgex@linuxfoundation.org 09:25:41 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 09:25:41 Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:25:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b321590 [Pipeline] echo 09:25:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:42 provisioning config files... 09:25:42 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4103056903534098368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:42 ---> docker-login.sh 09:25:42 nexus3.edgexfoundry.org:10001 09:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:43 Configure a credential helper to remove this warning. See 09:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:43 09:25:43 Login Succeeded 09:25:43 nexus3.edgexfoundry.org:10002 09:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:43 Configure a credential helper to remove this warning. See 09:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:43 09:25:43 Login Succeeded 09:25:43 nexus3.edgexfoundry.org:10003 09:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:43 Configure a credential helper to remove this warning. See 09:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:43 09:25:43 Login Succeeded 09:25:43 nexus3.edgexfoundry.org:10004 09:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:43 Configure a credential helper to remove this warning. See 09:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:43 09:25:43 Login Succeeded 09:25:43 docker.io 09:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:44 Configure a credential helper to remove this warning. See 09:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:44 09:25:44 Login Succeeded 09:25:44 ---> docker-login.sh ends [Pipeline] } 09:25:44 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 09:25:44 + git log --format=format:%s -1 b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] echo 09:25:44 GIT_COMMIT: b32159014ae45265b13142f0741b8ad008d9ae08, Commit Message: Merge pull request #115 from lenny-intel/PublishTopicPrefix [Pipeline] echo 09:25:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:25:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:25:45 09:25:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:25:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:25:46 latest: Pulling from edgex-devops/git-semver 09:25:46 31603596830f: Pulling fs layer 09:25:46 54011a49482f: Pulling fs layer 09:25:46 a6820b24f6d8: Pulling fs layer 09:25:46 f581987b2513: Pulling fs layer 09:25:46 f581987b2513: Waiting 09:25:46 54011a49482f: Verifying Checksum 09:25:46 54011a49482f: Download complete 09:25:46 31603596830f: Verifying Checksum 09:25:46 31603596830f: Download complete 09:25:46 31603596830f: Pull complete 09:25:46 f581987b2513: Verifying Checksum 09:25:46 f581987b2513: Download complete 09:25:46 a6820b24f6d8: Verifying Checksum 09:25:46 a6820b24f6d8: Download complete 09:25:46 54011a49482f: Pull complete 09:25:47 a6820b24f6d8: Pull complete 09:25:47 f581987b2513: Pull complete 09:25:47 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 09:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:25:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:25:47 prd-centos7-docker-4c-2g-0 does not seem to be running inside a container 09:25:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:25:48 $ docker top 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:25:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:25:48 [ssh-agent] Looking for ssh-agent implementation... 09:25:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:25:49 $ docker exec 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 ssh-agent 09:25:49 SSH_AUTH_SOCK=/tmp/ssh-CrEVOKYvlUnb/agent.13 09:25:49 SSH_AGENT_PID=20 09:25:49 Running ssh-add (command line suppressed) 09:25:49 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2341011381678507059.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2341011381678507059.key) 09:25:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:25:49 + git tag --points-at HEAD [Pipeline] } 09:25:49 $ docker exec --env ******** --env ******** 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 ssh-agent -k 09:25:49 unset SSH_AUTH_SOCK; 09:25:49 unset SSH_AGENT_PID; 09:25:49 echo Agent pid 20 killed; 09:25:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:25:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:25:49 [ssh-agent] Looking for ssh-agent implementation... 09:25:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:25:49 $ docker exec 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 ssh-agent 09:25:50 SSH_AUTH_SOCK=/tmp/ssh-QtXrDIrO4JUY/agent.51 09:25:50 SSH_AGENT_PID=58 09:25:50 Running ssh-add (command line suppressed) 09:25:50 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1969706166542746451.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1969706166542746451.key) 09:25:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:25:50 + git semver init 09:25:50 # -> Open(): unable to determine branch for HEAD 09:25:50 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 09:25:50 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 09:25:50 # $SEMVER_REMOTE_NAME = origin 09:25:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:25:50 # $SEMVER_USER_NAME = edgex-jenkins 09:25:50 # $SEMVER_BRANCH = master 09:25:50 # $SEMVER_TEMP = /tmp/semver-529155459 09:25:50 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 09:25:51 # '/tmp/semver-529155459' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 09:25:51 # -> Force: false 09:25:51 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 09:25:51 $ docker exec --env ******** --env ******** 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 ssh-agent -k 09:25:51 unset SSH_AUTH_SOCK; 09:25:51 unset SSH_AGENT_PID; 09:25:51 echo Agent pid 58 killed; 09:25:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:25:51 + git semver [Pipeline] } 09:25:51 $ docker stop --time=1 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 09:25:53 $ docker rm -f 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 [Pipeline] // withDockerContainer [Pipeline] sh 09:25:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:25:53 Stashed 1 file(s) [Pipeline] echo 09:25:53 [edgeXSemver]: initialized semver on version 1.2.2-dev.17 [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 09:25:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1202 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 09:25:54 Running in /w/workspace/device-rest-go/51 [Pipeline] { [Pipeline] checkout 09:25:54 The recommended git tool is: git 09:25:59 using credential edgex-jenkins-ssh 09:25:59 Cloning the remote Git repository 09:25:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:26:00 > git init /w/workspace/device-rest-go/51 # timeout=10 09:26:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:26:00 > git --version # timeout=10 09:26:00 > git --version # 'git version 2.17.1' 09:26:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:26:01 Avoid second fetch 09:26:01 Checking out Revision b32159014ae45265b13142f0741b8ad008d9ae08 (master) 09:26:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:26:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:26:01 > git config core.sparsecheckout # timeout=10 09:26:01 > git checkout -f b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 09:26:06 Commit message: "Merge pull request #115 from lenny-intel/PublishTopicPrefix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:26:07 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:26:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:26:08 + sudo service docker restart 09:26:08 + true 09:26:09 Still waiting to schedule task 09:26:09 ‘prd-centos7-builder-2c-1g-1201’ doesn’t have label ‘centos7-docker-4c-2g’ 09:26:09 ‘prd-centos7-docker-4c-2g-1182’ is offline 09:26:09 ‘prd-centos7-docker-4c-2g-1187’ is offline 09:26:09 ‘prd-centos7-docker-4c-2g-1188’ is offline 09:26:09 ‘prd-centos7-docker-4c-2g-1189’ is offline 09:26:09 ‘prd-centos7-docker-4c-2g-1193’ is offline 09:26:09 ‘prd-centos7-docker-4c-2g-1194’ is offline 09:26:09 ‘prd-centos7-docker-4c-2g-1195’ is offline 09:26:09 ‘prd-centos7-docker-4c-2g-1196’ is offline 09:26:09 ‘prd-centos7-docker-4c-2g-1197’ is offline 09:26:09 ‘prd-centos7-docker-4c-2g-3’ is offline 09:26:09 ‘prd-centos7-docker-4c-2g-4’ is offline 09:26:09 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1198’ doesn’t have label ‘centos7-docker-4c-2g’ 09:26:09 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1199’ doesn’t have label ‘centos7-docker-4c-2g’ 09:26:09 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1207’ doesn’t have label ‘centos7-docker-4c-2g’ 09:26:24 Running on prd-centos7-docker-4c-2g-4 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 09:26:24 Running in /w/workspace/device-rest-go/51 [Pipeline] { [Pipeline] checkout 09:26:25 The recommended git tool is: git [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:26:26 provisioning config files... 09:26:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config4402755778895203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:27 using credential edgex-jenkins-ssh 09:26:27 Cloning the remote Git repository 09:26:27 ---> docker-login.sh 09:26:27 nexus3.edgexfoundry.org:10001 09:26:27 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:26:27 > git init /w/workspace/device-rest-go/51 # timeout=10 09:26:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:26:27 > git --version # timeout=10 09:26:27 > git --version # 'git version 2.24.4' 09:26:27 using GIT_SSH to set credentials SSH Credentials for GitHub 09:26:27 [INFO] Currently running in a labeled security context 09:26:27 [INFO] Currently SELinux is 'enforcing' on the host 09:26:27 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/51@tmp/jenkins-gitclient-ssh8264339966239350442.key 09:26:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:28 Avoid second fetch 09:26:28 Checking out Revision b32159014ae45265b13142f0741b8ad008d9ae08 (master) 09:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:28 Configure a credential helper to remove this warning. See 09:26:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:28 09:26:28 Login Succeeded 09:26:28 nexus3.edgexfoundry.org:10002 09:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:29 Configure a credential helper to remove this warning. See 09:26:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:29 09:26:29 Login Succeeded 09:26:29 nexus3.edgexfoundry.org:10003 09:26:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:26:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:26:28 > git config core.sparsecheckout # timeout=10 09:26:28 > git checkout -f b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 09:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:29 Configure a credential helper to remove this warning. See 09:26:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:29 09:26:29 Login Succeeded 09:26:29 nexus3.edgexfoundry.org:10004 09:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:30 Configure a credential helper to remove this warning. See 09:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:30 09:26:30 Login Succeeded 09:26:30 docker.io 09:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:31 Configure a credential helper to remove this warning. See 09:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:31 09:26:31 Login Succeeded 09:26:31 ---> docker-login.sh ends [Pipeline] } 09:26:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:26:31 ========================================================= 09:26:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 09:26:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:26:31 + 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 . 09:26:31 Sending build context to Docker daemon 92.16kB 09:26:32 Commit message: "Merge pull request #115 from lenny-intel/PublishTopicPrefix" 09:26:32 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 09:26:32 Step 2/10 : FROM ${BASE} [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:26:32 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:26:32 595b0fe564bb: Pulling fs layer 09:26:32 7186ed65a4f7: Pulling fs layer 09:26:32 316046926c0a: Pulling fs layer 09:26:32 4ebd0625c992: Pulling fs layer 09:26:32 207e8628e3a3: Pulling fs layer 09:26:32 c791037a9be2: Pulling fs layer 09:26:32 ffd874e62e21: Pulling fs layer 09:26:32 207e8628e3a3: Waiting 09:26:32 c791037a9be2: Waiting 09:26:32 4ebd0625c992: Waiting 09:26:32 316046926c0a: Download complete 09:26:32 7186ed65a4f7: Download complete 09:26:32 207e8628e3a3: Verifying Checksum 09:26:32 207e8628e3a3: Download complete 09:26:32 595b0fe564bb: Verifying Checksum 09:26:32 595b0fe564bb: Download complete 09:26:32 c791037a9be2: Verifying Checksum 09:26:32 c791037a9be2: Download complete 09:26:32 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:26:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:26:33 595b0fe564bb: Pull complete 09:26:33 + true 09:26:33 + sudo service docker restart 09:26:33 Redirecting to /bin/systemctl restart docker.service 09:26:33 7186ed65a4f7: Pull complete 09:26:34 316046926c0a: Pull complete 09:26:34 ffd874e62e21: Verifying Checksum 09:26:34 ffd874e62e21: Download complete 09:26:36 4ebd0625c992: Verifying Checksum 09:26:36 4ebd0625c992: Download complete 09:26:48 4ebd0625c992: Pull complete 09:26:48 207e8628e3a3: Pull complete 09:26:48 c791037a9be2: Pull complete 09:26:51 ffd874e62e21: Pull complete 09:26:51 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 09:26:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 09:26:51 ---> cfc18b08335c 09:26:51 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:26:51 provisioning config files... 09:26:51 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config974400727019145564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:52 ---> docker-login.sh 09:26:52 nexus3.edgexfoundry.org:10001 09:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:52 Configure a credential helper to remove this warning. See 09:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:52 09:26:52 Login Succeeded 09:26:52 nexus3.edgexfoundry.org:10002 09:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:52 Configure a credential helper to remove this warning. See 09:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:52 09:26:52 Login Succeeded 09:26:52 nexus3.edgexfoundry.org:10003 09:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:52 Configure a credential helper to remove this warning. See 09:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:52 09:26:52 Login Succeeded 09:26:52 nexus3.edgexfoundry.org:10004 09:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:52 Configure a credential helper to remove this warning. See 09:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:52 09:26:52 Login Succeeded 09:26:52 docker.io 09:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:53 Configure a credential helper to remove this warning. See 09:26:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:53 09:26:53 Login Succeeded 09:26:53 ---> docker-login.sh ends [Pipeline] } 09:26:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:26:53 ========================================================= 09:26:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 09:26:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:26:53 ---> Running in a58fb14354f7 09:26:53 + 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 . 09:26:53 Sending build context to Docker daemon 92.16kB 09:26:53 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 09:26:53 Step 2/10 : FROM ${BASE} 09:26:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 09:26:53 540db60ca938: Pulling fs layer 09:26:53 adcc1eea9eea: Pulling fs layer 09:26:53 4c4ab2625f07: Pulling fs layer 09:26:53 0510c868ecb4: Pulling fs layer 09:26:53 afea3b2eda06: Pulling fs layer 09:26:53 7809a108b3ef: Pulling fs layer 09:26:53 f706445af74f: Pulling fs layer 09:26:53 afea3b2eda06: Waiting 09:26:53 7809a108b3ef: Waiting 09:26:53 f706445af74f: Waiting 09:26:53 0510c868ecb4: Waiting 09:26:53 4c4ab2625f07: Verifying Checksum 09:26:53 4c4ab2625f07: Download complete 09:26:53 adcc1eea9eea: Verifying Checksum 09:26:53 adcc1eea9eea: Download complete 09:26:53 afea3b2eda06: Verifying Checksum 09:26:53 afea3b2eda06: Download complete 09:26:53 7809a108b3ef: Verifying Checksum 09:26:53 7809a108b3ef: Download complete 09:26:53 540db60ca938: Verifying Checksum 09:26:53 540db60ca938: Download complete 09:26:53 540db60ca938: Pull complete 09:26:54 Removing intermediate container a58fb14354f7 09:26:54 ---> 6c60f448fc1b 09:26:54 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 09:26:54 ---> Running in 66758ea92a16 09:26:54 adcc1eea9eea: Pull complete 09:26:54 4c4ab2625f07: Pull complete 09:26:54 Removing intermediate container 66758ea92a16 09:26:54 ---> 467e23dc5bd5 09:26:54 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:26:54 ---> Running in 48c91994b87a 09:26:54 Removing intermediate container 48c91994b87a 09:26:54 ---> 5a654613340a 09:26:54 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:26:55 ---> Running in 741bbcf339dd 09:26:55 f706445af74f: Verifying Checksum 09:26:55 f706445af74f: Download complete 09:26:55 0510c868ecb4: Verifying Checksum 09:26:55 0510c868ecb4: Download complete 09:26:57 Removing intermediate container 741bbcf339dd 09:26:57 ---> 860f2b3d02ec 09:26:57 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:26:57 ---> Running in 3937b11e786c 09:26:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 09:26:59 0510c868ecb4: Pull complete 09:26:59 afea3b2eda06: Pull complete 09:26:59 7809a108b3ef: Pull complete 09:26:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 09:27:00 (1/9) Installing libc-dev (0.7.2-r3) 09:27:00 (2/9) Installing libsodium (1.0.18-r0) 09:27:00 (3/9) Installing pkgconf (1.7.3-r0) 09:27:00 (4/9) Installing libsodium-dev (1.0.18-r0) 09:27:00 (5/9) Installing openssh-keygen (8.4_p1-r3) 09:27:00 (6/9) Installing libedit (20191231.3.1-r1) 09:27:00 (7/9) Installing openssh-client (8.4_p1-r3) 09:27:00 f706445af74f: Pull complete 09:27:00 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 09:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 09:27:00 ---> b068be0155e3 09:27:00 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:27:01 (8/9) Installing libzmq (4.3.3-r1) 09:27:01 (9/9) Installing zeromq-dev (4.3.3-r1) 09:27:01 Executing busybox-1.32.1-r6.trigger 09:27:01 OK: 144 MiB in 49 packages 09:27:02 Removing intermediate container 3937b11e786c 09:27:02 ---> ac38b53eb50f 09:27:02 Step 8/10 : WORKDIR /device-rest-go 09:27:02 ---> Running in 6fd26223789e 09:27:03 Removing intermediate container 6fd26223789e 09:27:03 ---> 3ddd40e89a58 09:27:03 Step 9/10 : COPY . . 09:27:04 ---> c11a1d8dab20 09:27:04 Step 10/10 : RUN go mod download 09:27:04 ---> Running in 086d85c2ad6f 09:27:05 ---> Running in 243f462b0849 09:27:05 Removing intermediate container 243f462b0849 09:27:05 ---> 078b74c232ac 09:27:05 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 09:27:05 ---> Running in 5ddb837c357b 09:27:05 Removing intermediate container 5ddb837c357b 09:27:05 ---> d1cb85da69ff 09:27:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:27:05 ---> Running in 7904093d3a65 09:27:05 Removing intermediate container 7904093d3a65 09:27:05 ---> 7b3abece89e8 09:27:05 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:27:05 ---> Running in c0c9fe0f5056 09:27:05 Removing intermediate container c0c9fe0f5056 09:27:05 ---> 94329dc39148 09:27:05 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:27:05 ---> Running in 458f07573996 09:27:06 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 09:27:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 09:27:07 (1/9) Installing libc-dev (0.7.2-r3) 09:27:07 (2/9) Installing libsodium (1.0.18-r0) 09:27:07 (3/9) Installing pkgconf (1.7.3-r0) 09:27:07 (4/9) Installing libsodium-dev (1.0.18-r0) 09:27:07 (5/9) Installing openssh-keygen (8.4_p1-r3) 09:27:07 (6/9) Installing libedit (20191231.3.1-r1) 09:27:07 (7/9) Installing openssh-client (8.4_p1-r3) 09:27:07 (8/9) Installing libzmq (4.3.3-r1) 09:27:07 (9/9) Installing zeromq-dev (4.3.3-r1) 09:27:08 Executing busybox-1.32.1-r6.trigger 09:27:08 OK: 154 MiB in 49 packages 09:27:08 Removing intermediate container 458f07573996 09:27:08 ---> ec9dc40ab13a 09:27:08 Step 8/10 : WORKDIR /device-rest-go 09:27:08 ---> Running in c8c7f5ed8df2 09:27:08 Removing intermediate container c8c7f5ed8df2 09:27:08 ---> b668863f47a2 09:27:08 Step 9/10 : COPY . . 09:27:09 ---> 4e709f5bb8fb 09:27:09 Step 10/10 : RUN go mod download 09:27:09 ---> Running in 0a3b113e2f89 09:27:21 Removing intermediate container 0a3b113e2f89 09:27:21 ---> 8fbf62f3aa83 09:27:21 Successfully built 8fbf62f3aa83 09:27:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:27:21 + docker inspect -f . ci-base-image-x86_64 09:27:21 . [Pipeline] withDockerContainer 09:27:21 prd-centos7-docker-4c-2g-4 does not seem to be running inside a container 09:27:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:27:22 $ docker top cf53804368172b385efcdb50824303e21b794f697c1c3fb7b3fbb490fafef9b2 -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:22 + go version 09:27:22 go version go1.16.3 linux/amd64 [Pipeline] } 09:27:22 $ docker stop --time=1 cf53804368172b385efcdb50824303e21b794f697c1c3fb7b3fbb490fafef9b2 09:27:23 $ docker rm -f cf53804368172b385efcdb50824303e21b794f697c1c3fb7b3fbb490fafef9b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:27:24 + docker inspect -f . ci-base-image-x86_64 09:27:24 . [Pipeline] withDockerContainer 09:27:24 prd-centos7-docker-4c-2g-4 does not seem to be running inside a container 09:27:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:27:24 $ docker top a553cd97dcdadd58679bbc6cc70b821637cee2da7f897be6f31ea175d9502afe -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:25 + go mod tidy [Pipeline] sh 09:27:25 + make test 09:27:25 go mod tidy 09:27:25 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:27:26 ? github.com/edgexfoundry/device-rest-go [no test files] 09:27:31 Removing intermediate container 086d85c2ad6f 09:27:31 ---> ffd6d2294aa0 09:27:31 Successfully built ffd6d2294aa0 09:27:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:27:31 + docker inspect -f . ci-base-image-arm64 09:27:31 . [Pipeline] withDockerContainer 09:27:31 prd-ubuntu18.04-docker-arm64-4c-16g-1202 does not seem to be running inside a container 09:27:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@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-arm64 cat 09:27:33 $ docker top e667085d9d01ffa545d1358e15b0ccef2cd0f384af2fd8ccc2c98895fa150323 -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:34 + go version 09:27:34 go version go1.16.3 linux/arm64 [Pipeline] } 09:27:34 $ docker stop --time=1 e667085d9d01ffa545d1358e15b0ccef2cd0f384af2fd8ccc2c98895fa150323 09:27:36 $ docker rm -f e667085d9d01ffa545d1358e15b0ccef2cd0f384af2fd8ccc2c98895fa150323 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:27:36 + docker inspect -f . ci-base-image-arm64 09:27:36 . [Pipeline] withDockerContainer 09:27:37 prd-ubuntu18.04-docker-arm64-4c-16g-1202 does not seem to be running inside a container 09:27:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@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-arm64 cat 09:27:38 $ docker top 03a93e9b01b5e124196c2d61601b222a536d883db78dabd78670baf8fa9b00d6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:39 + go mod tidy [Pipeline] sh 09:27:41 + make test 09:27:41 go mod tidy 09:27:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:27:41 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements 09:27:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:27:41 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:27:43 ? github.com/edgexfoundry/device-rest-go [no test files] 09:27:49 gofmt -l . 09:27:49 [ "`gofmt -l .`" = "" ] 09:27:49 ./bin/test-go-mod-tidy.sh 09:27:49 ./bin/test-attribution-txt.sh [Pipeline] } 09:27:49 $ docker stop --time=1 a553cd97dcdadd58679bbc6cc70b821637cee2da7f897be6f31ea175d9502afe 09:27:51 $ docker rm -f a553cd97dcdadd58679bbc6cc70b821637cee2da7f897be6f31ea175d9502afe [Pipeline] // withDockerContainer [Pipeline] sh 09:27:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:27:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:27:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:27:53 + ls -al . 09:27:53 total 104 09:27:53 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 9 09:27 . 09:27:53 drwxrwxr-x. 4 jenkins jenkins 30 Jun 9 09:26 .. 09:27:53 -rw-rw-r--. 1 jenkins jenkins 6792 Jun 9 09:26 Attribution.txt 09:27:53 drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 09:26 bin 09:27:53 drwxrwxr-x. 3 jenkins jenkins 32 Jun 9 09:26 cmd 09:27:53 -rw-r--r--. 1 jenkins jenkins 8513 Jun 9 09:27 coverage.out 09:27:53 -rw-rw-r--. 1 jenkins jenkins 1615 Jun 9 09:26 Dockerfile 09:27:53 -rw-rw-r--. 1 jenkins jenkins 1087 Jun 9 09:26 Dockerfile.build 09:27:53 -rw-rw-r--. 1 jenkins jenkins 151 Jun 9 09:26 .dockerignore 09:27:53 drwxrwxr-x. 2 jenkins jenkins 76 Jun 9 09:26 driver 09:27:53 drwxrwxr-x. 8 jenkins jenkins 162 Jun 9 09:26 .git 09:27:53 drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 09:26 .github 09:27:53 -rw-rw-r--. 1 jenkins jenkins 336 Jun 9 09:26 .gitignore 09:27:53 -rw-r--r--. 1 jenkins jenkins 285 Jun 9 09:27 go.mod 09:27:53 -rw-r--r--. 1 jenkins jenkins 20755 Jun 9 09:27 go.sum 09:27:53 -rw-rw-r--. 1 jenkins jenkins 680 Jun 9 09:26 Jenkinsfile 09:27:53 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 9 09:26 LICENSE 09:27:53 -rw-rw-r--. 1 jenkins jenkins 996 Jun 9 09:26 Makefile 09:27:53 -rw-rw-r--. 1 jenkins jenkins 7667 Jun 9 09:26 README.md 09:27:53 drwxrwxr-x. 4 jenkins jenkins 71 Jun 9 09:26 snap 09:27:53 -rw-rw-r--. 1 jenkins jenkins 12 Jun 9 09:25 VERSION 09:27:53 -rw-rw-r--. 1 jenkins jenkins 713 Jun 9 09:26 version.go [Pipeline] isUnix [Pipeline] sh 09:27:53 + 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=b32159014ae45265b13142f0741b8ad008d9ae08 --label arch=amd64 --label version=1.2.2-dev.17 . 09:27:53 Sending build context to Docker daemon 101.9kB 09:27:53 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 09:27:53 Step 2/25 : FROM ${BASE} AS builder 09:27:53 ---> 8fbf62f3aa83 09:27:53 Step 3/25 : ARG MAKE='make build' 09:27:53 ---> Running in 2af1367f4456 09:27:53 Removing intermediate container 2af1367f4456 09:27:53 ---> 1ba1152a960e 09:27:53 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:27:53 ---> Running in 75b028e499f9 09:27:53 Removing intermediate container 75b028e499f9 09:27:53 ---> e2cb77b613e3 09:27:53 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:27:53 ---> Running in 76dfe0d56dc3 09:27:53 Removing intermediate container 76dfe0d56dc3 09:27:53 ---> 5451af18aa25 09:27:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:27:53 ---> Running in ab60936c38bd 09:27:54 Removing intermediate container ab60936c38bd 09:27:54 ---> 2f229f67e7ce 09:27:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:27:54 ---> Running in 76d2b8a7985e 09:27:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 09:27:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 09:27:56 OK: 154 MiB in 49 packages 09:27:56 Removing intermediate container 76d2b8a7985e 09:27:56 ---> 34a2c663e0a0 09:27:56 Step 8/25 : WORKDIR /device-rest-go 09:27:56 ---> Running in e1308d58fc98 09:27:56 Removing intermediate container e1308d58fc98 09:27:56 ---> 8ef3e05ae7de 09:27:56 Step 9/25 : COPY . . 09:27:56 ---> d2ffec21dffc 09:27:56 Step 10/25 : RUN go mod tidy 09:27:56 ---> Running in 74bab37ebeea 09:27:57 Removing intermediate container 74bab37ebeea 09:27:57 ---> 383d0c2d39ce 09:27:57 Step 11/25 : RUN make update 09:27:57 ---> Running in 10dd3eab2437 09:27:57 CGO_ENABLED=0 GO111MODULE=on go mod download 09:27:57 Removing intermediate container 10dd3eab2437 09:27:57 ---> 67d684682123 09:27:57 Step 12/25 : RUN $MAKE 09:27:57 ---> Running in 6bd0ee8787f2 09:27:58 go mod tidy 09:27:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.17" -o cmd/device-rest ./cmd 09:28:10 Removing intermediate container 6bd0ee8787f2 09:28:10 ---> eddd5617f532 09:28:10 Step 13/25 : FROM alpine:3.12 09:28:10 3.12: Pulling from library/alpine 09:28:10 339de151aab4: Pulling fs layer 09:28:10 339de151aab4: Verifying Checksum 09:28:10 339de151aab4: Download complete 09:28:10 339de151aab4: Pull complete 09:28:10 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 09:28:10 Status: Downloaded newer image for alpine:3.12 09:28:10 ---> 13621d1b12d4 09:28:10 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:28:10 ---> Running in d5f48fc94fe1 09:28:10 Removing intermediate container d5f48fc94fe1 09:28:10 ---> 50ce45a75804 09:28:10 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 09:28:10 ---> Running in a3d07b70be88 09:28:10 Removing intermediate container a3d07b70be88 09:28:10 ---> 03d54e837c29 09:28:10 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 09:28:10 ---> Running in e72d89761618 09:28:10 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:28:10 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:28:11 (1/6) Installing dumb-init (1.2.2-r1) 09:28:11 (2/6) Installing libgcc (9.3.0-r2) 09:28:11 (3/6) Installing libsodium (1.0.18-r0) 09:28:11 (4/6) Installing libstdc++ (9.3.0-r2) 09:28:11 (5/6) Installing libzmq (4.3.3-r0) 09:28:11 (6/6) Installing zeromq (4.3.3-r0) 09:28:11 Executing busybox-1.31.1-r20.trigger 09:28:11 OK: 8 MiB in 20 packages 09:28:11 Removing intermediate container e72d89761618 09:28:11 ---> a66edcea82ee 09:28:11 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 09:28:12 ---> d51f7f73f92b 09:28:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 09:28:12 ---> 745639cf5581 09:28:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 09:28:12 ---> f1294ae71d78 09:28:12 Step 20/25 : EXPOSE 59986 09:28:12 ---> Running in 92d0480ec8cf 09:28:12 Removing intermediate container 92d0480ec8cf 09:28:12 ---> 89bcc9278de4 09:28:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 09:28:12 ---> Running in 71345313295c 09:28:12 Removing intermediate container 71345313295c 09:28:12 ---> 832c96f12461 09:28:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:28:12 ---> Running in d2f69c86f5d0 09:28:12 Removing intermediate container d2f69c86f5d0 09:28:12 ---> f797f87dfd88 09:28:12 Step 23/25 : LABEL arch=amd64 09:28:12 ---> Running in 22cb6b3f3782 09:28:12 Removing intermediate container 22cb6b3f3782 09:28:12 ---> 310eb2f341c5 09:28:12 Step 24/25 : LABEL git_sha=b32159014ae45265b13142f0741b8ad008d9ae08 09:28:12 ---> Running in 0168a01b1fc9 09:28:12 Removing intermediate container 0168a01b1fc9 09:28:12 ---> a77f2347140e 09:28:12 Step 25/25 : LABEL version=1.2.2-dev.17 09:28:12 ---> Running in 10e91739cb83 09:28:12 Removing intermediate container 10e91739cb83 09:28:12 ---> d9f20bc33952 09:28:12 [Warning] One or more build-args [ARCH] were not consumed 09:28:12 Successfully built d9f20bc33952 09:28:12 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:28:13 provisioning config files... 09:28:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config4363491957795008947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:13 ---> docker-login.sh 09:28:13 nexus3.edgexfoundry.org:10001 09:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:13 Configure a credential helper to remove this warning. See 09:28:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:13 09:28:13 Login Succeeded 09:28:13 nexus3.edgexfoundry.org:10002 09:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:13 Configure a credential helper to remove this warning. See 09:28:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:13 09:28:13 Login Succeeded 09:28:13 nexus3.edgexfoundry.org:10003 09:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:13 Configure a credential helper to remove this warning. See 09:28:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:13 09:28:13 Login Succeeded 09:28:13 nexus3.edgexfoundry.org:10004 09:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:13 Configure a credential helper to remove this warning. See 09:28:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:13 09:28:13 Login Succeeded 09:28:13 docker.io 09:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:14 Configure a credential helper to remove this warning. See 09:28:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:14 09:28:14 Login Succeeded 09:28:14 ---> docker-login.sh ends [Pipeline] } 09:28:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:28:14 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 09:28:14 b32159014ae45265b13142f0741b8ad008d9ae08 09:28:14 latest 09:28:14 1.2.2-dev.17 09:28:14 b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 09:28:14 master 09:28:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:28:14 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] isUnix [Pipeline] sh 09:28:14 + docker push nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08 09:28:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:28:14 eb3d20020f2c: Preparing 09:28:14 f840c261c4a6: Preparing 09:28:14 0de77e356083: Preparing 09:28:14 f010ecbf863d: Preparing 09:28:14 32f366d666a5: Preparing 09:28:14 32f366d666a5: Layer already exists 09:28:15 f840c261c4a6: Pushed 09:28:15 eb3d20020f2c: Pushed 09:28:15 f010ecbf863d: Pushed 09:28:16 0de77e356083: Pushed 09:28:16 b32159014ae45265b13142f0741b8ad008d9ae08: digest: sha256:a34aef8a954a9c4b94c1e1ed5ac83004abbfc1206ebfca88564ff9eef9b394a1 size: 1365 [Pipeline] isUnix [Pipeline] sh 09:28:16 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 09:28:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 09:28:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:28:17 eb3d20020f2c: Preparing 09:28:17 f840c261c4a6: Preparing 09:28:17 0de77e356083: Preparing 09:28:17 f010ecbf863d: Preparing 09:28:17 32f366d666a5: Preparing 09:28:17 0de77e356083: Layer already exists 09:28:17 32f366d666a5: Layer already exists 09:28:17 eb3d20020f2c: Layer already exists 09:28:17 f010ecbf863d: Layer already exists 09:28:17 f840c261c4a6: Layer already exists 09:28:17 latest: digest: sha256:a34aef8a954a9c4b94c1e1ed5ac83004abbfc1206ebfca88564ff9eef9b394a1 size: 1365 [Pipeline] isUnix [Pipeline] sh 09:28:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.17 [Pipeline] isUnix [Pipeline] sh 09:28:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.17 09:28:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:28:17 eb3d20020f2c: Preparing 09:28:17 f840c261c4a6: Preparing 09:28:17 0de77e356083: Preparing 09:28:17 f010ecbf863d: Preparing 09:28:17 32f366d666a5: Preparing 09:28:17 f840c261c4a6: Layer already exists 09:28:17 0de77e356083: Layer already exists 09:28:17 f010ecbf863d: Layer already exists 09:28:17 32f366d666a5: Layer already exists 09:28:17 eb3d20020f2c: Layer already exists 09:28:17 1.2.2-dev.17: digest: sha256:a34aef8a954a9c4b94c1e1ed5ac83004abbfc1206ebfca88564ff9eef9b394a1 size: 1365 [Pipeline] isUnix [Pipeline] sh 09:28:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 [Pipeline] isUnix [Pipeline] sh 09:28:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 09:28:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:28:18 eb3d20020f2c: Preparing 09:28:18 f840c261c4a6: Preparing 09:28:18 0de77e356083: Preparing 09:28:18 f010ecbf863d: Preparing 09:28:18 32f366d666a5: Preparing 09:28:18 eb3d20020f2c: Layer already exists 09:28:18 0de77e356083: Layer already exists 09:28:18 32f366d666a5: Layer already exists 09:28:18 f010ecbf863d: Layer already exists 09:28:18 f840c261c4a6: Layer already exists 09:28:18 b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17: digest: sha256:a34aef8a954a9c4b94c1e1ed5ac83004abbfc1206ebfca88564ff9eef9b394a1 size: 1365 [Pipeline] isUnix [Pipeline] sh 09:28:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 09:28:19 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 09:28:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 09:28:19 eb3d20020f2c: Preparing 09:28:19 f840c261c4a6: Preparing 09:28:19 0de77e356083: Preparing 09:28:19 f010ecbf863d: Preparing 09:28:19 32f366d666a5: Preparing 09:28:19 32f366d666a5: Layer already exists 09:28:19 eb3d20020f2c: Layer already exists 09:28:19 f840c261c4a6: Layer already exists 09:28:19 0de77e356083: Layer already exists 09:28:19 f010ecbf863d: Layer already exists 09:28:19 master: digest: sha256:a34aef8a954a9c4b94c1e1ed5ac83004abbfc1206ebfca88564ff9eef9b394a1 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:28:19 ===================================================== [Pipeline] echo 09:28:19 taggedImages: 09:28:19 - nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08 09:28:19 - nexus3.edgexfoundry.org:10004/device-rest:latest 09:28:19 - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.17 09:28:19 - nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 09:28:19 - nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:28:20 ---> job-cost.sh 09:28:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-v2qC 09:28:28 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:28:39 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:28:39 ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements 09:28:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:28:43 lf-activate-venv(): INFO: Adding /tmp/venv-v2qC/bin to PATH 09:28:43 INFO: No Stack... 09:28:43 INFO: Retrieving Pricing Info for: v3-standard-2 09:28:43 INFO: Archiving Costs [Pipeline] sh 09:28:43 + cat /w/workspace/device-rest-go/51/archives/cost.csv 09:28:43 + cut -d, -f6 [Pipeline] lock 09:28:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] 09:28:43 Resource [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] did not exist. Created. 09:28:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:28:44 + echo total: 0.05999999865889549 [Pipeline] stash 09:28:44 Stashed 1 file(s) [Pipeline] } 09:28:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:29:02 gofmt -l . 09:29:02 [ "`gofmt -l .`" = "" ] 09:29:02 ./bin/test-go-mod-tidy.sh 09:29:02 ./bin/test-attribution-txt.sh [Pipeline] } 09:29:03 $ docker stop --time=1 03a93e9b01b5e124196c2d61601b222a536d883db78dabd78670baf8fa9b00d6 09:29:05 $ docker rm -f 03a93e9b01b5e124196c2d61601b222a536d883db78dabd78670baf8fa9b00d6 [Pipeline] // withDockerContainer [Pipeline] sh 09:29:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:29:06 Warning: overwriting stash ‘coverage-report’ 09:29:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:29:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:29:07 + ls -al . 09:29:07 total 132 09:29:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 09:29 . 09:29:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 09:26 .. 09:29:07 -rw-rw-r-- 1 jenkins jenkins 151 Jun 9 09:26 .dockerignore 09:29:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 09:26 .git 09:29:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 09:26 .github 09:29:07 -rw-rw-r-- 1 jenkins jenkins 336 Jun 9 09:26 .gitignore 09:29:07 -rw-rw-r-- 1 jenkins jenkins 6792 Jun 9 09:26 Attribution.txt 09:29:07 -rw-rw-r-- 1 jenkins jenkins 1615 Jun 9 09:26 Dockerfile 09:29:07 -rw-rw-r-- 1 jenkins jenkins 1087 Jun 9 09:26 Dockerfile.build 09:29:07 -rw-rw-r-- 1 jenkins jenkins 680 Jun 9 09:26 Jenkinsfile 09:29:07 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 9 09:26 LICENSE 09:29:07 -rw-rw-r-- 1 jenkins jenkins 996 Jun 9 09:26 Makefile 09:29:07 -rw-rw-r-- 1 jenkins jenkins 7667 Jun 9 09:26 README.md 09:29:07 -rw-rw-r-- 1 jenkins jenkins 12 Jun 9 09:25 VERSION 09:29:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 09:26 bin 09:29:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 09:26 cmd 09:29:07 -rw-r--r-- 1 jenkins jenkins 8513 Jun 9 09:28 coverage.out 09:29:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 09:26 driver 09:29:07 -rw-r--r-- 1 jenkins jenkins 285 Jun 9 09:29 go.mod 09:29:07 -rw-r--r-- 1 jenkins jenkins 20755 Jun 9 09:27 go.sum 09:29:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 09:26 snap 09:29:07 -rw-rw-r-- 1 jenkins jenkins 713 Jun 9 09:26 version.go [Pipeline] isUnix [Pipeline] sh 09:29:07 + 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=b32159014ae45265b13142f0741b8ad008d9ae08 --label arch=arm64 --label version=1.2.2-dev.17 . 09:29:07 Sending build context to Docker daemon 101.9kB 09:29:08 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 09:29:08 Step 2/25 : FROM ${BASE} AS builder 09:29:08 ---> ffd6d2294aa0 09:29:08 Step 3/25 : ARG MAKE='make build' 09:29:08 ---> Running in 0956d18c0800 09:29:08 Removing intermediate container 0956d18c0800 09:29:08 ---> c70ebd08b379 09:29:08 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:29:08 ---> Running in 847ade013ae1 09:29:09 Removing intermediate container 847ade013ae1 09:29:09 ---> 1f0b01b69b4b 09:29:09 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:29:09 ---> Running in 7c4ab0dd00ac 09:29:10 Removing intermediate container 7c4ab0dd00ac 09:29:10 ---> 27d52995ce0e 09:29:10 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:29:10 ---> Running in f8d869ab2986 09:29:12 Removing intermediate container f8d869ab2986 09:29:12 ---> 2bb84e93c572 09:29:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:29:12 ---> Running in 7f3d9783b1c9 09:29:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 09:29:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 09:29:15 OK: 144 MiB in 49 packages 09:29:16 Removing intermediate container 7f3d9783b1c9 09:29:16 ---> e231a33c812f 09:29:16 Step 8/25 : WORKDIR /device-rest-go 09:29:16 ---> Running in 9b3409db92d3 09:29:16 Removing intermediate container 9b3409db92d3 09:29:16 ---> d4768e80bf86 09:29:16 Step 9/25 : COPY . . 09:29:17 ---> f9e5e8d5da5f 09:29:17 Step 10/25 : RUN go mod tidy 09:29:17 ---> Running in f6afd95e1276 09:29:20 Removing intermediate container f6afd95e1276 09:29:20 ---> 4b142b7eb3ae 09:29:20 Step 11/25 : RUN make update 09:29:20 ---> Running in ed4a4cb03a63 09:29:21 CGO_ENABLED=0 GO111MODULE=on go mod download 09:29:22 Removing intermediate container ed4a4cb03a63 09:29:22 ---> e3c6ad80c20e 09:29:22 Step 12/25 : RUN $MAKE 09:29:22 ---> Running in 1ce92c568363 09:29:23 go mod tidy 09:29:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.17" -o cmd/device-rest ./cmd 09:30:03 Removing intermediate container 1ce92c568363 09:30:03 ---> 72560957dcc8 09:30:03 Step 13/25 : FROM alpine:3.12 09:30:03 3.12: Pulling from library/alpine 09:30:03 d2f70382dc9a: Pulling fs layer 09:30:03 d2f70382dc9a: Verifying Checksum 09:30:03 d2f70382dc9a: Download complete 09:30:03 d2f70382dc9a: Pull complete 09:30:03 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 09:30:03 Status: Downloaded newer image for alpine:3.12 09:30:03 ---> 9852663dfa18 09:30:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:30:03 ---> Running in 70e57dae1c62 09:30:03 Removing intermediate container 70e57dae1c62 09:30:03 ---> facddfd09c96 09:30:03 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 09:30:03 ---> Running in 9d1a00d2113b 09:30:03 Removing intermediate container 9d1a00d2113b 09:30:03 ---> 675e9220a42f 09:30:03 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 09:30:03 ---> Running in 688d6e8d5c94 09:30:03 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:30:03 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:30:04 (1/6) Installing dumb-init (1.2.2-r1) 09:30:04 (2/6) Installing libgcc (9.3.0-r2) 09:30:04 (3/6) Installing libsodium (1.0.18-r0) 09:30:04 (4/6) Installing libstdc++ (9.3.0-r2) 09:30:04 (5/6) Installing libzmq (4.3.3-r0) 09:30:04 (6/6) Installing zeromq (4.3.3-r0) 09:30:04 Executing busybox-1.31.1-r20.trigger 09:30:04 OK: 8 MiB in 20 packages 09:30:05 Removing intermediate container 688d6e8d5c94 09:30:05 ---> 6cfb25e111a8 09:30:05 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 09:30:06 ---> af3f3ff9c25d 09:30:06 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 09:30:07 ---> aa374a8c2c84 09:30:07 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 09:30:08 ---> 5cc41fa6ff2f 09:30:08 Step 20/25 : EXPOSE 59986 09:30:08 ---> Running in 90a511583e2e 09:30:08 Removing intermediate container 90a511583e2e 09:30:08 ---> f2608d130493 09:30:08 Step 21/25 : ENTRYPOINT ["/device-rest"] 09:30:08 ---> Running in 0d8ceca14ad7 09:30:09 Removing intermediate container 0d8ceca14ad7 09:30:09 ---> 751801664d18 09:30:09 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:30:09 ---> Running in 28ec00c4aaed 09:30:10 Removing intermediate container 28ec00c4aaed 09:30:10 ---> 9975d7dc004d 09:30:10 Step 23/25 : LABEL arch=arm64 09:30:10 ---> Running in 3e4673945099 09:30:10 Removing intermediate container 3e4673945099 09:30:10 ---> 9a05ba119612 09:30:10 Step 24/25 : LABEL git_sha=b32159014ae45265b13142f0741b8ad008d9ae08 09:30:10 ---> Running in a45f2b979560 09:30:11 Removing intermediate container a45f2b979560 09:30:11 ---> 268f3e03d8f6 09:30:11 Step 25/25 : LABEL version=1.2.2-dev.17 09:30:11 ---> Running in 7392fb88d5b6 09:30:11 Removing intermediate container 7392fb88d5b6 09:30:11 ---> d344c7b7cdcc 09:30:11 [Warning] One or more build-args [ARCH] were not consumed 09:30:11 Successfully built d344c7b7cdcc 09:30:11 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 09:30:12 provisioning config files... 09:30:12 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config476778444290774699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:12 ---> docker-login.sh 09:30:12 nexus3.edgexfoundry.org:10001 09:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:12 Configure a credential helper to remove this warning. See 09:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:12 09:30:12 Login Succeeded 09:30:13 nexus3.edgexfoundry.org:10002 09:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:13 Configure a credential helper to remove this warning. See 09:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:13 09:30:13 Login Succeeded 09:30:13 nexus3.edgexfoundry.org:10003 09:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:13 Configure a credential helper to remove this warning. See 09:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:13 09:30:13 Login Succeeded 09:30:13 nexus3.edgexfoundry.org:10004 09:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:14 Configure a credential helper to remove this warning. See 09:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:14 09:30:14 Login Succeeded 09:30:14 docker.io 09:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:15 Configure a credential helper to remove this warning. See 09:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:15 09:30:15 Login Succeeded 09:30:15 ---> docker-login.sh ends [Pipeline] } 09:30:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:30:15 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 09:30:15 b32159014ae45265b13142f0741b8ad008d9ae08 09:30:15 latest 09:30:15 1.2.2-dev.17 09:30:15 b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 09:30:15 master 09:30:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:30:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] isUnix [Pipeline] sh 09:30:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08 09:30:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:30:16 60382c0500c8: Preparing 09:30:16 5c8ae436e84a: Preparing 09:30:16 7e90211cbd47: Preparing 09:30:16 f8636a7a165e: Preparing 09:30:16 3fbe34a1663b: Preparing 09:30:16 3fbe34a1663b: Layer already exists 09:30:16 5c8ae436e84a: Pushed 09:30:16 60382c0500c8: Pushed 09:30:17 f8636a7a165e: Pushed 09:30:19 7e90211cbd47: Pushed 09:30:19 b32159014ae45265b13142f0741b8ad008d9ae08: digest: sha256:5e2e3a549cb34508784cd18d9d7131ba5025b392e00c173d4957c3ae4ee2f796 size: 1365 [Pipeline] isUnix [Pipeline] sh 09:30:19 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:30:20 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:30:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:30:20 60382c0500c8: Preparing 09:30:20 5c8ae436e84a: Preparing 09:30:20 7e90211cbd47: Preparing 09:30:20 f8636a7a165e: Preparing 09:30:20 3fbe34a1663b: Preparing 09:30:20 60382c0500c8: Layer already exists 09:30:20 3fbe34a1663b: Layer already exists 09:30:20 7e90211cbd47: Layer already exists 09:30:20 f8636a7a165e: Layer already exists 09:30:20 5c8ae436e84a: Layer already exists 09:30:20 latest: digest: sha256:5e2e3a549cb34508784cd18d9d7131ba5025b392e00c173d4957c3ae4ee2f796 size: 1365 [Pipeline] isUnix [Pipeline] sh 09:30:20 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.17 [Pipeline] isUnix [Pipeline] sh 09:30:20 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.17 09:30:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:30:20 60382c0500c8: Preparing 09:30:20 5c8ae436e84a: Preparing 09:30:20 7e90211cbd47: Preparing 09:30:20 f8636a7a165e: Preparing 09:30:20 3fbe34a1663b: Preparing 09:30:20 5c8ae436e84a: Layer already exists 09:30:20 60382c0500c8: Layer already exists 09:30:20 7e90211cbd47: Layer already exists 09:30:20 f8636a7a165e: Layer already exists 09:30:20 3fbe34a1663b: Layer already exists 09:30:21 1.2.2-dev.17: digest: sha256:5e2e3a549cb34508784cd18d9d7131ba5025b392e00c173d4957c3ae4ee2f796 size: 1365 [Pipeline] isUnix [Pipeline] sh 09:30:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 [Pipeline] isUnix [Pipeline] sh 09:30:21 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 09:30:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:30:21 60382c0500c8: Preparing 09:30:21 5c8ae436e84a: Preparing 09:30:21 7e90211cbd47: Preparing 09:30:21 f8636a7a165e: Preparing 09:30:21 3fbe34a1663b: Preparing 09:30:21 5c8ae436e84a: Layer already exists 09:30:21 60382c0500c8: Layer already exists 09:30:21 3fbe34a1663b: Layer already exists 09:30:21 7e90211cbd47: Layer already exists 09:30:21 f8636a7a165e: Layer already exists 09:30:22 b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17: digest: sha256:5e2e3a549cb34508784cd18d9d7131ba5025b392e00c173d4957c3ae4ee2f796 size: 1365 [Pipeline] isUnix [Pipeline] sh 09:30:22 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 09:30:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 09:30:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:30:22 60382c0500c8: Preparing 09:30:22 5c8ae436e84a: Preparing 09:30:22 7e90211cbd47: Preparing 09:30:22 f8636a7a165e: Preparing 09:30:22 3fbe34a1663b: Preparing 09:30:22 3fbe34a1663b: Layer already exists 09:30:22 f8636a7a165e: Layer already exists 09:30:22 5c8ae436e84a: Layer already exists 09:30:22 7e90211cbd47: Layer already exists 09:30:22 60382c0500c8: Layer already exists 09:30:23 master: digest: sha256:5e2e3a549cb34508784cd18d9d7131ba5025b392e00c173d4957c3ae4ee2f796 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:30:23 ===================================================== [Pipeline] echo 09:30:23 taggedImages: 09:30:23 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08 09:30:23 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:30:23 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.17 09:30:23 - nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 09:30:23 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:30:23 ---> job-cost.sh 09:30:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-m3q7 09:31:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:32:24 lf-activate-venv(): INFO: Adding /tmp/venv-m3q7/bin to PATH 09:32:24 INFO: No Stack... 09:32:24 INFO: Retrieving Pricing Info for: v2-standard-4 09:32:25 INFO: Archiving Costs [Pipeline] sh 09:32:25 + cat /w/workspace/device-rest-go/51/archives/cost.csv 09:32:25 + cut -d, -f6 [Pipeline] lock 09:32:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] 09:32:25 Resource [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] did not exist. Created. 09:32:25 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:32:26 /w/workspace/device-rest-go/51@tmp/durable-4e36e7f0/script.sh: 1: /w/workspace/device-rest-go/51@tmp/durable-4e36e7f0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:32:26 + echo total: 0.36000001430511475 [Pipeline] stash 09:32:26 Warning: overwriting stash ‘stack-cost’ 09:32:26 Stashed 1 file(s) [Pipeline] } 09:32:26 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-51-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 09:32:27 provisioning config files... 09:32:27 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7082120196357473564tmp [Pipeline] { [Pipeline] sh 09:32:27 + set +x 09:32:27 + curl -s https://codecov.io/bash 09:32:27 + bash -s -- 09:32:27 09:32:27 _____ _ 09:32:27 / ____| | | 09:32:27 | | ___ __| | ___ ___ _____ __ 09:32:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:32:27 | |___| (_) | (_| | __/ (_| (_) \ V / 09:32:27 \_____\___/ \__,_|\___|\___\___/ \_/ 09:32:27 Bash-1.0.3 09:32:27 09:32:27 09:32:27 ==> git version 2.24.4 found 09:32:27 ==> 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 09:32:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:32:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:32:27 ==> Jenkins CI detected. 09:32:27 project root: . 09:32:27 --> token set from env 09:32:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:32:27 ==> Running gcov in . (disable via -X gcov) 09:32:27 ==> Python coveragepy not found 09:32:27 ==> Searching for coverage reports in: 09:32:27 + . 09:32:28 -> Found 1 reports 09:32:28 ==> Detecting git/mercurial file structure 09:32:28 ==> Reading reports 09:32:28 + ./coverage.out bytes=8513 09:32:28 ==> Appending adjustments 09:32:28 https://docs.codecov.io/docs/fixing-reports 09:32:28 + Found adjustments 09:32:28 ==> Gzipping contents 09:32:28 4.0K /tmp/codecov.3x5GyH.gz 09:32:28 ==> Uploading reports 09:32:28 url: https://codecov.io 09:32:28 query: branch=master&commit=b32159014ae45265b13142f0741b8ad008d9ae08&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:32:28 -> Pinging Codecov 09:32:28 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=b32159014ae45265b13142f0741b8ad008d9ae08&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:32:28 -> Uploading to 09:32:28 https://storage.googleapis.com/codecov/v4/raw/2021-06-09/4E5D53B4F1F92C436F7061BF334D961C/b32159014ae45265b13142f0741b8ad008d9ae08/c0543d39-3de9-42aa-88cc-db5de7005e1f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T093228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8c2cf92f15e44cd8159294fb439361868cbc9cf0ddaf1f34ea66602a97bd6c1e 09:32:28 % Total % Received % Xferd Average Speed Time Time Time Current 09:32:28 Dload Upload Total Spent Left Speed 09:32:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3722 --:--:-- --:--:-- --:--:-- 3729 09:32:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] } 09:32:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:32:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:32:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:32:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:32:29 09:32:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 09:32:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:32:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:32:30 188c0c94c7c5: Pulling fs layer 09:32:30 0ef7d3d256c8: Pulling fs layer 09:32:30 de9db76c5a1d: Pulling fs layer 09:32:30 0eba1c9be4d2: Pulling fs layer 09:32:30 0d57e429df01: Pulling fs layer 09:32:30 4e4be7b47b0d: Pulling fs layer 09:32:30 e1f770b5df2f: Pulling fs layer 09:32:30 85a0685a4137: Pulling fs layer 09:32:30 0eba1c9be4d2: Waiting 09:32:30 0d57e429df01: Waiting 09:32:30 4e4be7b47b0d: Waiting 09:32:30 e1f770b5df2f: Waiting 09:32:30 85a0685a4137: Waiting 09:32:30 de9db76c5a1d: Verifying Checksum 09:32:30 de9db76c5a1d: Download complete 09:32:30 0ef7d3d256c8: Verifying Checksum 09:32:30 0ef7d3d256c8: Download complete 09:32:30 0d57e429df01: Verifying Checksum 09:32:30 0d57e429df01: Download complete 09:32:30 4e4be7b47b0d: Verifying Checksum 09:32:30 4e4be7b47b0d: Download complete 09:32:30 188c0c94c7c5: Verifying Checksum 09:32:30 188c0c94c7c5: Download complete 09:32:30 188c0c94c7c5: Pull complete 09:32:30 0ef7d3d256c8: Pull complete 09:32:30 de9db76c5a1d: Pull complete 09:32:31 e1f770b5df2f: Verifying Checksum 09:32:31 e1f770b5df2f: Download complete 09:32:33 0eba1c9be4d2: Verifying Checksum 09:32:33 0eba1c9be4d2: Download complete 09:32:33 85a0685a4137: Verifying Checksum 09:32:33 85a0685a4137: Download complete 09:32:36 0eba1c9be4d2: Pull complete 09:32:36 0d57e429df01: Pull complete 09:32:36 4e4be7b47b0d: Pull complete 09:32:37 e1f770b5df2f: Pull complete 09:32:41 85a0685a4137: Pull complete 09:32:41 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 09:32:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:32:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 09:32:41 prd-centos7-docker-4c-2g-0 does not seem to be running inside a container 09:32:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:32:45 $ docker top 411494ec133efd08d3b78c16744d60d561f7a09cf06dc9bc0e8b1fb9bcc20d2b -eo pid,comm [Pipeline] { [Pipeline] echo 09:32:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 09:32:45 + set -o pipefail 09:32:45 + snyk monitor '--org=edgex-jenkins' 09:32:50 09:32:50 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 09:32:50 09:32:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/885357cf-4903-45e5-bf97-1450bb0e4f91 09:32:50 09:32:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:32:50 09:32:50 [Pipeline] } 09:32:50 $ docker stop --time=1 411494ec133efd08d3b78c16744d60d561f7a09cf06dc9bc0e8b1fb9bcc20d2b 09:32:53 $ docker rm -f 411494ec133efd08d3b78c16744d60d561f7a09cf06dc9bc0e8b1fb9bcc20d2b [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 09:32:54 + git log --format=format:%s -1 b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] isUnix [Pipeline] sh 09:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:32:54 . [Pipeline] withDockerContainer 09:32:54 prd-centos7-docker-4c-2g-0 does not seem to be running inside a container 09:32:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:32:55 $ docker top 3f9ac5ba5d33e5a0ebfbaaafb7b30556229ae7afd29c6a9cc649fc175faa689a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:32:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:32:55 [ssh-agent] Looking for ssh-agent implementation... 09:32:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:32:55 $ docker exec 3f9ac5ba5d33e5a0ebfbaaafb7b30556229ae7afd29c6a9cc649fc175faa689a ssh-agent 09:32:55 SSH_AUTH_SOCK=/tmp/ssh-H3fXQGcZxuLN/agent.13 09:32:55 SSH_AGENT_PID=19 09:32:55 Running ssh-add (command line suppressed) 09:32:55 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5528576216302079768.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5528576216302079768.key) 09:32:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:32:55 + git semver tag 09:32:55 # -> Open(): unable to determine branch for HEAD 09:32:55 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 09:32:55 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 09:32:55 # $SEMVER_REMOTE_NAME = origin 09:32:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:32:55 # $SEMVER_USER_NAME = edgex-jenkins 09:32:55 # $SEMVER_BRANCH = master 09:32:55 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 09:32:55 # b32159014ae45265b13142f0741b8ad008d9ae08 HEAD 09:32:55 # -> Force: false 09:32:55 # 3e1303ed8550f768f66af14c1887f14fab907639 refs/tags/v1.2.2-dev.17 [Pipeline] } 09:32:55 $ docker exec --env ******** --env ******** 3f9ac5ba5d33e5a0ebfbaaafb7b30556229ae7afd29c6a9cc649fc175faa689a ssh-agent -k 09:32:56 unset SSH_AUTH_SOCK; 09:32:56 unset SSH_AGENT_PID; 09:32:56 echo Agent pid 19 killed; 09:32:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:32:56 + git semver [Pipeline] } 09:32:56 $ docker stop --time=1 3f9ac5ba5d33e5a0ebfbaaafb7b30556229ae7afd29c6a9cc649fc175faa689a 09:32:57 $ docker rm -f 3f9ac5ba5d33e5a0ebfbaaafb7b30556229ae7afd29c6a9cc649fc175faa689a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:32:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:32:58 09:32:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:32:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:32:58 0.23.1-centos7: Pulling from edgex-lftools 09:32:58 ab5ef0e58194: Pulling fs layer 09:32:58 9712f1f96733: Pulling fs layer 09:32:58 63f879dbbcfc: Pulling fs layer 09:32:58 0d9ebad4ef96: Pulling fs layer 09:32:58 e9a5061849ea: Pulling fs layer 09:32:58 d747dcd14b5f: Pulling fs layer 09:32:58 2de7ff778b66: Pulling fs layer 09:32:58 0d9ebad4ef96: Waiting 09:32:58 e9a5061849ea: Waiting 09:32:58 d747dcd14b5f: Waiting 09:32:58 2de7ff778b66: Waiting 09:32:58 9712f1f96733: Verifying Checksum 09:32:58 9712f1f96733: Download complete 09:33:00 63f879dbbcfc: Verifying Checksum 09:33:00 63f879dbbcfc: Download complete 09:33:00 e9a5061849ea: Verifying Checksum 09:33:00 e9a5061849ea: Download complete 09:33:00 d747dcd14b5f: Verifying Checksum 09:33:00 d747dcd14b5f: Download complete 09:33:00 2de7ff778b66: Verifying Checksum 09:33:00 2de7ff778b66: Download complete 09:33:01 0d9ebad4ef96: Verifying Checksum 09:33:01 0d9ebad4ef96: Download complete 09:33:01 ab5ef0e58194: Verifying Checksum 09:33:01 ab5ef0e58194: Download complete 09:33:04 ab5ef0e58194: Pull complete 09:33:04 9712f1f96733: Pull complete 09:33:05 63f879dbbcfc: Pull complete 09:33:09 0d9ebad4ef96: Pull complete 09:33:09 e9a5061849ea: Pull complete 09:33:09 d747dcd14b5f: Pull complete 09:33:10 2de7ff778b66: Pull complete 09:33:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:33:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:33:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:33:10 prd-centos7-docker-4c-2g-0 does not seem to be running inside a container 09:33:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:33:16 $ docker top 354ba877590fbad7adb1e90b0560af91bebb337828e3a8b82d5f53ce9d104147 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:33:16 provisioning config files... 09:33:16 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5532655457444586243tmp 09:33:16 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4369294236212926236tmp 09:33:16 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3031684872442014394tmp [Pipeline] { [Pipeline] echo 09:33:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:33:16 ---> sigul-configuration.sh 09:33:16 gpg: directory `/root/.gnupg' created 09:33:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:33:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:33:16 gpg: keyring `/root/.gnupg/secring.gpg' created 09:33:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:33:16 gpg: CAST5 encrypted data 09:33:16 gpg: encrypted with 1 passphrase 09:33:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:33:17 + mkdir /home/jenkins 09:33:17 + mkdir /home/jenkins/sigul [Pipeline] sh 09:33:17 + 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 09:33:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:33:17 ---> sigul-install.sh 09:33:22 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 09:33:23 + git tag --list 09:33:23 v1.0.0 09:33:23 v1.1.0 09:33:23 v1.1.1 09:33:23 v1.1.2 09:33:23 v1.2.0 09:33:23 v1.2.1 09:33:23 v1.2.1-dev.1 09:33:23 v1.2.1-dev.2 09:33:23 v1.2.1-dev.3 09:33:23 v1.2.1-dev.4 09:33:23 v1.2.2-dev.1 09:33:23 v1.2.2-dev.10 09:33:23 v1.2.2-dev.11 09:33:23 v1.2.2-dev.12 09:33:23 v1.2.2-dev.13 09:33:23 v1.2.2-dev.14 09:33:23 v1.2.2-dev.15 09:33:23 v1.2.2-dev.16 09:33:23 v1.2.2-dev.17 09:33:23 v1.2.2-dev.2 09:33:23 v1.2.2-dev.3 09:33:23 v1.2.2-dev.4 09:33:23 v1.2.2-dev.5 09:33:23 v1.2.2-dev.6 09:33:23 v1.2.2-dev.7 09:33:23 v1.2.2-dev.8 09:33:23 v1.2.2-dev.9 [Pipeline] sh 09:33:23 + lftools sign git-tag v1.2.2-dev.17 09:33:24 Signing Git tag with Sigul... 09:33:24 Signing v1.2.2-dev.17 [Pipeline] echo 09:33:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:33:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:33:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:33:25 $ docker stop --time=1 354ba877590fbad7adb1e90b0560af91bebb337828e3a8b82d5f53ce9d104147 09:33:27 $ docker rm -f 354ba877590fbad7adb1e90b0560af91bebb337828e3a8b82d5f53ce9d104147 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 09:33:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:33:27 . [Pipeline] withDockerContainer 09:33:27 prd-centos7-docker-4c-2g-0 does not seem to be running inside a container 09:33:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:33:28 $ docker top 982eeea7355dbb04239eb7a18f21599b9849f566f45cf3c64933bce763d5945e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:28 [ssh-agent] Looking for ssh-agent implementation... 09:33:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:28 $ docker exec 982eeea7355dbb04239eb7a18f21599b9849f566f45cf3c64933bce763d5945e ssh-agent 09:33:28 SSH_AUTH_SOCK=/tmp/ssh-PZNMTBfV0Yro/agent.14 09:33:28 SSH_AGENT_PID=20 09:33:28 Running ssh-add (command line suppressed) 09:33:28 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3811145323481581466.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3811145323481581466.key) 09:33:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:29 + git semver bump pre 09:33:29 # -> Open(): unable to determine branch for HEAD 09:33:29 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 09:33:29 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 09:33:29 # $SEMVER_REMOTE_NAME = origin 09:33:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:33:29 # $SEMVER_USER_NAME = edgex-jenkins 09:33:29 # $SEMVER_BRANCH = master 09:33:29 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 09:33:29 1.2.2-dev.18 [Pipeline] } 09:33:29 $ docker exec --env ******** --env ******** 982eeea7355dbb04239eb7a18f21599b9849f566f45cf3c64933bce763d5945e ssh-agent -k 09:33:29 unset SSH_AUTH_SOCK; 09:33:29 unset SSH_AGENT_PID; 09:33:29 echo Agent pid 20 killed; 09:33:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:30 + git semver [Pipeline] } 09:33:30 $ docker stop --time=1 982eeea7355dbb04239eb7a18f21599b9849f566f45cf3c64933bce763d5945e 09:33:31 $ docker rm -f 982eeea7355dbb04239eb7a18f21599b9849f566f45cf3c64933bce763d5945e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:33:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:33:31 . [Pipeline] withDockerContainer 09:33:31 prd-centos7-docker-4c-2g-0 does not seem to be running inside a container 09:33:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:33:32 $ docker top b99aa53921b97d7ad312c70e671c4f6b98f2dffd87d705cde7384a4577cd3578 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:32 [ssh-agent] Looking for ssh-agent implementation... 09:33:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:32 $ docker exec b99aa53921b97d7ad312c70e671c4f6b98f2dffd87d705cde7384a4577cd3578 ssh-agent 09:33:32 SSH_AUTH_SOCK=/tmp/ssh-PxoLZEDWXid6/agent.14 09:33:32 SSH_AGENT_PID=20 09:33:32 Running ssh-add (command line suppressed) 09:33:32 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8295769007075356350.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8295769007075356350.key) 09:33:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:33 + git semver push 09:33:33 # -> Open(): unable to determine branch for HEAD 09:33:33 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 09:33:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 09:33:33 # $SEMVER_REMOTE_NAME = origin 09:33:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:33:33 # $SEMVER_USER_NAME = edgex-jenkins 09:33:33 # $SEMVER_BRANCH = master 09:33:33 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 09:33:38 $ docker exec --env ******** --env ******** b99aa53921b97d7ad312c70e671c4f6b98f2dffd87d705cde7384a4577cd3578 ssh-agent -k 09:33:38 unset SSH_AUTH_SOCK; 09:33:38 unset SSH_AGENT_PID; 09:33:38 echo Agent pid 20 killed; 09:33:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:39 + git semver [Pipeline] } 09:33:39 $ docker stop --time=1 b99aa53921b97d7ad312c70e671c4f6b98f2dffd87d705cde7384a4577cd3578 09:33:40 $ docker rm -f b99aa53921b97d7ad312c70e671c4f6b98f2dffd87d705cde7384a4577cd3578 [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 09:33:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:33:42 ---> package-listing.sh 09:33:42 ++ facter osfamily 09:33:42 ++ tr '[:upper:]' '[:lower:]' 09:33:42 + OS_FAMILY=redhat 09:33:42 + workspace=/w/workspace/gexfoundry_device-rest-go_master 09:33:42 + START_PACKAGES=/tmp/packages_start.txt 09:33:42 + END_PACKAGES=/tmp/packages_end.txt 09:33:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:33:42 + PACKAGES=/tmp/packages_start.txt 09:33:42 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 09:33:42 + PACKAGES=/tmp/packages_end.txt 09:33:42 + case "${OS_FAMILY}" in 09:33:42 + rpm -qa 09:33:42 + sort 09:33:43 + '[' -f /tmp/packages_start.txt ']' 09:33:43 + '[' -f /tmp/packages_end.txt ']' 09:33:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:33:43 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 09:33:43 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 09:33:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 09:33:43 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 09:33:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:33:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:33:44 09:33:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:33:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:33:44 alpine: Pulling from edgex-lftools-log-publisher 09:33:44 df20fa9351a1: Pulling fs layer 09:33:44 36b3adc4ff6f: Pulling fs layer 09:33:44 8ad3a11d3b57: Pulling fs layer 09:33:44 46f8f816bc3b: Pulling fs layer 09:33:44 93b61091891f: Pulling fs layer 09:33:44 93b9cdb0e59b: Pulling fs layer 09:33:44 5e14af77c1be: Pulling fs layer 09:33:44 01666e4c0597: Pulling fs layer 09:33:44 aa168da1d23b: Pulling fs layer 09:33:44 93b9cdb0e59b: Waiting 09:33:44 5e14af77c1be: Waiting 09:33:44 01666e4c0597: Waiting 09:33:44 aa168da1d23b: Waiting 09:33:44 46f8f816bc3b: Waiting 09:33:44 93b61091891f: Waiting 09:33:44 36b3adc4ff6f: Verifying Checksum 09:33:44 36b3adc4ff6f: Download complete 09:33:44 46f8f816bc3b: Verifying Checksum 09:33:44 46f8f816bc3b: Download complete 09:33:44 df20fa9351a1: Verifying Checksum 09:33:44 df20fa9351a1: Download complete 09:33:44 93b9cdb0e59b: Verifying Checksum 09:33:44 93b9cdb0e59b: Download complete 09:33:44 5e14af77c1be: Verifying Checksum 09:33:44 5e14af77c1be: Download complete 09:33:44 93b61091891f: Verifying Checksum 09:33:44 93b61091891f: Download complete 09:33:44 01666e4c0597: Verifying Checksum 09:33:44 01666e4c0597: Download complete 09:33:44 df20fa9351a1: Pull complete 09:33:44 8ad3a11d3b57: Verifying Checksum 09:33:44 8ad3a11d3b57: Download complete 09:33:45 36b3adc4ff6f: Pull complete 09:33:45 8ad3a11d3b57: Pull complete 09:33:45 46f8f816bc3b: Pull complete 09:33:45 93b61091891f: Pull complete 09:33:45 93b9cdb0e59b: Pull complete 09:33:46 5e14af77c1be: Pull complete 09:33:46 01666e4c0597: Pull complete 09:33:46 aa168da1d23b: Verifying Checksum 09:33:46 aa168da1d23b: Download complete 09:33:52 aa168da1d23b: Pull complete 09:33:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:33:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:33:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:33:52 prd-centos7-docker-4c-2g-0 does not seem to be running inside a container 09:33:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:33:54 $ docker top 30f403b9916d159a79978814f3de5f24ffadf21342f1cfaf26c821972b0b0e12 -eo pid,comm [Pipeline] { [Pipeline] sh 09:33:54 + touch /tmp/pre-build-complete [Pipeline] sh 09:33:55 + mkdir -p /var/log/sa [Pipeline] sh 09:33:55 + ls /var/log/sa-host 09:33:55 + sadf -c /var/log/sa-host/sa05 09:33:55 file_magic: OK 09:33:55 HZ: Using current value: 100 09:33:55 file_header: OK 09:33:55 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 09:33:55 Statistics: 09:33:55 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:33:55 File successfully converted to sysstat format version 12.2.1 09:33:55 + sadf -c /var/log/sa-host/sa09 09:33:55 file_magic: OK 09:33:55 HZ: Using current value: 100 09:33:55 file_header: OK 09:33:55 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 09:33:55 Statistics: 09:33:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:33:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:33:56 provisioning config files... 09:33:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2110262427433789864tmp [Pipeline] { [Pipeline] echo 09:33:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:33:56 ---> create-netrc.sh [Pipeline] } 09:33:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:33:56 ---> python-tools-install.sh [Pipeline] echo 09:33:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:33:57 ---> sudo-logs.sh 09:33:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:33:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:33:57 ---> job-cost.sh 09:33:57 lf-activate-venv: SKIPPING 09:33:57 DEBUG: total: 0.36000001430511475 09:33:57 INFO: Retrieving Stack Cost... 09:33:58 INFO: Retrieving Pricing Info for: v3-standard-2 09:33:58 INFO: Archiving Costs [Pipeline] echo 09:33:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:33:59 ---> logs-deploy.sh 09:33:59 lf-activate-venv: SKIPPING 09:33:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/51 09:33:59 INFO: archiving workspace using pattern(s): 09:33:59 Archives upload complete. 09:33:59 INFO: archiving logs to Nexus 09:34:00 ---> uname -a: 09:34:00 Linux prd-centos7-docker-4c-2g-0.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 09:34:00 09:34:00 09:34:00 ---> lscpu: 09:34:00 Architecture: x86_64 09:34:00 CPU op-mode(s): 32-bit, 64-bit 09:34:00 Byte Order: Little Endian 09:34:00 Address sizes: 40 bits physical, 48 bits virtual 09:34:00 CPU(s): 2 09:34:00 On-line CPU(s) list: 0,1 09:34:00 Thread(s) per core: 1 09:34:00 Core(s) per socket: 1 09:34:00 Socket(s): 2 09:34:00 NUMA node(s): 1 09:34:00 Vendor ID: AuthenticAMD 09:34:00 CPU family: 23 09:34:00 Model: 49 09:34:00 Model name: AMD EPYC-Rome Processor 09:34:00 Stepping: 0 09:34:00 CPU MHz: 2800.000 09:34:00 BogoMIPS: 5600.00 09:34:00 Virtualization: AMD-V 09:34:00 Hypervisor vendor: KVM 09:34:00 Virtualization type: full 09:34:00 L1d cache: 64 KiB 09:34:00 L1i cache: 64 KiB 09:34:00 L2 cache: 1 MiB 09:34:00 L3 cache: 32 MiB 09:34:00 NUMA node0 CPU(s): 0,1 09:34:00 Vulnerability Itlb multihit: Not affected 09:34:00 Vulnerability L1tf: Not affected 09:34:00 Vulnerability Mds: Not affected 09:34:00 Vulnerability Meltdown: Not affected 09:34:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:34:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:34:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:34:00 Vulnerability Srbds: Not affected 09:34:00 Vulnerability Tsx async abort: Not affected 09:34:00 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 09:34:00 09:34:00 09:34:00 ---> nproc: 09:34:00 2 09:34:00 09:34:00 09:34:00 ---> df -h: 09:34:00 Filesystem Size Used Available Use% Mounted on 09:34:00 overlay 40.0G 8.9G 31.1G 22% / 09:34:00 tmpfs 64.0M 0 64.0M 0% /dev 09:34:00 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 09:34:00 shm 64.0M 0 64.0M 0% /dev/shm 09:34:00 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 09:34:00 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 09:34:00 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 09:34:00 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 09:34:00 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 09:34:00 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master 09:34:00 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master@tmp 09:34:00 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 09:34:00 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 09:34:00 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 09:34:00 09:34:00 09:34:00 ---> free -m: 09:34:00 total used free shared buff/cache available 09:34:00 Mem: 7821 1278 3143 0 3399 6460 09:34:00 Swap: 1023 0 1023 09:34:00 09:34:00 09:34:00 ---> ip addr: 09:34:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:34:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:34:00 inet 127.0.0.1/8 scope host lo 09:34:00 valid_lft forever preferred_lft forever 09:34:00 inet6 ::1/128 scope host 09:34:00 valid_lft forever preferred_lft forever 09:34:00 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:34:00 link/ether fa:16:3e:80:95:81 brd ff:ff:ff:ff:ff:ff 09:34:00 inet 10.30.122.15/23 brd 10.30.123.255 scope global dynamic eth0 09:34:00 valid_lft 85870sec preferred_lft 85870sec 09:34:00 inet6 fe80::f816:3eff:fe80:9581/64 scope link 09:34:00 valid_lft forever preferred_lft forever 09:34:00 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:34:00 link/ether 02:42:43:d6:eb:af brd ff:ff:ff:ff:ff:ff 09:34:00 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:34:00 valid_lft forever preferred_lft forever 09:34:00 inet6 fe80::42:43ff:fed6:ebaf/64 scope link 09:34:00 valid_lft forever preferred_lft forever 09:34:00 09:34:00 09:34:00 ---> sar -b -r -n DEV: 09:34:00 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/09/21 _x86_64_ (2 CPU) 09:34:00 09:34:00 09:24:59 LINUX RESTART (2 CPU) 09:34:00 09:34:00 09:26:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:34:00 09:27:01 1.66 0.00 1.66 0.00 0.00 31.71 0.00 09:34:00 09:28:01 0.23 0.00 0.23 0.00 0.00 3.00 0.00 09:34:00 09:29:01 0.32 0.00 0.32 0.00 0.00 3.22 0.00 09:34:00 09:30:01 0.20 0.00 0.20 0.00 0.00 2.43 0.00 09:34:00 09:31:01 0.25 0.00 0.25 0.00 0.00 3.33 0.00 09:34:00 09:32:01 0.30 0.00 0.30 0.00 0.00 3.61 0.00 09:34:00 09:33:01 112.54 0.03 112.50 0.00 3.73 31817.57 0.00 09:34:00 Average: 16.54 0.00 16.54 0.00 0.53 4564.42 0.00 09:34:00 09:34:00 09:26:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:34:00 09:27:01 5446664 0 808164 10.09 2620 1751492 1284032 14.18 582048 1580924 12 09:34:00 09:28:01 5453688 0 801132 10.00 2620 1751500 1207744 13.33 580928 1576452 8 09:34:00 09:29:01 5453340 0 801480 10.01 2620 1751500 1207744 13.33 580940 1576448 8 09:34:00 09:30:01 5452636 0 802180 10.02 2620 1751504 1207744 13.33 581016 1577264 8 09:34:00 09:31:01 5449684 0 805124 10.05 2620 1751512 1207840 13.34 579252 1582472 8 09:34:00 09:32:01 5448848 0 805960 10.06 2620 1751512 1207984 13.34 579944 1582472 20 09:34:00 09:33:01 4363964 0 986820 12.32 2620 2655536 1398816 15.44 833404 2327696 186088 09:34:00 Average: 5295546 0 830123 10.36 2620 1880651 1245986 13.76 616790 1686247 26593 09:34:00 09:34:00 09:26:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:34:00 09:27:01 eth0 0.81 0.49 0.32 0.23 0.00 0.00 0.00 0.00 09:34:00 09:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:28:01 eth0 0.27 0.10 0.01 0.01 0.00 0.00 0.00 0.00 09:34:00 09:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:29:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:34:00 09:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:30:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:34:00 09:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:31:01 eth0 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 09:34:00 09:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:32:01 eth0 0.13 0.08 0.06 0.00 0.00 0.00 0.00 0.00 09:34:00 09:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:33:01 eth0 815.43 750.80 7614.58 65.25 0.00 0.00 0.00 0.00 09:34:00 09:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 09:33:01 docker0 65.67 68.45 5.45 387.51 0.00 0.00 0.00 0.00 09:34:00 Average: eth0 117.05 107.70 1090.83 9.39 0.00 0.00 0.00 0.00 09:34:00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:00 Average: docker0 9.41 9.80 0.78 55.51 0.00 0.00 0.00 0.00 09:34:00 09:34:00 09:34:00 ---> sar -P ALL: 09:34:00 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/09/21 _x86_64_ (2 CPU) 09:34:00 09:34:00 09:24:59 LINUX RESTART (2 CPU) 09:34:00 09:34:00 09:26:02 CPU %user %nice %system %iowait %steal %idle 09:34:00 09:27:01 all 0.14 0.00 0.03 0.00 0.03 99.80 09:34:00 09:27:01 0 0.22 0.00 0.03 0.00 0.03 99.71 09:34:00 09:27:01 1 0.05 0.00 0.03 0.00 0.03 99.88 09:34:00 09:28:01 all 0.13 0.00 0.03 0.00 0.03 99.81 09:34:00 09:28:01 0 0.12 0.00 0.03 0.00 0.00 99.85 09:34:00 09:28:01 1 0.15 0.00 0.03 0.00 0.05 99.77 09:34:00 09:29:01 all 0.03 0.00 0.04 0.00 0.03 99.90 09:34:00 09:29:01 0 0.02 0.00 0.03 0.00 0.03 99.92 09:34:00 09:29:01 1 0.03 0.00 0.05 0.00 0.03 99.88 09:34:00 09:30:01 all 0.07 0.00 0.05 0.00 0.03 99.85 09:34:00 09:30:01 0 0.03 0.00 0.05 0.00 0.03 99.88 09:34:00 09:30:01 1 0.10 0.00 0.05 0.00 0.03 99.82 09:34:00 09:31:01 all 0.08 0.00 0.08 0.00 0.03 99.81 09:34:00 09:31:01 0 0.07 0.00 0.05 0.00 0.03 99.85 09:34:00 09:31:01 1 0.10 0.00 0.10 0.00 0.03 99.77 09:34:00 09:32:01 all 0.19 0.00 0.03 0.00 0.03 99.76 09:34:00 09:32:01 0 0.33 0.00 0.02 0.00 0.02 99.63 09:34:00 09:32:01 1 0.05 0.00 0.03 0.00 0.03 99.88 09:34:00 09:33:01 all 13.62 0.00 6.76 2.64 0.06 76.92 09:34:00 09:33:01 0 13.80 0.00 6.89 2.37 0.07 76.87 09:34:00 09:33:01 1 13.45 0.00 6.63 2.91 0.05 76.96 09:34:00 Average: all 1.97 0.00 0.97 0.36 0.03 96.66 09:34:00 Average: 0 2.01 0.00 0.98 0.33 0.03 96.66 09:34:00 Average: 1 1.93 0.00 0.96 0.40 0.04 96.66 09:34:00 09:34:00 09:34:00