Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0a7eec39b0c4269a0e577821221e71b45f7e5c7 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-ssh4633208644421094099.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5953214802629690172.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7762128584452383959.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5299264340748744988.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1040338828974568826.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-363 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 Avoid second fetch Checking out Revision a0a7eec39b0c4269a0e577821221e71b45f7e5c7 (master) 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-ssh54300108327588587.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 Commit message: "Merge pull request #107 from lenny-intel/service-info" > git rev-list --no-walk 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:52:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:52:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:52:05 ========================================================= 03:52:05 EdgeX Global Pipelines Version Info 03:52:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:52:06 ------------------- 03:52:06 stable info: 03:52:06 ------------------- 03:52:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:52:06 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 03:52:06 Message: update stable to v1.0.192 03:52:07 ------------------- 03:52:07 experimental info: 03:52:07 ------------------- 03:52:07 Commited By: **** collab-it+edgex@linuxfoundation.org 03:52:07 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 03:52:07 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:52:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0a7eec [Pipeline] echo 03:52:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:52:08 provisioning config files... 03:52:08 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1273806488709320261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:08 ---> docker-login.sh 03:52:08 nexus3.edgexfoundry.org:10001 03:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:08 Configure a credential helper to remove this warning. See 03:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:08 03:52:08 Login Succeeded 03:52:08 nexus3.edgexfoundry.org:10002 03:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:09 Configure a credential helper to remove this warning. See 03:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:09 03:52:09 Login Succeeded 03:52:09 nexus3.edgexfoundry.org:10003 03:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:09 Configure a credential helper to remove this warning. See 03:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:09 03:52:09 Login Succeeded 03:52:09 nexus3.edgexfoundry.org:10004 03:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:09 Configure a credential helper to remove this warning. See 03:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:09 03:52:09 Login Succeeded 03:52:09 docker.io 03:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:09 Configure a credential helper to remove this warning. See 03:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:09 03:52:09 Login Succeeded 03:52:09 ---> docker-login.sh ends [Pipeline] } 03:52:09 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 03:52:10 + git log --format=format:%s -1 a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] echo 03:52:10 GIT_COMMIT: a0a7eec39b0c4269a0e577821221e71b45f7e5c7, Commit Message: Merge pull request #107 from lenny-intel/service-info [Pipeline] echo 03:52:10 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:52:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:52:10 03:52:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:52:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:52:11 latest: Pulling from edgex-devops/git-semver 03:52:11 31603596830f: Pulling fs layer 03:52:11 54011a49482f: Pulling fs layer 03:52:11 a6820b24f6d8: Pulling fs layer 03:52:11 f581987b2513: Pulling fs layer 03:52:11 f581987b2513: Waiting 03:52:11 54011a49482f: Verifying Checksum 03:52:11 54011a49482f: Download complete 03:52:11 31603596830f: Verifying Checksum 03:52:11 31603596830f: Download complete 03:52:11 f581987b2513: Verifying Checksum 03:52:11 f581987b2513: Download complete 03:52:11 a6820b24f6d8: Verifying Checksum 03:52:11 a6820b24f6d8: Download complete 03:52:11 31603596830f: Pull complete 03:52:11 54011a49482f: Pull complete 03:52:12 a6820b24f6d8: Pull complete 03:52:12 f581987b2513: Pull complete 03:52:12 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 03:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:52:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:52:12 prd-centos7-docker-4c-2g-363 does not seem to be running inside a container 03:52:12 $ 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 03:52:15 $ docker top 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:52:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:52:15 [ssh-agent] Looking for ssh-agent implementation... 03:52:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:52:15 $ docker exec 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 ssh-agent 03:52:15 SSH_AUTH_SOCK=/tmp/ssh-9R5KSPlxLeeJ/agent.13 03:52:15 SSH_AGENT_PID=19 03:52:15 Running ssh-add (command line suppressed) 03:52:16 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2880546139187948426.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2880546139187948426.key) 03:52:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:52:16 + git tag --points-at HEAD [Pipeline] } 03:52:16 $ docker exec --env ******** --env ******** 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 ssh-agent -k 03:52:16 unset SSH_AUTH_SOCK; 03:52:16 unset SSH_AGENT_PID; 03:52:16 echo Agent pid 19 killed; 03:52:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:52:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:52:16 [ssh-agent] Looking for ssh-agent implementation... 03:52:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:52:16 $ docker exec 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 ssh-agent 03:52:16 SSH_AUTH_SOCK=/tmp/ssh-SUo5klGOCYNX/agent.53 03:52:16 SSH_AGENT_PID=60 03:52:16 Running ssh-add (command line suppressed) 03:52:16 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6949876667382727946.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6949876667382727946.key) 03:52:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:52:17 + git semver init 03:52:17 # -> Open(): unable to determine branch for HEAD 03:52:17 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 03:52:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 03:52:17 # $SEMVER_REMOTE_NAME = origin 03:52:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:52:17 # $SEMVER_USER_NAME = edgex-jenkins 03:52:17 # $SEMVER_BRANCH = master 03:52:17 # $SEMVER_TEMP = /tmp/semver-467856927 03:52:17 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 03:52:18 # '/tmp/semver-467856927' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 03:52:18 # -> Force: false 03:52:18 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 03:52:18 $ docker exec --env ******** --env ******** 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 ssh-agent -k 03:52:18 unset SSH_AUTH_SOCK; 03:52:18 unset SSH_AGENT_PID; 03:52:18 echo Agent pid 60 killed; 03:52:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:52:18 + git semver [Pipeline] } 03:52:18 $ docker stop --time=1 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 03:52:20 $ docker rm -f 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 [Pipeline] // withDockerContainer [Pipeline] sh 03:52:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:52:21 Stashed 1 file(s) [Pipeline] echo 03:52:21 [edgeXSemver]: initialized semver on version 1.2.2-dev.13 [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 03:52:36 Still waiting to schedule task 03:52:36 ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ 03:52:36 ‘prd-centos7-docker-4c-2g-309’ is offline 03:52:36 ‘prd-centos7-docker-4c-2g-360’ is offline 03:52:36 ‘prd-centos7-docker-4c-2g-361’ is offline 03:52:36 ‘prd-centos7-docker-4c-2g-364’ is offline 03:52:36 ‘prd-ubuntu18.04-docker-arm64-4c-16g-354’ doesn’t have label ‘centos7-docker-4c-2g’ 03:52:36 Still waiting to schedule task 03:52:36 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 03:54:03 Running on prd-centos7-docker-4c-2g-365 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 03:54:03 Running in /w/workspace/device-rest-go/46 [Pipeline] { [Pipeline] checkout 03:54:03 The recommended git tool is: git 03:54:06 using credential edgex-jenkins-ssh 03:54:06 Cloning the remote Git repository 03:54:05 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:54:05 > git init /w/workspace/device-rest-go/46 # timeout=10 03:54:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:54:06 > git --version # timeout=10 03:54:06 > git --version # 'git version 2.24.4' 03:54:06 using GIT_SSH to set credentials SSH Credentials for GitHub 03:54:06 [INFO] Currently running in a labeled security context 03:54:06 [INFO] Currently SELinux is 'enforcing' on the host 03:54:06 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/46@tmp/jenkins-gitclient-ssh2651237440141364953.key 03:54:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:54:07 Avoid second fetch 03:54:07 Checking out Revision a0a7eec39b0c4269a0e577821221e71b45f7e5c7 (master) 03:54:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:54:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:54:07 > git config core.sparsecheckout # timeout=10 03:54:07 > git checkout -f a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 03:54:10 Commit message: "Merge pull request #107 from lenny-intel/service-info" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:54:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:54:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:54:12 + true 03:54:12 + sudo service docker restart 03:54:12 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:54:30 provisioning config files... 03:54:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/46@tmp/config3104218995550740252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:31 ---> docker-login.sh 03:54:31 nexus3.edgexfoundry.org:10001 03:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:31 Configure a credential helper to remove this warning. See 03:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:31 03:54:31 Login Succeeded 03:54:31 nexus3.edgexfoundry.org:10002 03:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:31 Configure a credential helper to remove this warning. See 03:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:31 03:54:31 Login Succeeded 03:54:31 nexus3.edgexfoundry.org:10003 03:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:31 Configure a credential helper to remove this warning. See 03:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:31 03:54:31 Login Succeeded 03:54:31 nexus3.edgexfoundry.org:10004 03:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:31 Configure a credential helper to remove this warning. See 03:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:31 03:54:31 Login Succeeded 03:54:31 docker.io 03:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:32 Configure a credential helper to remove this warning. See 03:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:32 03:54:32 Login Succeeded 03:54:32 ---> docker-login.sh ends [Pipeline] } 03:54:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:54:32 ========================================================= 03:54:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 03:54:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:54:32 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 03:54:32 Sending build context to Docker daemon 92.16kB 03:54:32 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 03:54:32 Step 2/10 : FROM ${BASE} 03:54:33 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 03:54:33 540db60ca938: Pulling fs layer 03:54:33 adcc1eea9eea: Pulling fs layer 03:54:33 4c4ab2625f07: Pulling fs layer 03:54:33 0510c868ecb4: Pulling fs layer 03:54:33 afea3b2eda06: Pulling fs layer 03:54:33 7809a108b3ef: Pulling fs layer 03:54:33 f706445af74f: Pulling fs layer 03:54:33 afea3b2eda06: Waiting 03:54:33 7809a108b3ef: Waiting 03:54:33 f706445af74f: Waiting 03:54:33 0510c868ecb4: Waiting 03:54:33 4c4ab2625f07: Verifying Checksum 03:54:33 4c4ab2625f07: Download complete 03:54:33 adcc1eea9eea: Verifying Checksum 03:54:33 adcc1eea9eea: Download complete 03:54:33 afea3b2eda06: Verifying Checksum 03:54:33 afea3b2eda06: Download complete 03:54:33 540db60ca938: Verifying Checksum 03:54:33 540db60ca938: Download complete 03:54:33 7809a108b3ef: Verifying Checksum 03:54:33 7809a108b3ef: Download complete 03:54:33 540db60ca938: Pull complete 03:54:34 adcc1eea9eea: Pull complete 03:54:34 4c4ab2625f07: Pull complete 03:54:35 f706445af74f: Verifying Checksum 03:54:35 f706445af74f: Download complete 03:54:35 0510c868ecb4: Verifying Checksum 03:54:35 0510c868ecb4: Download complete 03:54:39 0510c868ecb4: Pull complete 03:54:39 afea3b2eda06: Pull complete 03:54:39 7809a108b3ef: Pull complete 03:54:41 f706445af74f: Pull complete 03:54:41 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 03:54:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 03:54:41 ---> b068be0155e3 03:54:41 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:54:45 ---> Running in 8e6a25fcdc37 03:54:45 Removing intermediate container 8e6a25fcdc37 03:54:45 ---> db0594a00cf6 03:54:45 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 03:54:45 ---> Running in 0afe5f5c2048 03:54:45 Removing intermediate container 0afe5f5c2048 03:54:45 ---> 36294b80e0fc 03:54:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:54:45 ---> Running in 700d2d0ceeb5 03:54:45 Removing intermediate container 700d2d0ceeb5 03:54:45 ---> 9805fd81e7e8 03:54:45 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:54:45 ---> Running in ceea0fcfafb1 03:54:46 Removing intermediate container ceea0fcfafb1 03:54:46 ---> 9b6dbe503ab3 03:54:46 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:54:46 ---> Running in 444e6edff65e 03:54:47 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:54:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:54:48 (1/9) Installing libc-dev (0.7.2-r3) 03:54:48 (2/9) Installing libsodium (1.0.18-r0) 03:54:48 (3/9) Installing pkgconf (1.7.3-r0) 03:54:48 (4/9) Installing libsodium-dev (1.0.18-r0) 03:54:48 (5/9) Installing openssh-keygen (8.4_p1-r3) 03:54:48 (6/9) Installing libedit (20191231.3.1-r1) 03:54:48 (7/9) Installing openssh-client (8.4_p1-r3) 03:54:48 (8/9) Installing libzmq (4.3.3-r1) 03:54:49 (9/9) Installing zeromq-dev (4.3.3-r1) 03:54:49 Executing busybox-1.32.1-r6.trigger 03:54:49 OK: 154 MiB in 49 packages 03:54:49 Removing intermediate container 444e6edff65e 03:54:49 ---> 9f2b8aea0723 03:54:49 Step 8/10 : WORKDIR /device-rest-go 03:54:49 ---> Running in 7c46b15944a5 03:54:50 Removing intermediate container 7c46b15944a5 03:54:50 ---> 196322b24a2d 03:54:50 Step 9/10 : COPY . . 03:54:50 ---> 56fc1e482cb8 03:54:50 Step 10/10 : RUN go mod download 03:54:50 ---> Running in f5aadba066e3 03:55:08 Removing intermediate container f5aadba066e3 03:55:08 ---> 094ced036224 03:55:08 Successfully built 094ced036224 03:55:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:55:08 + docker inspect -f . ci-base-image-x86_64 03:55:08 . [Pipeline] withDockerContainer 03:55:08 prd-centos7-docker-4c-2g-365 does not seem to be running inside a container 03:55:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@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 03:55:10 $ docker top 951dab02aacae6dac4a634b2dfc262fc95342b998348128138fca82716fced25 -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:10 + go version 03:55:10 go version go1.16.3 linux/amd64 [Pipeline] } 03:55:10 $ docker stop --time=1 951dab02aacae6dac4a634b2dfc262fc95342b998348128138fca82716fced25 03:55:11 $ docker rm -f 951dab02aacae6dac4a634b2dfc262fc95342b998348128138fca82716fced25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:55:12 + docker inspect -f . ci-base-image-x86_64 03:55:12 . [Pipeline] withDockerContainer 03:55:12 prd-centos7-docker-4c-2g-365 does not seem to be running inside a container 03:55:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@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 03:55:13 $ docker top 8e2839cf563f4d4757d9719652970aab32ee711bdc85305e8c86eed72c2432c0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:13 + go mod tidy [Pipeline] sh 03:55:14 + make test 03:55:14 go mod tidy 03:55:14 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:55:14 ? github.com/edgexfoundry/device-rest-go [no test files] 03:55:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-366 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 03:55:25 Running in /w/workspace/device-rest-go/46 [Pipeline] { [Pipeline] checkout 03:55:25 The recommended git tool is: git 03:55:31 using credential edgex-jenkins-ssh 03:55:31 Cloning the remote Git repository 03:55:31 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:55:31 > git init /w/workspace/device-rest-go/46 # timeout=10 03:55:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:55:31 > git --version # timeout=10 03:55:31 > git --version # 'git version 2.17.1' 03:55:31 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:55:33 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 54.0% of statements 03:55:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:55:34 Avoid second fetch 03:55:34 Checking out Revision a0a7eec39b0c4269a0e577821221e71b45f7e5c7 (master) 03:55:34 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:55:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:34 > git config core.sparsecheckout # timeout=10 03:55:34 > git checkout -f a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 03:55:38 Commit message: "Merge pull request #107 from lenny-intel/service-info" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:55:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:55:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:55:41 + + sudotrue service 03:55:41 docker restart 03:55:41 gofmt -l . 03:55:41 [ "`gofmt -l .`" = "" ] 03:55:41 ./bin/test-go-mod-tidy.sh 03:55:41 ./bin/test-attribution-txt.sh [Pipeline] } 03:55:41 $ docker stop --time=1 8e2839cf563f4d4757d9719652970aab32ee711bdc85305e8c86eed72c2432c0 03:55:43 $ docker rm -f 8e2839cf563f4d4757d9719652970aab32ee711bdc85305e8c86eed72c2432c0 [Pipeline] // withDockerContainer [Pipeline] sh 03:55:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:55:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:55:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:55:46 + ls -al . 03:55:46 total 104 03:55:46 drwxrwxr-x. 8 jenkins jenkins 4096 May 26 03:55 . 03:55:46 drwxrwxr-x. 4 jenkins jenkins 30 May 26 03:54 .. 03:55:46 -rw-rw-r--. 1 jenkins jenkins 6792 May 26 03:54 Attribution.txt 03:55:46 drwxrwxr-x. 2 jenkins jenkins 64 May 26 03:54 bin 03:55:46 drwxrwxr-x. 3 jenkins jenkins 32 May 26 03:54 cmd 03:55:46 -rw-r--r--. 1 jenkins jenkins 8513 May 26 03:55 coverage.out 03:55:46 -rw-rw-r--. 1 jenkins jenkins 1615 May 26 03:54 Dockerfile 03:55:46 -rw-rw-r--. 1 jenkins jenkins 1087 May 26 03:54 Dockerfile.build 03:55:46 -rw-rw-r--. 1 jenkins jenkins 151 May 26 03:54 .dockerignore 03:55:46 drwxrwxr-x. 2 jenkins jenkins 76 May 26 03:54 driver 03:55:46 drwxrwxr-x. 8 jenkins jenkins 162 May 26 03:54 .git 03:55:46 drwxrwxr-x. 2 jenkins jenkins 103 May 26 03:54 .github 03:55:46 -rw-rw-r--. 1 jenkins jenkins 336 May 26 03:54 .gitignore 03:55:46 -rw-r--r--. 1 jenkins jenkins 285 May 26 03:55 go.mod 03:55:46 -rw-r--r--. 1 jenkins jenkins 21177 May 26 03:55 go.sum 03:55:46 -rw-rw-r--. 1 jenkins jenkins 680 May 26 03:54 Jenkinsfile 03:55:46 -rw-rw-r--. 1 jenkins jenkins 11340 May 26 03:54 LICENSE 03:55:46 -rw-rw-r--. 1 jenkins jenkins 996 May 26 03:54 Makefile 03:55:46 -rw-rw-r--. 1 jenkins jenkins 7667 May 26 03:54 README.md 03:55:46 drwxrwxr-x. 4 jenkins jenkins 71 May 26 03:54 snap 03:55:46 -rw-rw-r--. 1 jenkins jenkins 12 May 26 03:52 VERSION 03:55:46 -rw-rw-r--. 1 jenkins jenkins 713 May 26 03:54 version.go [Pipeline] isUnix [Pipeline] sh 03:55:47 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a0a7eec39b0c4269a0e577821221e71b45f7e5c7 --label arch=amd64 --label version=1.2.2-dev.13 . 03:55:47 Sending build context to Docker daemon 101.9kB 03:55:47 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 03:55:47 Step 2/25 : FROM ${BASE} AS builder 03:55:47 ---> 094ced036224 03:55:47 Step 3/25 : ARG MAKE='make build' 03:55:47 ---> Running in d4ff4056be2b 03:55:47 Removing intermediate container d4ff4056be2b 03:55:47 ---> 97e553ae96ef 03:55:47 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:55:47 ---> Running in a8f1b6982b0c 03:55:47 Removing intermediate container a8f1b6982b0c 03:55:47 ---> 3c90d4c4a4a2 03:55:47 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:55:47 ---> Running in b00be1e265e5 03:55:47 Removing intermediate container b00be1e265e5 03:55:47 ---> e19f99ce17d8 03:55:47 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:55:47 ---> Running in 6a2dec3f00ef 03:55:48 Removing intermediate container 6a2dec3f00ef 03:55:48 ---> 22f10d1ffb96 03:55:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:55:48 ---> Running in 29ff2e83a9dc 03:55:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:55:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:55:50 OK: 154 MiB in 49 packages 03:55:50 Removing intermediate container 29ff2e83a9dc 03:55:50 ---> 5e64dbf0bff1 03:55:50 Step 8/25 : WORKDIR /device-rest-go 03:55:50 ---> Running in ed04daea2d59 03:55:50 Removing intermediate container ed04daea2d59 03:55:50 ---> 40d631d4e3ea 03:55:50 Step 9/25 : COPY . . 03:55:51 ---> 67f6bd0986c1 03:55:51 Step 10/25 : RUN go mod tidy 03:55:51 ---> Running in fe5ced9cb36a 03:55:51 Removing intermediate container fe5ced9cb36a 03:55:51 ---> e137fe103ce7 03:55:51 Step 11/25 : RUN make update 03:55:51 ---> Running in f01f9ef9c0df 03:55:52 CGO_ENABLED=0 GO111MODULE=on go mod download 03:55:52 Removing intermediate container f01f9ef9c0df 03:55:52 ---> 55f237b02b00 03:55:52 Step 12/25 : RUN $MAKE 03:55:52 ---> Running in 1994b7b51df4 03:55:52 go mod tidy 03:55:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.13" -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:55:59 provisioning config files... 03:55:59 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/46@tmp/config8923771610645049710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:59 ---> docker-login.sh 03:55:59 nexus3.edgexfoundry.org:10001 03:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:01 Configure a credential helper to remove this warning. See 03:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:01 03:56:01 Login Succeeded 03:56:01 nexus3.edgexfoundry.org:10002 03:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:01 Configure a credential helper to remove this warning. See 03:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:01 03:56:01 Login Succeeded 03:56:01 nexus3.edgexfoundry.org:10003 03:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:02 Configure a credential helper to remove this warning. See 03:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:02 03:56:02 Login Succeeded 03:56:02 nexus3.edgexfoundry.org:10004 03:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:02 Configure a credential helper to remove this warning. See 03:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:02 03:56:02 Login Succeeded 03:56:02 docker.io 03:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:03 Configure a credential helper to remove this warning. See 03:56:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:03 03:56:03 Login Succeeded 03:56:03 ---> docker-login.sh ends [Pipeline] } 03:56:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:56:04 ========================================================= 03:56:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 03:56:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:56:04 + 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 . 03:56:04 Sending build context to Docker daemon 92.16kB 03:56:04 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 03:56:04 Step 2/10 : FROM ${BASE} 03:56:04 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:56:04 595b0fe564bb: Pulling fs layer 03:56:04 7186ed65a4f7: Pulling fs layer 03:56:04 316046926c0a: Pulling fs layer 03:56:04 4ebd0625c992: Pulling fs layer 03:56:04 207e8628e3a3: Pulling fs layer 03:56:04 c791037a9be2: Pulling fs layer 03:56:04 ffd874e62e21: Pulling fs layer 03:56:04 207e8628e3a3: Waiting 03:56:04 c791037a9be2: Waiting 03:56:04 ffd874e62e21: Waiting 03:56:04 4ebd0625c992: Waiting 03:56:04 316046926c0a: Download complete 03:56:04 7186ed65a4f7: Verifying Checksum 03:56:04 7186ed65a4f7: Download complete 03:56:04 207e8628e3a3: Verifying Checksum 03:56:04 207e8628e3a3: Download complete 03:56:04 c791037a9be2: Download complete 03:56:05 595b0fe564bb: Verifying Checksum 03:56:05 595b0fe564bb: Download complete 03:56:05 595b0fe564bb: Pull complete 03:56:06 7186ed65a4f7: Pull complete 03:56:06 316046926c0a: Pull complete 03:56:07 ffd874e62e21: Verifying Checksum 03:56:08 Removing intermediate container 1994b7b51df4 03:56:08 ---> 824123e88a3b 03:56:08 Step 13/25 : FROM alpine:3.12 03:56:08 3.12: Pulling from library/alpine 03:56:08 339de151aab4: Pulling fs layer 03:56:08 339de151aab4: Verifying Checksum 03:56:08 339de151aab4: Download complete 03:56:08 339de151aab4: Pull complete 03:56:08 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:56:08 Status: Downloaded newer image for alpine:3.12 03:56:08 ---> 13621d1b12d4 03:56:08 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:56:08 ---> Running in 7cdb76a8e78b 03:56:08 Removing intermediate container 7cdb76a8e78b 03:56:08 ---> 4e4637b80e96 03:56:08 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 03:56:08 ---> Running in 019f75d39937 03:56:08 Removing intermediate container 019f75d39937 03:56:08 ---> 4daf25ad2702 03:56:08 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 03:56:08 ---> Running in 87000cf43f41 03:56:08 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:56:08 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:56:09 4ebd0625c992: Verifying Checksum 03:56:09 4ebd0625c992: Download complete 03:56:09 (1/6) Installing dumb-init (1.2.2-r1) 03:56:09 (2/6) Installing libgcc (9.3.0-r2) 03:56:09 (3/6) Installing libsodium (1.0.18-r0) 03:56:09 (4/6) Installing libstdc++ (9.3.0-r2) 03:56:09 (5/6) Installing libzmq (4.3.3-r0) 03:56:09 (6/6) Installing zeromq (4.3.3-r0) 03:56:09 Executing busybox-1.31.1-r20.trigger 03:56:09 OK: 8 MiB in 20 packages 03:56:09 Removing intermediate container 87000cf43f41 03:56:09 ---> 4d46dc84b2b9 03:56:09 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 03:56:10 ---> 904295bee731 03:56:10 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 03:56:10 ---> 4be7f51c2b01 03:56:10 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 03:56:10 ---> 22515b44113a 03:56:10 Step 20/25 : EXPOSE 59986 03:56:10 ---> Running in 30b793775ce6 03:56:10 Removing intermediate container 30b793775ce6 03:56:10 ---> cae4f006b575 03:56:10 Step 21/25 : ENTRYPOINT ["/device-rest"] 03:56:10 ---> Running in 2d8a31428480 03:56:10 Removing intermediate container 2d8a31428480 03:56:10 ---> 587e794323b8 03:56:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:56:10 ---> Running in 1e15dcaeaf78 03:56:10 Removing intermediate container 1e15dcaeaf78 03:56:10 ---> f5ebfaeef963 03:56:10 Step 23/25 : LABEL arch=amd64 03:56:10 ---> Running in 2cda26adc064 03:56:10 Removing intermediate container 2cda26adc064 03:56:10 ---> f34d324700a6 03:56:10 Step 24/25 : LABEL git_sha=a0a7eec39b0c4269a0e577821221e71b45f7e5c7 03:56:10 ---> Running in 9cab8ea4fcf4 03:56:10 Removing intermediate container 9cab8ea4fcf4 03:56:10 ---> 177ae5b8782f 03:56:10 Step 25/25 : LABEL version=1.2.2-dev.13 03:56:10 ---> Running in 37d3871cfb8a 03:56:11 Removing intermediate container 37d3871cfb8a 03:56:11 ---> 5a9bc0da19d7 03:56:11 [Warning] One or more build-args [ARCH] were not consumed 03:56:11 Successfully built 5a9bc0da19d7 03:56:11 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:56:11 provisioning config files... 03:56:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/46@tmp/config2604650133360895017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:11 ---> docker-login.sh 03:56:11 nexus3.edgexfoundry.org:10001 03:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:11 Configure a credential helper to remove this warning. See 03:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:11 03:56:11 Login Succeeded 03:56:11 nexus3.edgexfoundry.org:10002 03:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:12 Configure a credential helper to remove this warning. See 03:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:12 03:56:12 Login Succeeded 03:56:12 nexus3.edgexfoundry.org:10003 03:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:12 Configure a credential helper to remove this warning. See 03:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:12 03:56:12 Login Succeeded 03:56:12 nexus3.edgexfoundry.org:10004 03:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:12 Configure a credential helper to remove this warning. See 03:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:12 03:56:12 Login Succeeded 03:56:12 docker.io 03:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:12 Configure a credential helper to remove this warning. See 03:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:12 03:56:12 Login Succeeded 03:56:12 ---> docker-login.sh ends [Pipeline] } 03:56:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:56:12 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 03:56:12 a0a7eec39b0c4269a0e577821221e71b45f7e5c7 03:56:12 latest 03:56:12 1.2.2-dev.13 03:56:12 a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 03:56:12 master 03:56:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:56:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] isUnix [Pipeline] sh 03:56:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 03:56:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:56:13 f2d9b26f3a3b: Preparing 03:56:13 6604a25d0ff7: Preparing 03:56:13 875599fec8e8: Preparing 03:56:13 11801a715f9c: Preparing 03:56:13 32f366d666a5: Preparing 03:56:13 32f366d666a5: Layer already exists 03:56:13 6604a25d0ff7: Pushed 03:56:13 f2d9b26f3a3b: Pushed 03:56:13 11801a715f9c: Pushed 03:56:14 875599fec8e8: Pushed 03:56:15 a0a7eec39b0c4269a0e577821221e71b45f7e5c7: digest: sha256:6acb777c3c306cfec2f9891eb8342072accbc2ccacb0ab8948e920304b80ed04 size: 1365 [Pipeline] isUnix [Pipeline] sh 03:56:15 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 03:56:15 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 03:56:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:56:15 f2d9b26f3a3b: Preparing 03:56:15 6604a25d0ff7: Preparing 03:56:15 875599fec8e8: Preparing 03:56:15 11801a715f9c: Preparing 03:56:15 32f366d666a5: Preparing 03:56:15 11801a715f9c: Layer already exists 03:56:15 6604a25d0ff7: Layer already exists 03:56:15 875599fec8e8: Layer already exists 03:56:15 f2d9b26f3a3b: Layer already exists 03:56:15 32f366d666a5: Layer already exists 03:56:15 latest: digest: sha256:6acb777c3c306cfec2f9891eb8342072accbc2ccacb0ab8948e920304b80ed04 size: 1365 [Pipeline] isUnix [Pipeline] sh 03:56:16 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.13 [Pipeline] isUnix [Pipeline] sh 03:56:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.13 03:56:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:56:16 f2d9b26f3a3b: Preparing 03:56:16 6604a25d0ff7: Preparing 03:56:16 875599fec8e8: Preparing 03:56:16 11801a715f9c: Preparing 03:56:16 32f366d666a5: Preparing 03:56:16 875599fec8e8: Layer already exists 03:56:16 f2d9b26f3a3b: Layer already exists 03:56:16 11801a715f9c: Layer already exists 03:56:16 32f366d666a5: Layer already exists 03:56:16 6604a25d0ff7: Layer already exists 03:56:16 1.2.2-dev.13: digest: sha256:6acb777c3c306cfec2f9891eb8342072accbc2ccacb0ab8948e920304b80ed04 size: 1365 [Pipeline] isUnix [Pipeline] sh 03:56:16 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 [Pipeline] isUnix [Pipeline] sh 03:56:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 03:56:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:56:17 f2d9b26f3a3b: Preparing 03:56:17 6604a25d0ff7: Preparing 03:56:17 875599fec8e8: Preparing 03:56:17 11801a715f9c: Preparing 03:56:17 32f366d666a5: Preparing 03:56:17 11801a715f9c: Layer already exists 03:56:17 f2d9b26f3a3b: Layer already exists 03:56:17 875599fec8e8: Layer already exists 03:56:17 32f366d666a5: Layer already exists 03:56:17 6604a25d0ff7: Layer already exists 03:56:17 a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13: digest: sha256:6acb777c3c306cfec2f9891eb8342072accbc2ccacb0ab8948e920304b80ed04 size: 1365 [Pipeline] isUnix [Pipeline] sh 03:56:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 03:56:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 03:56:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:56:17 f2d9b26f3a3b: Preparing 03:56:17 6604a25d0ff7: Preparing 03:56:17 875599fec8e8: Preparing 03:56:17 11801a715f9c: Preparing 03:56:17 32f366d666a5: Preparing 03:56:17 11801a715f9c: Layer already exists 03:56:17 f2d9b26f3a3b: Layer already exists 03:56:17 875599fec8e8: Layer already exists 03:56:17 6604a25d0ff7: Layer already exists 03:56:17 32f366d666a5: Layer already exists 03:56:17 master: digest: sha256:6acb777c3c306cfec2f9891eb8342072accbc2ccacb0ab8948e920304b80ed04 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:56:17 ===================================================== [Pipeline] echo 03:56:17 taggedImages: 03:56:17 - nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 03:56:17 - nexus3.edgexfoundry.org:10004/device-rest:latest 03:56:17 - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.13 03:56:17 - nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 03:56:17 - 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 03:56:18 ---> job-cost.sh 03:56:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nMg4 03:56:21 4ebd0625c992: Pull complete 03:56:21 207e8628e3a3: Pull complete 03:56:21 c791037a9be2: Pull complete 03:56:24 ffd874e62e21: Pull complete 03:56:24 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 03:56:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 03:56:24 ---> cfc18b08335c 03:56:24 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:56:26 ---> Running in 356ee62d4e3e 03:56:26 Removing intermediate container 356ee62d4e3e 03:56:26 ---> 2280508070f3 03:56:26 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 03:56:26 ---> Running in 2c1c68049efd 03:56:27 Removing intermediate container 2c1c68049efd 03:56:27 ---> 8e383d374786 03:56:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:56:27 ---> Running in 8273d1943643 03:56:27 Removing intermediate container 8273d1943643 03:56:27 ---> 1739cac8d5d6 03:56:27 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:56:27 ---> Running in fd276bb2225f 03:56:28 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:56:30 Removing intermediate container fd276bb2225f 03:56:30 ---> 1adb34abdb79 03:56:30 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:56:30 ---> Running in a15d695e1d19 03:56:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:56:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:56:33 (1/9) Installing libc-dev (0.7.2-r3) 03:56:33 (2/9) Installing libsodium (1.0.18-r0) 03:56:33 (3/9) Installing pkgconf (1.7.3-r0) 03:56:33 (4/9) Installing libsodium-dev (1.0.18-r0) 03:56:33 (5/9) Installing openssh-keygen (8.4_p1-r3) 03:56:33 (6/9) Installing libedit (20191231.3.1-r1) 03:56:33 (7/9) Installing openssh-client (8.4_p1-r3) 03:56:33 (8/9) Installing libzmq (4.3.3-r1) 03:56:33 (9/9) Installing zeromq-dev (4.3.3-r1) 03:56:34 Executing busybox-1.32.1-r6.trigger 03:56:34 OK: 144 MiB in 49 packages 03:56:35 Removing intermediate container a15d695e1d19 03:56:35 ---> a6096470bc99 03:56:35 Step 8/10 : WORKDIR /device-rest-go 03:56:35 ---> Running in d8c96b921092 03:56:36 Removing intermediate container d8c96b921092 03:56:36 ---> d3f24a4b1138 03:56:36 Step 9/10 : COPY . . 03:56:36 ---> 5c15a295bc31 03:56:36 Step 10/10 : RUN go mod download 03:56:37 ---> Running in c8a01caf2c71 03:56:43 lf-activate-venv(): INFO: Adding /tmp/venv-nMg4/bin to PATH 03:56:43 INFO: No Stack... 03:56:43 INFO: Retrieving Pricing Info for: v3-standard-2 03:56:43 INFO: Archiving Costs [Pipeline] sh 03:56:43 + cat /w/workspace/device-rest-go/46/archives/cost.csv 03:56:43 + cut -d, -f6 [Pipeline] lock 03:56:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] 03:56:43 Resource [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] did not exist. Created. 03:56:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:56:43 + echo total: 0.05999999865889549 [Pipeline] stash 03:56:43 Stashed 1 file(s) [Pipeline] } 03:56:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:57:03 Removing intermediate container c8a01caf2c71 03:57:03 ---> 83137c7335d4 03:57:03 Successfully built 83137c7335d4 03:57:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:57:04 + docker inspect -f . ci-base-image-arm64 03:57:04 . [Pipeline] withDockerContainer 03:57:04 prd-ubuntu18.04-docker-arm64-4c-16g-366 does not seem to be running inside a container 03:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:57:06 $ docker top 81fc0405d62f6ab38068f0b950b1c0da96984c5a6434b0e9ccc72f623c76a99f -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:07 + go version 03:57:07 go version go1.16.3 linux/arm64 [Pipeline] } 03:57:07 $ docker stop --time=1 81fc0405d62f6ab38068f0b950b1c0da96984c5a6434b0e9ccc72f623c76a99f 03:57:09 $ docker rm -f 81fc0405d62f6ab38068f0b950b1c0da96984c5a6434b0e9ccc72f623c76a99f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:57:10 + docker inspect -f . ci-base-image-arm64 03:57:10 . [Pipeline] withDockerContainer 03:57:10 prd-ubuntu18.04-docker-arm64-4c-16g-366 does not seem to be running inside a container 03:57:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:57:11 $ docker top 7793d07ad728d9f5825807a3d9ee7e96e059eb623a0e985ab3dcf56598a55137 -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:12 + go mod tidy [Pipeline] sh 03:57:14 + make test 03:57:14 go mod tidy 03:57:14 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:57:15 ? github.com/edgexfoundry/device-rest-go [no test files] 03:58:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:58:14 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 54.0% of statements 03:58:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:58:36 gofmt -l . 03:58:36 [ "`gofmt -l .`" = "" ] 03:58:36 ./bin/test-go-mod-tidy.sh 03:58:36 ./bin/test-attribution-txt.sh [Pipeline] } 03:58:37 $ docker stop --time=1 7793d07ad728d9f5825807a3d9ee7e96e059eb623a0e985ab3dcf56598a55137 03:58:39 $ docker rm -f 7793d07ad728d9f5825807a3d9ee7e96e059eb623a0e985ab3dcf56598a55137 [Pipeline] // withDockerContainer [Pipeline] sh 03:58:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:58:40 Warning: overwriting stash ‘coverage-report’ 03:58:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:58:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:58:41 + ls -al . 03:58:41 total 132 03:58:41 drwxrwxr-x 8 jenkins jenkins 4096 May 26 03:58 . 03:58:41 drwxrwxr-x 4 jenkins jenkins 4096 May 26 03:55 .. 03:58:41 -rw-rw-r-- 1 jenkins jenkins 151 May 26 03:55 .dockerignore 03:58:41 drwxrwxr-x 8 jenkins jenkins 4096 May 26 03:55 .git 03:58:41 drwxrwxr-x 2 jenkins jenkins 4096 May 26 03:55 .github 03:58:41 -rw-rw-r-- 1 jenkins jenkins 336 May 26 03:55 .gitignore 03:58:41 -rw-rw-r-- 1 jenkins jenkins 6792 May 26 03:55 Attribution.txt 03:58:41 -rw-rw-r-- 1 jenkins jenkins 1615 May 26 03:55 Dockerfile 03:58:41 -rw-rw-r-- 1 jenkins jenkins 1087 May 26 03:55 Dockerfile.build 03:58:41 -rw-rw-r-- 1 jenkins jenkins 680 May 26 03:55 Jenkinsfile 03:58:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 26 03:55 LICENSE 03:58:41 -rw-rw-r-- 1 jenkins jenkins 996 May 26 03:55 Makefile 03:58:41 -rw-rw-r-- 1 jenkins jenkins 7667 May 26 03:55 README.md 03:58:41 -rw-rw-r-- 1 jenkins jenkins 12 May 26 03:52 VERSION 03:58:41 drwxrwxr-x 2 jenkins jenkins 4096 May 26 03:55 bin 03:58:41 drwxrwxr-x 3 jenkins jenkins 4096 May 26 03:55 cmd 03:58:41 -rw-r--r-- 1 jenkins jenkins 8513 May 26 03:58 coverage.out 03:58:41 drwxrwxr-x 2 jenkins jenkins 4096 May 26 03:55 driver 03:58:41 -rw-r--r-- 1 jenkins jenkins 285 May 26 03:58 go.mod 03:58:41 -rw-r--r-- 1 jenkins jenkins 21177 May 26 03:57 go.sum 03:58:41 drwxrwxr-x 4 jenkins jenkins 4096 May 26 03:55 snap 03:58:41 -rw-rw-r-- 1 jenkins jenkins 713 May 26 03:55 version.go [Pipeline] isUnix [Pipeline] sh 03:58:41 + 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=a0a7eec39b0c4269a0e577821221e71b45f7e5c7 --label arch=arm64 --label version=1.2.2-dev.13 . 03:58:41 Sending build context to Docker daemon 101.9kB 03:58:42 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 03:58:42 Step 2/25 : FROM ${BASE} AS builder 03:58:42 ---> 83137c7335d4 03:58:42 Step 3/25 : ARG MAKE='make build' 03:58:42 ---> Running in 2565cfbcd451 03:58:43 Removing intermediate container 2565cfbcd451 03:58:43 ---> 8d6896e1446d 03:58:43 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:58:43 ---> Running in d872e82a8cf0 03:58:44 Removing intermediate container d872e82a8cf0 03:58:44 ---> 72e411c5632a 03:58:44 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:58:44 ---> Running in 919cfc48de00 03:58:45 Removing intermediate container 919cfc48de00 03:58:45 ---> 8eda16a913c7 03:58:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:58:46 ---> Running in 04bbe39ddb7d 03:58:48 Removing intermediate container 04bbe39ddb7d 03:58:48 ---> 85220801ba41 03:58:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:58:48 ---> Running in 6517e41a1558 03:58:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:58:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:58:52 OK: 144 MiB in 49 packages 03:58:53 Removing intermediate container 6517e41a1558 03:58:53 ---> fcd23e44e95a 03:58:53 Step 8/25 : WORKDIR /device-rest-go 03:58:53 ---> Running in dde35a962a16 03:58:54 Removing intermediate container dde35a962a16 03:58:54 ---> 2b028c904eb9 03:58:54 Step 9/25 : COPY . . 03:58:55 ---> 800edd22035e 03:58:55 Step 10/25 : RUN go mod tidy 03:58:55 ---> Running in 8c4b37764878 03:58:58 Removing intermediate container 8c4b37764878 03:58:58 ---> 629c9113faed 03:58:58 Step 11/25 : RUN make update 03:58:58 ---> Running in fec398f7f126 03:58:59 CGO_ENABLED=0 GO111MODULE=on go mod download 03:59:01 Removing intermediate container fec398f7f126 03:59:01 ---> 4484bb3e076d 03:59:01 Step 12/25 : RUN $MAKE 03:59:01 ---> Running in b9eda117660e 03:59:02 go mod tidy 03:59:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.13" -o cmd/device-rest ./cmd 03:59:41 Removing intermediate container b9eda117660e 03:59:41 ---> 4c1f5e540107 03:59:41 Step 13/25 : FROM alpine:3.12 03:59:41 3.12: Pulling from library/alpine 03:59:41 d2f70382dc9a: Pulling fs layer 03:59:41 d2f70382dc9a: Verifying Checksum 03:59:41 d2f70382dc9a: Download complete 03:59:41 d2f70382dc9a: Pull complete 03:59:41 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:59:41 Status: Downloaded newer image for alpine:3.12 03:59:41 ---> 9852663dfa18 03:59:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:59:41 ---> Running in 0b8d60a49c4a 03:59:41 Removing intermediate container 0b8d60a49c4a 03:59:41 ---> a784656febcc 03:59:41 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 03:59:41 ---> Running in 183234731e2b 03:59:41 Removing intermediate container 183234731e2b 03:59:41 ---> f395002ca70b 03:59:41 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 03:59:41 ---> Running in a8b9b5506373 03:59:41 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:59:41 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:59:42 (1/6) Installing dumb-init (1.2.2-r1) 03:59:42 (2/6) Installing libgcc (9.3.0-r2) 03:59:42 (3/6) Installing libsodium (1.0.18-r0) 03:59:42 (4/6) Installing libstdc++ (9.3.0-r2) 03:59:42 (5/6) Installing libzmq (4.3.3-r0) 03:59:42 (6/6) Installing zeromq (4.3.3-r0) 03:59:42 Executing busybox-1.31.1-r20.trigger 03:59:42 OK: 8 MiB in 20 packages 03:59:43 Removing intermediate container a8b9b5506373 03:59:43 ---> 94348fc54fec 03:59:43 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 03:59:44 ---> 0db0a780e0a2 03:59:44 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 03:59:45 ---> 9b2925ec9646 03:59:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 03:59:46 ---> 981ae44562c4 03:59:46 Step 20/25 : EXPOSE 59986 03:59:46 ---> Running in 662b97a0a019 03:59:47 Removing intermediate container 662b97a0a019 03:59:47 ---> 3165071faf5c 03:59:47 Step 21/25 : ENTRYPOINT ["/device-rest"] 03:59:47 ---> Running in 13e9a2df6d6b 03:59:47 Removing intermediate container 13e9a2df6d6b 03:59:47 ---> cb79d762d9a0 03:59:47 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:59:47 ---> Running in c9249c3a231b 03:59:48 Removing intermediate container c9249c3a231b 03:59:48 ---> 31af9be5229f 03:59:48 Step 23/25 : LABEL arch=arm64 03:59:48 ---> Running in 973c53957db1 03:59:48 Removing intermediate container 973c53957db1 03:59:48 ---> 0173f96193fb 03:59:48 Step 24/25 : LABEL git_sha=a0a7eec39b0c4269a0e577821221e71b45f7e5c7 03:59:49 ---> Running in d4617ba10003 03:59:49 Removing intermediate container d4617ba10003 03:59:49 ---> 223ad306a201 03:59:49 Step 25/25 : LABEL version=1.2.2-dev.13 03:59:49 ---> Running in 7b3865ae33ec 03:59:50 Removing intermediate container 7b3865ae33ec 03:59:50 ---> 2320885ec423 03:59:50 [Warning] One or more build-args [ARCH] were not consumed 03:59:50 Successfully built 2320885ec423 03:59:50 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 03:59:50 provisioning config files... 03:59:50 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/46@tmp/config5968096690210050569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:59:50 ---> docker-login.sh 03:59:50 nexus3.edgexfoundry.org:10001 03:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:51 Configure a credential helper to remove this warning. See 03:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:51 03:59:51 Login Succeeded 03:59:51 nexus3.edgexfoundry.org:10002 03:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:51 Configure a credential helper to remove this warning. See 03:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:51 03:59:51 Login Succeeded 03:59:51 nexus3.edgexfoundry.org:10003 03:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:52 Configure a credential helper to remove this warning. See 03:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:52 03:59:52 Login Succeeded 03:59:52 nexus3.edgexfoundry.org:10004 03:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:52 Configure a credential helper to remove this warning. See 03:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:52 03:59:52 Login Succeeded 03:59:52 docker.io 03:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:59:53 Configure a credential helper to remove this warning. See 03:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:59:53 03:59:53 Login Succeeded 03:59:53 ---> docker-login.sh ends [Pipeline] } 03:59:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:59:53 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 03:59:53 a0a7eec39b0c4269a0e577821221e71b45f7e5c7 03:59:53 latest 03:59:53 1.2.2-dev.13 03:59:53 a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 03:59:53 master 03:59:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:59:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] isUnix [Pipeline] sh 03:59:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 03:59:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:59:54 0d127c8a3fa3: Preparing 03:59:54 41b08212d342: Preparing 03:59:54 7b63f750f57d: Preparing 03:59:54 4bfde8ce2752: Preparing 03:59:54 3fbe34a1663b: Preparing 03:59:54 3fbe34a1663b: Layer already exists 03:59:54 0d127c8a3fa3: Pushed 03:59:54 41b08212d342: Pushed 03:59:55 4bfde8ce2752: Pushed 03:59:57 7b63f750f57d: Pushed 03:59:57 a0a7eec39b0c4269a0e577821221e71b45f7e5c7: digest: sha256:d068a1618bb1ab0e276c454d2ed0af15dee78547c1c10aa7e088dd0df08ba2ca size: 1365 [Pipeline] isUnix [Pipeline] sh 03:59:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:59:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:59:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:59:58 0d127c8a3fa3: Preparing 03:59:58 41b08212d342: Preparing 03:59:58 7b63f750f57d: Preparing 03:59:58 4bfde8ce2752: Preparing 03:59:58 3fbe34a1663b: Preparing 03:59:58 7b63f750f57d: Layer already exists 03:59:58 4bfde8ce2752: Layer already exists 03:59:58 0d127c8a3fa3: Layer already exists 03:59:58 3fbe34a1663b: Layer already exists 03:59:58 41b08212d342: Layer already exists 03:59:58 latest: digest: sha256:d068a1618bb1ab0e276c454d2ed0af15dee78547c1c10aa7e088dd0df08ba2ca size: 1365 [Pipeline] isUnix [Pipeline] sh 03:59:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.13 [Pipeline] isUnix [Pipeline] sh 03:59:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.13 03:59:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:59:59 0d127c8a3fa3: Preparing 03:59:59 41b08212d342: Preparing 03:59:59 7b63f750f57d: Preparing 03:59:59 4bfde8ce2752: Preparing 03:59:59 3fbe34a1663b: Preparing 03:59:59 7b63f750f57d: Layer already exists 03:59:59 0d127c8a3fa3: Layer already exists 03:59:59 41b08212d342: Layer already exists 03:59:59 4bfde8ce2752: Layer already exists 03:59:59 3fbe34a1663b: Layer already exists 03:59:59 1.2.2-dev.13: digest: sha256:d068a1618bb1ab0e276c454d2ed0af15dee78547c1c10aa7e088dd0df08ba2ca size: 1365 [Pipeline] isUnix [Pipeline] sh 03:59:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 [Pipeline] isUnix [Pipeline] sh 04:00:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 04:00:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:00:00 0d127c8a3fa3: Preparing 04:00:00 41b08212d342: Preparing 04:00:00 7b63f750f57d: Preparing 04:00:00 4bfde8ce2752: Preparing 04:00:00 3fbe34a1663b: Preparing 04:00:00 41b08212d342: Layer already exists 04:00:00 3fbe34a1663b: Layer already exists 04:00:00 4bfde8ce2752: Layer already exists 04:00:00 0d127c8a3fa3: Layer already exists 04:00:00 7b63f750f57d: Layer already exists 04:00:00 a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13: digest: sha256:d068a1618bb1ab0e276c454d2ed0af15dee78547c1c10aa7e088dd0df08ba2ca size: 1365 [Pipeline] isUnix [Pipeline] sh 04:00:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 04:00:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 04:00:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:00:01 0d127c8a3fa3: Preparing 04:00:01 41b08212d342: Preparing 04:00:01 7b63f750f57d: Preparing 04:00:01 4bfde8ce2752: Preparing 04:00:01 3fbe34a1663b: Preparing 04:00:01 3fbe34a1663b: Layer already exists 04:00:01 7b63f750f57d: Layer already exists 04:00:01 4bfde8ce2752: Layer already exists 04:00:01 0d127c8a3fa3: Layer already exists 04:00:01 41b08212d342: Layer already exists 04:00:01 master: digest: sha256:d068a1618bb1ab0e276c454d2ed0af15dee78547c1c10aa7e088dd0df08ba2ca size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:00:01 ===================================================== [Pipeline] echo 04:00:01 taggedImages: 04:00:01 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 04:00:01 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:00:01 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.13 04:00:01 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 04:00:01 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 04:00:01 ---> job-cost.sh 04:00:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-b44Z 04:00:40 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:02:02 lf-activate-venv(): INFO: Adding /tmp/venv-b44Z/bin to PATH 04:02:02 INFO: No Stack... 04:02:02 INFO: Retrieving Pricing Info for: v2-standard-4 04:02:02 INFO: Archiving Costs [Pipeline] sh 04:02:02 + cat /w/workspace/device-rest-go/46/archives/cost.csv 04:02:02 + cut -d, -f6 [Pipeline] lock 04:02:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] 04:02:02 Resource [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] did not exist. Created. 04:02:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:02:03 /w/workspace/device-rest-go/46@tmp/durable-7b1f1322/script.sh: 1: /w/workspace/device-rest-go/46@tmp/durable-7b1f1322/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:02:03 + echo total: 0.18000000715255737 [Pipeline] stash 04:02:03 Warning: overwriting stash ‘stack-cost’ 04:02:03 Stashed 1 file(s) [Pipeline] } 04:02:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:02:04 provisioning config files... 04:02:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8102064500598286551tmp [Pipeline] { [Pipeline] sh 04:02:04 + set +x 04:02:04 + curl -s https://codecov.io/bash 04:02:04 + bash -s -- 04:02:04 04:02:04 _____ _ 04:02:04 / ____| | | 04:02:04 | | ___ __| | ___ ___ _____ __ 04:02:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:02:04 | |___| (_) | (_| | __/ (_| (_) \ V / 04:02:04 \_____\___/ \__,_|\___|\___\___/ \_/ 04:02:04 Bash-1.0.3 04:02:04 04:02:04 04:02:04 ==> git version 2.24.4 found 04:02:04 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 04:02:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:02:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:02:04 ==> Jenkins CI detected. 04:02:04 project root: . 04:02:04 --> token set from env 04:02:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:02:04 ==> Running gcov in . (disable via -X gcov) 04:02:04 ==> Python coveragepy not found 04:02:04 ==> Searching for coverage reports in: 04:02:04 + . 04:02:05 -> Found 1 reports 04:02:05 ==> Detecting git/mercurial file structure 04:02:05 ==> Reading reports 04:02:05 + ./coverage.out bytes=8513 04:02:05 ==> Appending adjustments 04:02:05 https://docs.codecov.io/docs/fixing-reports 04:02:05 + Found adjustments 04:02:05 ==> Gzipping contents 04:02:05 4.0K /tmp/codecov.27aVei.gz 04:02:05 ==> Uploading reports 04:02:05 url: https://codecov.io 04:02:05 query: branch=master&commit=a0a7eec39b0c4269a0e577821221e71b45f7e5c7&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:02:05 -> Pinging Codecov 04:02:05 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=a0a7eec39b0c4269a0e577821221e71b45f7e5c7&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:02:05 -> Uploading to 04:02:05 https://storage.googleapis.com/codecov/v4/raw/2021-05-26/4E5D53B4F1F92C436F7061BF334D961C/a0a7eec39b0c4269a0e577821221e71b45f7e5c7/ee3474be-d07d-410d-aac7-cbf1c4032a4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T040205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=520b93e03a99cb126873f4ee85a64afcaf680497eea1518f8b17784dcc0cd156 04:02:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:02:05 Dload Upload Total Spent Left Speed 04:02:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3474 --:--:-- --:--:-- --:--:-- 3471 04:02:06 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] } 04:02:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:02:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:02:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:02:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:02:07 04:02:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:02:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:02:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:02:07 188c0c94c7c5: Pulling fs layer 04:02:07 0ef7d3d256c8: Pulling fs layer 04:02:07 de9db76c5a1d: Pulling fs layer 04:02:07 0eba1c9be4d2: Pulling fs layer 04:02:07 0d57e429df01: Pulling fs layer 04:02:07 4e4be7b47b0d: Pulling fs layer 04:02:07 e1f770b5df2f: Pulling fs layer 04:02:07 85a0685a4137: Pulling fs layer 04:02:07 0eba1c9be4d2: Waiting 04:02:07 0d57e429df01: Waiting 04:02:07 4e4be7b47b0d: Waiting 04:02:07 e1f770b5df2f: Waiting 04:02:07 85a0685a4137: Waiting 04:02:07 de9db76c5a1d: Verifying Checksum 04:02:07 de9db76c5a1d: Download complete 04:02:07 0ef7d3d256c8: Verifying Checksum 04:02:07 0ef7d3d256c8: Download complete 04:02:07 0d57e429df01: Verifying Checksum 04:02:07 0d57e429df01: Download complete 04:02:07 4e4be7b47b0d: Verifying Checksum 04:02:07 4e4be7b47b0d: Download complete 04:02:07 188c0c94c7c5: Verifying Checksum 04:02:07 188c0c94c7c5: Download complete 04:02:07 188c0c94c7c5: Pull complete 04:02:07 0ef7d3d256c8: Pull complete 04:02:07 de9db76c5a1d: Pull complete 04:02:08 e1f770b5df2f: Verifying Checksum 04:02:08 e1f770b5df2f: Download complete 04:02:10 0eba1c9be4d2: Verifying Checksum 04:02:10 0eba1c9be4d2: Download complete 04:02:11 85a0685a4137: Verifying Checksum 04:02:11 85a0685a4137: Download complete 04:02:14 0eba1c9be4d2: Pull complete 04:02:14 0d57e429df01: Pull complete 04:02:14 4e4be7b47b0d: Pull complete 04:02:14 e1f770b5df2f: Pull complete 04:02:17 85a0685a4137: Pull complete 04:02:17 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:02:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:02:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:02:18 prd-centos7-docker-4c-2g-363 does not seem to be running inside a container 04:02:18 $ 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 04:02:20 $ docker top 3dec18741482aa4f5a59165193cde134f73dbf19f2a9950318c2d53ad11c3b0e -eo pid,comm [Pipeline] { [Pipeline] echo 04:02:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:02:21 + set -o pipefail 04:02:21 + snyk monitor '--org=edgex-jenkins' 04:02:47 04:02:47 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 04:02:47 04:02:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/b6dc14db-c3ee-4929-80c1-3cc5cb5fc246 04:02:47 04:02:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:02:47 04:02:47 [Pipeline] } 04:02:47 $ docker stop --time=1 3dec18741482aa4f5a59165193cde134f73dbf19f2a9950318c2d53ad11c3b0e 04:02:49 $ docker rm -f 3dec18741482aa4f5a59165193cde134f73dbf19f2a9950318c2d53ad11c3b0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:02:50 + git log --format=format:%s -1 a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] isUnix [Pipeline] sh 04:02:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:02:50 . [Pipeline] withDockerContainer 04:02:50 prd-centos7-docker-4c-2g-363 does not seem to be running inside a container 04:02:50 $ 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 04:02:51 $ docker top 0bbaeeaed7e76dec39e1b09723dfc50a436a50a11334b80249afdebf37246b3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:02:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:02:51 [ssh-agent] Looking for ssh-agent implementation... 04:02:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:02:51 $ docker exec 0bbaeeaed7e76dec39e1b09723dfc50a436a50a11334b80249afdebf37246b3e ssh-agent 04:02:51 SSH_AUTH_SOCK=/tmp/ssh-8jDEiC8laJLe/agent.12 04:02:51 SSH_AGENT_PID=19 04:02:51 Running ssh-add (command line suppressed) 04:02:51 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7679962947614725142.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7679962947614725142.key) 04:02:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:02:51 + git semver tag 04:02:51 # -> Open(): unable to determine branch for HEAD 04:02:51 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 04:02:51 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 04:02:51 # $SEMVER_REMOTE_NAME = origin 04:02:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:02:51 # $SEMVER_USER_NAME = edgex-jenkins 04:02:51 # $SEMVER_BRANCH = master 04:02:51 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 04:02:51 # a0a7eec39b0c4269a0e577821221e71b45f7e5c7 HEAD 04:02:51 # -> Force: false 04:02:51 # 89a11a07cfc770ba0e4c74b95ced00baa74fa302 refs/tags/v1.2.2-dev.13 [Pipeline] } 04:02:51 $ docker exec --env ******** --env ******** 0bbaeeaed7e76dec39e1b09723dfc50a436a50a11334b80249afdebf37246b3e ssh-agent -k 04:02:52 unset SSH_AUTH_SOCK; 04:02:52 unset SSH_AGENT_PID; 04:02:52 echo Agent pid 19 killed; 04:02:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:02:52 + git semver [Pipeline] } 04:02:52 $ docker stop --time=1 0bbaeeaed7e76dec39e1b09723dfc50a436a50a11334b80249afdebf37246b3e 04:02:53 $ docker rm -f 0bbaeeaed7e76dec39e1b09723dfc50a436a50a11334b80249afdebf37246b3e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:02:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:02:54 04:02:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:02:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:02:54 0.23.1-centos7: Pulling from edgex-lftools 04:02:54 ab5ef0e58194: Pulling fs layer 04:02:54 9712f1f96733: Pulling fs layer 04:02:54 63f879dbbcfc: Pulling fs layer 04:02:54 0d9ebad4ef96: Pulling fs layer 04:02:54 e9a5061849ea: Pulling fs layer 04:02:54 d747dcd14b5f: Pulling fs layer 04:02:54 2de7ff778b66: Pulling fs layer 04:02:54 0d9ebad4ef96: Waiting 04:02:54 e9a5061849ea: Waiting 04:02:54 d747dcd14b5f: Waiting 04:02:54 2de7ff778b66: Waiting 04:02:54 9712f1f96733: Download complete 04:02:56 63f879dbbcfc: Verifying Checksum 04:02:56 63f879dbbcfc: Download complete 04:02:56 e9a5061849ea: Verifying Checksum 04:02:56 e9a5061849ea: Download complete 04:02:56 d747dcd14b5f: Verifying Checksum 04:02:56 d747dcd14b5f: Download complete 04:02:56 2de7ff778b66: Verifying Checksum 04:02:56 2de7ff778b66: Download complete 04:02:57 0d9ebad4ef96: Verifying Checksum 04:02:57 0d9ebad4ef96: Download complete 04:02:57 ab5ef0e58194: Verifying Checksum 04:02:57 ab5ef0e58194: Download complete 04:02:59 ab5ef0e58194: Pull complete 04:02:59 9712f1f96733: Pull complete 04:03:00 63f879dbbcfc: Pull complete 04:03:03 0d9ebad4ef96: Pull complete 04:03:04 e9a5061849ea: Pull complete 04:03:04 d747dcd14b5f: Pull complete 04:03:04 2de7ff778b66: Pull complete 04:03:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:03:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:03:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:03:05 prd-centos7-docker-4c-2g-363 does not seem to be running inside a container 04:03:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:03:08 $ docker top 0f0545a8fcc6116bb113e70c0bd730b75fc22c3ce2f6a4e799a47ced87c407ae -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:03:08 provisioning config files... 04:03:08 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8483766607233348924tmp 04:03:08 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4130602824173546348tmp 04:03:08 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4154953331752956252tmp [Pipeline] { [Pipeline] echo 04:03:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:03:08 ---> sigul-configuration.sh 04:03:08 gpg: directory `/root/.gnupg' created 04:03:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:03:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:03:08 gpg: keyring `/root/.gnupg/secring.gpg' created 04:03:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:03:08 gpg: CAST5 encrypted data 04:03:08 gpg: encrypted with 1 passphrase 04:03:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:03:09 + mkdir /home/jenkins 04:03:09 + mkdir /home/jenkins/sigul [Pipeline] sh 04:03:09 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:03:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:03:09 ---> sigul-install.sh 04:03:14 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 04:03:14 + git tag --list 04:03:14 v1.0.0 04:03:14 v1.1.0 04:03:14 v1.1.1 04:03:14 v1.1.2 04:03:14 v1.2.0 04:03:14 v1.2.1 04:03:14 v1.2.1-dev.1 04:03:14 v1.2.1-dev.2 04:03:14 v1.2.1-dev.3 04:03:14 v1.2.1-dev.4 04:03:14 v1.2.2-dev.1 04:03:14 v1.2.2-dev.10 04:03:14 v1.2.2-dev.11 04:03:14 v1.2.2-dev.12 04:03:14 v1.2.2-dev.13 04:03:14 v1.2.2-dev.2 04:03:14 v1.2.2-dev.3 04:03:14 v1.2.2-dev.4 04:03:14 v1.2.2-dev.5 04:03:14 v1.2.2-dev.6 04:03:14 v1.2.2-dev.7 04:03:14 v1.2.2-dev.8 04:03:14 v1.2.2-dev.9 [Pipeline] sh 04:03:14 + lftools sign git-tag v1.2.2-dev.13 04:03:15 Signing Git tag with Sigul... 04:03:15 Signing v1.2.2-dev.13 [Pipeline] echo 04:03:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:03:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:03:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:03:16 $ docker stop --time=1 0f0545a8fcc6116bb113e70c0bd730b75fc22c3ce2f6a4e799a47ced87c407ae 04:03:18 $ docker rm -f 0f0545a8fcc6116bb113e70c0bd730b75fc22c3ce2f6a4e799a47ced87c407ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 04:03:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:03:18 . [Pipeline] withDockerContainer 04:03:18 prd-centos7-docker-4c-2g-363 does not seem to be running inside a container 04:03:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:03:19 $ docker top 35ac3fea19a338803a6dcbdf56df454035ed159b9d1d55c631ccb9abddd2d7e9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:03:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:19 [ssh-agent] Looking for ssh-agent implementation... 04:03:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:19 $ docker exec 35ac3fea19a338803a6dcbdf56df454035ed159b9d1d55c631ccb9abddd2d7e9 ssh-agent 04:03:19 SSH_AUTH_SOCK=/tmp/ssh-KTVXhiEV1K5p/agent.14 04:03:19 SSH_AGENT_PID=20 04:03:19 Running ssh-add (command line suppressed) 04:03:19 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2082670522072268437.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2082670522072268437.key) 04:03:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:20 + git semver bump pre 04:03:20 # -> Open(): unable to determine branch for HEAD 04:03:20 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 04:03:20 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 04:03:20 # $SEMVER_REMOTE_NAME = origin 04:03:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:03:20 # $SEMVER_USER_NAME = edgex-jenkins 04:03:20 # $SEMVER_BRANCH = master 04:03:20 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 04:03:20 1.2.2-dev.14 [Pipeline] } 04:03:20 $ docker exec --env ******** --env ******** 35ac3fea19a338803a6dcbdf56df454035ed159b9d1d55c631ccb9abddd2d7e9 ssh-agent -k 04:03:20 unset SSH_AUTH_SOCK; 04:03:20 unset SSH_AGENT_PID; 04:03:20 echo Agent pid 20 killed; 04:03:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:03:20 + git semver [Pipeline] } 04:03:20 $ docker stop --time=1 35ac3fea19a338803a6dcbdf56df454035ed159b9d1d55c631ccb9abddd2d7e9 04:03:21 $ docker rm -f 35ac3fea19a338803a6dcbdf56df454035ed159b9d1d55c631ccb9abddd2d7e9 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 04:03:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:03:22 . [Pipeline] withDockerContainer 04:03:22 prd-centos7-docker-4c-2g-363 does not seem to be running inside a container 04:03:22 $ 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 04:03:22 $ docker top e2e08e7fcba4a020ae11669d5524abbb34f03ce6097c24ff3c6237ae8b22b0ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:03:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:22 [ssh-agent] Looking for ssh-agent implementation... 04:03:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:22 $ docker exec e2e08e7fcba4a020ae11669d5524abbb34f03ce6097c24ff3c6237ae8b22b0ce ssh-agent 04:03:22 SSH_AUTH_SOCK=/tmp/ssh-UvUp6I9ticjb/agent.13 04:03:22 SSH_AGENT_PID=20 04:03:22 Running ssh-add (command line suppressed) 04:03:23 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_199335095975859521.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_199335095975859521.key) 04:03:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:23 + git semver push 04:03:23 # -> Open(): unable to determine branch for HEAD 04:03:23 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 04:03:23 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 04:03:23 # $SEMVER_REMOTE_NAME = origin 04:03:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:03:23 # $SEMVER_USER_NAME = edgex-jenkins 04:03:23 # $SEMVER_BRANCH = master 04:03:23 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 04:03:27 $ docker exec --env ******** --env ******** e2e08e7fcba4a020ae11669d5524abbb34f03ce6097c24ff3c6237ae8b22b0ce ssh-agent -k 04:03:27 unset SSH_AUTH_SOCK; 04:03:27 unset SSH_AGENT_PID; 04:03:27 echo Agent pid 20 killed; 04:03:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:03:28 + git semver [Pipeline] } 04:03:28 $ docker stop --time=1 e2e08e7fcba4a020ae11669d5524abbb34f03ce6097c24ff3c6237ae8b22b0ce 04:03:29 $ docker rm -f e2e08e7fcba4a020ae11669d5524abbb34f03ce6097c24ff3c6237ae8b22b0ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 04:03:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:03:30 ---> package-listing.sh 04:03:30 ++ tr '[:upper:]' '[:lower:]' 04:03:30 ++ facter osfamily 04:03:30 + OS_FAMILY=redhat 04:03:30 + workspace=/w/workspace/gexfoundry_device-rest-go_master 04:03:30 + START_PACKAGES=/tmp/packages_start.txt 04:03:30 + END_PACKAGES=/tmp/packages_end.txt 04:03:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:03:30 + PACKAGES=/tmp/packages_start.txt 04:03:30 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 04:03:30 + PACKAGES=/tmp/packages_end.txt 04:03:30 + case "${OS_FAMILY}" in 04:03:30 + sort 04:03:30 + rpm -qa 04:03:31 + '[' -f /tmp/packages_start.txt ']' 04:03:31 + '[' -f /tmp/packages_end.txt ']' 04:03:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:03:31 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 04:03:31 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 04:03:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 04:03:31 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 04:03:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:03:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:03:32 04:03:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:03:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:03:32 alpine: Pulling from edgex-lftools-log-publisher 04:03:32 df20fa9351a1: Pulling fs layer 04:03:32 36b3adc4ff6f: Pulling fs layer 04:03:32 8ad3a11d3b57: Pulling fs layer 04:03:32 46f8f816bc3b: Pulling fs layer 04:03:32 93b61091891f: Pulling fs layer 04:03:32 93b9cdb0e59b: Pulling fs layer 04:03:32 5e14af77c1be: Pulling fs layer 04:03:32 01666e4c0597: Pulling fs layer 04:03:32 aa168da1d23b: Pulling fs layer 04:03:32 93b9cdb0e59b: Waiting 04:03:32 5e14af77c1be: Waiting 04:03:32 01666e4c0597: Waiting 04:03:32 aa168da1d23b: Waiting 04:03:32 46f8f816bc3b: Waiting 04:03:32 93b61091891f: Waiting 04:03:32 36b3adc4ff6f: Download complete 04:03:32 46f8f816bc3b: Verifying Checksum 04:03:32 46f8f816bc3b: Download complete 04:03:32 df20fa9351a1: Verifying Checksum 04:03:32 df20fa9351a1: Download complete 04:03:32 93b9cdb0e59b: Verifying Checksum 04:03:32 93b9cdb0e59b: Download complete 04:03:32 93b61091891f: Verifying Checksum 04:03:32 93b61091891f: Download complete 04:03:32 5e14af77c1be: Verifying Checksum 04:03:32 5e14af77c1be: Download complete 04:03:32 01666e4c0597: Verifying Checksum 04:03:32 01666e4c0597: Download complete 04:03:32 df20fa9351a1: Pull complete 04:03:33 36b3adc4ff6f: Pull complete 04:03:33 8ad3a11d3b57: Verifying Checksum 04:03:33 8ad3a11d3b57: Download complete 04:03:33 8ad3a11d3b57: Pull complete 04:03:33 46f8f816bc3b: Pull complete 04:03:34 93b61091891f: Pull complete 04:03:34 93b9cdb0e59b: Pull complete 04:03:34 5e14af77c1be: Pull complete 04:03:34 01666e4c0597: Pull complete 04:03:35 aa168da1d23b: Verifying Checksum 04:03:35 aa168da1d23b: Download complete 04:03:39 aa168da1d23b: Pull complete 04:03:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:03:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:03:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:03:39 prd-centos7-docker-4c-2g-363 does not seem to be running inside a container 04:03:39 $ 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 04:03:41 $ docker top 70f0019c3395e91e7aaf6569d44e4b8521b554b567e2a8764b1dee940f17b736 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:41 + touch /tmp/pre-build-complete [Pipeline] sh 04:03:42 + mkdir -p /var/log/sa [Pipeline] sh 04:03:42 + ls /var/log/sa-host 04:03:42 + sadf -c /var/log/sa-host/sa05 04:03:42 file_magic: OK 04:03:42 HZ: Using current value: 100 04:03:42 file_header: OK 04:03:42 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 04:03:42 Statistics: 04:03:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:03:42 File successfully converted to sysstat format version 12.2.1 04:03:42 + sadf -c /var/log/sa-host/sa26 04:03:42 file_magic: OK 04:03:42 HZ: Using current value: 100 04:03:42 file_header: OK 04:03:42 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 04:03:42 Statistics: 04:03:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:03:42 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:42 provisioning config files... 04:03:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4684998564211051415tmp [Pipeline] { [Pipeline] echo 04:03:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:03:43 ---> create-netrc.sh [Pipeline] } 04:03:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:03:43 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:03:43 ---> python-tools-install.sh [Pipeline] echo 04:03:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:03:43 ---> sudo-logs.sh 04:03:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:03:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:03:44 ---> job-cost.sh 04:03:44 lf-activate-venv: SKIPPING 04:03:44 DEBUG: total: 0.18000000715255737 04:03:44 INFO: Retrieving Stack Cost... 04:03:45 INFO: Retrieving Pricing Info for: v3-standard-2 04:03:45 INFO: Archiving Costs [Pipeline] echo 04:03:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:03:45 ---> logs-deploy.sh 04:03:45 lf-activate-venv: SKIPPING 04:03:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/46 04:03:45 INFO: archiving workspace using pattern(s): 04:03:46 Archives upload complete. 04:03:46 INFO: archiving logs to Nexus 04:03:47 ---> uname -a: 04:03:47 Linux prd-centos7-docker-4c-2g-363.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 04:03:47 04:03:47 04:03:47 ---> lscpu: 04:03:47 Architecture: x86_64 04:03:47 CPU op-mode(s): 32-bit, 64-bit 04:03:47 Byte Order: Little Endian 04:03:47 Address sizes: 40 bits physical, 48 bits virtual 04:03:47 CPU(s): 2 04:03:47 On-line CPU(s) list: 0,1 04:03:47 Thread(s) per core: 1 04:03:47 Core(s) per socket: 1 04:03:47 Socket(s): 2 04:03:47 NUMA node(s): 1 04:03:47 Vendor ID: AuthenticAMD 04:03:47 CPU family: 23 04:03:47 Model: 49 04:03:47 Model name: AMD EPYC-Rome Processor 04:03:47 Stepping: 0 04:03:47 CPU MHz: 2799.998 04:03:47 BogoMIPS: 5599.99 04:03:47 Virtualization: AMD-V 04:03:47 Hypervisor vendor: KVM 04:03:47 Virtualization type: full 04:03:47 L1d cache: 64 KiB 04:03:47 L1i cache: 64 KiB 04:03:47 L2 cache: 1 MiB 04:03:47 L3 cache: 32 MiB 04:03:47 NUMA node0 CPU(s): 0,1 04:03:47 Vulnerability Itlb multihit: Not affected 04:03:47 Vulnerability L1tf: Not affected 04:03:47 Vulnerability Mds: Not affected 04:03:47 Vulnerability Meltdown: Not affected 04:03:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:03:47 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:03:47 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:03:47 Vulnerability Srbds: Not affected 04:03:47 Vulnerability Tsx async abort: Not affected 04:03:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 04:03:47 04:03:47 04:03:47 ---> nproc: 04:03:47 2 04:03:47 04:03:47 04:03:47 ---> df -h: 04:03:47 Filesystem Size Used Available Use% Mounted on 04:03:47 overlay 40.0G 8.9G 31.1G 22% / 04:03:47 tmpfs 64.0M 0 64.0M 0% /dev 04:03:47 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 04:03:47 shm 64.0M 0 64.0M 0% /dev/shm 04:03:47 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 04:03:47 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 04:03:47 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 04:03:47 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 04:03:47 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 04:03:47 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master 04:03:47 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master@tmp 04:03:47 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 04:03:47 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 04:03:47 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 04:03:47 04:03:47 04:03:47 ---> free -m: 04:03:47 total used free shared buff/cache available 04:03:47 Mem: 7821 1159 3262 0 3399 6578 04:03:47 Swap: 1023 0 1023 04:03:47 04:03:47 04:03:47 ---> ip addr: 04:03:47 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:03:47 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:03:47 inet 127.0.0.1/8 scope host lo 04:03:47 valid_lft forever preferred_lft forever 04:03:47 inet6 ::1/128 scope host 04:03:47 valid_lft forever preferred_lft forever 04:03:47 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 04:03:47 link/ether fa:16:3e:b5:be:a9 brd ff:ff:ff:ff:ff:ff 04:03:47 inet 10.30.122.6/23 brd 10.30.123.255 scope global dynamic eth0 04:03:47 valid_lft 85670sec preferred_lft 85670sec 04:03:47 inet6 fe80::f816:3eff:feb5:bea9/64 scope link 04:03:47 valid_lft forever preferred_lft forever 04:03:47 3: docker0: mtu 1500 qdisc noqueue state DOWN 04:03:47 link/ether 02:42:2c:2c:03:af brd ff:ff:ff:ff:ff:ff 04:03:47 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 04:03:47 valid_lft forever preferred_lft forever 04:03:47 inet6 fe80::42:2cff:fe2c:3af/64 scope link 04:03:47 valid_lft forever preferred_lft forever 04:03:47 04:03:47 04:03:47 ---> sar -b -r -n DEV: 04:03:47 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/26/21 _x86_64_ (2 CPU) 04:03:47 04:03:47 03:51:27 LINUX RESTART (2 CPU) 04:03:47 04:03:47 03:52:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:03:47 03:53:01 77.60 3.56 74.03 0.00 2601.20 3872.77 0.00 04:03:47 03:54:01 0.35 0.00 0.35 0.00 0.00 5.55 0.00 04:03:47 03:55:01 0.35 0.00 0.35 0.00 0.00 5.41 0.00 04:03:47 03:56:01 0.15 0.00 0.15 0.00 0.00 2.02 0.00 04:03:47 03:57:01 0.28 0.00 0.28 0.00 0.00 3.53 0.00 04:03:47 03:58:01 0.37 0.00 0.37 0.00 0.00 5.43 0.00 04:03:47 03:59:01 0.17 0.00 0.17 0.00 0.00 1.75 0.00 04:03:47 04:00:01 0.25 0.00 0.25 0.00 0.00 3.88 0.00 04:03:47 04:01:01 0.23 0.02 0.22 0.00 0.13 2.97 0.00 04:03:47 04:02:01 0.38 0.10 0.28 0.00 1.73 4.75 0.00 04:03:47 04:03:01 108.03 0.03 107.99 0.00 3.73 32006.23 0.00 04:03:47 Average: 17.11 0.34 16.77 0.00 237.00 3265.72 0.00 04:03:47 04:03:47 03:52:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:03:47 03:53:01 5453484 0 801376 10.01 2620 1751460 1280540 14.14 572736 1582280 20 04:03:47 03:54:01 5459108 0 795744 9.94 2620 1751468 1239800 13.69 568264 1582248 16 04:03:47 03:55:01 5462144 0 792708 9.90 2620 1751468 1205980 13.31 568428 1579828 8 04:03:47 03:56:01 5460928 0 793920 9.91 2620 1751472 1205932 13.31 569864 1579828 8 04:03:47 03:57:01 5461396 0 793444 9.91 2620 1751480 1205896 13.31 565936 1583644 12 04:03:47 03:58:01 5460692 0 794148 9.92 2620 1751480 1206040 13.32 566636 1583644 8 04:03:47 03:59:01 5462440 0 792392 9.89 2620 1751488 1205792 13.31 565116 1583644 20 04:03:47 04:00:01 5453348 0 801476 10.01 2620 1751496 1205792 13.31 573880 1583644 8 04:03:47 04:01:01 5451904 0 802916 10.03 2620 1751500 1208560 13.34 575000 1583644 16 04:03:47 04:02:01 5451888 0 802808 10.02 2620 1751624 1206384 13.32 577064 1581800 12 04:03:47 04:03:01 4006512 0 1022244 12.76 2620 2977564 1706876 18.84 870116 2604000 507156 04:03:47 Average: 5325804 0 817561 10.21 2620 1862955 1261599 13.93 597549 1675291 46117 04:03:47 04:03:47 03:52:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:03:47 03:53:01 eth0 181.38 160.68 562.52 31.73 0.00 0.00 0.00 0.00 04:03:47 03:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:53:01 docker0 57.13 39.36 4.48 133.77 0.00 0.00 0.00 0.00 04:03:47 03:54:01 eth0 1.17 0.35 0.33 0.22 0.00 0.00 0.00 0.00 04:03:47 03:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:55:01 eth0 1.00 0.48 0.36 0.21 0.00 0.00 0.00 0.00 04:03:47 03:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:56:01 eth0 1.23 0.42 0.34 0.18 0.00 0.00 0.00 0.00 04:03:47 03:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:57:01 eth0 0.93 0.45 0.37 0.27 0.00 0.00 0.00 0.00 04:03:47 03:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:58:01 eth0 1.85 1.25 1.41 0.29 0.00 0.00 0.00 0.00 04:03:47 03:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:59:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:03:47 03:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 03:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 04:00:01 eth0 0.20 0.08 0.02 0.01 0.00 0.00 0.00 0.00 04:03:47 04:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 04:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 04:01:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:03:47 04:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 04:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 04:02:01 eth0 0.22 0.20 0.08 0.07 0.00 0.00 0.00 0.00 04:03:47 04:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 04:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 04:03:01 eth0 861.43 790.19 7675.86 93.56 0.00 0.00 0.00 0.00 04:03:47 04:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 04:03:01 docker0 68.76 70.96 5.62 385.99 0.00 0.00 0.00 0.00 04:03:47 Average: eth0 95.44 86.77 749.39 11.51 0.00 0.00 0.00 0.00 04:03:47 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:03:47 Average: docker0 11.45 10.03 0.92 47.26 0.00 0.00 0.00 0.00 04:03:47 04:03:47 04:03:47 ---> sar -P ALL: 04:03:47 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/26/21 _x86_64_ (2 CPU) 04:03:47 04:03:47 03:51:27 LINUX RESTART (2 CPU) 04:03:47 04:03:47 03:52:01 CPU %user %nice %system %iowait %steal %idle 04:03:47 03:53:01 all 4.82 0.00 2.14 4.71 0.06 88.27 04:03:47 03:53:01 0 4.63 0.00 2.17 5.43 0.07 87.70 04:03:47 03:53:01 1 5.01 0.00 2.10 3.98 0.05 88.85 04:03:47 03:54:01 all 0.07 0.00 0.03 0.00 0.03 99.87 04:03:47 03:54:01 0 0.03 0.00 0.02 0.00 0.05 99.90 04:03:47 03:54:01 1 0.10 0.00 0.03 0.00 0.02 99.85 04:03:47 03:55:01 all 0.14 0.00 0.09 0.00 0.03 99.73 04:03:47 03:55:01 0 0.18 0.00 0.13 0.00 0.03 99.65 04:03:47 03:55:01 1 0.10 0.00 0.05 0.00 0.03 99.82 04:03:47 03:56:01 all 0.15 0.00 0.02 0.00 0.03 99.80 04:03:47 03:56:01 0 0.28 0.00 0.02 0.00 0.03 99.67 04:03:47 03:56:01 1 0.02 0.00 0.02 0.00 0.03 99.93 04:03:47 03:57:01 all 0.08 0.00 0.02 0.00 0.03 99.87 04:03:47 03:57:01 0 0.12 0.00 0.02 0.00 0.03 99.83 04:03:47 03:57:01 1 0.05 0.00 0.02 0.00 0.03 99.90 04:03:47 03:58:01 all 0.08 0.00 0.02 0.00 0.04 99.87 04:03:47 03:58:01 0 0.12 0.00 0.02 0.00 0.02 99.85 04:03:47 03:58:01 1 0.03 0.00 0.02 0.00 0.07 99.88 04:03:47 03:59:01 all 0.08 0.00 0.03 0.00 0.04 99.85 04:03:47 03:59:01 0 0.10 0.00 0.02 0.00 0.03 99.85 04:03:47 03:59:01 1 0.05 0.00 0.05 0.00 0.05 99.85 04:03:47 04:00:01 all 0.10 0.00 0.03 0.00 0.03 99.83 04:03:47 04:00:01 0 0.17 0.00 0.02 0.00 0.02 99.80 04:03:47 04:00:01 1 0.03 0.00 0.05 0.00 0.05 99.87 04:03:47 04:01:01 all 0.15 0.00 0.03 0.00 0.03 99.79 04:03:47 04:01:01 0 0.23 0.00 0.03 0.00 0.02 99.72 04:03:47 04:01:01 1 0.07 0.00 0.03 0.00 0.03 99.87 04:03:47 04:02:01 all 0.08 0.00 0.03 0.00 0.03 99.87 04:03:47 04:02:01 0 0.17 0.00 0.02 0.00 0.03 99.78 04:03:47 04:02:01 1 0.00 0.00 0.03 0.00 0.02 99.95 04:03:47 04:03:01 all 17.42 0.00 7.16 2.34 0.06 73.02 04:03:47 04:03:01 0 17.36 0.00 7.24 2.20 0.07 73.12 04:03:47 04:03:01 1 17.48 0.00 7.07 2.47 0.05 72.92 04:03:47 04:03:47 Average: CPU %user %nice %system %iowait %steal %idle 04:03:47 Average: all 2.04 0.00 0.85 0.63 0.04 96.44 04:03:47 Average: 0 2.06 0.00 0.85 0.68 0.04 96.37 04:03:47 Average: 1 2.03 0.00 0.84 0.57 0.04 96.52 04:03:47 04:03:47 04:03:47