Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f 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-ssh6827568384886323059.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh4706948783454517499.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 6a41506d72e8e131afc862d141935157bee59f41 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-ssh3988948983467373812.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh2442767207461260775.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-ssh7110878303542481275.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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-642 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_master@tmp/jenkins-gitclient-ssh8283130198174569151.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 Commit message: "Merge pull request #126 from weichou1229/update-lib" > git rev-list --no-walk a5b1cbb034473201950a75ebfecc42600a46d68c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:30:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:30:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:30:18 ========================================================= 02:30:18 EdgeX Global Pipelines Version Info 02:30:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:30:19 ------------------- 02:30:19 stable info: 02:30:19 ------------------- 02:30:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:30:19 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 02:30:19 Message: update stable to v1.0.195 02:30:20 ------------------- 02:30:20 experimental info: 02:30:20 ------------------- 02:30:20 Commited By: **** collab-it+edgex@linuxfoundation.org 02:30:20 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 02:30:20 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c6cdf2e [Pipeline] echo 02:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:21 provisioning config files... 02:30:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6489184359592366410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:21 ---> docker-login.sh 02:30:21 nexus3.edgexfoundry.org:10001 02:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:22 Configure a credential helper to remove this warning. See 02:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:22 02:30:22 Login Succeeded 02:30:22 nexus3.edgexfoundry.org:10002 02:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:22 Configure a credential helper to remove this warning. See 02:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:22 02:30:22 Login Succeeded 02:30:22 nexus3.edgexfoundry.org:10003 02:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:22 Configure a credential helper to remove this warning. See 02:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:22 02:30:22 Login Succeeded 02:30:22 nexus3.edgexfoundry.org:10004 02:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:22 Configure a credential helper to remove this warning. See 02:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:22 02:30:22 Login Succeeded 02:30:22 docker.io 02:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:22 Configure a credential helper to remove this warning. See 02:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:22 02:30:22 Login Succeeded 02:30:22 ---> docker-login.sh ends [Pipeline] } 02:30:22 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 02:30:23 + git log --format=format:%s -1 c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f [Pipeline] echo 02:30:23 GIT_COMMIT: c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f, Commit Message: Merge pull request #126 from weichou1229/update-lib [Pipeline] echo 02:30:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:30:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:30:24 02:30:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:30:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:30:24 latest: Pulling from edgex-devops/git-semver 02:30:24 31603596830f: Pulling fs layer 02:30:24 54011a49482f: Pulling fs layer 02:30:24 a6820b24f6d8: Pulling fs layer 02:30:24 f581987b2513: Pulling fs layer 02:30:24 f581987b2513: Waiting 02:30:24 54011a49482f: Verifying Checksum 02:30:24 54011a49482f: Download complete 02:30:24 31603596830f: Verifying Checksum 02:30:24 31603596830f: Download complete 02:30:25 f581987b2513: Verifying Checksum 02:30:25 f581987b2513: Download complete 02:30:25 31603596830f: Pull complete 02:30:25 a6820b24f6d8: Verifying Checksum 02:30:25 a6820b24f6d8: Download complete 02:30:25 54011a49482f: Pull complete 02:30:25 a6820b24f6d8: Pull complete 02:30:25 f581987b2513: Pull complete 02:30:25 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 02:30:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:30:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:30:26 prd-centos7-docker-4c-2g-642 does not seem to be running inside a container 02:30:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:30:26 $ docker top b70c3097d46b89d5781982e8f25c2052fcb6af3fc07635eecf6b985aed781e2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:30:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:27 [ssh-agent] Looking for ssh-agent implementation... 02:30:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:27 $ docker exec b70c3097d46b89d5781982e8f25c2052fcb6af3fc07635eecf6b985aed781e2d ssh-agent 02:30:27 SSH_AUTH_SOCK=/tmp/ssh-qSNaaPvv6lyU/agent.14 02:30:27 SSH_AGENT_PID=20 02:30:27 Running ssh-add (command line suppressed) 02:30:27 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1408309027756127808.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1408309027756127808.key) 02:30:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:27 + git tag --points-at HEAD [Pipeline] } 02:30:27 $ docker exec --env ******** --env ******** b70c3097d46b89d5781982e8f25c2052fcb6af3fc07635eecf6b985aed781e2d ssh-agent -k 02:30:27 unset SSH_AUTH_SOCK; 02:30:27 unset SSH_AGENT_PID; 02:30:27 echo Agent pid 20 killed; 02:30:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:30:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:27 [ssh-agent] Looking for ssh-agent implementation... 02:30:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:28 $ docker exec b70c3097d46b89d5781982e8f25c2052fcb6af3fc07635eecf6b985aed781e2d ssh-agent 02:30:28 SSH_AUTH_SOCK=/tmp/ssh-qjoS3QLCsq3Z/agent.52 02:30:28 SSH_AGENT_PID=58 02:30:28 Running ssh-add (command line suppressed) 02:30:28 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_155137978339069244.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_155137978339069244.key) 02:30:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:28 + git semver init 02:30:28 # -> Open(): unable to determine branch for HEAD 02:30:28 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 02:30:28 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 02:30:28 # $SEMVER_REMOTE_NAME = origin 02:30:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:30:28 # $SEMVER_USER_NAME = edgex-jenkins 02:30:28 # $SEMVER_BRANCH = master 02:30:28 # $SEMVER_TEMP = /tmp/semver-583967052 02:30:28 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 02:30:29 # '/tmp/semver-583967052' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 02:30:29 # -> Force: false 02:30:29 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 02:30:29 $ docker exec --env ******** --env ******** b70c3097d46b89d5781982e8f25c2052fcb6af3fc07635eecf6b985aed781e2d ssh-agent -k 02:30:29 unset SSH_AUTH_SOCK; 02:30:29 unset SSH_AGENT_PID; 02:30:29 echo Agent pid 58 killed; 02:30:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:30:29 + git semver [Pipeline] } 02:30:30 $ docker stop --time=1 b70c3097d46b89d5781982e8f25c2052fcb6af3fc07635eecf6b985aed781e2d 02:30:31 $ docker rm -f b70c3097d46b89d5781982e8f25c2052fcb6af3fc07635eecf6b985aed781e2d [Pipeline] // withDockerContainer [Pipeline] sh 02:30:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:30:31 Stashed 1 file(s) [Pipeline] echo 02:30:31 [edgeXSemver]: initialized semver on version 1.2.2-dev.21 [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 02:30:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-640 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 02:30:32 Running in /w/workspace/device-rest-go/55 [Pipeline] { [Pipeline] checkout 02:30:32 The recommended git tool is: git 02:30:37 using credential edgex-jenkins-ssh 02:30:37 Cloning the remote Git repository 02:30:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:30:37 > git init /w/workspace/device-rest-go/55 # timeout=10 02:30:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:30:37 > git --version # timeout=10 02:30:37 > git --version # 'git version 2.17.1' 02:30:37 using GIT_SSH to set credentials SSH Credentials for GitHub 02:30:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:30:39 Avoid second fetch 02:30:39 Checking out Revision c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f (master) 02:30:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:30:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:30:39 > git config core.sparsecheckout # timeout=10 02:30:39 > git checkout -f c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 02:30:43 Commit message: "Merge pull request #126 from weichou1229/update-lib" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:30:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:30:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:30:46 + sudo service docker restart+ 02:30:46 true 02:30:47 Still waiting to schedule task 02:30:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:04 provisioning config files... 02:31:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/55@tmp/config2805285229462049994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:04 ---> docker-login.sh 02:31:04 nexus3.edgexfoundry.org:10001 02:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:06 Configure a credential helper to remove this warning. See 02:31:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:06 02:31:06 Login Succeeded 02:31:06 nexus3.edgexfoundry.org:10002 02:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:06 Configure a credential helper to remove this warning. See 02:31:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:06 02:31:06 Login Succeeded 02:31:06 nexus3.edgexfoundry.org:10003 02:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:07 Configure a credential helper to remove this warning. See 02:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:07 02:31:07 Login Succeeded 02:31:07 nexus3.edgexfoundry.org:10004 02:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:07 Configure a credential helper to remove this warning. See 02:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:07 02:31:07 Login Succeeded 02:31:07 docker.io 02:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:08 Configure a credential helper to remove this warning. See 02:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:08 02:31:08 Login Succeeded 02:31:08 ---> docker-login.sh ends [Pipeline] } 02:31:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:31:09 ========================================================= 02:31:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:31:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:31:09 + 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 . 02:31:09 Sending build context to Docker daemon 100.4kB 02:31:09 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 02:31:09 Step 2/10 : FROM ${BASE} 02:31:09 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:31:09 595b0fe564bb: Pulling fs layer 02:31:09 3088b5b3c5c0: Pulling fs layer 02:31:09 5b7225fbf94c: Pulling fs layer 02:31:09 ba82ee9f976e: Pulling fs layer 02:31:09 506bd15cee9f: Pulling fs layer 02:31:09 75a0a4a0db45: Pulling fs layer 02:31:09 618dc40b7e24: Pulling fs layer 02:31:09 ba82ee9f976e: Waiting 02:31:09 506bd15cee9f: Waiting 02:31:09 75a0a4a0db45: Waiting 02:31:09 618dc40b7e24: Waiting 02:31:09 5b7225fbf94c: Verifying Checksum 02:31:09 5b7225fbf94c: Download complete 02:31:09 3088b5b3c5c0: Download complete 02:31:09 506bd15cee9f: Download complete 02:31:10 595b0fe564bb: Verifying Checksum 02:31:10 75a0a4a0db45: Verifying Checksum 02:31:10 75a0a4a0db45: Download complete 02:31:10 595b0fe564bb: Pull complete 02:31:11 3088b5b3c5c0: Pull complete 02:31:12 5b7225fbf94c: Pull complete 02:31:12 618dc40b7e24: Verifying Checksum 02:31:12 618dc40b7e24: Download complete 02:31:13 ba82ee9f976e: Verifying Checksum 02:31:13 ba82ee9f976e: Download complete 02:31:23 ba82ee9f976e: Pull complete 02:31:24 506bd15cee9f: Pull complete 02:31:24 75a0a4a0db45: Pull complete 02:31:29 618dc40b7e24: Pull complete 02:31:29 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 02:31:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:31:29 ---> a36622ca3599 02:31:29 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:31:30 ---> Running in aa39dfa74085 02:31:31 Removing intermediate container aa39dfa74085 02:31:31 ---> bf7c22a99699 02:31:31 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 02:31:31 ---> Running in be5e32ad33fe 02:31:31 Removing intermediate container be5e32ad33fe 02:31:31 ---> 40599444315c 02:31:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:31:31 ---> Running in d229d424e41d 02:31:32 Removing intermediate container d229d424e41d 02:31:32 ---> e59435eefd3c 02:31:32 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:31:32 ---> Running in 3d5f5de9a1d4 02:31:35 Removing intermediate container 3d5f5de9a1d4 02:31:35 ---> 4ffc6639f6d4 02:31:35 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:35 ---> Running in 0138bdf8d188 02:31:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:31:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:31:37 (1/9) Installing libc-dev (0.7.2-r3) 02:31:37 (2/9) Installing libsodium (1.0.18-r0) 02:31:37 (3/9) Installing pkgconf (1.7.3-r0) 02:31:37 (4/9) Installing libsodium-dev (1.0.18-r0) 02:31:38 (5/9) Installing openssh-keygen (8.4_p1-r3) 02:31:38 (6/9) Installing libedit (20191231.3.1-r1) 02:31:38 (7/9) Installing openssh-client (8.4_p1-r3) 02:31:38 (8/9) Installing libzmq (4.3.3-r1) 02:31:38 (9/9) Installing zeromq-dev (4.3.3-r1) 02:31:39 Executing busybox-1.32.1-r6.trigger 02:31:39 OK: 144 MiB in 49 packages 02:31:40 Removing intermediate container 0138bdf8d188 02:31:40 ---> 281e9edf4a7f 02:31:40 Step 8/10 : WORKDIR /device-rest-go 02:31:40 ---> Running in f5b71745724f 02:31:40 Removing intermediate container f5b71745724f 02:31:40 ---> c7f25d753161 02:31:40 Step 9/10 : COPY . . 02:31:41 ---> 8bfe6d13c7fd 02:31:41 Step 10/10 : RUN go mod download 02:31:41 ---> Running in da19b6f8e390 02:32:08 Removing intermediate container da19b6f8e390 02:32:08 ---> 6c58a9a4e779 02:32:08 Successfully built 6c58a9a4e779 02:32:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:32:08 + docker inspect -f . ci-base-image-arm64 02:32:08 . [Pipeline] withDockerContainer 02:32:09 prd-ubuntu18.04-docker-arm64-4c-16g-640 does not seem to be running inside a container 02:32:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/55 -v /w/workspace/device-rest-go/55:/w/workspace/device-rest-go/55:rw,z -v /w/workspace/device-rest-go/55@tmp:/w/workspace/device-rest-go/55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:32:10 $ docker top 974775da7c13671fa1ee6a0dff032de22e350d533987659eb8a88f0acf8fc918 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:11 + go version 02:32:11 go version go1.16.5 linux/arm64 [Pipeline] } 02:32:11 $ docker stop --time=1 974775da7c13671fa1ee6a0dff032de22e350d533987659eb8a88f0acf8fc918 02:32:13 $ docker rm -f 974775da7c13671fa1ee6a0dff032de22e350d533987659eb8a88f0acf8fc918 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:32:14 + docker inspect -f . ci-base-image-arm64 02:32:14 . [Pipeline] withDockerContainer 02:32:14 prd-ubuntu18.04-docker-arm64-4c-16g-640 does not seem to be running inside a container 02:32:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/55 -v /w/workspace/device-rest-go/55:/w/workspace/device-rest-go/55:rw,z -v /w/workspace/device-rest-go/55@tmp:/w/workspace/device-rest-go/55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:32:16 $ docker top 9d6848b055f2bb6e54163c1845cc584c262027ffbdb11a9477e41bfa4689fd7f -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:17 + go mod tidy [Pipeline] sh 02:32:18 + make test 02:32:18 go mod tidy 02:32:18 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:32:19 ? github.com/edgexfoundry/device-rest-go [no test files] 02:32:55 Running on prd-centos7-docker-4c-2g-643 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 02:32:55 Running in /w/workspace/device-rest-go/55 [Pipeline] { [Pipeline] checkout 02:32:55 The recommended git tool is: git 02:32:58 using credential edgex-jenkins-ssh 02:32:58 Cloning the remote Git repository 02:32:57 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:32:57 > git init /w/workspace/device-rest-go/55 # timeout=10 02:32:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:32:57 > git --version # timeout=10 02:32:57 > git --version # 'git version 2.24.4' 02:32:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:32:57 [INFO] Currently running in a labeled security context 02:32:57 [INFO] Currently SELinux is 'enforcing' on the host 02:32:57 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/55@tmp/jenkins-gitclient-ssh5371244339766186186.key 02:32:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:32:59 Avoid second fetch 02:32:59 Checking out Revision c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f (master) 02:32:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:32:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:32:58 > git config core.sparsecheckout # timeout=10 02:32:58 > git checkout -f c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 02:33:02 Commit message: "Merge pull request #126 from weichou1229/update-lib" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:33:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:33:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:33:04 + sudo service docker restart 02:33:04 + true 02:33:04 Redirecting to /bin/systemctl restart docker.service 02:33:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:33:16 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 54.0% of statements 02:33:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:22 provisioning config files... 02:33:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/55@tmp/config4474987686453076128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:22 ---> docker-login.sh 02:33:22 nexus3.edgexfoundry.org:10001 02:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:23 Configure a credential helper to remove this warning. See 02:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:23 02:33:23 Login Succeeded 02:33:23 nexus3.edgexfoundry.org:10002 02:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:23 Configure a credential helper to remove this warning. See 02:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:23 02:33:23 Login Succeeded 02:33:23 nexus3.edgexfoundry.org:10003 02:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:23 Configure a credential helper to remove this warning. See 02:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:23 02:33:23 Login Succeeded 02:33:23 nexus3.edgexfoundry.org:10004 02:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:23 Configure a credential helper to remove this warning. See 02:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:23 02:33:23 Login Succeeded 02:33:23 docker.io 02:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:24 Configure a credential helper to remove this warning. See 02:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:24 02:33:24 Login Succeeded 02:33:24 ---> docker-login.sh ends [Pipeline] } 02:33:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:33:24 ========================================================= 02:33:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 02:33:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:33:24 + 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 . 02:33:24 Sending build context to Docker daemon 100.4kB 02:33:24 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 02:33:24 Step 2/10 : FROM ${BASE} 02:33:24 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 02:33:24 540db60ca938: Pulling fs layer 02:33:24 adcc1eea9eea: Pulling fs layer 02:33:24 4c4ab2625f07: Pulling fs layer 02:33:24 0510c868ecb4: Pulling fs layer 02:33:24 afea3b2eda06: Pulling fs layer 02:33:24 7809a108b3ef: Pulling fs layer 02:33:24 f706445af74f: Pulling fs layer 02:33:24 afea3b2eda06: Waiting 02:33:24 7809a108b3ef: Waiting 02:33:24 f706445af74f: Waiting 02:33:24 0510c868ecb4: Waiting 02:33:24 4c4ab2625f07: Verifying Checksum 02:33:24 4c4ab2625f07: Download complete 02:33:24 adcc1eea9eea: Verifying Checksum 02:33:24 adcc1eea9eea: Download complete 02:33:24 afea3b2eda06: Verifying Checksum 02:33:24 afea3b2eda06: Download complete 02:33:24 7809a108b3ef: Verifying Checksum 02:33:24 7809a108b3ef: Download complete 02:33:24 540db60ca938: Verifying Checksum 02:33:24 540db60ca938: Download complete 02:33:25 540db60ca938: Pull complete 02:33:25 adcc1eea9eea: Pull complete 02:33:25 4c4ab2625f07: Pull complete 02:33:26 f706445af74f: Verifying Checksum 02:33:26 f706445af74f: Download complete 02:33:27 0510c868ecb4: Verifying Checksum 02:33:27 0510c868ecb4: Download complete 02:33:30 0510c868ecb4: Pull complete 02:33:30 afea3b2eda06: Pull complete 02:33:30 7809a108b3ef: Pull complete 02:33:31 f706445af74f: Pull complete 02:33:31 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 02:33:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:33:31 ---> b068be0155e3 02:33:31 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:33:35 ---> Running in 2b928b2a1b3b 02:33:35 Removing intermediate container 2b928b2a1b3b 02:33:35 ---> 95cafc9f24f1 02:33:35 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 02:33:35 ---> Running in e3e162aa25de 02:33:35 Removing intermediate container e3e162aa25de 02:33:35 ---> 4d3abd725ad0 02:33:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:33:35 ---> Running in eaf5a8cc7c4a 02:33:35 Removing intermediate container eaf5a8cc7c4a 02:33:35 ---> f8f8a4b5e054 02:33:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:33:35 ---> Running in 833dd990ffd7 02:33:35 Removing intermediate container 833dd990ffd7 02:33:35 ---> d8d85e86f679 02:33:35 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:35 ---> Running in 828d2ca466e0 02:33:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:33:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:33:37 (1/9) Installing libc-dev (0.7.2-r3) 02:33:37 (2/9) Installing libsodium (1.0.18-r0) 02:33:37 (3/9) Installing pkgconf (1.7.3-r0) 02:33:37 (4/9) Installing libsodium-dev (1.0.18-r0) 02:33:37 (5/9) Installing openssh-keygen (8.4_p1-r3) 02:33:37 (6/9) Installing libedit (20191231.3.1-r1) 02:33:37 (7/9) Installing openssh-client (8.4_p1-r3) 02:33:37 (8/9) Installing libzmq (4.3.3-r1) 02:33:38 (9/9) Installing zeromq-dev (4.3.3-r1) 02:33:38 Executing busybox-1.32.1-r6.trigger 02:33:38 OK: 154 MiB in 49 packages 02:33:38 Removing intermediate container 828d2ca466e0 02:33:38 ---> 3e26f42478a9 02:33:38 Step 8/10 : WORKDIR /device-rest-go 02:33:38 ---> Running in 06eda423bbee 02:33:38 Removing intermediate container 06eda423bbee 02:33:38 ---> 95a9e21e43e5 02:33:38 Step 9/10 : COPY . . 02:33:38 gofmt -l . 02:33:38 [ "`gofmt -l .`" = "" ] 02:33:38 ./bin/test-go-mod-tidy.sh 02:33:38 ./bin/test-attribution-txt.sh 02:33:38 ---> 17bee8d472fe 02:33:38 Step 10/10 : RUN go mod download 02:33:38 ---> Running in d7c129f13bb9 [Pipeline] } 02:33:39 $ docker stop --time=1 9d6848b055f2bb6e54163c1845cc584c262027ffbdb11a9477e41bfa4689fd7f 02:33:41 $ docker rm -f 9d6848b055f2bb6e54163c1845cc584c262027ffbdb11a9477e41bfa4689fd7f [Pipeline] // withDockerContainer [Pipeline] sh 02:33:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:33:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:33:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:33:46 + ls -al . 02:33:46 total 140 02:33:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 02:33 . 02:33:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 02:30 .. 02:33:46 -rw-rw-r-- 1 jenkins jenkins 151 Jun 29 02:30 .dockerignore 02:33:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 02:30 .git 02:33:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:30 .github 02:33:46 -rw-rw-r-- 1 jenkins jenkins 336 Jun 29 02:30 .gitignore 02:33:46 -rw-rw-r-- 1 jenkins jenkins 6792 Jun 29 02:30 Attribution.txt 02:33:46 -rw-rw-r-- 1 jenkins jenkins 7459 Jun 29 02:30 CHANGELOG.md 02:33:46 -rw-rw-r-- 1 jenkins jenkins 1615 Jun 29 02:30 Dockerfile 02:33:46 -rw-rw-r-- 1 jenkins jenkins 1087 Jun 29 02:30 Dockerfile.build 02:33:46 -rw-rw-r-- 1 jenkins jenkins 680 Jun 29 02:30 Jenkinsfile 02:33:46 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 02:30 LICENSE 02:33:46 -rw-rw-r-- 1 jenkins jenkins 996 Jun 29 02:30 Makefile 02:33:46 -rw-rw-r-- 1 jenkins jenkins 7667 Jun 29 02:30 README.md 02:33:46 -rw-rw-r-- 1 jenkins jenkins 12 Jun 29 02:30 VERSION 02:33:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:30 bin 02:33:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 02:30 cmd 02:33:46 -rw-r--r-- 1 jenkins jenkins 8513 Jun 29 02:33 coverage.out 02:33:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:30 driver 02:33:46 -rw-r--r-- 1 jenkins jenkins 271 Jun 29 02:33 go.mod 02:33:46 -rw-r--r-- 1 jenkins jenkins 20570 Jun 29 02:32 go.sum 02:33:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 02:30 snap 02:33:46 -rw-rw-r-- 1 jenkins jenkins 713 Jun 29 02:30 version.go [Pipeline] isUnix [Pipeline] sh 02:33:46 + 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=c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f --label arch=arm64 --label version=1.2.2-dev.21 . 02:33:46 Sending build context to Docker daemon 110.1kB 02:33:47 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 02:33:47 Step 2/25 : FROM ${BASE} AS builder 02:33:47 ---> 6c58a9a4e779 02:33:47 Step 3/25 : ARG MAKE='make build' 02:33:47 ---> Running in 36e11a9e6387 02:33:48 Removing intermediate container 36e11a9e6387 02:33:48 ---> c46491134355 02:33:48 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:33:48 ---> Running in becf9fda0063 02:33:48 Removing intermediate container becf9fda0063 02:33:48 ---> 4298958755ab 02:33:48 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 02:33:48 ---> Running in 34cc8a501237 02:33:49 Removing intermediate container 34cc8a501237 02:33:49 ---> df1a80e38810 02:33:49 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:33:49 ---> Running in c2ffa601c913 02:33:51 Removing intermediate container d7c129f13bb9 02:33:51 ---> e5dcf481ef62 02:33:51 Successfully built e5dcf481ef62 02:33:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:33:51 + docker inspect -f . ci-base-image-x86_64 02:33:51 . [Pipeline] withDockerContainer 02:33:51 prd-centos7-docker-4c-2g-643 does not seem to be running inside a container 02:33:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/55 -v /w/workspace/device-rest-go/55:/w/workspace/device-rest-go/55:rw,z -v /w/workspace/device-rest-go/55@tmp:/w/workspace/device-rest-go/55@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 02:33:52 Removing intermediate container c2ffa601c913 02:33:52 ---> 9eaca097ff8f 02:33:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:52 ---> Running in c07587e8e8a3 02:33:52 $ docker top feccf3324a9d61f3904dac2b92a136f3dc21546ec14fd4eb22a9af5bd71fee15 -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:52 + go version 02:33:52 go version go1.16.3 linux/amd64 [Pipeline] } 02:33:52 $ docker stop --time=1 feccf3324a9d61f3904dac2b92a136f3dc21546ec14fd4eb22a9af5bd71fee15 02:33:53 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:33:53 $ docker rm -f feccf3324a9d61f3904dac2b92a136f3dc21546ec14fd4eb22a9af5bd71fee15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:33:53 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:33:54 + docker inspect -f . ci-base-image-x86_64 02:33:54 . [Pipeline] withDockerContainer 02:33:54 prd-centos7-docker-4c-2g-643 does not seem to be running inside a container 02:33:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/55 -v /w/workspace/device-rest-go/55:/w/workspace/device-rest-go/55:rw,z -v /w/workspace/device-rest-go/55@tmp:/w/workspace/device-rest-go/55@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 02:33:54 OK: 144 MiB in 49 packages 02:33:54 $ docker top 39e6164f6e83ee42b0642f70978ea8f14853ebe19bb04f04e504d7334a2afa6b -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:55 + go mod tidy [Pipeline] sh 02:33:55 + make test 02:33:55 go mod tidy 02:33:55 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:33:56 Removing intermediate container c07587e8e8a3 02:33:56 ---> aac8d571700a 02:33:56 Step 8/25 : WORKDIR /device-rest-go 02:33:56 ---> Running in 694eab047a7b 02:33:56 ? github.com/edgexfoundry/device-rest-go [no test files] 02:33:56 Removing intermediate container 694eab047a7b 02:33:56 ---> 05a3c89e3f60 02:33:56 Step 9/25 : COPY . . 02:33:57 ---> ec6e5d8fad3e 02:33:57 Step 10/25 : RUN go mod tidy 02:33:57 ---> Running in 030a0cd7c0d4 02:34:00 Removing intermediate container 030a0cd7c0d4 02:34:00 ---> 8dd61f248f9e 02:34:00 Step 11/25 : RUN make update 02:34:00 ---> Running in c10c09a7deb5 02:34:01 CGO_ENABLED=0 GO111MODULE=on go mod download 02:34:02 Removing intermediate container c10c09a7deb5 02:34:02 ---> 0cd5a8c9f2cf 02:34:02 Step 12/25 : RUN $MAKE 02:34:02 ---> Running in 5ee4f559d132 02:34:03 go mod tidy 02:34:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.21" -o cmd/device-rest ./cmd 02:34:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:34:12 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 54.0% of statements 02:34:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:34:18 gofmt -l . 02:34:18 [ "`gofmt -l .`" = "" ] 02:34:18 ./bin/test-go-mod-tidy.sh 02:34:18 ./bin/test-attribution-txt.sh [Pipeline] } 02:34:19 $ docker stop --time=1 39e6164f6e83ee42b0642f70978ea8f14853ebe19bb04f04e504d7334a2afa6b 02:34:20 $ docker rm -f 39e6164f6e83ee42b0642f70978ea8f14853ebe19bb04f04e504d7334a2afa6b [Pipeline] // withDockerContainer [Pipeline] sh 02:34:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:34:21 Warning: overwriting stash ‘coverage-report’ 02:34:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:34:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:34:22 + ls -al . 02:34:22 total 112 02:34:22 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 29 02:34 . 02:34:22 drwxrwxr-x. 4 jenkins jenkins 30 Jun 29 02:32 .. 02:34:22 -rw-rw-r--. 1 jenkins jenkins 6792 Jun 29 02:32 Attribution.txt 02:34:22 drwxrwxr-x. 2 jenkins jenkins 64 Jun 29 02:32 bin 02:34:22 -rw-rw-r--. 1 jenkins jenkins 7459 Jun 29 02:32 CHANGELOG.md 02:34:22 drwxrwxr-x. 3 jenkins jenkins 32 Jun 29 02:32 cmd 02:34:22 -rw-r--r--. 1 jenkins jenkins 8513 Jun 29 02:34 coverage.out 02:34:22 -rw-rw-r--. 1 jenkins jenkins 1615 Jun 29 02:32 Dockerfile 02:34:22 -rw-rw-r--. 1 jenkins jenkins 1087 Jun 29 02:32 Dockerfile.build 02:34:22 -rw-rw-r--. 1 jenkins jenkins 151 Jun 29 02:32 .dockerignore 02:34:22 drwxrwxr-x. 2 jenkins jenkins 76 Jun 29 02:32 driver 02:34:22 drwxrwxr-x. 8 jenkins jenkins 162 Jun 29 02:33 .git 02:34:22 drwxrwxr-x. 2 jenkins jenkins 103 Jun 29 02:32 .github 02:34:22 -rw-rw-r--. 1 jenkins jenkins 336 Jun 29 02:32 .gitignore 02:34:22 -rw-r--r--. 1 jenkins jenkins 271 Jun 29 02:34 go.mod 02:34:22 -rw-r--r--. 1 jenkins jenkins 20570 Jun 29 02:33 go.sum 02:34:22 -rw-rw-r--. 1 jenkins jenkins 680 Jun 29 02:32 Jenkinsfile 02:34:22 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 29 02:32 LICENSE 02:34:22 -rw-rw-r--. 1 jenkins jenkins 996 Jun 29 02:32 Makefile 02:34:22 -rw-rw-r--. 1 jenkins jenkins 7667 Jun 29 02:32 README.md 02:34:22 drwxrwxr-x. 4 jenkins jenkins 71 Jun 29 02:32 snap 02:34:22 -rw-rw-r--. 1 jenkins jenkins 12 Jun 29 02:30 VERSION 02:34:22 -rw-rw-r--. 1 jenkins jenkins 713 Jun 29 02:32 version.go [Pipeline] isUnix [Pipeline] sh 02:34:22 + 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=c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f --label arch=amd64 --label version=1.2.2-dev.21 . 02:34:22 Sending build context to Docker daemon 110.1kB 02:34:22 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 02:34:22 Step 2/25 : FROM ${BASE} AS builder 02:34:22 ---> e5dcf481ef62 02:34:22 Step 3/25 : ARG MAKE='make build' 02:34:22 ---> Running in a723080cdf9a 02:34:22 Removing intermediate container a723080cdf9a 02:34:22 ---> 3b5d819a4efa 02:34:22 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:34:22 ---> Running in 49c0cb8a7352 02:34:23 Removing intermediate container 49c0cb8a7352 02:34:23 ---> 65ba9be140ff 02:34:23 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 02:34:23 ---> Running in 199d9fdd5f21 02:34:23 Removing intermediate container 199d9fdd5f21 02:34:23 ---> 86da705a8ddb 02:34:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:34:23 ---> Running in 85262b834384 02:34:23 Removing intermediate container 85262b834384 02:34:23 ---> 64b12eb7d37b 02:34:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:34:23 ---> Running in 6f63148f3721 02:34:23 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:34:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:34:25 OK: 154 MiB in 49 packages 02:34:25 Removing intermediate container 6f63148f3721 02:34:25 ---> 94129a6903ac 02:34:25 Step 8/25 : WORKDIR /device-rest-go 02:34:25 ---> Running in 15a6058c92aa 02:34:25 Removing intermediate container 15a6058c92aa 02:34:25 ---> c14bb9d69f2f 02:34:25 Step 9/25 : COPY . . 02:34:25 ---> 9c5a1348b0d6 02:34:25 Step 10/25 : RUN go mod tidy 02:34:25 ---> Running in 19ed96c8d72f 02:34:26 Removing intermediate container 19ed96c8d72f 02:34:26 ---> 3db1c31c6f59 02:34:26 Step 11/25 : RUN make update 02:34:26 ---> Running in 79cabf2e7b61 02:34:26 CGO_ENABLED=0 GO111MODULE=on go mod download 02:34:26 Removing intermediate container 79cabf2e7b61 02:34:26 ---> 63578f8eec4d 02:34:26 Step 12/25 : RUN $MAKE 02:34:26 ---> Running in 2fe8078de631 02:34:26 go mod tidy 02:34:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.21" -o cmd/device-rest ./cmd 02:34:39 Removing intermediate container 2fe8078de631 02:34:39 ---> 1ed4f403b849 02:34:39 Step 13/25 : FROM alpine:3.12 02:34:39 3.12: Pulling from library/alpine 02:34:39 339de151aab4: Pulling fs layer 02:34:39 339de151aab4: Verifying Checksum 02:34:39 339de151aab4: Download complete 02:34:39 339de151aab4: Pull complete 02:34:39 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 02:34:39 Status: Downloaded newer image for alpine:3.12 02:34:39 ---> 13621d1b12d4 02:34:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:34:39 ---> Running in c35de8520c54 02:34:39 Removing intermediate container c35de8520c54 02:34:39 ---> b58cd9e559ac 02:34:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 02:34:39 ---> Running in 57efbebd101d 02:34:39 Removing intermediate container 57efbebd101d 02:34:39 ---> 341c906dd35c 02:34:39 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 02:34:39 ---> Running in 6ebf852cf539 02:34:39 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:34:39 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:34:39 (1/6) Installing dumb-init (1.2.2-r1) 02:34:39 (2/6) Installing libgcc (9.3.0-r2) 02:34:39 (3/6) Installing libsodium (1.0.18-r0) 02:34:39 (4/6) Installing libstdc++ (9.3.0-r2) 02:34:39 (5/6) Installing libzmq (4.3.3-r0) 02:34:39 (6/6) Installing zeromq (4.3.3-r0) 02:34:39 Executing busybox-1.31.1-r20.trigger 02:34:39 OK: 8 MiB in 20 packages 02:34:40 Removing intermediate container 6ebf852cf539 02:34:40 ---> 391e34b0af11 02:34:40 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 02:34:40 ---> fcfada884639 02:34:40 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 02:34:40 ---> 59efbe9d46de 02:34:40 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 02:34:40 ---> b7a8323dddef 02:34:40 Step 20/25 : EXPOSE 59986 02:34:40 ---> Running in b1ef960faf10 02:34:40 Removing intermediate container b1ef960faf10 02:34:40 ---> 55a63cc7e135 02:34:40 Step 21/25 : ENTRYPOINT ["/device-rest"] 02:34:40 ---> Running in 91eee067d6f0 02:34:40 Removing intermediate container 91eee067d6f0 02:34:40 ---> ca8421602261 02:34:40 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:34:40 ---> Running in ef02f1fde205 02:34:40 Removing intermediate container ef02f1fde205 02:34:40 ---> 0f3f4380afe5 02:34:40 Step 23/25 : LABEL arch=amd64 02:34:40 ---> Running in 284c8dfc803e 02:34:41 Removing intermediate container 284c8dfc803e 02:34:41 ---> 167b6bf68ce7 02:34:41 Step 24/25 : LABEL git_sha=c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f 02:34:41 ---> Running in d7de77cebc44 02:34:41 Removing intermediate container d7de77cebc44 02:34:41 ---> e2d0c477fb18 02:34:41 Step 25/25 : LABEL version=1.2.2-dev.21 02:34:41 ---> Running in f6e43444e71a 02:34:41 Removing intermediate container f6e43444e71a 02:34:41 ---> 1b94ea56238b 02:34:41 [Warning] One or more build-args [ARCH] were not consumed 02:34:41 Successfully built 1b94ea56238b 02:34:41 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:41 provisioning config files... 02:34:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/55@tmp/config2553781744292525255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:41 ---> docker-login.sh 02:34:41 nexus3.edgexfoundry.org:10001 02:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:41 Configure a credential helper to remove this warning. See 02:34:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:41 02:34:41 Login Succeeded 02:34:41 nexus3.edgexfoundry.org:10002 02:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:41 Configure a credential helper to remove this warning. See 02:34:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:41 02:34:41 Login Succeeded 02:34:41 nexus3.edgexfoundry.org:10003 02:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:41 Configure a credential helper to remove this warning. See 02:34:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:41 02:34:41 Login Succeeded 02:34:41 nexus3.edgexfoundry.org:10004 02:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:42 Configure a credential helper to remove this warning. See 02:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:42 02:34:42 Login Succeeded 02:34:42 docker.io 02:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:42 Configure a credential helper to remove this warning. See 02:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:42 02:34:42 Login Succeeded 02:34:42 ---> docker-login.sh ends [Pipeline] } 02:34:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:34:42 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:34:42 c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f 02:34:42 latest 02:34:42 1.2.2-dev.21 02:34:42 c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f-1.2.2-dev.21 02:34:42 master 02:34:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:34:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f [Pipeline] isUnix [Pipeline] sh 02:34:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f 02:34:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:43 1d58d0f606bc: Preparing 02:34:43 f11e4cc4b3c0: Preparing 02:34:43 62263d2deaec: Preparing 02:34:43 dd3ad0e701a3: Preparing 02:34:43 32f366d666a5: Preparing 02:34:43 32f366d666a5: Layer already exists 02:34:43 Removing intermediate container 5ee4f559d132 02:34:43 ---> c9518168e5cc 02:34:43 Step 13/25 : FROM alpine:3.12 02:34:43 3.12: Pulling from library/alpine 02:34:43 d2f70382dc9a: Pulling fs layer 02:34:43 d2f70382dc9a: Verifying Checksum 02:34:43 d2f70382dc9a: Download complete 02:34:43 d2f70382dc9a: Pull complete 02:34:43 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 02:34:43 Status: Downloaded newer image for alpine:3.12 02:34:43 ---> c4fd0aeabfcf 02:34:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:34:43 ---> Running in 19c7c4e4335e 02:34:43 Removing intermediate container 19c7c4e4335e 02:34:43 ---> d91d8bb308e8 02:34:43 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 02:34:43 ---> Running in 15206ebb6804 02:34:43 Removing intermediate container 15206ebb6804 02:34:43 ---> 42ea7ed91b3c 02:34:43 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 02:34:43 ---> Running in 68b5b689e90f 02:34:43 1d58d0f606bc: Pushed 02:34:43 f11e4cc4b3c0: Pushed 02:34:43 dd3ad0e701a3: Pushed 02:34:44 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:34:44 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:34:44 (1/6) Installing dumb-init (1.2.2-r1) 02:34:44 (2/6) Installing libgcc (9.3.0-r2) 02:34:44 (3/6) Installing libsodium (1.0.18-r0) 02:34:44 (4/6) Installing libstdc++ (9.3.0-r2) 02:34:44 (5/6) Installing libzmq (4.3.3-r0) 02:34:44 (6/6) Installing zeromq (4.3.3-r0) 02:34:44 Executing busybox-1.31.1-r20.trigger 02:34:44 OK: 8 MiB in 20 packages 02:34:44 62263d2deaec: Pushed 02:34:44 c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f: digest: sha256:5465a91deb34c20ede86e0e7649e7ff9fd5e8bb6cb7589d0103b558bcf206b50 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:34:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 02:34:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 02:34:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:45 1d58d0f606bc: Preparing 02:34:45 f11e4cc4b3c0: Preparing 02:34:45 62263d2deaec: Preparing 02:34:45 dd3ad0e701a3: Preparing 02:34:45 32f366d666a5: Preparing 02:34:45 62263d2deaec: Layer already exists 02:34:45 dd3ad0e701a3: Layer already exists 02:34:45 1d58d0f606bc: Layer already exists 02:34:45 32f366d666a5: Layer already exists 02:34:45 f11e4cc4b3c0: Layer already exists 02:34:45 latest: digest: sha256:5465a91deb34c20ede86e0e7649e7ff9fd5e8bb6cb7589d0103b558bcf206b50 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:34:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.21 02:34:45 Removing intermediate container 68b5b689e90f 02:34:45 ---> ecbbd5999a05 02:34:45 Step 17/25 : COPY --from=builder /device-rest-go/cmd / [Pipeline] isUnix [Pipeline] sh 02:34:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.21 02:34:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:46 1d58d0f606bc: Preparing 02:34:46 f11e4cc4b3c0: Preparing 02:34:46 62263d2deaec: Preparing 02:34:46 dd3ad0e701a3: Preparing 02:34:46 32f366d666a5: Preparing 02:34:46 f11e4cc4b3c0: Layer already exists 02:34:46 dd3ad0e701a3: Layer already exists 02:34:46 62263d2deaec: Layer already exists 02:34:46 32f366d666a5: Layer already exists 02:34:46 1d58d0f606bc: Layer already exists 02:34:46 1.2.2-dev.21: digest: sha256:5465a91deb34c20ede86e0e7649e7ff9fd5e8bb6cb7589d0103b558bcf206b50 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:34:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f-1.2.2-dev.21 [Pipeline] isUnix [Pipeline] sh 02:34:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f-1.2.2-dev.21 02:34:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:46 1d58d0f606bc: Preparing 02:34:46 f11e4cc4b3c0: Preparing 02:34:46 62263d2deaec: Preparing 02:34:46 dd3ad0e701a3: Preparing 02:34:46 32f366d666a5: Preparing 02:34:46 32f366d666a5: Layer already exists 02:34:46 1d58d0f606bc: Layer already exists 02:34:46 62263d2deaec: Layer already exists 02:34:46 f11e4cc4b3c0: Layer already exists 02:34:46 dd3ad0e701a3: Layer already exists 02:34:46 c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f-1.2.2-dev.21: digest: sha256:5465a91deb34c20ede86e0e7649e7ff9fd5e8bb6cb7589d0103b558bcf206b50 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:34:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 02:34:47 ---> cae012354359 02:34:47 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 02:34:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 02:34:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:34:47 1d58d0f606bc: Preparing 02:34:47 f11e4cc4b3c0: Preparing 02:34:47 62263d2deaec: Preparing 02:34:47 dd3ad0e701a3: Preparing 02:34:47 32f366d666a5: Preparing 02:34:47 dd3ad0e701a3: Layer already exists 02:34:47 1d58d0f606bc: Layer already exists 02:34:47 f11e4cc4b3c0: Layer already exists 02:34:47 62263d2deaec: Layer already exists 02:34:47 32f366d666a5: Layer already exists 02:34:47 master: digest: sha256:5465a91deb34c20ede86e0e7649e7ff9fd5e8bb6cb7589d0103b558bcf206b50 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:34:47 ===================================================== [Pipeline] echo 02:34:47 taggedImages: 02:34:47 - nexus3.edgexfoundry.org:10004/device-rest:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f 02:34:47 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:34:47 - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.21 02:34:47 - nexus3.edgexfoundry.org:10004/device-rest:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f-1.2.2-dev.21 02:34:47 - 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 02:34:47 ---> 713b459235ed 02:34:47 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [Pipeline] libraryResource [Pipeline] sh 02:34:48 ---> job-cost.sh 02:34:48 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4lwv 02:34:48 ---> 822fa4c9473c 02:34:48 Step 20/25 : EXPOSE 59986 02:34:48 ---> Running in f58ed516db65 02:34:49 Removing intermediate container f58ed516db65 02:34:49 ---> d19379ec31e3 02:34:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 02:34:49 ---> Running in 99ab3d669d31 02:34:49 Removing intermediate container 99ab3d669d31 02:34:49 ---> 02b8b64d1f02 02:34:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:34:49 ---> Running in e6f3f8b8da27 02:34:50 Removing intermediate container e6f3f8b8da27 02:34:50 ---> 62147e53725a 02:34:50 Step 23/25 : LABEL arch=arm64 02:34:50 ---> Running in e9d27122841e 02:34:51 Removing intermediate container e9d27122841e 02:34:51 ---> cc746d47bc9b 02:34:51 Step 24/25 : LABEL git_sha=c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f 02:34:51 ---> Running in 32b0fbfd649b 02:34:51 Removing intermediate container 32b0fbfd649b 02:34:51 ---> 5a1856e6b0e9 02:34:51 Step 25/25 : LABEL version=1.2.2-dev.21 02:34:51 ---> Running in 1e882f1ab1b2 02:34:52 Removing intermediate container 1e882f1ab1b2 02:34:52 ---> 052abf4fa573 02:34:52 [Warning] One or more build-args [ARCH] were not consumed 02:34:52 Successfully built 052abf4fa573 02:34:52 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 02:34:52 provisioning config files... 02:34:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/55@tmp/config4759550492628385879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:52 ---> docker-login.sh 02:34:52 nexus3.edgexfoundry.org:10001 02:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:53 Configure a credential helper to remove this warning. See 02:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:53 02:34:53 Login Succeeded 02:34:53 nexus3.edgexfoundry.org:10002 02:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:53 Configure a credential helper to remove this warning. See 02:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:53 02:34:53 Login Succeeded 02:34:53 nexus3.edgexfoundry.org:10003 02:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:54 Configure a credential helper to remove this warning. See 02:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:54 02:34:54 Login Succeeded 02:34:54 nexus3.edgexfoundry.org:10004 02:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:54 Configure a credential helper to remove this warning. See 02:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:54 02:34:54 Login Succeeded 02:34:54 docker.io 02:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:55 Configure a credential helper to remove this warning. See 02:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:55 02:34:55 Login Succeeded 02:34:55 ---> docker-login.sh ends [Pipeline] } 02:34:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:34:55 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:34:55 c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f 02:34:55 latest 02:34:55 1.2.2-dev.21 02:34:55 c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f-1.2.2-dev.21 02:34:55 master 02:34:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:34:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f [Pipeline] isUnix [Pipeline] sh 02:34:56 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:34:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f 02:34:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:34:56 7a355a0474d8: Preparing 02:34:56 d2ec3ad0275a: Preparing 02:34:56 1c2ed67c84dc: Preparing 02:34:56 f32815a14138: Preparing 02:34:56 3fbe34a1663b: Preparing 02:34:56 3fbe34a1663b: Layer already exists 02:34:56 d2ec3ad0275a: Pushed 02:34:56 7a355a0474d8: Pushed 02:34:57 f32815a14138: Pushed 02:35:00 1c2ed67c84dc: Pushed 02:35:00 c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f: digest: sha256:d6c0f4cfd821ca2546d22b11a778950dafe38279c1bc83a2d177f68884bf3251 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:35:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:35:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:35:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:35:00 7a355a0474d8: Preparing 02:35:00 d2ec3ad0275a: Preparing 02:35:00 1c2ed67c84dc: Preparing 02:35:00 f32815a14138: Preparing 02:35:00 3fbe34a1663b: Preparing 02:35:00 7a355a0474d8: Layer already exists 02:35:00 d2ec3ad0275a: Layer already exists 02:35:00 3fbe34a1663b: Layer already exists 02:35:00 f32815a14138: Layer already exists 02:35:00 1c2ed67c84dc: Layer already exists 02:35:00 latest: digest: sha256:d6c0f4cfd821ca2546d22b11a778950dafe38279c1bc83a2d177f68884bf3251 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:35:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.21 [Pipeline] isUnix [Pipeline] sh 02:35:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.21 02:35:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:35:01 7a355a0474d8: Preparing 02:35:01 d2ec3ad0275a: Preparing 02:35:01 1c2ed67c84dc: Preparing 02:35:01 f32815a14138: Preparing 02:35:01 3fbe34a1663b: Preparing 02:35:01 3fbe34a1663b: Layer already exists 02:35:01 d2ec3ad0275a: Layer already exists 02:35:01 1c2ed67c84dc: Layer already exists 02:35:01 7a355a0474d8: Layer already exists 02:35:01 f32815a14138: Layer already exists 02:35:01 1.2.2-dev.21: digest: sha256:d6c0f4cfd821ca2546d22b11a778950dafe38279c1bc83a2d177f68884bf3251 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:35:02 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f-1.2.2-dev.21 [Pipeline] isUnix [Pipeline] sh 02:35:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f-1.2.2-dev.21 02:35:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:35:02 7a355a0474d8: Preparing 02:35:02 d2ec3ad0275a: Preparing 02:35:02 1c2ed67c84dc: Preparing 02:35:02 f32815a14138: Preparing 02:35:02 3fbe34a1663b: Preparing 02:35:02 d2ec3ad0275a: Layer already exists 02:35:02 3fbe34a1663b: Layer already exists 02:35:02 7a355a0474d8: Layer already exists 02:35:02 1c2ed67c84dc: Layer already exists 02:35:02 f32815a14138: Layer already exists 02:35:02 c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f-1.2.2-dev.21: digest: sha256:d6c0f4cfd821ca2546d22b11a778950dafe38279c1bc83a2d177f68884bf3251 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:35:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 02:35:03 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 02:35:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:35:03 7a355a0474d8: Preparing 02:35:03 d2ec3ad0275a: Preparing 02:35:03 1c2ed67c84dc: Preparing 02:35:03 f32815a14138: Preparing 02:35:03 3fbe34a1663b: Preparing 02:35:03 1c2ed67c84dc: Layer already exists 02:35:03 f32815a14138: Layer already exists 02:35:03 3fbe34a1663b: Layer already exists 02:35:03 d2ec3ad0275a: Layer already exists 02:35:03 7a355a0474d8: Layer already exists 02:35:03 master: digest: sha256:d6c0f4cfd821ca2546d22b11a778950dafe38279c1bc83a2d177f68884bf3251 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:35:03 ===================================================== [Pipeline] echo 02:35:03 taggedImages: 02:35:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f 02:35:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:35:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.21 02:35:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f-1.2.2-dev.21 02:35:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 02:35:04 ---> job-cost.sh 02:35:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vCYZ 02:35:11 lf-activate-venv(): INFO: Adding /tmp/venv-4lwv/bin to PATH 02:35:11 INFO: No Stack... 02:35:11 INFO: Retrieving Pricing Info for: v3-standard-2 02:35:11 INFO: Archiving Costs [Pipeline] sh 02:35:11 + cut -d, -f6 02:35:11 + cat /w/workspace/device-rest-go/55/archives/cost.csv [Pipeline] lock 02:35:11 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-55-stack-cost] 02:35:11 Resource [jenkins-edgexfoundry-device-rest-go-master-55-stack-cost] did not exist. Created. 02:35:11 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:35:12 + echo total: 0.05999999865889549 [Pipeline] stash 02:35:12 Stashed 1 file(s) [Pipeline] } 02:35:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-55-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:35:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:37:05 lf-activate-venv(): INFO: Adding /tmp/venv-vCYZ/bin to PATH 02:37:05 INFO: No Stack... 02:37:05 INFO: Retrieving Pricing Info for: v2-standard-4 02:37:06 INFO: Archiving Costs [Pipeline] sh 02:37:06 + + cutcat -d, /w/workspace/device-rest-go/55/archives/cost.csv -f6 02:37:06 [Pipeline] lock 02:37:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-55-stack-cost] 02:37:06 Resource [jenkins-edgexfoundry-device-rest-go-master-55-stack-cost] did not exist. Created. 02:37:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:37:07 /w/workspace/device-rest-go/55@tmp/durable-1649b0f7/script.sh: 1: /w/workspace/device-rest-go/55@tmp/durable-1649b0f7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:37:07 + echo total: 0.18000000715255737 [Pipeline] stash 02:37:07 Warning: overwriting stash ‘stack-cost’ 02:37:07 Stashed 1 file(s) [Pipeline] } 02:37:07 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-55-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 02:37:08 provisioning config files... 02:37:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2093450458068362630tmp [Pipeline] { [Pipeline] sh 02:37:09 + set +x 02:37:09 + bash -s -- 02:37:09 + curl -s https://codecov.io/bash 02:37:09 02:37:09 _____ _ 02:37:09 / ____| | | 02:37:09 | | ___ __| | ___ ___ _____ __ 02:37:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:37:09 | |___| (_) | (_| | __/ (_| (_) \ V / 02:37:09 \_____\___/ \__,_|\___|\___\___/ \_/ 02:37:09 Bash-1.0.3 02:37:09 02:37:09 02:37:09 ==> git version 2.24.4 found 02:37:09 ==> 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 02:37:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:37:09 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:37:09 ==> Jenkins CI detected. 02:37:09 project root: . 02:37:09 --> token set from env 02:37:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:37:09 ==> Running gcov in . (disable via -X gcov) 02:37:09 ==> Python coveragepy not found 02:37:09 ==> Searching for coverage reports in: 02:37:09 + . 02:37:09 -> Found 1 reports 02:37:09 ==> Detecting git/mercurial file structure 02:37:09 ==> Reading reports 02:37:09 + ./coverage.out bytes=8513 02:37:09 ==> Appending adjustments 02:37:09 https://docs.codecov.io/docs/fixing-reports 02:37:09 + Found adjustments 02:37:09 ==> Gzipping contents 02:37:09 4.0K /tmp/codecov.esSodV.gz 02:37:09 ==> Uploading reports 02:37:09 url: https://codecov.io 02:37:09 query: branch=master&commit=c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:37:09 -> Pinging Codecov 02:37:09 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:37:09 -> Uploading to 02:37:09 https://storage.googleapis.com/codecov/v4/raw/2021-06-29/4E5D53B4F1F92C436F7061BF334D961C/c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f/aa171b3f-af4d-4379-a15c-d7bd686732d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210629T023709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b9e1354da69fb97e3c15e00da22888bf256a85dc11f2edb84e9d757ed9ae9c6 02:37:09 % Total % Received % Xferd Average Speed Time Time Time Current 02:37:09 Dload Upload Total Spent Left Speed 02:37:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1608 0 0 100 1608 0 3810 --:--:-- --:--:-- --:--:-- 3819 02:37:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f [Pipeline] } 02:37:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:37:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:37:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:37:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:37:11 02:37:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:37:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:37:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:37:11 188c0c94c7c5: Pulling fs layer 02:37:11 0ef7d3d256c8: Pulling fs layer 02:37:11 de9db76c5a1d: Pulling fs layer 02:37:11 0eba1c9be4d2: Pulling fs layer 02:37:11 0d57e429df01: Pulling fs layer 02:37:11 4e4be7b47b0d: Pulling fs layer 02:37:11 e1f770b5df2f: Pulling fs layer 02:37:11 85a0685a4137: Pulling fs layer 02:37:11 4e4be7b47b0d: Waiting 02:37:11 e1f770b5df2f: Waiting 02:37:11 85a0685a4137: Waiting 02:37:11 0eba1c9be4d2: Waiting 02:37:11 0d57e429df01: Waiting 02:37:11 de9db76c5a1d: Verifying Checksum 02:37:11 de9db76c5a1d: Download complete 02:37:11 0ef7d3d256c8: Verifying Checksum 02:37:11 0ef7d3d256c8: Download complete 02:37:11 0d57e429df01: Verifying Checksum 02:37:11 0d57e429df01: Download complete 02:37:11 4e4be7b47b0d: Verifying Checksum 02:37:11 4e4be7b47b0d: Download complete 02:37:11 188c0c94c7c5: Verifying Checksum 02:37:11 188c0c94c7c5: Download complete 02:37:11 188c0c94c7c5: Pull complete 02:37:12 0ef7d3d256c8: Pull complete 02:37:12 de9db76c5a1d: Pull complete 02:37:13 e1f770b5df2f: Verifying Checksum 02:37:13 e1f770b5df2f: Download complete 02:37:18 85a0685a4137: Verifying Checksum 02:37:18 85a0685a4137: Download complete 02:37:18 0eba1c9be4d2: Verifying Checksum 02:37:18 0eba1c9be4d2: Download complete 02:37:21 0eba1c9be4d2: Pull complete 02:37:21 0d57e429df01: Pull complete 02:37:21 4e4be7b47b0d: Pull complete 02:37:21 e1f770b5df2f: Pull complete 02:37:25 85a0685a4137: Pull complete 02:37:25 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:37:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:37:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:37:25 prd-centos7-docker-4c-2g-642 does not seem to be running inside a container 02:37:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:37:27 $ docker top 7f9944d5df688563a306c8deade072a99d024b58a50203cc273daeb1ac44deb5 -eo pid,comm [Pipeline] { [Pipeline] echo 02:37:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:37:27 + set -o pipefail 02:37:27 + snyk monitor '--org=edgex-jenkins' 02:37:33 02:37:33 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 02:37:33 02:37:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/a455814d-18e5-408d-98ec-83b78a34d172 02:37:33 02:37:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:37:33 02:37:33 [Pipeline] } 02:37:33 $ docker stop --time=1 7f9944d5df688563a306c8deade072a99d024b58a50203cc273daeb1ac44deb5 02:37:36 $ docker rm -f 7f9944d5df688563a306c8deade072a99d024b58a50203cc273daeb1ac44deb5 [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 02:37:37 + git log --format=format:%s -1 c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f [Pipeline] isUnix [Pipeline] sh 02:37:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:37:37 . [Pipeline] withDockerContainer 02:37:37 prd-centos7-docker-4c-2g-642 does not seem to be running inside a container 02:37:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:37:37 $ docker top 794f113308d3a1d0db2b868fb295336e9471f7e1b34ed09725feb3dd65941442 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:37:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:38 [ssh-agent] Looking for ssh-agent implementation... 02:37:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:38 $ docker exec 794f113308d3a1d0db2b868fb295336e9471f7e1b34ed09725feb3dd65941442 ssh-agent 02:37:38 SSH_AUTH_SOCK=/tmp/ssh-7iraji5FEnR5/agent.13 02:37:38 SSH_AGENT_PID=20 02:37:38 Running ssh-add (command line suppressed) 02:37:38 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6117930534081358833.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6117930534081358833.key) 02:37:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:38 + git semver tag 02:37:38 # -> Open(): unable to determine branch for HEAD 02:37:38 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 02:37:38 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 02:37:38 # $SEMVER_REMOTE_NAME = origin 02:37:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:37:38 # $SEMVER_USER_NAME = edgex-jenkins 02:37:38 # $SEMVER_BRANCH = master 02:37:38 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 02:37:38 # c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f HEAD 02:37:38 # -> Force: false 02:37:38 # fac52e2cd27e33228f3fc8665ea66550a9a90ebf refs/tags/v1.2.2-dev.21 [Pipeline] } 02:37:38 $ docker exec --env ******** --env ******** 794f113308d3a1d0db2b868fb295336e9471f7e1b34ed09725feb3dd65941442 ssh-agent -k 02:37:38 unset SSH_AUTH_SOCK; 02:37:38 unset SSH_AGENT_PID; 02:37:38 echo Agent pid 20 killed; 02:37:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:37:39 + git semver [Pipeline] } 02:37:39 $ docker stop --time=1 794f113308d3a1d0db2b868fb295336e9471f7e1b34ed09725feb3dd65941442 02:37:40 $ docker rm -f 794f113308d3a1d0db2b868fb295336e9471f7e1b34ed09725feb3dd65941442 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:37:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:37:40 02:37:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:37:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:37:41 0.23.1-centos7: Pulling from edgex-lftools 02:37:41 ab5ef0e58194: Pulling fs layer 02:37:41 9712f1f96733: Pulling fs layer 02:37:41 63f879dbbcfc: Pulling fs layer 02:37:41 0d9ebad4ef96: Pulling fs layer 02:37:41 e9a5061849ea: Pulling fs layer 02:37:41 d747dcd14b5f: Pulling fs layer 02:37:41 2de7ff778b66: Pulling fs layer 02:37:41 0d9ebad4ef96: Waiting 02:37:41 e9a5061849ea: Waiting 02:37:41 d747dcd14b5f: Waiting 02:37:41 2de7ff778b66: Waiting 02:37:41 9712f1f96733: Download complete 02:37:42 63f879dbbcfc: Verifying Checksum 02:37:42 63f879dbbcfc: Download complete 02:37:42 e9a5061849ea: Verifying Checksum 02:37:42 e9a5061849ea: Download complete 02:37:42 d747dcd14b5f: Verifying Checksum 02:37:42 d747dcd14b5f: Download complete 02:37:43 0d9ebad4ef96: Verifying Checksum 02:37:43 0d9ebad4ef96: Download complete 02:37:43 2de7ff778b66: Verifying Checksum 02:37:43 2de7ff778b66: Download complete 02:37:43 ab5ef0e58194: Verifying Checksum 02:37:43 ab5ef0e58194: Download complete 02:37:46 ab5ef0e58194: Pull complete 02:37:46 9712f1f96733: Pull complete 02:37:46 63f879dbbcfc: Pull complete 02:37:49 0d9ebad4ef96: Pull complete 02:37:50 e9a5061849ea: Pull complete 02:37:50 d747dcd14b5f: Pull complete 02:37:51 2de7ff778b66: Pull complete 02:37:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:37:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:37:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:37:51 prd-centos7-docker-4c-2g-642 does not seem to be running inside a container 02:37:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:37:54 $ docker top a8395cc54ae199aa50f4ab237fbb77d55c88aab3d39d0e81755119a879c6b197 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:37:54 provisioning config files... 02:37:54 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config9107705985766969438tmp 02:37:54 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config9174457394750070779tmp 02:37:54 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4783593436524036173tmp [Pipeline] { [Pipeline] echo 02:37:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:37:54 ---> sigul-configuration.sh 02:37:54 gpg: directory `/root/.gnupg' created 02:37:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:37:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:37:54 gpg: keyring `/root/.gnupg/secring.gpg' created 02:37:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:37:54 gpg: CAST5 encrypted data 02:37:54 gpg: encrypted with 1 passphrase 02:37:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:37:54 + mkdir /home/jenkins 02:37:54 + mkdir /home/jenkins/sigul [Pipeline] sh 02:37:55 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:37:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:37:55 ---> sigul-install.sh 02:37:59 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 02:37:59 + git tag --list 02:37:59 v1.0.0 02:37:59 v1.1.0 02:37:59 v1.1.1 02:37:59 v1.1.2 02:37:59 v1.2.0 02:37:59 v1.2.1 02:37:59 v1.2.1-dev.1 02:37:59 v1.2.1-dev.2 02:37:59 v1.2.1-dev.3 02:37:59 v1.2.1-dev.4 02:37:59 v1.2.2-dev.1 02:37:59 v1.2.2-dev.10 02:37:59 v1.2.2-dev.11 02:37:59 v1.2.2-dev.12 02:37:59 v1.2.2-dev.13 02:37:59 v1.2.2-dev.14 02:37:59 v1.2.2-dev.15 02:37:59 v1.2.2-dev.16 02:37:59 v1.2.2-dev.17 02:37:59 v1.2.2-dev.18 02:37:59 v1.2.2-dev.19 02:37:59 v1.2.2-dev.2 02:37:59 v1.2.2-dev.20 02:37:59 v1.2.2-dev.21 02:37:59 v1.2.2-dev.3 02:37:59 v1.2.2-dev.4 02:37:59 v1.2.2-dev.5 02:37:59 v1.2.2-dev.6 02:37:59 v1.2.2-dev.7 02:37:59 v1.2.2-dev.8 02:37:59 v1.2.2-dev.9 [Pipeline] sh 02:38:00 + lftools sign git-tag v1.2.2-dev.21 02:38:00 Signing Git tag with Sigul... 02:38:00 Signing v1.2.2-dev.21 [Pipeline] echo 02:38:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:38:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:38:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:38:01 $ docker stop --time=1 a8395cc54ae199aa50f4ab237fbb77d55c88aab3d39d0e81755119a879c6b197 02:38:03 $ docker rm -f a8395cc54ae199aa50f4ab237fbb77d55c88aab3d39d0e81755119a879c6b197 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 02:38:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:38:03 . [Pipeline] withDockerContainer 02:38:04 prd-centos7-docker-4c-2g-642 does not seem to be running inside a container 02:38:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:38:04 $ docker top 05c749543672455d30d07bfbe4c1c7731bc04dd453be297cd11e1d1a6fba6a49 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:38:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:04 [ssh-agent] Looking for ssh-agent implementation... 02:38:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:04 $ docker exec 05c749543672455d30d07bfbe4c1c7731bc04dd453be297cd11e1d1a6fba6a49 ssh-agent 02:38:04 SSH_AUTH_SOCK=/tmp/ssh-X56gqnA6c96C/agent.13 02:38:04 SSH_AGENT_PID=19 02:38:04 Running ssh-add (command line suppressed) 02:38:04 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4341765165370016585.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4341765165370016585.key) 02:38:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:05 + git semver bump pre 02:38:05 # -> Open(): unable to determine branch for HEAD 02:38:05 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 02:38:05 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 02:38:05 # $SEMVER_REMOTE_NAME = origin 02:38:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:38:05 # $SEMVER_USER_NAME = edgex-jenkins 02:38:05 # $SEMVER_BRANCH = master 02:38:05 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 02:38:05 1.2.2-dev.22 [Pipeline] } 02:38:05 $ docker exec --env ******** --env ******** 05c749543672455d30d07bfbe4c1c7731bc04dd453be297cd11e1d1a6fba6a49 ssh-agent -k 02:38:05 unset SSH_AUTH_SOCK; 02:38:05 unset SSH_AGENT_PID; 02:38:05 echo Agent pid 19 killed; 02:38:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:38:05 + git semver [Pipeline] } 02:38:05 $ docker stop --time=1 05c749543672455d30d07bfbe4c1c7731bc04dd453be297cd11e1d1a6fba6a49 02:38:06 $ docker rm -f 05c749543672455d30d07bfbe4c1c7731bc04dd453be297cd11e1d1a6fba6a49 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:38:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:38:07 . [Pipeline] withDockerContainer 02:38:07 prd-centos7-docker-4c-2g-642 does not seem to be running inside a container 02:38:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:38:07 $ docker top 92318f8023b2d5ba7d8cf91cc8062ce4d821afc67c6836c399da568b8311e770 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:38:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:08 [ssh-agent] Looking for ssh-agent implementation... 02:38:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:08 $ docker exec 92318f8023b2d5ba7d8cf91cc8062ce4d821afc67c6836c399da568b8311e770 ssh-agent 02:38:08 SSH_AUTH_SOCK=/tmp/ssh-ojNUvU9LQPDY/agent.13 02:38:08 SSH_AGENT_PID=20 02:38:08 Running ssh-add (command line suppressed) 02:38:08 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_950847704586095422.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_950847704586095422.key) 02:38:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:08 + git semver push 02:38:08 # -> Open(): unable to determine branch for HEAD 02:38:08 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 02:38:08 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 02:38:08 # $SEMVER_REMOTE_NAME = origin 02:38:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:38:08 # $SEMVER_USER_NAME = edgex-jenkins 02:38:08 # $SEMVER_BRANCH = master 02:38:08 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 02:38:14 $ docker exec --env ******** --env ******** 92318f8023b2d5ba7d8cf91cc8062ce4d821afc67c6836c399da568b8311e770 ssh-agent -k 02:38:14 unset SSH_AUTH_SOCK; 02:38:14 unset SSH_AGENT_PID; 02:38:14 echo Agent pid 20 killed; 02:38:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:38:14 + git semver [Pipeline] } 02:38:14 $ docker stop --time=1 92318f8023b2d5ba7d8cf91cc8062ce4d821afc67c6836c399da568b8311e770 02:38:15 $ docker rm -f 92318f8023b2d5ba7d8cf91cc8062ce4d821afc67c6836c399da568b8311e770 [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 02:38:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:38:17 ---> package-listing.sh 02:38:17 ++ facter osfamily 02:38:17 ++ tr '[:upper:]' '[:lower:]' 02:38:17 + OS_FAMILY=redhat 02:38:17 + workspace=/w/workspace/gexfoundry_device-rest-go_master 02:38:17 + START_PACKAGES=/tmp/packages_start.txt 02:38:17 + END_PACKAGES=/tmp/packages_end.txt 02:38:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:38:17 + PACKAGES=/tmp/packages_start.txt 02:38:17 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 02:38:17 + PACKAGES=/tmp/packages_end.txt 02:38:17 + case "${OS_FAMILY}" in 02:38:17 + sort 02:38:17 + rpm -qa 02:38:18 + '[' -f /tmp/packages_start.txt ']' 02:38:18 + '[' -f /tmp/packages_end.txt ']' 02:38:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:38:18 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 02:38:18 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 02:38:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 02:38:18 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 02:38:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:38:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:38:19 02:38:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:38:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:38:19 alpine: Pulling from edgex-lftools-log-publisher 02:38:19 df20fa9351a1: Pulling fs layer 02:38:19 36b3adc4ff6f: Pulling fs layer 02:38:19 8ad3a11d3b57: Pulling fs layer 02:38:19 46f8f816bc3b: Pulling fs layer 02:38:19 93b61091891f: Pulling fs layer 02:38:19 93b9cdb0e59b: Pulling fs layer 02:38:19 5e14af77c1be: Pulling fs layer 02:38:19 01666e4c0597: Pulling fs layer 02:38:19 aa168da1d23b: Pulling fs layer 02:38:19 46f8f816bc3b: Waiting 02:38:19 93b61091891f: Waiting 02:38:19 93b9cdb0e59b: Waiting 02:38:19 5e14af77c1be: Waiting 02:38:19 01666e4c0597: Waiting 02:38:19 aa168da1d23b: Waiting 02:38:19 36b3adc4ff6f: Verifying Checksum 02:38:19 36b3adc4ff6f: Download complete 02:38:19 46f8f816bc3b: Verifying Checksum 02:38:19 46f8f816bc3b: Download complete 02:38:19 df20fa9351a1: Verifying Checksum 02:38:19 df20fa9351a1: Download complete 02:38:19 93b9cdb0e59b: Verifying Checksum 02:38:19 93b9cdb0e59b: Download complete 02:38:19 5e14af77c1be: Verifying Checksum 02:38:19 5e14af77c1be: Download complete 02:38:19 93b61091891f: Verifying Checksum 02:38:19 93b61091891f: Download complete 02:38:19 01666e4c0597: Verifying Checksum 02:38:19 01666e4c0597: Download complete 02:38:19 df20fa9351a1: Pull complete 02:38:19 8ad3a11d3b57: Verifying Checksum 02:38:19 8ad3a11d3b57: Download complete 02:38:19 36b3adc4ff6f: Pull complete 02:38:20 8ad3a11d3b57: Pull complete 02:38:20 46f8f816bc3b: Pull complete 02:38:20 93b61091891f: Pull complete 02:38:21 93b9cdb0e59b: Pull complete 02:38:21 5e14af77c1be: Pull complete 02:38:21 01666e4c0597: Pull complete 02:38:21 aa168da1d23b: Verifying Checksum 02:38:21 aa168da1d23b: Download complete 02:38:25 aa168da1d23b: Pull complete 02:38:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:38:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:38:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:38:25 prd-centos7-docker-4c-2g-642 does not seem to be running inside a container 02:38:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:38:27 $ docker top 3a96aca60791fe5834e4bdb377305f2b97b3dace66ed6a3694a91387e66112fa -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:28 + touch /tmp/pre-build-complete [Pipeline] sh 02:38:28 + mkdir -p /var/log/sa [Pipeline] sh 02:38:28 + ls /var/log/sa-host 02:38:28 + sadf -c /var/log/sa-host/sa05 02:38:28 file_magic: OK 02:38:28 HZ: Using current value: 100 02:38:28 file_header: OK 02:38:28 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 02:38:28 Statistics: 02:38:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:38:28 File successfully converted to sysstat format version 12.2.1 02:38:28 + sadf -c /var/log/sa-host/sa29 02:38:28 file_magic: OK 02:38:28 HZ: Using current value: 100 02:38:28 file_header: OK 02:38:28 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 02:38:28 Statistics: 02:38:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:38:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:38:29 provisioning config files... 02:38:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config941607426505430509tmp [Pipeline] { [Pipeline] echo 02:38:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:38:30 ---> create-netrc.sh [Pipeline] } 02:38:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:38:30 ---> python-tools-install.sh [Pipeline] echo 02:38:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:38:30 ---> sudo-logs.sh 02:38:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:38:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:38:31 ---> job-cost.sh 02:38:31 lf-activate-venv: SKIPPING 02:38:31 DEBUG: total: 0.18000000715255737 02:38:31 INFO: Retrieving Stack Cost... 02:38:32 INFO: Retrieving Pricing Info for: v3-standard-2 02:38:32 INFO: Archiving Costs [Pipeline] echo 02:38:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:38:32 ---> logs-deploy.sh 02:38:32 lf-activate-venv: SKIPPING 02:38:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/55 02:38:32 INFO: archiving workspace using pattern(s): 02:38:33 Archives upload complete. 02:38:33 INFO: archiving logs to Nexus 02:38:34 ---> uname -a: 02:38:34 Linux prd-centos7-docker-4c-2g-642.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 02:38:34 02:38:34 02:38:34 ---> lscpu: 02:38:34 Architecture: x86_64 02:38:34 CPU op-mode(s): 32-bit, 64-bit 02:38:34 Byte Order: Little Endian 02:38:34 Address sizes: 40 bits physical, 48 bits virtual 02:38:34 CPU(s): 2 02:38:34 On-line CPU(s) list: 0,1 02:38:34 Thread(s) per core: 1 02:38:34 Core(s) per socket: 1 02:38:34 Socket(s): 2 02:38:34 NUMA node(s): 1 02:38:34 Vendor ID: AuthenticAMD 02:38:34 CPU family: 23 02:38:34 Model: 49 02:38:34 Model name: AMD EPYC-Rome Processor 02:38:34 Stepping: 0 02:38:34 CPU MHz: 2800.000 02:38:34 BogoMIPS: 5600.00 02:38:34 Virtualization: AMD-V 02:38:34 Hypervisor vendor: KVM 02:38:34 Virtualization type: full 02:38:34 L1d cache: 64 KiB 02:38:34 L1i cache: 64 KiB 02:38:34 L2 cache: 1 MiB 02:38:34 L3 cache: 32 MiB 02:38:34 NUMA node0 CPU(s): 0,1 02:38:34 Vulnerability Itlb multihit: Not affected 02:38:34 Vulnerability L1tf: Not affected 02:38:34 Vulnerability Mds: Not affected 02:38:34 Vulnerability Meltdown: Not affected 02:38:34 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:38:34 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:38:34 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:38:34 Vulnerability Srbds: Not affected 02:38:34 Vulnerability Tsx async abort: Not affected 02:38:34 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 02:38:34 02:38:34 02:38:34 ---> nproc: 02:38:34 2 02:38:34 02:38:34 02:38:34 ---> df -h: 02:38:34 Filesystem Size Used Available Use% Mounted on 02:38:34 overlay 40.0G 8.9G 31.1G 22% / 02:38:34 tmpfs 64.0M 0 64.0M 0% /dev 02:38:34 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 02:38:34 shm 64.0M 0 64.0M 0% /dev/shm 02:38:34 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 02:38:34 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 02:38:34 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 02:38:34 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 02:38:34 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 02:38:34 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 02:38:34 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 02:38:34 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master 02:38:34 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master@tmp 02:38:34 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 02:38:34 02:38:34 02:38:34 ---> free -m: 02:38:34 total used free shared buff/cache available 02:38:34 Mem: 7821 1172 3248 0 3399 6567 02:38:34 Swap: 1023 0 1023 02:38:34 02:38:34 02:38:34 ---> ip addr: 02:38:34 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:38:34 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:38:34 inet 127.0.0.1/8 scope host lo 02:38:34 valid_lft forever preferred_lft forever 02:38:34 inet6 ::1/128 scope host 02:38:34 valid_lft forever preferred_lft forever 02:38:34 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:38:34 link/ether fa:16:3e:04:48:7f brd ff:ff:ff:ff:ff:ff 02:38:34 inet 10.30.122.198/23 brd 10.30.123.255 scope global dynamic eth0 02:38:34 valid_lft 85875sec preferred_lft 85875sec 02:38:34 inet6 fe80::f816:3eff:fe04:487f/64 scope link 02:38:34 valid_lft forever preferred_lft forever 02:38:34 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:38:34 link/ether 02:42:73:96:e6:46 brd ff:ff:ff:ff:ff:ff 02:38:34 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:38:34 valid_lft forever preferred_lft forever 02:38:34 inet6 fe80::42:73ff:fe96:e646/64 scope link 02:38:34 valid_lft forever preferred_lft forever 02:38:34 02:38:34 02:38:34 ---> sar -b -r -n DEV: 02:38:34 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/29/21 _x86_64_ (2 CPU) 02:38:34 02:38:34 02:29:38 LINUX RESTART (2 CPU) 02:38:34 02:38:34 02:30:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:38:34 02:31:01 106.54 16.38 90.16 0.00 5520.08 5220.18 0.00 02:38:34 02:32:01 1.80 0.00 1.80 0.00 0.00 36.25 0.00 02:38:34 02:33:01 0.28 0.00 0.28 0.00 0.00 3.78 0.00 02:38:34 02:34:01 0.15 0.00 0.15 0.00 0.00 1.88 0.00 02:38:34 02:35:02 0.28 0.00 0.28 0.00 0.00 3.23 0.00 02:38:34 02:36:01 0.29 0.00 0.29 0.00 0.00 3.78 0.00 02:38:34 02:37:01 0.25 0.00 0.25 0.00 0.00 3.23 0.00 02:38:34 02:38:01 196.90 0.03 196.87 0.00 3.73 54840.22 0.00 02:38:34 Average: 38.40 2.06 36.35 0.00 692.19 7531.57 0.00 02:38:34 02:38:34 02:30:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:38:34 02:31:01 5446000 0 808768 10.10 2620 1751552 1291356 14.26 582992 1578656 128 02:38:34 02:32:01 5451424 0 803340 10.03 2620 1751556 1249828 13.80 578716 1578620 20 02:38:34 02:33:01 5455196 0 799564 9.98 2620 1751560 1206640 13.32 569304 1584716 20 02:38:34 02:34:01 5455904 0 798852 9.97 2620 1751564 1206400 13.32 568976 1584716 20 02:38:34 02:35:02 5455960 0 798788 9.97 2620 1751572 1206400 13.32 568312 1585452 8 02:38:34 02:36:01 5454472 0 800276 9.99 2620 1751572 1206496 13.32 570036 1585452 8 02:38:34 02:37:01 5454980 0 799756 9.99 2620 1751584 1206400 13.32 569468 1585452 20 02:38:34 02:38:01 3640048 0 1158344 14.46 2620 3207928 1473316 16.27 971764 2751168 100596 02:38:34 Average: 5226748 0 845961 10.56 2620 1933611 1255854 13.87 622446 1729279 12602 02:38:34 02:38:34 02:30:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:38:34 02:31:01 eth0 655.29 484.53 1325.07 92.59 0.00 0.00 0.00 0.00 02:38:34 02:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:31:01 docker0 45.75 31.00 4.03 133.41 0.00 0.00 0.00 0.00 02:38:34 02:32:01 eth0 4.56 2.33 4.17 0.16 0.00 0.00 0.00 0.00 02:38:34 02:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:33:01 eth0 0.88 0.32 0.31 0.17 0.00 0.00 0.00 0.00 02:38:34 02:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:34:01 eth0 0.13 0.10 0.01 0.04 0.00 0.00 0.00 0.00 02:38:34 02:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:35:02 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:38:34 02:35:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:35:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:36:01 eth0 0.25 0.20 0.09 0.07 0.00 0.00 0.00 0.00 02:38:34 02:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:37:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:38:34 02:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:38:01 eth0 948.11 874.87 7963.29 104.66 0.00 0.00 0.00 0.00 02:38:34 02:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 02:38:01 veth0db4b38 32.72 37.04 2.23 273.48 0.00 0.00 0.00 0.00 02:38:34 02:38:01 docker0 96.09 102.78 6.90 655.93 0.00 0.00 0.00 0.00 02:38:34 Average: eth0 201.66 170.72 1164.34 24.77 0.00 0.00 0.00 0.00 02:38:34 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:38:34 Average: veth0db4b38 4.10 4.64 0.28 34.26 0.00 0.00 0.00 0.00 02:38:34 Average: docker0 17.77 16.76 1.37 98.90 0.00 0.00 0.00 0.00 02:38:34 02:38:34 02:38:34 ---> sar -P ALL: 02:38:34 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/29/21 _x86_64_ (2 CPU) 02:38:34 02:38:34 02:29:38 LINUX RESTART (2 CPU) 02:38:34 02:38:34 02:30:01 CPU %user %nice %system %iowait %steal %idle 02:38:34 02:31:01 all 14.80 0.00 3.35 2.31 0.08 79.46 02:38:34 02:31:01 0 14.90 0.00 3.02 1.19 0.07 80.82 02:38:34 02:31:01 1 14.71 0.00 3.67 3.43 0.09 78.10 02:38:34 02:32:01 all 0.20 0.00 0.04 0.00 0.03 99.73 02:38:34 02:32:01 0 0.33 0.00 0.05 0.00 0.03 99.58 02:38:34 02:32:01 1 0.07 0.00 0.03 0.00 0.02 99.88 02:38:34 02:33:01 all 0.13 0.00 0.03 0.00 0.03 99.80 02:38:34 02:33:01 0 0.23 0.00 0.05 0.00 0.03 99.68 02:38:34 02:33:01 1 0.03 0.00 0.02 0.00 0.03 99.92 02:38:34 02:34:01 all 0.15 0.00 0.04 0.00 0.03 99.78 02:38:34 02:34:01 0 0.27 0.00 0.07 0.00 0.03 99.63 02:38:34 02:34:01 1 0.03 0.00 0.02 0.00 0.02 99.93 02:38:34 02:35:02 all 0.20 0.00 0.02 0.00 0.04 99.74 02:38:34 02:35:02 0 0.37 0.00 0.02 0.00 0.03 99.58 02:38:34 02:35:02 1 0.03 0.00 0.02 0.00 0.05 99.90 02:38:34 02:36:01 all 0.08 0.00 0.02 0.00 0.03 99.88 02:38:34 02:36:01 0 0.14 0.00 0.02 0.00 0.02 99.83 02:38:34 02:36:01 1 0.02 0.00 0.02 0.00 0.03 99.93 02:38:34 02:37:01 all 0.10 0.00 0.04 0.00 0.03 99.82 02:38:34 02:37:01 0 0.15 0.00 0.03 0.00 0.03 99.78 02:38:34 02:37:01 1 0.05 0.00 0.05 0.00 0.03 99.87 02:38:34 02:38:01 all 23.24 0.00 9.56 2.59 0.10 64.51 02:38:34 02:38:01 0 24.82 0.00 10.09 1.92 0.09 63.08 02:38:34 02:38:01 1 21.68 0.00 9.04 3.25 0.11 65.92 02:38:34 Average: all 4.69 0.00 1.57 0.59 0.04 93.10 02:38:34 Average: 0 4.96 0.00 1.59 0.37 0.04 93.03 02:38:34 Average: 1 4.43 0.00 1.55 0.81 0.05 93.16 02:38:34 02:38:34 02:38:34