Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8165305798683917870.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2205927547039651988.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6651563442743438497.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4242248055630066545.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5913842755139216307.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-293 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh3611950046245438238.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 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed (main) > 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 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed # timeout=10 Commit message: "Merge pull request #133 from tdrozdovsky/remove-dead-code" > git rev-list --no-walk 4353c7216ee3f2112ec46af6800afcb0b221c962 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:03:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:03:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:03:11 ========================================================= 22:03:11 EdgeX Global Pipelines Version Info 22:03:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:03:12 ------------------- 22:03:12 stable info: 22:03:12 ------------------- 22:03:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:03:12 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 22:03:12 Message: update stable to v1.0.205 22:03:13 ------------------- 22:03:13 experimental info: 22:03:13 ------------------- 22:03:13 Commited By: **** collab-it+edgex@linuxfoundation.org 22:03:13 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 22:03:13 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:03:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 698204f [Pipeline] echo 22:03:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:14 provisioning config files... 22:03:14 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4884996545333721956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:14 ---> docker-login.sh 22:03:14 nexus3.edgexfoundry.org:10001 22:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:15 Configure a credential helper to remove this warning. See 22:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:15 22:03:15 Login Succeeded 22:03:15 nexus3.edgexfoundry.org:10002 22:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:15 Configure a credential helper to remove this warning. See 22:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:15 22:03:15 Login Succeeded 22:03:15 nexus3.edgexfoundry.org:10003 22:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:15 Configure a credential helper to remove this warning. See 22:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:15 22:03:15 Login Succeeded 22:03:15 nexus3.edgexfoundry.org:10004 22:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:15 Configure a credential helper to remove this warning. See 22:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:15 22:03:15 Login Succeeded 22:03:15 docker.io 22:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:16 Configure a credential helper to remove this warning. See 22:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:16 22:03:16 Login Succeeded 22:03:16 ---> docker-login.sh ends [Pipeline] } 22:03:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:03:16 + git log --format=format:%s -1 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed [Pipeline] echo 22:03:16 GIT_COMMIT: 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed, Commit Message: Merge pull request #133 from tdrozdovsky/remove-dead-code [Pipeline] echo 22:03:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:03:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:03:17 22:03:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:03:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:03:18 latest: Pulling from edgex-devops/git-semver 22:03:18 31603596830f: Pulling fs layer 22:03:18 04fac38145f0: Pulling fs layer 22:03:18 701f6daf10bf: Pulling fs layer 22:03:18 24f72da36158: Pulling fs layer 22:03:18 24f72da36158: Waiting 22:03:18 04fac38145f0: Verifying Checksum 22:03:18 04fac38145f0: Download complete 22:03:18 31603596830f: Verifying Checksum 22:03:18 31603596830f: Download complete 22:03:18 24f72da36158: Verifying Checksum 22:03:18 24f72da36158: Download complete 22:03:18 31603596830f: Pull complete 22:03:18 04fac38145f0: Pull complete 22:03:18 701f6daf10bf: Verifying Checksum 22:03:18 701f6daf10bf: Download complete 22:03:19 701f6daf10bf: Pull complete 22:03:19 24f72da36158: Pull complete 22:03:19 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 22:03:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:03:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:03:19 prd-centos7-docker-4c-2g-293 does not seem to be running inside a container 22:03:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:03:21 $ docker top 4fda5b625f8e71f40c2ac9a2a1c59372e0ef3f7819c0b20c275c54911d101caa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:03:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:03:21 [ssh-agent] Looking for ssh-agent implementation... 22:03:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:03:21 $ docker exec 4fda5b625f8e71f40c2ac9a2a1c59372e0ef3f7819c0b20c275c54911d101caa ssh-agent 22:03:21 SSH_AUTH_SOCK=/tmp/ssh-tah9bvl7nr2N/agent.13 22:03:21 SSH_AGENT_PID=20 22:03:21 Running ssh-add (command line suppressed) 22:03:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1016998689231557418.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1016998689231557418.key) 22:03:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:03:22 + git tag --points-at HEAD [Pipeline] } 22:03:22 $ docker exec --env ******** --env ******** 4fda5b625f8e71f40c2ac9a2a1c59372e0ef3f7819c0b20c275c54911d101caa ssh-agent -k 22:03:22 unset SSH_AUTH_SOCK; 22:03:22 unset SSH_AGENT_PID; 22:03:22 echo Agent pid 20 killed; 22:03:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:03:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:03:22 [ssh-agent] Looking for ssh-agent implementation... 22:03:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:03:22 $ docker exec 4fda5b625f8e71f40c2ac9a2a1c59372e0ef3f7819c0b20c275c54911d101caa ssh-agent 22:03:22 SSH_AUTH_SOCK=/tmp/ssh-U8m6fB3QVdiE/agent.53 22:03:22 SSH_AGENT_PID=60 22:03:22 Running ssh-add (command line suppressed) 22:03:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4999740240873888577.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4999740240873888577.key) 22:03:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:03:22 + git semver init 22:03:22 # -> Open(): unable to determine branch for HEAD 22:03:22 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 22:03:22 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 22:03:22 # $SEMVER_REMOTE_NAME = origin 22:03:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:03:22 # $SEMVER_USER_NAME = edgex-jenkins 22:03:22 # $SEMVER_BRANCH = main 22:03:22 # $SEMVER_TEMP = /tmp/semver-134723290 22:03:22 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 22:03:23 # '/tmp/semver-134723290' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 22:03:23 # -> Force: false 22:03:23 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 22:03:23 $ docker exec --env ******** --env ******** 4fda5b625f8e71f40c2ac9a2a1c59372e0ef3f7819c0b20c275c54911d101caa ssh-agent -k 22:03:24 unset SSH_AUTH_SOCK; 22:03:24 unset SSH_AGENT_PID; 22:03:24 echo Agent pid 60 killed; 22:03:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:03:24 + git semver [Pipeline] } 22:03:24 $ docker stop --time=1 4fda5b625f8e71f40c2ac9a2a1c59372e0ef3f7819c0b20c275c54911d101caa 22:03:25 $ docker rm -f 4fda5b625f8e71f40c2ac9a2a1c59372e0ef3f7819c0b20c275c54911d101caa [Pipeline] // withDockerContainer [Pipeline] sh 22:03:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:03:26 Stashed 1 file(s) [Pipeline] echo 22:03:26 [edgeXSemver]: initialized semver on version 2.0.1-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 22:03:41 Still waiting to schedule task 22:03:41 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-293’ 22:03:41 Still waiting to schedule task 22:03:41 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:05:45 Running on prd-centos7-docker-4c-2g-296 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:05:45 Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout 22:05:45 The recommended git tool is: git 22:05:48 using credential edgex-jenkins-ssh 22:05:48 Cloning the remote Git repository 22:05:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:05:49 > git init /w/workspace/device-rest-go/7 # timeout=10 22:05:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:05:49 > git --version # timeout=10 22:05:49 > git --version # 'git version 2.24.4' 22:05:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:50 Avoid second fetch 22:05:50 Checking out Revision 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed (main) 22:05:49 [INFO] Currently running in a labeled security context 22:05:49 [INFO] Currently SELinux is 'enforcing' on the host 22:05:49 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/7@tmp/jenkins-gitclient-ssh6350455284049139429.key 22:05:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:05:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:50 > git config core.sparsecheckout # timeout=10 22:05:50 > git checkout -f 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed # timeout=10 22:05:54 Commit message: "Merge pull request #133 from tdrozdovsky/remove-dead-code" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:55 provisioning config files... 22:05:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config3805269456905872736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:55 ---> docker-login.sh 22:05:55 nexus3.edgexfoundry.org:10001 22:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:55 Configure a credential helper to remove this warning. See 22:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:55 22:05:55 Login Succeeded 22:05:55 nexus3.edgexfoundry.org:10002 22:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:55 Configure a credential helper to remove this warning. See 22:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:55 22:05:55 Login Succeeded 22:05:55 nexus3.edgexfoundry.org:10003 22:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:56 Configure a credential helper to remove this warning. See 22:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:56 22:05:56 Login Succeeded 22:05:56 nexus3.edgexfoundry.org:10004 22:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:56 Configure a credential helper to remove this warning. See 22:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:56 22:05:56 Login Succeeded 22:05:56 docker.io 22:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:56 Configure a credential helper to remove this warning. See 22:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:56 22:05:56 Login Succeeded 22:05:56 ---> docker-login.sh ends [Pipeline] } 22:05:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:05:56 ========================================================= 22:05:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:05:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:05:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 22:05:57 Sending build context to Docker daemon 119.8kB 22:05:57 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 22:05:57 Step 2/12 : FROM ${BASE} AS builder 22:05:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:05:57 540db60ca938: Pulling fs layer 22:05:57 adcc1eea9eea: Pulling fs layer 22:05:57 4c4ab2625f07: Pulling fs layer 22:05:57 db62176df00c: Pulling fs layer 22:05:57 3b30891b0d05: Pulling fs layer 22:05:57 06b49ca38bd5: Pulling fs layer 22:05:57 c788192a36de: Pulling fs layer 22:05:57 a77e37c0d609: Pulling fs layer 22:05:57 c3185cebc471: Pulling fs layer 22:05:57 06b49ca38bd5: Waiting 22:05:57 c788192a36de: Waiting 22:05:57 a77e37c0d609: Waiting 22:05:57 c3185cebc471: Waiting 22:05:57 3b30891b0d05: Waiting 22:05:57 db62176df00c: Waiting 22:05:57 4c4ab2625f07: Verifying Checksum 22:05:57 4c4ab2625f07: Download complete 22:05:57 adcc1eea9eea: Verifying Checksum 22:05:57 adcc1eea9eea: Download complete 22:05:57 3b30891b0d05: Verifying Checksum 22:05:57 3b30891b0d05: Download complete 22:05:57 06b49ca38bd5: Verifying Checksum 22:05:57 06b49ca38bd5: Download complete 22:05:57 c788192a36de: Verifying Checksum 22:05:57 c788192a36de: Download complete 22:05:57 540db60ca938: Verifying Checksum 22:05:57 540db60ca938: Download complete 22:05:57 540db60ca938: Pull complete 22:05:57 adcc1eea9eea: Pull complete 22:05:58 4c4ab2625f07: Pull complete 22:05:58 a77e37c0d609: Verifying Checksum 22:05:58 a77e37c0d609: Download complete 22:06:01 c3185cebc471: Verifying Checksum 22:06:01 c3185cebc471: Download complete 22:06:02 db62176df00c: Verifying Checksum 22:06:02 db62176df00c: Download complete 22:06:05 db62176df00c: Pull complete 22:06:06 3b30891b0d05: Pull complete 22:06:06 06b49ca38bd5: Pull complete 22:06:06 c788192a36de: Pull complete 22:06:06 a77e37c0d609: Pull complete 22:06:09 c3185cebc471: Pull complete 22:06:09 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 22:06:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:06:09 ---> 031687cdd783 22:06:09 Step 3/12 : ARG MAKE='make build' 22:06:10 ---> Running in aea3626264f5 22:06:10 Removing intermediate container aea3626264f5 22:06:10 ---> 5c3cc1f9cd95 22:06:10 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:06:10 ---> Running in 6cce26a8f486 22:06:10 Removing intermediate container 6cce26a8f486 22:06:10 ---> 430ce40a9163 22:06:10 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:06:10 ---> Running in 1149aba2badf 22:06:10 Removing intermediate container 1149aba2badf 22:06:10 ---> 7c40ed188245 22:06:10 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:06:10 ---> Running in a3ad4fceac7c 22:06:11 Removing intermediate container a3ad4fceac7c 22:06:11 ---> 03968b3c9232 22:06:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:06:11 ---> Running in fbd5a606655d 22:06:12 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:06:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:06:13 (1/3) Installing openssh-keygen (8.4_p1-r3) 22:06:13 (2/3) Installing libedit (20191231.3.1-r1) 22:06:13 (3/3) Installing openssh-client (8.4_p1-r3) 22:06:13 Executing busybox-1.32.1-r6.trigger 22:06:13 OK: 223 MiB in 55 packages 22:06:14 Removing intermediate container fbd5a606655d 22:06:14 ---> 7e0dc382e01e 22:06:14 Step 8/12 : WORKDIR /device-rest-go 22:06:14 ---> Running in b7f0298c4ff4 22:06:14 Removing intermediate container b7f0298c4ff4 22:06:14 ---> 6f9ec78bc859 22:06:14 Step 9/12 : COPY . . 22:06:14 ---> 3fc49f8e165f 22:06:14 Step 10/12 : RUN go mod tidy 22:06:14 ---> Running in 5a4b62cc215f 22:06:16 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 22:06:16 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 22:06:16 go: downloading github.com/gorilla/mux v1.8.0 22:06:16 go: downloading github.com/spf13/cast v1.4.1 22:06:16 go: downloading github.com/stretchr/testify v1.7.0 22:06:16 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 22:06:16 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 22:06:16 go: downloading github.com/google/uuid v1.2.0 22:06:16 go: downloading github.com/go-kit/kit v0.9.0 22:06:16 go: downloading github.com/go-playground/validator/v10 v10.6.1 22:06:16 go: downloading github.com/davecgh/go-spew v1.1.1 22:06:16 go: downloading github.com/pmezard/go-difflib v1.0.0 22:06:16 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:06:16 go: downloading github.com/OneOfOne/xxhash v1.2.8 22:06:16 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 22:06:16 go: downloading github.com/pelletier/go-toml v1.9.2 22:06:16 go: downloading gopkg.in/yaml.v2 v2.4.0 22:06:16 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 22:06:16 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 22:06:16 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 22:06:16 go: downloading github.com/go-playground/universal-translator v0.17.0 22:06:16 go: downloading github.com/leodido/go-urn v1.2.0 22:06:16 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 22:06:16 go: downloading golang.org/x/text v0.3.2 22:06:17 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:06:17 go: downloading github.com/go-playground/locales v0.13.0 22:06:18 go: downloading github.com/go-logfmt/logfmt v0.4.0 22:06:18 go: downloading github.com/go-stack/stack v1.8.0 22:06:18 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:06:18 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:06:18 go: downloading github.com/hashicorp/consul/api v1.8.1 22:06:18 go: downloading github.com/x448/float16 v0.8.4 22:06:18 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 22:06:18 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:06:18 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:06:18 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:06:18 go: downloading github.com/pebbe/zmq4 v1.2.7 22:06:18 go: downloading github.com/kr/pretty v0.2.0 22:06:18 go: downloading github.com/stretchr/objx v0.1.0 22:06:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:06:18 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:06:18 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:06:18 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:06:18 go: downloading github.com/hashicorp/serf v0.9.5 22:06:18 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:06:18 go: downloading github.com/hashicorp/consul/sdk v0.7.0 22:06:18 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:06:18 go: downloading github.com/gorilla/websocket v1.4.2 22:06:18 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 22:06:18 go: downloading github.com/onsi/ginkgo v1.10.1 22:06:18 go: downloading github.com/onsi/gomega v1.7.0 22:06:18 go: downloading github.com/kr/text v0.1.0 22:06:18 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:06:18 go: downloading github.com/mitchellh/copystructure v1.0.0 22:06:18 go: downloading github.com/fatih/color v1.9.0 22:06:18 go: downloading github.com/mattn/go-colorable v0.1.6 22:06:18 go: downloading github.com/mattn/go-isatty v0.0.12 22:06:18 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:06:18 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:06:18 go: downloading github.com/pkg/errors v0.8.1 22:06:19 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:06:19 go: downloading github.com/hashicorp/memberlist v0.2.2 22:06:19 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:06:19 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:06:19 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:06:19 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:06:19 go: downloading github.com/hpcloud/tail v1.0.0 22:06:19 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:06:19 go: downloading github.com/hashicorp/go-multierror v1.1.0 22:06:19 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:06:19 go: downloading github.com/miekg/dns v1.1.26 22:06:19 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:06:19 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:06:19 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:06:19 go: downloading github.com/hashicorp/errwrap v1.0.0 22:06:19 go: downloading gopkg.in/fsnotify.v1 v1.4.7 22:06:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-295 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:06:19 Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout 22:06:19 The recommended git tool is: git 22:06:23 Removing intermediate container 5a4b62cc215f 22:06:23 ---> 0461f25c6dd6 22:06:23 Step 11/12 : RUN make update 22:06:23 ---> Running in d4084942c8ff 22:06:24 CGO_ENABLED=0 GO111MODULE=on go mod download 22:06:25 using credential edgex-jenkins-ssh 22:06:25 Cloning the remote Git repository 22:06:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:06:26 > git init /w/workspace/device-rest-go/7 # timeout=10 22:06:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:06:26 > git --version # timeout=10 22:06:26 > git --version # 'git version 2.17.1' 22:06:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:06:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:06:28 Avoid second fetch 22:06:28 Checking out Revision 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed (main) 22:06:29 Removing intermediate container d4084942c8ff 22:06:29 ---> c2a92f717945 22:06:29 Step 12/12 : RUN $MAKE 22:06:29 ---> Running in 878f33a79ada 22:06:29 noop 22:06:29 Removing intermediate container 878f33a79ada 22:06:29 ---> 6719878d9f21 22:06:29 Successfully built 6719878d9f21 22:06:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:06:29 + docker inspect -f . ci-base-image-x86_64 22:06:29 . [Pipeline] withDockerContainer 22:06:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:06:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:06:28 > git config core.sparsecheckout # timeout=10 22:06:28 > git checkout -f 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed # timeout=10 22:06:29 prd-centos7-docker-4c-2g-296 does not seem to be running inside a container 22:06:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:06:30 $ docker top b67bea12884fd4a49b5b45932e29b29c2e02770e191b9c178b368bb31147e908 -eo pid,comm [Pipeline] { [Pipeline] sh 22:06:30 + go version 22:06:30 go version go1.16.6 linux/amd64 [Pipeline] } 22:06:30 $ docker stop --time=1 b67bea12884fd4a49b5b45932e29b29c2e02770e191b9c178b368bb31147e908 22:06:31 $ docker rm -f b67bea12884fd4a49b5b45932e29b29c2e02770e191b9c178b368bb31147e908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:06:32 + docker inspect -f . ci-base-image-x86_64 22:06:32 . [Pipeline] withDockerContainer 22:06:32 prd-centos7-docker-4c-2g-296 does not seem to be running inside a container 22:06:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:06:32 Commit message: "Merge pull request #133 from tdrozdovsky/remove-dead-code" 22:06:33 $ docker top 29f68e20ff078e89f6dfda78265c06a0a874335a5f2a274f74f9ff9ab23f2af0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:06:33 provisioning config files... 22:06:33 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config140055336218072107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:33 + go mod tidy [Pipeline] sh 22:06:33 ---> docker-login.sh 22:06:33 nexus3.edgexfoundry.org:10001 22:06:34 + make test 22:06:34 go mod tidy 22:06:34 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:06:34 ? github.com/edgexfoundry/device-rest-go [no test files] 22:06:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:36 Configure a credential helper to remove this warning. See 22:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:36 22:06:36 Login Succeeded 22:06:36 nexus3.edgexfoundry.org:10002 22:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:36 Configure a credential helper to remove this warning. See 22:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:36 22:06:36 Login Succeeded 22:06:36 nexus3.edgexfoundry.org:10003 22:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:37 Configure a credential helper to remove this warning. See 22:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:37 22:06:37 Login Succeeded 22:06:37 nexus3.edgexfoundry.org:10004 22:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:37 Configure a credential helper to remove this warning. See 22:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:37 22:06:37 Login Succeeded 22:06:37 docker.io 22:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:38 Configure a credential helper to remove this warning. See 22:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:38 22:06:38 Login Succeeded 22:06:38 ---> docker-login.sh ends [Pipeline] } 22:06:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:06:39 ========================================================= 22:06:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:06:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:06:39 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 22:06:39 Sending build context to Docker daemon 119.8kB 22:06:40 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 22:06:40 Step 2/12 : FROM ${BASE} AS builder 22:06:40 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:06:40 595b0fe564bb: Pulling fs layer 22:06:40 24495759ef45: Pulling fs layer 22:06:40 d148012ef14d: Pulling fs layer 22:06:40 e90a11edd702: Pulling fs layer 22:06:40 d77568369979: Pulling fs layer 22:06:40 fc1c9f9a7f3b: Pulling fs layer 22:06:40 170f2ba95c9a: Pulling fs layer 22:06:40 97ac5df62f85: Pulling fs layer 22:06:40 fc1c9f9a7f3b: Waiting 22:06:40 170f2ba95c9a: Waiting 22:06:40 97ac5df62f85: Waiting 22:06:40 d77568369979: Waiting 22:06:40 e90a11edd702: Waiting 22:06:40 d148012ef14d: Verifying Checksum 22:06:40 d148012ef14d: Download complete 22:06:40 24495759ef45: Verifying Checksum 22:06:40 24495759ef45: Download complete 22:06:40 d77568369979: Verifying Checksum 22:06:40 d77568369979: Download complete 22:06:40 fc1c9f9a7f3b: Verifying Checksum 22:06:40 fc1c9f9a7f3b: Download complete 22:06:40 595b0fe564bb: Verifying Checksum 22:06:40 595b0fe564bb: Download complete 22:06:40 170f2ba95c9a: Verifying Checksum 22:06:40 170f2ba95c9a: Download complete 22:06:41 595b0fe564bb: Pull complete 22:06:42 24495759ef45: Pull complete 22:06:42 d148012ef14d: Pull complete 22:06:44 97ac5df62f85: Verifying Checksum 22:06:44 97ac5df62f85: Download complete 22:06:44 e90a11edd702: Verifying Checksum 22:06:44 e90a11edd702: Download complete 22:06:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:06:50 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 53.8% of statements 22:06:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:06:55 e90a11edd702: Pull complete 22:06:55 d77568369979: Pull complete 22:06:55 fc1c9f9a7f3b: Pull complete 22:06:56 170f2ba95c9a: Pull complete 22:06:57 gofmt -l . 22:06:57 [ "`gofmt -l .`" = "" ] 22:06:57 ./bin/test-go-mod-tidy.sh 22:06:57 ./bin/test-attribution-txt.sh [Pipeline] } 22:06:57 $ docker stop --time=1 29f68e20ff078e89f6dfda78265c06a0a874335a5f2a274f74f9ff9ab23f2af0 22:06:58 $ docker rm -f 29f68e20ff078e89f6dfda78265c06a0a874335a5f2a274f74f9ff9ab23f2af0 [Pipeline] // withDockerContainer [Pipeline] sh 22:06:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:06:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:07:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:07:02 + ls -al . 22:07:02 total 116 22:07:02 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 15 22:06 . 22:07:02 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 22:05 .. 22:07:02 -rw-rw-r--. 1 jenkins jenkins 6792 Sep 15 22:05 Attribution.txt 22:07:02 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 22:05 bin 22:07:02 -rw-rw-r--. 1 jenkins jenkins 7459 Sep 15 22:05 CHANGELOG.md 22:07:02 drwxrwxr-x. 3 jenkins jenkins 32 Sep 15 22:05 cmd 22:07:02 -rw-r--r--. 1 jenkins jenkins 8435 Sep 15 22:06 coverage.out 22:07:02 -rw-rw-r--. 1 jenkins jenkins 1615 Sep 15 22:05 Dockerfile 22:07:02 -rw-rw-r--. 1 jenkins jenkins 151 Sep 15 22:05 .dockerignore 22:07:02 drwxrwxr-x. 2 jenkins jenkins 76 Sep 15 22:05 driver 22:07:02 drwxrwxr-x. 8 jenkins jenkins 162 Sep 15 22:05 .git 22:07:02 drwxrwxr-x. 2 jenkins jenkins 103 Sep 15 22:05 .github 22:07:02 -rw-rw-r--. 1 jenkins jenkins 336 Sep 15 22:05 .gitignore 22:07:02 -rw-r--r--. 1 jenkins jenkins 271 Sep 15 22:06 go.mod 22:07:02 -rw-r--r--. 1 jenkins jenkins 20570 Sep 15 22:06 go.sum 22:07:02 -rw-rw-r--. 1 jenkins jenkins 677 Sep 15 22:05 GOVERNANCE.md 22:07:02 -rw-rw-r--. 1 jenkins jenkins 680 Sep 15 22:05 Jenkinsfile 22:07:02 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 15 22:05 LICENSE 22:07:02 -rw-rw-r--. 1 jenkins jenkins 996 Sep 15 22:05 Makefile 22:07:02 -rw-rw-r--. 1 jenkins jenkins 620 Sep 15 22:05 OWNERS.md 22:07:02 -rw-rw-r--. 1 jenkins jenkins 7661 Sep 15 22:05 README.md 22:07:02 drwxrwxr-x. 4 jenkins jenkins 71 Sep 15 22:05 snap 22:07:02 -rw-rw-r--. 1 jenkins jenkins 11 Sep 15 22:03 VERSION 22:07:02 -rw-rw-r--. 1 jenkins jenkins 713 Sep 15 22:05 version.go [Pipeline] isUnix [Pipeline] sh 22:07:02 + 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=698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed --label arch=amd64 --label version=2.0.1-dev.6 . 22:07:02 Sending build context to Docker daemon 129kB 22:07:02 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 22:07:02 Step 2/25 : FROM ${BASE} AS builder 22:07:02 ---> 6719878d9f21 22:07:02 Step 3/25 : ARG MAKE='make build' 22:07:02 ---> Running in e225429c7902 22:07:02 Removing intermediate container e225429c7902 22:07:02 ---> 99857d6317e3 22:07:02 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:07:02 ---> Running in 93fc0e97b801 22:07:02 Removing intermediate container 93fc0e97b801 22:07:02 ---> 567584163fb9 22:07:02 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:07:02 ---> Running in f4051d69520a 22:07:02 Removing intermediate container f4051d69520a 22:07:02 ---> ed0434db809e 22:07:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:07:02 ---> Running in 2e86a498b8e3 22:07:02 97ac5df62f85: Pull complete 22:07:02 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 22:07:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:07:02 ---> 04bc70af865f 22:07:02 Step 3/12 : ARG MAKE='make build' 22:07:03 Removing intermediate container 2e86a498b8e3 22:07:03 ---> 77495011881e 22:07:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:07:03 ---> Running in 4ebc0ec509d8 22:07:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:07:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:07:04 OK: 223 MiB in 55 packages 22:07:05 Removing intermediate container 4ebc0ec509d8 22:07:05 ---> 55a345975ff9 22:07:05 Step 8/25 : WORKDIR /device-rest-go 22:07:05 ---> Running in 0623f0ce10a4 22:07:05 Removing intermediate container 0623f0ce10a4 22:07:05 ---> 96c35ef04523 22:07:05 Step 9/25 : COPY . . 22:07:05 ---> 90a14ce525dd 22:07:05 Step 10/25 : RUN go mod tidy 22:07:05 ---> Running in 7b5b4bae95c3 22:07:05 Removing intermediate container 7b5b4bae95c3 22:07:05 ---> 0b00c314ff26 22:07:05 Step 11/25 : RUN make update 22:07:05 ---> Running in 90dcd2bc12b3 22:07:06 CGO_ENABLED=0 GO111MODULE=on go mod download 22:07:06 Removing intermediate container 90dcd2bc12b3 22:07:06 ---> e345b89f4296 22:07:06 Step 12/25 : RUN $MAKE 22:07:06 ---> Running in a181a67c1253 22:07:06 go mod tidy 22:07:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.6" -o cmd/device-rest ./cmd 22:07:08 ---> Running in 6d9f82f0988c 22:07:08 Removing intermediate container 6d9f82f0988c 22:07:08 ---> bed423e819d5 22:07:08 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:07:08 ---> Running in c62cbd90bf1b 22:07:08 Removing intermediate container c62cbd90bf1b 22:07:08 ---> d43423b5a29d 22:07:08 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:07:08 ---> Running in 86910e3c1f55 22:07:09 Removing intermediate container 86910e3c1f55 22:07:09 ---> 09624ae08061 22:07:09 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:07:10 ---> Running in e9e506ac7b7f 22:07:13 Removing intermediate container e9e506ac7b7f 22:07:13 ---> 7131e87f1089 22:07:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:07:13 ---> Running in 86875126fadf 22:07:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:07:15 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:07:16 (1/3) Installing openssh-keygen (8.4_p1-r3) 22:07:16 (2/3) Installing libedit (20191231.3.1-r1) 22:07:16 (3/3) Installing openssh-client (8.4_p1-r3) 22:07:17 Executing busybox-1.32.1-r6.trigger 22:07:17 OK: 222 MiB in 55 packages 22:07:19 Removing intermediate container 86875126fadf 22:07:19 ---> 2a70f567d956 22:07:19 Step 8/12 : WORKDIR /device-rest-go 22:07:19 ---> Running in b37c2dd1b7a5 22:07:19 Removing intermediate container a181a67c1253 22:07:19 ---> 6397bd1f6e2d 22:07:19 Step 13/25 : FROM alpine:3.12 22:07:19 3.12: Pulling from library/alpine 22:07:19 e519532ddf75: Pulling fs layer 22:07:19 e519532ddf75: Verifying Checksum 22:07:19 e519532ddf75: Download complete 22:07:19 e519532ddf75: Pull complete 22:07:19 Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a 22:07:19 Status: Downloaded newer image for alpine:3.12 22:07:19 ---> 48b8ec4ed9eb 22:07:19 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:07:19 ---> Running in a0c38b6dbcbb 22:07:19 Removing intermediate container a0c38b6dbcbb 22:07:19 ---> 9f9587f0d52c 22:07:19 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:07:19 ---> Running in 16cf8e04b627 22:07:19 Removing intermediate container 16cf8e04b627 22:07:19 ---> 6e4617eadea3 22:07:19 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:07:19 ---> Running in d70283865825 22:07:19 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:07:19 Removing intermediate container b37c2dd1b7a5 22:07:19 ---> 56a0e9d5db6b 22:07:19 Step 9/12 : COPY . . 22:07:19 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:07:19 (1/6) Installing dumb-init (1.2.2-r1) 22:07:19 (2/6) Installing libgcc (9.3.0-r2) 22:07:19 (3/6) Installing libsodium (1.0.18-r0) 22:07:19 (4/6) Installing libstdc++ (9.3.0-r2) 22:07:19 (5/6) Installing libzmq (4.3.3-r0) 22:07:19 (6/6) Installing zeromq (4.3.3-r0) 22:07:19 Executing busybox-1.31.1-r20.trigger 22:07:19 OK: 8 MiB in 20 packages 22:07:19 Removing intermediate container d70283865825 22:07:19 ---> ee9131668d47 22:07:19 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:07:20 ---> 01ae7e57cadb 22:07:20 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:07:20 ---> 1c88cacdcfb2 22:07:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:07:20 ---> 6201805635f4 22:07:20 Step 10/12 : RUN go mod tidy 22:07:20 ---> Running in bb7d74913114 22:07:20 ---> 4a2fa735db8f 22:07:20 Step 20/25 : EXPOSE 59986 22:07:20 ---> Running in b7af01d97f00 22:07:20 Removing intermediate container b7af01d97f00 22:07:20 ---> b2cb43ff2dc2 22:07:20 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:07:20 ---> Running in 7fd9e54a3ebd 22:07:20 Removing intermediate container 7fd9e54a3ebd 22:07:20 ---> c6b22ea877b1 22:07:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:07:20 ---> Running in e14d94583975 22:07:21 Removing intermediate container e14d94583975 22:07:21 ---> f7fd30c3ace5 22:07:21 Step 23/25 : LABEL arch=amd64 22:07:21 ---> Running in 11068bd03731 22:07:21 Removing intermediate container 11068bd03731 22:07:21 ---> 1925ba88f957 22:07:21 Step 24/25 : LABEL git_sha=698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed 22:07:21 ---> Running in 62279fc770c3 22:07:21 Removing intermediate container 62279fc770c3 22:07:21 ---> bf43047d7ed5 22:07:21 Step 25/25 : LABEL version=2.0.1-dev.6 22:07:21 ---> Running in be0b5c81a15a 22:07:21 Removing intermediate container be0b5c81a15a 22:07:21 ---> 0532e4ca0302 22:07:21 [Warning] One or more build-args [ARCH] were not consumed 22:07:21 Successfully built 0532e4ca0302 22:07:21 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:07:21 provisioning config files... 22:07:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config5572942970155192527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:21 ---> docker-login.sh 22:07:21 nexus3.edgexfoundry.org:10001 22:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:07:21 Configure a credential helper to remove this warning. See 22:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:07:21 22:07:21 Login Succeeded 22:07:21 nexus3.edgexfoundry.org:10002 22:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:07:22 Configure a credential helper to remove this warning. See 22:07:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:07:22 22:07:22 Login Succeeded 22:07:22 nexus3.edgexfoundry.org:10003 22:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:07:22 Configure a credential helper to remove this warning. See 22:07:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:07:22 22:07:22 Login Succeeded 22:07:22 nexus3.edgexfoundry.org:10004 22:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:07:22 Configure a credential helper to remove this warning. See 22:07:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:07:22 22:07:22 Login Succeeded 22:07:22 docker.io 22:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:07:22 Configure a credential helper to remove this warning. See 22:07:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:07:22 22:07:22 Login Succeeded 22:07:22 ---> docker-login.sh ends [Pipeline] } 22:07:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:07:22 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:07:22 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed 22:07:22 latest 22:07:22 2.0.1-dev.6 22:07:22 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed-2.0.1-dev.6 22:07:22 main 22:07:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:07:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed [Pipeline] isUnix [Pipeline] sh 22:07:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed 22:07:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:07:23 049fdb3a7439: Preparing 22:07:23 1b695e42dcc2: Preparing 22:07:23 768b232e701f: Preparing 22:07:23 35725a32295b: Preparing 22:07:23 e6688e911f15: Preparing 22:07:23 e6688e911f15: Layer already exists 22:07:23 049fdb3a7439: Pushed 22:07:23 35725a32295b: Pushed 22:07:23 1b695e42dcc2: Pushed 22:07:23 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 22:07:23 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 22:07:23 go: downloading github.com/gorilla/mux v1.8.0 22:07:23 go: downloading github.com/spf13/cast v1.4.1 22:07:23 go: downloading github.com/stretchr/testify v1.7.0 22:07:23 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 22:07:24 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 22:07:24 go: downloading github.com/google/uuid v1.2.0 22:07:24 go: downloading github.com/go-playground/validator/v10 v10.6.1 22:07:24 go: downloading github.com/go-kit/kit v0.9.0 22:07:24 go: downloading github.com/davecgh/go-spew v1.1.1 22:07:24 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:07:24 go: downloading github.com/pmezard/go-difflib v1.0.0 22:07:24 go: downloading github.com/OneOfOne/xxhash v1.2.8 22:07:24 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 22:07:24 go: downloading github.com/pelletier/go-toml v1.9.2 22:07:24 go: downloading gopkg.in/yaml.v2 v2.4.0 22:07:24 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 22:07:24 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 22:07:24 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 22:07:24 go: downloading github.com/go-playground/universal-translator v0.17.0 22:07:24 go: downloading github.com/leodido/go-urn v1.2.0 22:07:24 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 22:07:24 go: downloading golang.org/x/text v0.3.2 22:07:24 768b232e701f: Pushed 22:07:25 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:07:25 go: downloading github.com/go-playground/locales v0.13.0 22:07:27 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:07:27 go: downloading github.com/go-logfmt/logfmt v0.4.0 22:07:27 go: downloading github.com/go-stack/stack v1.8.0 22:07:27 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:07:28 go: downloading github.com/hashicorp/consul/api v1.8.1 22:07:28 go: downloading github.com/x448/float16 v0.8.4 22:07:28 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 22:07:28 go: downloading github.com/stretchr/objx v0.1.0 22:07:28 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:07:28 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:07:28 go: downloading github.com/pebbe/zmq4 v1.2.7 22:07:28 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:07:28 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:07:28 go: downloading github.com/kr/pretty v0.2.0 22:07:28 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:07:28 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:07:28 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:07:28 go: downloading github.com/hashicorp/serf v0.9.5 22:07:28 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:07:28 go: downloading github.com/hashicorp/consul/sdk v0.7.0 22:07:28 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:07:28 go: downloading github.com/gorilla/websocket v1.4.2 22:07:28 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 22:07:28 go: downloading github.com/onsi/ginkgo v1.10.1 22:07:28 go: downloading github.com/onsi/gomega v1.7.0 22:07:29 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:07:29 go: downloading github.com/mitchellh/copystructure v1.0.0 22:07:29 go: downloading github.com/kr/text v0.1.0 22:07:29 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:07:29 go: downloading github.com/fatih/color v1.9.0 22:07:29 go: downloading github.com/mattn/go-colorable v0.1.6 22:07:29 go: downloading github.com/mattn/go-isatty v0.0.12 22:07:29 go: downloading github.com/pkg/errors v0.8.1 22:07:29 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:07:29 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:07:29 go: downloading github.com/hashicorp/memberlist v0.2.2 22:07:29 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:07:29 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:07:29 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:07:29 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:07:29 go: downloading github.com/hpcloud/tail v1.0.0 22:07:29 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:07:29 go: downloading github.com/hashicorp/go-multierror v1.1.0 22:07:29 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:07:29 go: downloading github.com/miekg/dns v1.1.26 22:07:30 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:07:30 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:07:30 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:07:30 go: downloading github.com/hashicorp/errwrap v1.0.0 22:07:30 go: downloading gopkg.in/fsnotify.v1 v1.4.7 22:07:30 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed: digest: sha256:7cb551e8ce9944e323f338909ef7aa56ddade6765147b55366e904565af436e8 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:07:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 22:07:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:07:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:07:30 049fdb3a7439: Preparing 22:07:30 1b695e42dcc2: Preparing 22:07:30 768b232e701f: Preparing 22:07:30 35725a32295b: Preparing 22:07:30 e6688e911f15: Preparing 22:07:30 e6688e911f15: Layer already exists 22:07:30 049fdb3a7439: Layer already exists 22:07:30 35725a32295b: Layer already exists 22:07:30 768b232e701f: Layer already exists 22:07:30 1b695e42dcc2: Layer already exists 22:07:30 latest: digest: sha256:7cb551e8ce9944e323f338909ef7aa56ddade6765147b55366e904565af436e8 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:07:31 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 22:07:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.6 22:07:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:07:31 049fdb3a7439: Preparing 22:07:31 1b695e42dcc2: Preparing 22:07:31 768b232e701f: Preparing 22:07:31 35725a32295b: Preparing 22:07:31 e6688e911f15: Preparing 22:07:31 e6688e911f15: Layer already exists 22:07:31 768b232e701f: Layer already exists 22:07:31 049fdb3a7439: Layer already exists 22:07:31 1b695e42dcc2: Layer already exists 22:07:31 35725a32295b: Layer already exists 22:07:31 2.0.1-dev.6: digest: sha256:7cb551e8ce9944e323f338909ef7aa56ddade6765147b55366e904565af436e8 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:07:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed-2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 22:07:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed-2.0.1-dev.6 22:07:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:07:32 049fdb3a7439: Preparing 22:07:32 1b695e42dcc2: Preparing 22:07:32 768b232e701f: Preparing 22:07:32 35725a32295b: Preparing 22:07:32 e6688e911f15: Preparing 22:07:32 1b695e42dcc2: Layer already exists 22:07:32 35725a32295b: Layer already exists 22:07:32 e6688e911f15: Layer already exists 22:07:32 768b232e701f: Layer already exists 22:07:32 049fdb3a7439: Layer already exists 22:07:32 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed-2.0.1-dev.6: digest: sha256:7cb551e8ce9944e323f338909ef7aa56ddade6765147b55366e904565af436e8 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:07:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 22:07:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 22:07:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:07:33 049fdb3a7439: Preparing 22:07:33 1b695e42dcc2: Preparing 22:07:33 768b232e701f: Preparing 22:07:33 35725a32295b: Preparing 22:07:33 e6688e911f15: Preparing 22:07:33 e6688e911f15: Layer already exists 22:07:33 35725a32295b: Layer already exists 22:07:33 768b232e701f: Layer already exists 22:07:33 1b695e42dcc2: Layer already exists 22:07:33 049fdb3a7439: Layer already exists 22:07:33 main: digest: sha256:7cb551e8ce9944e323f338909ef7aa56ddade6765147b55366e904565af436e8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:07:33 ===================================================== [Pipeline] echo 22:07:33 taggedImages: 22:07:33 - nexus3.edgexfoundry.org:10004/device-rest:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed 22:07:33 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:07:33 - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.6 22:07:33 - nexus3.edgexfoundry.org:10004/device-rest:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed-2.0.1-dev.6 22:07:33 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:33 22:07:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:07:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:34 latest: Pulling from edgex-lftools-log-publisher 22:07:34 b4d181a07f80: Pulling fs layer 22:07:34 a1111a8f2ec3: Pulling fs layer 22:07:34 ed53099fbce6: Pulling fs layer 22:07:34 dc539afda2c1: Pulling fs layer 22:07:34 77bc0d833cb6: Pulling fs layer 22:07:34 9065ff56babe: Pulling fs layer 22:07:34 d287ab97295c: Pulling fs layer 22:07:34 77bc0d833cb6: Waiting 22:07:34 9065ff56babe: Waiting 22:07:34 d287ab97295c: Waiting 22:07:34 dc539afda2c1: Waiting 22:07:34 a1111a8f2ec3: Verifying Checksum 22:07:34 a1111a8f2ec3: Download complete 22:07:34 dc539afda2c1: Verifying Checksum 22:07:34 dc539afda2c1: Download complete 22:07:34 ed53099fbce6: Verifying Checksum 22:07:34 ed53099fbce6: Download complete 22:07:34 9065ff56babe: Verifying Checksum 22:07:34 9065ff56babe: Download complete 22:07:34 77bc0d833cb6: Verifying Checksum 22:07:34 77bc0d833cb6: Download complete 22:07:35 b4d181a07f80: Verifying Checksum 22:07:35 b4d181a07f80: Download complete 22:07:36 b4d181a07f80: Pull complete 22:07:36 a1111a8f2ec3: Pull complete 22:07:37 ed53099fbce6: Pull complete 22:07:37 dc539afda2c1: Pull complete 22:07:37 77bc0d833cb6: Pull complete 22:07:37 9065ff56babe: Pull complete 22:07:38 d287ab97295c: Verifying Checksum 22:07:38 d287ab97295c: Download complete 22:07:43 d287ab97295c: Pull complete 22:07:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:07:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:07:43 prd-centos7-docker-4c-2g-296 does not seem to be running inside a container 22:07:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:07:45 Removing intermediate container bb7d74913114 22:07:45 ---> 6fb2d5f9c329 22:07:45 Step 11/12 : RUN make update 22:07:45 ---> Running in ac79db011b13 22:07:45 CGO_ENABLED=0 GO111MODULE=on go mod download 22:07:45 $ docker top 4214670f0ff7f09d54fd8cb25c6f205e516d9f4d890e874d8513046461f2c934 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:46 ---> job-cost.sh 22:07:46 lf-activate-venv: SKIPPING 22:07:46 INFO: No Stack... 22:07:47 INFO: Retrieving Pricing Info for: v3-standard-2 22:07:47 INFO: Archiving Costs [Pipeline] sh 22:07:47 + cat /w/workspace/device-rest-go/7/archives/cost.csv 22:07:47 + cut -d, -f6 [Pipeline] lock 22:07:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-7-stack-cost] 22:07:47 Resource [jenkins-edgexfoundry-device-rest-go-main-7-stack-cost] did not exist. Created. 22:07:47 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:07:48 + echo total: 0.05999999865889549 [Pipeline] stash 22:07:48 Stashed 1 file(s) [Pipeline] } 22:07:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-7-stack-cost] [Pipeline] // lock [Pipeline] } 22:07:48 $ docker stop --time=1 4214670f0ff7f09d54fd8cb25c6f205e516d9f4d890e874d8513046461f2c934 22:07:49 $ docker rm -f 4214670f0ff7f09d54fd8cb25c6f205e516d9f4d890e874d8513046461f2c934 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:07:53 Removing intermediate container ac79db011b13 22:07:53 ---> a0b0cd14571a 22:07:53 Step 12/12 : RUN $MAKE 22:07:53 ---> Running in 990d138cc883 22:07:55 noop 22:07:56 Removing intermediate container 990d138cc883 22:07:56 ---> 0193327976ad 22:07:56 Successfully built 0193327976ad 22:07:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:07:56 + docker inspect -f . ci-base-image-arm64 22:07:56 . [Pipeline] withDockerContainer 22:07:56 prd-ubuntu18.04-docker-arm64-4c-16g-295 does not seem to be running inside a container 22:07:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:07:58 $ docker top 3302b8a8a8fdd3fcf14a12684fe0960dfa03b628fe55abc5532b2a1fe2884bd9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:59 + go version 22:07:59 go version go1.16.6 linux/arm64 [Pipeline] } 22:07:59 $ docker stop --time=1 3302b8a8a8fdd3fcf14a12684fe0960dfa03b628fe55abc5532b2a1fe2884bd9 22:08:01 $ docker rm -f 3302b8a8a8fdd3fcf14a12684fe0960dfa03b628fe55abc5532b2a1fe2884bd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:08:02 + docker inspect -f . ci-base-image-arm64 22:08:02 . [Pipeline] withDockerContainer 22:08:02 prd-ubuntu18.04-docker-arm64-4c-16g-295 does not seem to be running inside a container 22:08:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:08:04 $ docker top 6be41693a7c9e19c58791635900e45011fa7f81568235bd4e8c4d529d64dca71 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:08:04 + go mod tidy [Pipeline] sh 22:08:06 + make test 22:08:06 go mod tidy 22:08:06 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:08:07 ? github.com/edgexfoundry/device-rest-go [no test files] 22:09:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:09:04 ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 53.8% of statements 22:09:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:09:26 gofmt -l . 22:09:26 [ "`gofmt -l .`" = "" ] 22:09:26 ./bin/test-go-mod-tidy.sh 22:09:26 ./bin/test-attribution-txt.sh [Pipeline] } 22:09:28 $ docker stop --time=1 6be41693a7c9e19c58791635900e45011fa7f81568235bd4e8c4d529d64dca71 22:09:30 $ docker rm -f 6be41693a7c9e19c58791635900e45011fa7f81568235bd4e8c4d529d64dca71 [Pipeline] // withDockerContainer [Pipeline] sh 22:09:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:09:31 Warning: overwriting stash ‘coverage-report’ 22:09:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:09:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:09:33 + ls -al . 22:09:33 total 144 22:09:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:09 . 22:09:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:06 .. 22:09:33 -rw-rw-r-- 1 jenkins jenkins 151 Sep 15 22:06 .dockerignore 22:09:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:06 .git 22:09:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:06 .github 22:09:33 -rw-rw-r-- 1 jenkins jenkins 336 Sep 15 22:06 .gitignore 22:09:33 -rw-rw-r-- 1 jenkins jenkins 6792 Sep 15 22:06 Attribution.txt 22:09:33 -rw-rw-r-- 1 jenkins jenkins 7459 Sep 15 22:06 CHANGELOG.md 22:09:33 -rw-rw-r-- 1 jenkins jenkins 1615 Sep 15 22:06 Dockerfile 22:09:33 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:06 GOVERNANCE.md 22:09:33 -rw-rw-r-- 1 jenkins jenkins 680 Sep 15 22:06 Jenkinsfile 22:09:33 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:06 LICENSE 22:09:33 -rw-rw-r-- 1 jenkins jenkins 996 Sep 15 22:06 Makefile 22:09:33 -rw-rw-r-- 1 jenkins jenkins 620 Sep 15 22:06 OWNERS.md 22:09:33 -rw-rw-r-- 1 jenkins jenkins 7661 Sep 15 22:06 README.md 22:09:33 -rw-rw-r-- 1 jenkins jenkins 11 Sep 15 22:03 VERSION 22:09:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:06 bin 22:09:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:06 cmd 22:09:33 -rw-r--r-- 1 jenkins jenkins 8435 Sep 15 22:08 coverage.out 22:09:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:06 driver 22:09:33 -rw-r--r-- 1 jenkins jenkins 271 Sep 15 22:09 go.mod 22:09:33 -rw-r--r-- 1 jenkins jenkins 20570 Sep 15 22:08 go.sum 22:09:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:06 snap 22:09:33 -rw-rw-r-- 1 jenkins jenkins 713 Sep 15 22:06 version.go [Pipeline] isUnix [Pipeline] sh 22:09:33 + 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=698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed --label arch=arm64 --label version=2.0.1-dev.6 . 22:09:33 Sending build context to Docker daemon 129kB 22:09:33 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 22:09:33 Step 2/25 : FROM ${BASE} AS builder 22:09:33 ---> 0193327976ad 22:09:33 Step 3/25 : ARG MAKE='make build' 22:09:34 ---> Running in 871490374d72 22:09:34 Removing intermediate container 871490374d72 22:09:34 ---> a8df39d0d2fc 22:09:34 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:09:34 ---> Running in ea71771073af 22:09:35 Removing intermediate container ea71771073af 22:09:35 ---> a0cea05065c6 22:09:35 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:09:35 ---> Running in e8ac63a3e7cb 22:09:35 Removing intermediate container e8ac63a3e7cb 22:09:35 ---> 7a7974fb7c71 22:09:35 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:09:35 ---> Running in bc269384a020 22:09:38 Removing intermediate container bc269384a020 22:09:38 ---> 92eef6e12cfc 22:09:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:09:38 ---> Running in 9ff31e540cc2 22:09:39 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:09:40 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:09:41 OK: 222 MiB in 55 packages 22:09:42 Removing intermediate container 9ff31e540cc2 22:09:42 ---> 6de5260383cf 22:09:42 Step 8/25 : WORKDIR /device-rest-go 22:09:42 ---> Running in d28aa65bcd47 22:09:42 Removing intermediate container d28aa65bcd47 22:09:42 ---> b524601a5d2c 22:09:42 Step 9/25 : COPY . . 22:09:43 ---> bc5829c7d151 22:09:43 Step 10/25 : RUN go mod tidy 22:09:43 ---> Running in 8289a6ac65da 22:09:46 Removing intermediate container 8289a6ac65da 22:09:46 ---> 660d95be2423 22:09:46 Step 11/25 : RUN make update 22:09:46 ---> Running in 1817d9992877 22:09:48 CGO_ENABLED=0 GO111MODULE=on go mod download 22:09:49 Removing intermediate container 1817d9992877 22:09:49 ---> 91b87c82ad71 22:09:49 Step 12/25 : RUN $MAKE 22:09:49 ---> Running in 04c72ae78bfa 22:09:50 go mod tidy 22:09:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.6" -o cmd/device-rest ./cmd 22:10:29 Removing intermediate container 04c72ae78bfa 22:10:29 ---> 1daf765e41f9 22:10:29 Step 13/25 : FROM alpine:3.12 22:10:29 3.12: Pulling from library/alpine 22:10:29 ccdebe76d529: Pulling fs layer 22:10:29 ccdebe76d529: Download complete 22:10:29 ccdebe76d529: Pull complete 22:10:29 Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a 22:10:29 Status: Downloaded newer image for alpine:3.12 22:10:29 ---> afc2cc120ca2 22:10:29 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:10:29 ---> Running in 10b5ef4b7717 22:10:29 Removing intermediate container 10b5ef4b7717 22:10:29 ---> 8abec81d6b9e 22:10:29 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:10:29 ---> Running in b5096036e055 22:10:29 Removing intermediate container b5096036e055 22:10:29 ---> 813456d7143a 22:10:29 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:10:29 ---> Running in a33f4b6530b3 22:10:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:10:30 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:10:30 (1/6) Installing dumb-init (1.2.2-r1) 22:10:30 (2/6) Installing libgcc (9.3.0-r2) 22:10:30 (3/6) Installing libsodium (1.0.18-r0) 22:10:30 (4/6) Installing libstdc++ (9.3.0-r2) 22:10:30 (5/6) Installing libzmq (4.3.3-r0) 22:10:30 (6/6) Installing zeromq (4.3.3-r0) 22:10:30 Executing busybox-1.31.1-r20.trigger 22:10:30 OK: 8 MiB in 20 packages 22:10:32 Removing intermediate container a33f4b6530b3 22:10:32 ---> fcd7bc78e5fb 22:10:32 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:10:33 ---> 5f67813d3489 22:10:33 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:10:34 ---> fb102805bfe2 22:10:34 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:10:34 ---> 7bb9635372a2 22:10:34 Step 20/25 : EXPOSE 59986 22:10:34 ---> Running in abb28dc78a08 22:10:35 Removing intermediate container abb28dc78a08 22:10:35 ---> 28fcf96e7f85 22:10:35 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:10:35 ---> Running in 8c5528dbec3b 22:10:36 Removing intermediate container 8c5528dbec3b 22:10:36 ---> 2247abb9041f 22:10:36 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:10:36 ---> Running in 675f0a58a8ba 22:10:36 Removing intermediate container 675f0a58a8ba 22:10:36 ---> f3ca998f9560 22:10:36 Step 23/25 : LABEL arch=arm64 22:10:36 ---> Running in 19eed1a0e3f1 22:10:37 Removing intermediate container 19eed1a0e3f1 22:10:37 ---> 0fab460b6d1e 22:10:37 Step 24/25 : LABEL git_sha=698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed 22:10:37 ---> Running in 568bd3fd0ded 22:10:37 Removing intermediate container 568bd3fd0ded 22:10:37 ---> d24c593eaba2 22:10:37 Step 25/25 : LABEL version=2.0.1-dev.6 22:10:37 ---> Running in 8ac2c39b6c2f 22:10:38 Removing intermediate container 8ac2c39b6c2f 22:10:38 ---> 852c0ac9f9e7 22:10:38 [Warning] One or more build-args [ARCH] were not consumed 22:10:38 Successfully built 852c0ac9f9e7 22:10:38 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 22:10:38 provisioning config files... 22:10:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config3501994845243017441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:39 ---> docker-login.sh 22:10:39 nexus3.edgexfoundry.org:10001 22:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:39 Configure a credential helper to remove this warning. See 22:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:39 22:10:39 Login Succeeded 22:10:39 nexus3.edgexfoundry.org:10002 22:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:39 Configure a credential helper to remove this warning. See 22:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:39 22:10:39 Login Succeeded 22:10:40 nexus3.edgexfoundry.org:10003 22:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:40 Configure a credential helper to remove this warning. See 22:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:40 22:10:40 Login Succeeded 22:10:40 nexus3.edgexfoundry.org:10004 22:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:41 Configure a credential helper to remove this warning. See 22:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:41 22:10:41 Login Succeeded 22:10:41 docker.io 22:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:42 Configure a credential helper to remove this warning. See 22:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:42 22:10:42 Login Succeeded 22:10:42 ---> docker-login.sh ends [Pipeline] } 22:10:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:10:42 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:10:42 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed 22:10:42 latest 22:10:42 2.0.1-dev.6 22:10:42 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed-2.0.1-dev.6 22:10:42 main 22:10:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:10:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed [Pipeline] isUnix [Pipeline] sh 22:10:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed 22:10:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:10:43 531f4ea60ba2: Preparing 22:10:43 f4e5577bf235: Preparing 22:10:43 3c1063e4b17b: Preparing 22:10:43 ab3d657fec2d: Preparing 22:10:43 bdc42e120bf6: Preparing 22:10:43 bdc42e120bf6: Layer already exists 22:10:43 f4e5577bf235: Pushed 22:10:43 531f4ea60ba2: Pushed 22:10:43 ab3d657fec2d: Pushed 22:10:46 3c1063e4b17b: Pushed 22:10:46 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed: digest: sha256:906af5f0d823f82c813e437db8291a6e2911809a94a3460b449c855b0a966d39 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:10:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:10:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:10:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:10:47 531f4ea60ba2: Preparing 22:10:47 f4e5577bf235: Preparing 22:10:47 3c1063e4b17b: Preparing 22:10:47 ab3d657fec2d: Preparing 22:10:47 bdc42e120bf6: Preparing 22:10:47 bdc42e120bf6: Layer already exists 22:10:47 ab3d657fec2d: Layer already exists 22:10:47 f4e5577bf235: Layer already exists 22:10:47 531f4ea60ba2: Layer already exists 22:10:47 3c1063e4b17b: Layer already exists 22:10:47 latest: digest: sha256:906af5f0d823f82c813e437db8291a6e2911809a94a3460b449c855b0a966d39 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:10:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 22:10:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.6 22:10:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:10:48 531f4ea60ba2: Preparing 22:10:48 f4e5577bf235: Preparing 22:10:48 3c1063e4b17b: Preparing 22:10:48 ab3d657fec2d: Preparing 22:10:48 bdc42e120bf6: Preparing 22:10:48 bdc42e120bf6: Layer already exists 22:10:48 3c1063e4b17b: Layer already exists 22:10:48 ab3d657fec2d: Layer already exists 22:10:48 531f4ea60ba2: Layer already exists 22:10:48 f4e5577bf235: Layer already exists 22:10:48 2.0.1-dev.6: digest: sha256:906af5f0d823f82c813e437db8291a6e2911809a94a3460b449c855b0a966d39 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:10:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed-2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh 22:10:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed-2.0.1-dev.6 22:10:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:10:49 531f4ea60ba2: Preparing 22:10:49 f4e5577bf235: Preparing 22:10:49 3c1063e4b17b: Preparing 22:10:49 ab3d657fec2d: Preparing 22:10:49 bdc42e120bf6: Preparing 22:10:49 3c1063e4b17b: Layer already exists 22:10:49 bdc42e120bf6: Layer already exists 22:10:49 531f4ea60ba2: Layer already exists 22:10:49 f4e5577bf235: Layer already exists 22:10:49 ab3d657fec2d: Layer already exists 22:10:49 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed-2.0.1-dev.6: digest: sha256:906af5f0d823f82c813e437db8291a6e2911809a94a3460b449c855b0a966d39 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:10:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 22:10:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:10:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:10:50 531f4ea60ba2: Preparing 22:10:50 f4e5577bf235: Preparing 22:10:50 3c1063e4b17b: Preparing 22:10:50 ab3d657fec2d: Preparing 22:10:50 bdc42e120bf6: Preparing 22:10:50 531f4ea60ba2: Layer already exists 22:10:50 ab3d657fec2d: Layer already exists 22:10:50 3c1063e4b17b: Layer already exists 22:10:50 bdc42e120bf6: Layer already exists 22:10:50 f4e5577bf235: Layer already exists 22:10:50 main: digest: sha256:906af5f0d823f82c813e437db8291a6e2911809a94a3460b449c855b0a966d39 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:10:50 ===================================================== [Pipeline] echo 22:10:50 taggedImages: 22:10:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed 22:10:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:10:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.6 22:10:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed-2.0.1-dev.6 22:10:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:10:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:10:51 22:10:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:10:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:10:52 arm64: Pulling from edgex-lftools-log-publisher 22:10:52 448f6bf000e3: Pulling fs layer 22:10:52 f757da607395: Pulling fs layer 22:10:52 05883995daec: Pulling fs layer 22:10:52 8603b9c90790: Pulling fs layer 22:10:52 1560dd03e051: Pulling fs layer 22:10:52 27f5ce0e4adf: Pulling fs layer 22:10:52 c2d8d7efcc4b: Pulling fs layer 22:10:52 27f5ce0e4adf: Waiting 22:10:52 c2d8d7efcc4b: Waiting 22:10:52 8603b9c90790: Waiting 22:10:52 1560dd03e051: Waiting 22:10:52 f757da607395: Verifying Checksum 22:10:52 f757da607395: Download complete 22:10:52 8603b9c90790: Download complete 22:10:52 1560dd03e051: Verifying Checksum 22:10:52 1560dd03e051: Download complete 22:10:52 27f5ce0e4adf: Download complete 22:10:52 05883995daec: Verifying Checksum 22:10:52 05883995daec: Download complete 22:10:53 448f6bf000e3: Download complete 22:10:57 c2d8d7efcc4b: Verifying Checksum 22:10:57 c2d8d7efcc4b: Download complete 22:10:57 448f6bf000e3: Pull complete 22:10:57 f757da607395: Pull complete 22:10:59 05883995daec: Pull complete 22:10:59 8603b9c90790: Pull complete 22:11:00 1560dd03e051: Pull complete 22:11:01 27f5ce0e4adf: Pull complete 22:11:16 c2d8d7efcc4b: Pull complete 22:11:16 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:11:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:11:16 prd-ubuntu18.04-docker-arm64-4c-16g-295 does not seem to be running inside a container 22:11:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:11:21 $ docker top 04feb8c2a7a43abf833fc369c2483588a49a909d66a54f98c8ee3326427b188f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:22 ---> job-cost.sh 22:11:22 lf-activate-venv: SKIPPING 22:11:22 INFO: No Stack... 22:11:23 INFO: Retrieving Pricing Info for: v3-standard-4 22:11:23 INFO: Archiving Costs [Pipeline] sh 22:11:24 + cat /w/workspace/device-rest-go/7/archives/cost.csv 22:11:24 + cut -d, -f6 [Pipeline] lock 22:11:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-7-stack-cost] 22:11:24 Resource [jenkins-edgexfoundry-device-rest-go-main-7-stack-cost] did not exist. Created. 22:11:24 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:11:25 /w/workspace/device-rest-go/7@tmp/durable-bc4245c8/script.sh: 1: /w/workspace/device-rest-go/7@tmp/durable-bc4245c8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:11:26 + echo total: 0.10999999940395355 [Pipeline] stash 22:11:26 Warning: overwriting stash ‘stack-cost’ 22:11:26 Stashed 1 file(s) [Pipeline] } 22:11:26 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-7-stack-cost] [Pipeline] // lock [Pipeline] } 22:11:26 $ docker stop --time=1 04feb8c2a7a43abf833fc369c2483588a49a909d66a54f98c8ee3326427b188f 22:11:28 $ docker rm -f 04feb8c2a7a43abf833fc369c2483588a49a909d66a54f98c8ee3326427b188f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 22:11:28 provisioning config files... 22:11:28 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1823440277967842981tmp [Pipeline] { [Pipeline] sh 22:11:29 + set +x 22:11:29 + curl -s https://codecov.io/bash 22:11:29 + bash -s -- 22:11:29 22:11:29 _____ _ 22:11:29 / ____| | | 22:11:29 | | ___ __| | ___ ___ _____ __ 22:11:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:11:29 | |___| (_) | (_| | __/ (_| (_) \ V / 22:11:29 \_____\___/ \__,_|\___|\___\___/ \_/ 22:11:29 Bash-1.0.6 22:11:29 22:11:29 22:11:29 ==> git version 2.24.4 found 22:11:29 ==> 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 22:11:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:11:29 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:11:29 ==> Jenkins CI detected. 22:11:29 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:11:29 project root: . 22:11:29 --> token set from env 22:11:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:11:29 ==> Running gcov in . (disable via -X gcov) 22:11:29 ==> Python coveragepy not found 22:11:29 ==> Searching for coverage reports in: 22:11:29 + . 22:11:29 -> Found 1 reports 22:11:29 ==> Detecting git/mercurial file structure 22:11:29 ==> Reading reports 22:11:29 + ./coverage.out bytes=8435 22:11:29 ==> Appending adjustments 22:11:29 https://docs.codecov.io/docs/fixing-reports 22:11:29 + Found adjustments 22:11:29 ==> Gzipping contents 22:11:29 4.0K /tmp/codecov.Teu3Kc.gz 22:11:29 ==> Uploading reports 22:11:29 url: https://codecov.io 22:11:29 query: branch=main&commit=698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:11:29 -> Pinging Codecov 22:11:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:11:30 -> Uploading to 22:11:30 https://storage.googleapis.com/codecov/v4/raw/2021-09-15/4E5D53B4F1F92C436F7061BF334D961C/698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed/9a9b9571-4e9b-43af-9fc1-9f0860eeffe3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210915T221129Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d24da5b7bd4f9b502b85c998c13ee61d8d62c0d7b9fbb495899ec0a9b6ec33b9 22:11:30 % Total % Received % Xferd Average Speed Time Time Time Current 22:11:30 Dload Upload Total Spent Left Speed 22:11:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1746 0 0 100 1746 0 4830 --:--:-- --:--:-- --:--:-- 4836 22:11:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed [Pipeline] } 22:11:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:11:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:11:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:11:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:11:31 22:11:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 22:11:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:11:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:11:31 188c0c94c7c5: Pulling fs layer 22:11:31 0ef7d3d256c8: Pulling fs layer 22:11:31 de9db76c5a1d: Pulling fs layer 22:11:31 0eba1c9be4d2: Pulling fs layer 22:11:31 0d57e429df01: Pulling fs layer 22:11:31 4e4be7b47b0d: Pulling fs layer 22:11:31 e1f770b5df2f: Pulling fs layer 22:11:31 85a0685a4137: Pulling fs layer 22:11:31 0eba1c9be4d2: Waiting 22:11:31 0d57e429df01: Waiting 22:11:31 4e4be7b47b0d: Waiting 22:11:31 e1f770b5df2f: Waiting 22:11:31 85a0685a4137: Waiting 22:11:31 de9db76c5a1d: Verifying Checksum 22:11:31 de9db76c5a1d: Download complete 22:11:31 0ef7d3d256c8: Verifying Checksum 22:11:31 0ef7d3d256c8: Download complete 22:11:32 0d57e429df01: Verifying Checksum 22:11:32 0d57e429df01: Download complete 22:11:32 4e4be7b47b0d: Verifying Checksum 22:11:32 4e4be7b47b0d: Download complete 22:11:32 188c0c94c7c5: Verifying Checksum 22:11:32 188c0c94c7c5: Download complete 22:11:32 188c0c94c7c5: Pull complete 22:11:32 0ef7d3d256c8: Pull complete 22:11:32 de9db76c5a1d: Pull complete 22:11:33 e1f770b5df2f: Verifying Checksum 22:11:33 e1f770b5df2f: Download complete 22:11:37 0eba1c9be4d2: Verifying Checksum 22:11:37 0eba1c9be4d2: Download complete 22:11:37 85a0685a4137: Verifying Checksum 22:11:37 85a0685a4137: Download complete 22:11:40 0eba1c9be4d2: Pull complete 22:11:40 0d57e429df01: Pull complete 22:11:40 4e4be7b47b0d: Pull complete 22:11:41 e1f770b5df2f: Pull complete 22:11:44 85a0685a4137: Pull complete 22:11:44 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 22:11:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:11:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 22:11:44 prd-centos7-docker-4c-2g-293 does not seem to be running inside a container 22:11:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:11:46 $ docker top b60ecb13dc49fc3defe616a6b55111e640e2a733de7383af19bbf3f1898aa9ef -eo pid,comm [Pipeline] { [Pipeline] echo 22:11:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:11:47 + set -o pipefail 22:11:47 + snyk monitor '--org=edgex-jenkins' 22:11:52 22:11:52 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:11:52 22:11:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/a957affc-f2c4-489f-bc71-643ce38f6fa8 22:11:52 22:11:52 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:11:52 22:11:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:11:52 22:11:52 [Pipeline] } 22:11:52 $ docker stop --time=1 b60ecb13dc49fc3defe616a6b55111e640e2a733de7383af19bbf3f1898aa9ef 22:11:54 $ docker rm -f b60ecb13dc49fc3defe616a6b55111e640e2a733de7383af19bbf3f1898aa9ef [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 22:11:55 + git log --format=format:%s -1 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed [Pipeline] isUnix [Pipeline] sh 22:11:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:11:56 . [Pipeline] withDockerContainer 22:11:56 prd-centos7-docker-4c-2g-293 does not seem to be running inside a container 22:11:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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:10004/edgex-devops/git-semver:latest cat 22:11:56 $ docker top b6e95b174a2ecd86d1a4946491440d737ff647335a98278705263f6e70e5829e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:56 [ssh-agent] Looking for ssh-agent implementation... 22:11:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:56 $ docker exec b6e95b174a2ecd86d1a4946491440d737ff647335a98278705263f6e70e5829e ssh-agent 22:11:57 SSH_AUTH_SOCK=/tmp/ssh-vfYlDVuUBdhE/agent.14 22:11:57 SSH_AGENT_PID=20 22:11:57 Running ssh-add (command line suppressed) 22:11:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8320673118428115274.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8320673118428115274.key) 22:11:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:57 + git semver tag 22:11:57 # -> Open(): unable to determine branch for HEAD 22:11:57 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 22:11:57 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 22:11:57 # $SEMVER_REMOTE_NAME = origin 22:11:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:11:57 # $SEMVER_USER_NAME = edgex-jenkins 22:11:57 # $SEMVER_BRANCH = main 22:11:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:11:57 # 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed HEAD 22:11:57 # -> Force: false 22:11:57 # 0cfd9c238fd62b316bcfb13ec1203833f48c30f4 refs/tags/v2.0.1-dev.6 [Pipeline] } 22:11:57 $ docker exec --env ******** --env ******** b6e95b174a2ecd86d1a4946491440d737ff647335a98278705263f6e70e5829e ssh-agent -k 22:11:57 unset SSH_AUTH_SOCK; 22:11:57 unset SSH_AGENT_PID; 22:11:57 echo Agent pid 20 killed; 22:11:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:58 + git semver [Pipeline] } 22:11:58 $ docker stop --time=1 b6e95b174a2ecd86d1a4946491440d737ff647335a98278705263f6e70e5829e 22:11:59 $ docker rm -f b6e95b174a2ecd86d1a4946491440d737ff647335a98278705263f6e70e5829e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 22:11:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:11:59 22:11:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 22:12:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:12:00 0.23.1-centos7: Pulling from edgex-lftools 22:12:00 ab5ef0e58194: Pulling fs layer 22:12:00 9712f1f96733: Pulling fs layer 22:12:00 63f879dbbcfc: Pulling fs layer 22:12:00 0d9ebad4ef96: Pulling fs layer 22:12:00 e9a5061849ea: Pulling fs layer 22:12:00 d747dcd14b5f: Pulling fs layer 22:12:00 2de7ff778b66: Pulling fs layer 22:12:00 e9a5061849ea: Waiting 22:12:00 d747dcd14b5f: Waiting 22:12:00 2de7ff778b66: Waiting 22:12:00 0d9ebad4ef96: Waiting 22:12:00 9712f1f96733: Verifying Checksum 22:12:00 9712f1f96733: Download complete 22:12:02 63f879dbbcfc: Verifying Checksum 22:12:02 63f879dbbcfc: Download complete 22:12:02 e9a5061849ea: Verifying Checksum 22:12:02 e9a5061849ea: Download complete 22:12:02 d747dcd14b5f: Verifying Checksum 22:12:02 d747dcd14b5f: Download complete 22:12:03 2de7ff778b66: Verifying Checksum 22:12:03 2de7ff778b66: Download complete 22:12:03 0d9ebad4ef96: Verifying Checksum 22:12:03 0d9ebad4ef96: Download complete 22:12:03 ab5ef0e58194: Verifying Checksum 22:12:03 ab5ef0e58194: Download complete 22:12:06 ab5ef0e58194: Pull complete 22:12:06 9712f1f96733: Pull complete 22:12:07 63f879dbbcfc: Pull complete 22:12:10 0d9ebad4ef96: Pull complete 22:12:10 e9a5061849ea: Pull complete 22:12:10 d747dcd14b5f: Pull complete 22:12:11 2de7ff778b66: Pull complete 22:12:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:12:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:12:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 22:12:11 prd-centos7-docker-4c-2g-293 does not seem to be running inside a container 22:12:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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-lftools:0.23.1-centos7 cat 22:12:15 $ docker top d4b22c4e856cbf3dd307e2c0932f9b953044eace9d9766b77a793270c711b6f6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:12:15 provisioning config files... 22:12:15 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4511306151838316398tmp 22:12:15 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5909360948118526106tmp 22:12:15 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6875920816186238494tmp [Pipeline] { [Pipeline] echo 22:12:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:12:15 ---> sigul-configuration.sh 22:12:15 gpg: directory `/root/.gnupg' created 22:12:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:12:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:12:15 gpg: keyring `/root/.gnupg/secring.gpg' created 22:12:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:12:15 gpg: CAST5 encrypted data 22:12:15 gpg: encrypted with 1 passphrase 22:12:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:12:15 + mkdir /home/jenkins 22:12:15 + mkdir /home/jenkins/sigul [Pipeline] sh 22:12:16 + 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 22:12:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:12:16 ---> sigul-install.sh 22:12:16 Sigul already installed; skipping installation. [Pipeline] sh 22:12:16 + git tag --list 22:12:16 v1.0.0 22:12:16 v1.1.0 22:12:16 v1.1.1 22:12:16 v1.1.2 22:12:16 v1.2.0 22:12:16 v1.2.1 22:12:16 v2.0.0 22:12:16 v2.0.1-dev.1 22:12:16 v2.0.1-dev.2 22:12:16 v2.0.1-dev.3 22:12:16 v2.0.1-dev.4 22:12:16 v2.0.1-dev.5 22:12:16 v2.0.1-dev.6 [Pipeline] sh 22:12:17 + lftools sign git-tag v2.0.1-dev.6 22:12:17 Signing Git tag with Sigul... 22:12:17 Signing v2.0.1-dev.6 [Pipeline] echo 22:12:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:12:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:12:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:12:19 $ docker stop --time=1 d4b22c4e856cbf3dd307e2c0932f9b953044eace9d9766b77a793270c711b6f6 22:12:20 $ docker rm -f d4b22c4e856cbf3dd307e2c0932f9b953044eace9d9766b77a793270c711b6f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 22:12:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:12:21 . [Pipeline] withDockerContainer 22:12:21 prd-centos7-docker-4c-2g-293 does not seem to be running inside a container 22:12:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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:10004/edgex-devops/git-semver:latest cat 22:12:21 $ docker top f3265d069d728856edddac26fb2bafaddaeda190e6989909ab55e88dea9098af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:12:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:21 [ssh-agent] Looking for ssh-agent implementation... 22:12:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:21 $ docker exec f3265d069d728856edddac26fb2bafaddaeda190e6989909ab55e88dea9098af ssh-agent 22:12:21 SSH_AUTH_SOCK=/tmp/ssh-ycrzbthn59r5/agent.14 22:12:21 SSH_AGENT_PID=21 22:12:21 Running ssh-add (command line suppressed) 22:12:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1832311424000803230.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1832311424000803230.key) 22:12:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:22 + git semver bump pre 22:12:22 # -> Open(): unable to determine branch for HEAD 22:12:22 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 22:12:22 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 22:12:22 # $SEMVER_REMOTE_NAME = origin 22:12:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:12:22 # $SEMVER_USER_NAME = edgex-jenkins 22:12:22 # $SEMVER_BRANCH = main 22:12:22 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:12:22 2.0.1-dev.7 [Pipeline] } 22:12:22 $ docker exec --env ******** --env ******** f3265d069d728856edddac26fb2bafaddaeda190e6989909ab55e88dea9098af ssh-agent -k 22:12:22 unset SSH_AUTH_SOCK; 22:12:22 unset SSH_AGENT_PID; 22:12:22 echo Agent pid 21 killed; 22:12:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:12:23 + git semver [Pipeline] } 22:12:23 $ docker stop --time=1 f3265d069d728856edddac26fb2bafaddaeda190e6989909ab55e88dea9098af 22:12:24 $ docker rm -f f3265d069d728856edddac26fb2bafaddaeda190e6989909ab55e88dea9098af [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 22:12:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:12:24 . [Pipeline] withDockerContainer 22:12:24 prd-centos7-docker-4c-2g-293 does not seem to be running inside a container 22:12:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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:10004/edgex-devops/git-semver:latest cat 22:12:25 $ docker top e316b4834de71375de9f7d446ef971aaa62019db067d731eb9545ee626f26cee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:12:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:25 [ssh-agent] Looking for ssh-agent implementation... 22:12:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:25 $ docker exec e316b4834de71375de9f7d446ef971aaa62019db067d731eb9545ee626f26cee ssh-agent 22:12:25 SSH_AUTH_SOCK=/tmp/ssh-pK7igfGqv2ic/agent.14 22:12:25 SSH_AGENT_PID=20 22:12:25 Running ssh-add (command line suppressed) 22:12:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2856981543706230901.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2856981543706230901.key) 22:12:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:26 + git semver push 22:12:26 # -> Open(): unable to determine branch for HEAD 22:12:26 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 22:12:26 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 22:12:26 # $SEMVER_REMOTE_NAME = origin 22:12:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:12:26 # $SEMVER_USER_NAME = edgex-jenkins 22:12:26 # $SEMVER_BRANCH = main 22:12:26 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 22:12:27 $ docker exec --env ******** --env ******** e316b4834de71375de9f7d446ef971aaa62019db067d731eb9545ee626f26cee ssh-agent -k 22:12:27 unset SSH_AUTH_SOCK; 22:12:27 unset SSH_AGENT_PID; 22:12:27 echo Agent pid 20 killed; 22:12:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:12:28 + git semver [Pipeline] } 22:12:28 $ docker stop --time=1 e316b4834de71375de9f7d446ef971aaa62019db067d731eb9545ee626f26cee 22:12:29 $ docker rm -f e316b4834de71375de9f7d446ef971aaa62019db067d731eb9545ee626f26cee [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] sh 22:12:30 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 22:12:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:12:31 ---> package-listing.sh 22:12:31 ++ facter osfamily 22:12:31 ++ tr '[:upper:]' '[:lower:]' 22:12:32 + OS_FAMILY=redhat 22:12:32 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:12:32 + START_PACKAGES=/tmp/packages_start.txt 22:12:32 + END_PACKAGES=/tmp/packages_end.txt 22:12:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:12:32 + PACKAGES=/tmp/packages_start.txt 22:12:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:12:32 + PACKAGES=/tmp/packages_end.txt 22:12:32 + case "${OS_FAMILY}" in 22:12:32 + rpm -qa 22:12:32 + sort 22:12:32 + '[' -f /tmp/packages_start.txt ']' 22:12:32 + '[' -f /tmp/packages_end.txt ']' 22:12:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:12:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:12:32 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:12:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:12:32 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:12:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:12:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:33 22:12:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:12:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:33 latest: Pulling from edgex-lftools-log-publisher 22:12:33 b4d181a07f80: Pulling fs layer 22:12:33 a1111a8f2ec3: Pulling fs layer 22:12:33 ed53099fbce6: Pulling fs layer 22:12:33 dc539afda2c1: Pulling fs layer 22:12:33 77bc0d833cb6: Pulling fs layer 22:12:33 9065ff56babe: Pulling fs layer 22:12:33 d287ab97295c: Pulling fs layer 22:12:33 77bc0d833cb6: Waiting 22:12:33 9065ff56babe: Waiting 22:12:33 d287ab97295c: Waiting 22:12:33 dc539afda2c1: Waiting 22:12:34 a1111a8f2ec3: Verifying Checksum 22:12:34 a1111a8f2ec3: Download complete 22:12:34 dc539afda2c1: Verifying Checksum 22:12:34 dc539afda2c1: Download complete 22:12:34 77bc0d833cb6: Verifying Checksum 22:12:34 77bc0d833cb6: Download complete 22:12:34 9065ff56babe: Verifying Checksum 22:12:34 9065ff56babe: Download complete 22:12:34 ed53099fbce6: Verifying Checksum 22:12:34 ed53099fbce6: Download complete 22:12:35 b4d181a07f80: Verifying Checksum 22:12:35 b4d181a07f80: Download complete 22:12:36 b4d181a07f80: Pull complete 22:12:36 a1111a8f2ec3: Pull complete 22:12:37 ed53099fbce6: Pull complete 22:12:37 dc539afda2c1: Pull complete 22:12:37 77bc0d833cb6: Pull complete 22:12:37 9065ff56babe: Pull complete 22:12:39 d287ab97295c: Verifying Checksum 22:12:39 d287ab97295c: Download complete 22:12:43 d287ab97295c: Pull complete 22:12:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:12:43 prd-centos7-docker-4c-2g-293 does not seem to be running inside a container 22:12:43 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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-lftools-log-publisher:latest cat 22:12:46 $ docker top 766a911d2f6d47a03559e8bc1bcfbe093ec3c3adf967831aaedfe1a745b9c539 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:46 + touch /tmp/pre-build-complete [Pipeline] sh 22:12:46 + mkdir -p /var/log/sysstat [Pipeline] sh 22:12:47 + ls /var/log/sa-host 22:12:47 + sadf -c /var/log/sa-host/sa05 22:12:47 file_magic: OK 22:12:47 HZ: Using current value: 100 22:12:47 file_header: OK 22:12:47 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 22:12:47 Statistics: 22:12:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:12:47 File successfully converted to sysstat format version 12.0.3 22:12:47 + sadf -c /var/log/sa-host/sa15 22:12:47 file_magic: OK 22:12:47 HZ: Using current value: 100 22:12:47 file_header: OK 22:12:47 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 22:12:47 Statistics: 22:12:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:12:47 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:47 provisioning config files... 22:12:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2465513246334748565tmp [Pipeline] { [Pipeline] echo 22:12:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:12:47 ---> create-netrc.sh [Pipeline] } 22:12:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:12:48 ---> python-tools-install.sh [Pipeline] echo 22:12:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:12:48 ---> sudo-logs.sh 22:12:48 Archiving 'sudo' log.. 22:12:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-293.vexxhost.local: Name or service not known 22:12:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-293.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 22:12:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:12:48 ---> job-cost.sh 22:12:48 lf-activate-venv: SKIPPING 22:12:48 DEBUG: total: 0.10999999940395355 22:12:48 INFO: Retrieving Stack Cost... 22:12:50 INFO: Retrieving Pricing Info for: v3-standard-2 22:12:50 INFO: Archiving Costs [Pipeline] echo 22:12:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:12:51 ---> logs-deploy.sh 22:12:51 lf-activate-venv: SKIPPING 22:12:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/7 22:12:51 INFO: archiving workspace using pattern(s): 22:12:51 Archives upload complete. 22:12:51 INFO: archiving logs to Nexus 22:12:52 ---> uname -a: 22:12:52 Linux prd-centos7-docker-4c-2g-293.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 22:12:52 22:12:52 22:12:52 ---> lscpu: 22:12:52 Architecture: x86_64 22:12:52 CPU op-mode(s): 32-bit, 64-bit 22:12:52 Byte Order: Little Endian 22:12:52 Address sizes: 40 bits physical, 48 bits virtual 22:12:52 CPU(s): 2 22:12:52 On-line CPU(s) list: 0,1 22:12:52 Thread(s) per core: 1 22:12:52 Core(s) per socket: 1 22:12:52 Socket(s): 2 22:12:52 NUMA node(s): 1 22:12:52 Vendor ID: AuthenticAMD 22:12:52 CPU family: 23 22:12:52 Model: 49 22:12:52 Model name: AMD EPYC-Rome Processor 22:12:52 Stepping: 0 22:12:52 CPU MHz: 2799.998 22:12:52 BogoMIPS: 5599.99 22:12:52 Virtualization: AMD-V 22:12:52 Hypervisor vendor: KVM 22:12:52 Virtualization type: full 22:12:52 L1d cache: 32K 22:12:52 L1i cache: 32K 22:12:52 L2 cache: 512K 22:12:52 L3 cache: 16384K 22:12:52 NUMA node0 CPU(s): 0,1 22:12:52 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 22:12:52 22:12:52 22:12:52 ---> nproc: 22:12:52 2 22:12:52 22:12:52 22:12:52 ---> df -h: 22:12:52 Filesystem Size Used Avail Use% Mounted on 22:12:52 overlay 40G 9.0G 32G 23% / 22:12:52 tmpfs 64M 0 64M 0% /dev 22:12:52 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 22:12:52 shm 64M 0 64M 0% /dev/shm 22:12:52 /dev/vda1 40G 9.0G 32G 23% /facter-os 22:12:52 22:12:52 22:12:52 ---> sar -b -r -n DEV: 22:12:52 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/15/21 _x86_64_ (2 CPU) 22:12:52 22:12:52 22:02:27 LINUX RESTART (2 CPU) 22:12:52 22:12:52 22:03:02 tps rtps wtps bread/s bwrtn/s 22:12:52 22:04:01 85.52 4.30 81.22 2855.94 4138.89 22:12:52 22:05:01 0.57 0.00 0.57 0.00 9.91 22:12:52 22:06:02 0.25 0.00 0.25 0.00 2.91 22:12:52 22:07:01 0.19 0.00 0.19 0.00 2.24 22:12:52 22:08:01 0.32 0.00 0.32 0.00 4.10 22:12:52 22:09:01 0.32 0.00 0.32 0.00 4.05 22:12:52 22:10:01 0.15 0.00 0.15 0.00 1.88 22:12:52 22:11:01 0.32 0.00 0.32 0.00 4.06 22:12:52 22:12:01 106.56 0.03 106.53 3.73 31899.32 22:12:52 Average: 21.50 0.48 21.03 313.71 4015.87 22:12:52 22:12:52 22:03:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:12:52 22:04:01 5448220 0 810092 10.11 2620 1748008 1294564 14.29 586640 1573636 20 22:12:52 22:05:01 5454624 0 803680 10.03 2620 1748016 1239504 13.68 581412 1573600 8 22:12:52 22:06:02 5458332 0 799972 9.99 2620 1748016 1209872 13.36 583184 1569784 8 22:12:52 22:07:01 5456696 0 801600 10.01 2620 1748024 1209800 13.36 584056 1569784 20 22:12:52 22:08:01 5457768 0 800524 10.00 2620 1748028 1209680 13.36 575696 1577464 8 22:12:52 22:09:01 5457612 0 800672 10.00 2620 1748036 1209656 13.36 575516 1577468 8 22:12:52 22:10:01 5457004 0 801276 10.00 2620 1748040 1209776 13.36 576168 1577464 16 22:12:52 22:11:01 5446356 0 811920 10.14 2620 1748044 1209596 13.35 587200 1577464 8 22:12:52 22:12:01 4507776 0 977076 12.20 2620 2521468 1409088 15.56 795336 2220532 55196 22:12:52 Average: 5349376 0 822979 10.28 2620 1833964 1244615 13.74 605023 1646355 6144 22:12:52 22:12:52 22:03:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:12:52 22:04:01 eth0 333.97 239.35 882.01 59.40 0.00 0.00 0.00 0.00 22:12:52 22:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:04:01 docker0 49.76 45.92 4.60 136.80 0.00 0.00 0.00 0.00 22:12:52 22:05:01 eth0 5.36 1.72 3.73 0.49 0.00 0.00 0.00 0.00 22:12:52 22:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:06:02 eth0 1.13 0.37 0.33 0.20 0.00 0.00 0.00 0.00 22:12:52 22:06:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:06:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:07:01 eth0 0.54 0.41 0.28 0.21 0.00 0.00 0.00 0.00 22:12:52 22:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:08:01 eth0 0.23 0.17 0.08 0.04 0.00 0.00 0.00 0.00 22:12:52 22:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:09:01 eth0 0.68 0.13 0.12 0.04 0.00 0.00 0.00 0.00 22:12:52 22:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:10:01 eth0 0.57 0.47 0.27 0.21 0.00 0.00 0.00 0.00 22:12:52 22:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:11:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:12:52 22:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:12:01 eth0 893.66 631.50 5436.42 57.22 0.00 0.00 0.00 0.00 22:12:52 22:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 22:12:01 docker0 79.99 103.60 6.08 386.44 0.00 0.00 0.00 0.00 22:12:52 Average: eth0 137.29 97.08 703.76 13.03 0.00 0.00 0.00 0.00 22:12:52 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:12:52 Average: docker0 14.38 16.59 1.18 58.12 0.00 0.00 0.00 0.00 22:12:52 22:12:52 22:12:52 ---> sar -P ALL: 22:12:52 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/15/21 _x86_64_ (2 CPU) 22:12:52 22:12:52 22:02:27 LINUX RESTART (2 CPU) 22:12:52 22:12:52 22:03:02 CPU %user %nice %system %iowait %steal %idle 22:12:52 22:04:01 all 8.80 0.00 3.05 2.26 0.05 85.85 22:12:52 22:04:01 0 9.65 0.00 3.00 0.94 0.05 86.35 22:12:52 22:04:01 1 7.94 0.00 3.09 3.57 0.05 85.34 22:12:52 22:05:01 all 0.30 0.00 0.09 0.00 0.02 99.59 22:12:52 22:05:01 0 0.13 0.00 0.10 0.00 0.02 99.75 22:12:52 22:05:01 1 0.47 0.00 0.08 0.00 0.02 99.43 22:12:52 22:06:02 all 0.29 0.00 0.10 0.00 0.03 99.58 22:12:52 22:06:02 0 0.47 0.00 0.12 0.00 0.03 99.38 22:12:52 22:06:02 1 0.12 0.00 0.08 0.00 0.02 99.78 22:12:52 22:07:01 all 0.23 0.00 0.06 0.00 0.02 99.69 22:12:52 22:07:01 0 0.37 0.00 0.05 0.00 0.02 99.56 22:12:52 22:07:01 1 0.08 0.00 0.07 0.00 0.02 99.83 22:12:52 22:08:01 all 0.23 0.00 0.07 0.00 0.02 99.69 22:12:52 22:08:01 0 0.37 0.00 0.05 0.00 0.02 99.57 22:12:52 22:08:01 1 0.08 0.00 0.08 0.00 0.02 99.82 22:12:52 22:09:01 all 0.12 0.00 0.06 0.00 0.02 99.81 22:12:52 22:09:01 0 0.20 0.00 0.07 0.00 0.02 99.72 22:12:52 22:09:01 1 0.03 0.00 0.05 0.00 0.02 99.90 22:12:52 22:10:01 all 0.29 0.00 0.03 0.00 0.02 99.66 22:12:52 22:10:01 0 0.50 0.00 0.03 0.00 0.02 99.45 22:12:52 22:10:01 1 0.08 0.00 0.03 0.00 0.02 99.87 22:12:52 22:11:01 all 0.15 0.00 0.07 0.00 0.01 99.77 22:12:52 22:11:01 0 0.23 0.00 0.05 0.00 0.00 99.72 22:12:52 22:11:01 1 0.07 0.00 0.08 0.00 0.02 99.83 22:12:52 22:12:01 all 12.73 0.00 5.94 1.37 0.05 79.90 22:12:52 22:12:01 0 12.75 0.00 6.17 1.41 0.05 79.62 22:12:52 22:12:01 1 12.72 0.00 5.71 1.33 0.05 80.19 22:12:52 Average: all 2.50 0.00 1.02 0.39 0.02 96.06 22:12:52 Average: 0 2.67 0.00 1.04 0.25 0.02 96.01 22:12:52 Average: 1 2.34 0.00 1.01 0.53 0.02 96.10 22:12:52 22:12:52 22:12:52