Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4353c7216ee3f2112ec46af6800afcb0b221c962 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-ssh3875953075315930470.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-ssh8631773003851993195.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-ssh3804218062634366051.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-ssh7001291977181229292.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-ssh6690625727453977188.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 ‘prd-centos7-docker-4c-2g-3181’ is offline ‘prd-centos7-docker-4c-2g-3182’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-3179’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3185 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-ssh2161667485728899068.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 4353c7216ee3f2112ec46af6800afcb0b221c962 (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 4353c7216ee3f2112ec46af6800afcb0b221c962 # timeout=10 Commit message: "Merge pull request #132 from ernestojeda/remove-build-dockerfile" > git rev-list --no-walk 595e424eeac7315f293af2ed61abe406cb611b5e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:56:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:56:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:56:00 ========================================================= 19:56:00 EdgeX Global Pipelines Version Info 19:56:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:56:01 ------------------- 19:56:01 stable info: 19:56:01 ------------------- 19:56:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:56:01 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:56:01 Message: update stable to v1.0.205 19:56:02 ------------------- 19:56:02 experimental info: 19:56:02 ------------------- 19:56:02 Commited By: **** collab-it+edgex@linuxfoundation.org 19:56:02 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 19:56:02 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:56:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4353c7216ee3f2112ec46af6800afcb0b221c962 [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4353c72 [Pipeline] echo 19:56:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:56:03 provisioning config files... 19:56:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4263514928790220183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:56:03 ---> docker-login.sh 19:56:03 nexus3.edgexfoundry.org:10001 19:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:56:04 Configure a credential helper to remove this warning. See 19:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:56:04 19:56:04 Login Succeeded 19:56:04 nexus3.edgexfoundry.org:10002 19:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:56:04 Configure a credential helper to remove this warning. See 19:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:56:04 19:56:04 Login Succeeded 19:56:04 nexus3.edgexfoundry.org:10003 19:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:56:04 Configure a credential helper to remove this warning. See 19:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:56:04 19:56:04 Login Succeeded 19:56:04 nexus3.edgexfoundry.org:10004 19:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:56:04 Configure a credential helper to remove this warning. See 19:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:56:04 19:56:04 Login Succeeded 19:56:04 docker.io 19:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:56:05 Configure a credential helper to remove this warning. See 19:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:56:05 19:56:05 Login Succeeded 19:56:05 ---> docker-login.sh ends [Pipeline] } 19:56:06 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 19:56:06 + git log --format=format:%s -1 4353c7216ee3f2112ec46af6800afcb0b221c962 [Pipeline] echo 19:56:06 GIT_COMMIT: 4353c7216ee3f2112ec46af6800afcb0b221c962, Commit Message: Merge pull request #132 from ernestojeda/remove-build-dockerfile [Pipeline] echo 19:56:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:56:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:56:07 19:56:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:56:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:56:07 latest: Pulling from edgex-devops/git-semver 19:56:07 31603596830f: Pulling fs layer 19:56:07 d4622e32a9a9: Pulling fs layer 19:56:07 1030fce36090: Pulling fs layer 19:56:07 6c6cb7e1b49b: Pulling fs layer 19:56:07 6c6cb7e1b49b: Waiting 19:56:07 d4622e32a9a9: Verifying Checksum 19:56:07 d4622e32a9a9: Download complete 19:56:07 31603596830f: Verifying Checksum 19:56:07 31603596830f: Download complete 19:56:08 31603596830f: Pull complete 19:56:08 6c6cb7e1b49b: Verifying Checksum 19:56:08 6c6cb7e1b49b: Download complete 19:56:08 d4622e32a9a9: Pull complete 19:56:08 1030fce36090: Verifying Checksum 19:56:08 1030fce36090: Download complete 19:56:08 1030fce36090: Pull complete 19:56:08 6c6cb7e1b49b: Pull complete 19:56:09 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 19:56:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:56:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:56:09 prd-centos7-docker-4c-2g-3185 does not seem to be running inside a container 19:56:09 $ 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 19:56:10 $ docker top 444a7220f05deacd1f9711251118ff75e4afd311bb1f93c17e4590fb7a84fb77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:56:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:56:10 [ssh-agent] Looking for ssh-agent implementation... 19:56:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:56:10 $ docker exec 444a7220f05deacd1f9711251118ff75e4afd311bb1f93c17e4590fb7a84fb77 ssh-agent 19:56:10 SSH_AUTH_SOCK=/tmp/ssh-bOQZy1E5SeSf/agent.14 19:56:10 SSH_AGENT_PID=21 19:56:10 Running ssh-add (command line suppressed) 19:56:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6095516950709074695.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6095516950709074695.key) 19:56:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:56:10 + git tag --points-at HEAD [Pipeline] } 19:56:10 $ docker exec --env ******** --env ******** 444a7220f05deacd1f9711251118ff75e4afd311bb1f93c17e4590fb7a84fb77 ssh-agent -k 19:56:11 unset SSH_AUTH_SOCK; 19:56:11 unset SSH_AGENT_PID; 19:56:11 echo Agent pid 21 killed; 19:56:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:56:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:56:11 [ssh-agent] Looking for ssh-agent implementation... 19:56:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:56:11 $ docker exec 444a7220f05deacd1f9711251118ff75e4afd311bb1f93c17e4590fb7a84fb77 ssh-agent 19:56:11 SSH_AUTH_SOCK=/tmp/ssh-QmFQSXMd5HeM/agent.55 19:56:11 SSH_AGENT_PID=62 19:56:11 Running ssh-add (command line suppressed) 19:56:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4311820157329627331.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4311820157329627331.key) 19:56:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:56:11 + git semver init 19:56:11 # -> Open(): unable to determine branch for HEAD 19:56:11 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 19:56:11 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 19:56:11 # $SEMVER_REMOTE_NAME = origin 19:56:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:56:11 # $SEMVER_USER_NAME = edgex-jenkins 19:56:11 # $SEMVER_BRANCH = main 19:56:11 # $SEMVER_TEMP = /tmp/semver-670092541 19:56:11 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 19:56:12 # '/tmp/semver-670092541' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 19:56:12 # -> Force: false 19:56:12 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 19:56:12 $ docker exec --env ******** --env ******** 444a7220f05deacd1f9711251118ff75e4afd311bb1f93c17e4590fb7a84fb77 ssh-agent -k 19:56:12 unset SSH_AUTH_SOCK; 19:56:12 unset SSH_AGENT_PID; 19:56:12 echo Agent pid 62 killed; 19:56:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:56:13 + git semver [Pipeline] } 19:56:13 $ docker stop --time=1 444a7220f05deacd1f9711251118ff75e4afd311bb1f93c17e4590fb7a84fb77 19:56:14 $ docker rm -f 444a7220f05deacd1f9711251118ff75e4afd311bb1f93c17e4590fb7a84fb77 [Pipeline] // withDockerContainer [Pipeline] sh 19:56:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:56:15 Stashed 1 file(s) [Pipeline] echo 19:56:15 [edgeXSemver]: initialized semver on version 2.0.1-dev.5 [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 19:56:30 Still waiting to schedule task 19:56:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:56:30 Still waiting to schedule task 19:56:30 ‘prd-centos7-docker-4c-2g-3177’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 19:56:30 ‘prd-centos7-docker-4c-2g-3178’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 19:56:30 ‘prd-centos7-docker-4c-2g-3180’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 19:56:30 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 19:56:30 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3183’ is offline 19:56:30 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3184’ is offline 19:59:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3188 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 19:59:29 Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout 19:59:29 The recommended git tool is: git 19:59:36 using credential edgex-jenkins-ssh 19:59:36 Cloning the remote Git repository 19:59:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:59:36 > git init /w/workspace/device-rest-go/6 # timeout=10 19:59:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:59:36 > git --version # timeout=10 19:59:36 > git --version # 'git version 2.17.1' 19:59:36 using GIT_SSH to set credentials SSH Credentials for GitHub 19:59:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:59:38 Avoid second fetch 19:59:38 Checking out Revision 4353c7216ee3f2112ec46af6800afcb0b221c962 (main) 19:59:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:59:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:59:38 > git config core.sparsecheckout # timeout=10 19:59:39 > git checkout -f 4353c7216ee3f2112ec46af6800afcb0b221c962 # timeout=10 19:59:43 Commit message: "Merge pull request #132 from ernestojeda/remove-build-dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:44 provisioning config files... 19:59:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config8633285061771910190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:44 ---> docker-login.sh 19:59:44 nexus3.edgexfoundry.org:10001 19:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:46 Configure a credential helper to remove this warning. See 19:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:46 19:59:46 Login Succeeded 19:59:46 nexus3.edgexfoundry.org:10002 19:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:46 Configure a credential helper to remove this warning. See 19:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:46 19:59:46 Login Succeeded 19:59:46 nexus3.edgexfoundry.org:10003 19:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:47 Configure a credential helper to remove this warning. See 19:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:47 19:59:47 Login Succeeded 19:59:47 nexus3.edgexfoundry.org:10004 19:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:48 Configure a credential helper to remove this warning. See 19:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:48 19:59:48 Login Succeeded 19:59:48 docker.io 19:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:48 Configure a credential helper to remove this warning. See 19:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:48 19:59:48 Login Succeeded 19:59:48 ---> docker-login.sh ends [Pipeline] } 19:59:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:59:49 ========================================================= 19:59:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:59:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:59:49 + 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 . 19:59:49 Sending build context to Docker daemon 119.8kB 19:59:50 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 19:59:50 Step 2/12 : FROM ${BASE} AS builder 19:59:50 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:59:50 595b0fe564bb: Pulling fs layer 19:59:50 24495759ef45: Pulling fs layer 19:59:50 d148012ef14d: Pulling fs layer 19:59:50 e90a11edd702: Pulling fs layer 19:59:50 d77568369979: Pulling fs layer 19:59:50 fc1c9f9a7f3b: Pulling fs layer 19:59:50 170f2ba95c9a: Pulling fs layer 19:59:50 97ac5df62f85: Pulling fs layer 19:59:50 e90a11edd702: Waiting 19:59:50 d77568369979: Waiting 19:59:50 fc1c9f9a7f3b: Waiting 19:59:50 170f2ba95c9a: Waiting 19:59:50 97ac5df62f85: Waiting 19:59:50 d148012ef14d: Verifying Checksum 19:59:50 d148012ef14d: Download complete 19:59:51 24495759ef45: Verifying Checksum 19:59:51 d77568369979: Download complete 19:59:51 fc1c9f9a7f3b: Verifying Checksum 19:59:51 fc1c9f9a7f3b: Download complete 19:59:51 595b0fe564bb: Verifying Checksum 19:59:51 595b0fe564bb: Download complete 19:59:51 170f2ba95c9a: Verifying Checksum 19:59:51 170f2ba95c9a: Download complete 19:59:52 595b0fe564bb: Pull complete 19:59:52 24495759ef45: Pull complete 19:59:53 d148012ef14d: Pull complete 19:59:55 97ac5df62f85: Verifying Checksum 19:59:55 97ac5df62f85: Download complete 19:59:55 e90a11edd702: Verifying Checksum 19:59:55 e90a11edd702: Download complete 20:00:07 e90a11edd702: Pull complete 20:00:07 d77568369979: Pull complete 20:00:07 fc1c9f9a7f3b: Pull complete 20:00:07 170f2ba95c9a: Pull complete 20:00:13 97ac5df62f85: Pull complete 20:00:13 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 20:00:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:00:13 ---> 04bc70af865f 20:00:13 Step 3/12 : ARG MAKE='make build' 20:00:18 ---> Running in b81ca004b7ec 20:00:18 Removing intermediate container b81ca004b7ec 20:00:18 ---> c3cac7935669 20:00:18 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:00:19 ---> Running in fa4692546593 20:00:19 Removing intermediate container fa4692546593 20:00:19 ---> 57eec933692e 20:00:19 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:00:20 ---> Running in a200264008ee 20:00:20 Removing intermediate container a200264008ee 20:00:20 ---> f0c4072676e8 20:00:20 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:00:21 ---> Running in cfb430d41694 20:00:25 Removing intermediate container cfb430d41694 20:00:25 ---> 6dad80d74758 20:00:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:00:25 ---> Running in 02d349388e2c 20:00:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:00:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:00:28 (1/3) Installing openssh-keygen (8.4_p1-r3) 20:00:28 (2/3) Installing libedit (20191231.3.1-r1) 20:00:28 (3/3) Installing openssh-client (8.4_p1-r3) 20:00:29 Executing busybox-1.32.1-r6.trigger 20:00:29 OK: 222 MiB in 55 packages 20:00:31 Removing intermediate container 02d349388e2c 20:00:31 ---> de506fa191cc 20:00:31 Step 8/12 : WORKDIR /device-rest-go 20:00:31 ---> Running in 312f5380f340 20:00:32 Removing intermediate container 312f5380f340 20:00:32 ---> 028e1c89dd95 20:00:32 Step 9/12 : COPY . . 20:00:33 ---> c42ccef0f29b 20:00:33 Step 10/12 : RUN go mod tidy 20:00:33 ---> Running in 0e886deeca14 20:00:37 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 20:00:37 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 20:00:37 go: downloading github.com/gorilla/mux v1.8.0 20:00:37 go: downloading github.com/spf13/cast v1.4.1 20:00:37 go: downloading github.com/stretchr/testify v1.7.0 20:00:38 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 20:00:38 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 20:00:38 go: downloading github.com/google/uuid v1.2.0 20:00:38 go: downloading github.com/go-playground/validator/v10 v10.6.1 20:00:38 go: downloading github.com/go-kit/kit v0.9.0 20:00:38 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:00:38 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 20:00:38 go: downloading github.com/pelletier/go-toml v1.9.2 20:00:38 go: downloading gopkg.in/yaml.v2 v2.4.0 20:00:38 go: downloading github.com/davecgh/go-spew v1.1.1 20:00:38 go: downloading github.com/pmezard/go-difflib v1.0.0 20:00:38 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 20:00:38 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 20:00:38 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 20:00:39 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:00:39 go: downloading github.com/go-playground/universal-translator v0.17.0 20:00:39 go: downloading github.com/leodido/go-urn v1.2.0 20:00:39 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 20:00:39 go: downloading golang.org/x/text v0.3.2 20:00:39 go: downloading github.com/go-playground/assert/v2 v2.0.1 20:00:39 go: downloading github.com/go-playground/locales v0.13.0 20:00:42 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:00:42 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:00:42 go: downloading github.com/go-stack/stack v1.8.0 20:00:42 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 20:00:42 go: downloading github.com/hashicorp/consul/api v1.8.1 20:00:42 go: downloading github.com/x448/float16 v0.8.4 20:00:42 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 20:00:42 go: downloading github.com/stretchr/objx v0.1.0 20:00:43 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:00:43 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:00:43 go: downloading github.com/pebbe/zmq4 v1.2.7 20:00:43 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:00:43 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:00:43 go: downloading github.com/kr/pretty v0.2.0 20:00:43 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:00:43 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:00:43 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:00:43 go: downloading github.com/hashicorp/serf v0.9.5 20:00:43 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:00:43 go: downloading github.com/hashicorp/consul/sdk v0.7.0 20:00:43 go: downloading github.com/hashicorp/go-uuid v1.0.1 20:00:43 go: downloading github.com/gorilla/websocket v1.4.2 20:00:43 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 20:00:43 go: downloading github.com/onsi/ginkgo v1.10.1 20:00:43 go: downloading github.com/onsi/gomega v1.7.0 20:00:43 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:00:43 go: downloading github.com/mitchellh/copystructure v1.0.0 20:00:43 go: downloading github.com/kr/text v0.1.0 20:00:43 go: downloading github.com/fatih/color v1.9.0 20:00:43 go: downloading github.com/mattn/go-colorable v0.1.6 20:00:43 go: downloading github.com/mattn/go-isatty v0.0.12 20:00:43 go: downloading github.com/mitchellh/go-homedir v1.1.0 20:00:43 go: downloading github.com/pkg/errors v0.8.1 20:00:44 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:00:44 go: downloading github.com/hashicorp/go-msgpack v0.5.3 20:00:44 go: downloading github.com/hashicorp/memberlist v0.2.2 20:00:44 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:00:44 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 20:00:44 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:00:44 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:00:44 go: downloading github.com/hpcloud/tail v1.0.0 20:00:44 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:00:44 go: downloading github.com/hashicorp/go-multierror v1.1.0 20:00:44 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 20:00:44 go: downloading github.com/miekg/dns v1.1.26 20:00:44 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:00:44 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:00:44 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:00:44 go: downloading github.com/hashicorp/errwrap v1.0.0 20:00:44 go: downloading gopkg.in/fsnotify.v1 v1.4.7 20:00:59 Removing intermediate container 0e886deeca14 20:00:59 ---> bdb08a2a4c4c 20:00:59 Step 11/12 : RUN make update 20:00:59 ---> Running in 28160b7cbe08 20:00:59 CGO_ENABLED=0 GO111MODULE=on go mod download 20:01:09 Removing intermediate container 28160b7cbe08 20:01:09 ---> bed97720ed76 20:01:09 Step 12/12 : RUN $MAKE 20:01:09 ---> Running in 3431c01578b2 20:01:10 noop 20:01:11 Removing intermediate container 3431c01578b2 20:01:11 ---> 6236b574a6a4 20:01:11 Successfully built 6236b574a6a4 20:01:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:01:11 + docker inspect -f . ci-base-image-arm64 20:01:11 . [Pipeline] withDockerContainer 20:01:12 prd-ubuntu18.04-docker-arm64-4c-16g-3188 does not seem to be running inside a container 20:01:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** ci-base-image-arm64 cat 20:01:14 $ docker top 4e9b051cb5c63aaee0a962d183e2a77fe4bab8711af1cac697600e4773f874c0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:01:15 + go version 20:01:15 go version go1.16.6 linux/arm64 [Pipeline] } 20:01:15 $ docker stop --time=1 4e9b051cb5c63aaee0a962d183e2a77fe4bab8711af1cac697600e4773f874c0 20:01:16 $ docker rm -f 4e9b051cb5c63aaee0a962d183e2a77fe4bab8711af1cac697600e4773f874c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:01:17 + docker inspect -f . ci-base-image-arm64 20:01:17 . [Pipeline] withDockerContainer 20:01:17 prd-ubuntu18.04-docker-arm64-4c-16g-3188 does not seem to be running inside a container 20:01:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** ci-base-image-arm64 cat 20:01:19 $ docker top d9b93d92e3af67aa21e115040f38c67839cd583d682172a13f079851fa2ce8ef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:01:20 + go mod tidy [Pipeline] sh 20:01:22 + make test 20:01:22 go mod tidy 20:01:22 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:01:23 ? github.com/edgexfoundry/device-rest-go [no test files] 20:01:24 Running on prd-centos7-docker-4c-2g-3189 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:01:24 Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout 20:01:24 The recommended git tool is: git 20:01:27 using credential edgex-jenkins-ssh 20:01:27 Cloning the remote Git repository 20:01:27 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:01:27 > git init /w/workspace/device-rest-go/6 # timeout=10 20:01:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:01:27 > git --version # timeout=10 20:01:27 > git --version # 'git version 2.24.4' 20:01:27 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:27 [INFO] Currently running in a labeled security context 20:01:27 [INFO] Currently SELinux is 'enforcing' on the host 20:01:27 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/6@tmp/jenkins-gitclient-ssh6282875509239681392.key 20:01:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:01:28 Avoid second fetch 20:01:28 Checking out Revision 4353c7216ee3f2112ec46af6800afcb0b221c962 (main) 20:01:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:01:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:01:28 > git config core.sparsecheckout # timeout=10 20:01:28 > git checkout -f 4353c7216ee3f2112ec46af6800afcb0b221c962 # timeout=10 20:01:32 Commit message: "Merge pull request #132 from ernestojeda/remove-build-dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:01:32 provisioning config files... 20:01:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config994332862752678788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:01:33 ---> docker-login.sh 20:01:33 nexus3.edgexfoundry.org:10001 20:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:33 Configure a credential helper to remove this warning. See 20:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:33 20:01:33 Login Succeeded 20:01:33 nexus3.edgexfoundry.org:10002 20:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:33 Configure a credential helper to remove this warning. See 20:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:33 20:01:33 Login Succeeded 20:01:33 nexus3.edgexfoundry.org:10003 20:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:33 Configure a credential helper to remove this warning. See 20:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:33 20:01:33 Login Succeeded 20:01:33 nexus3.edgexfoundry.org:10004 20:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:33 Configure a credential helper to remove this warning. See 20:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:33 20:01:33 Login Succeeded 20:01:33 docker.io 20:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:34 Configure a credential helper to remove this warning. See 20:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:34 20:01:34 Login Succeeded 20:01:34 ---> docker-login.sh ends [Pipeline] } 20:01:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:01:34 ========================================================= 20:01:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:01:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:01:35 + 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 . 20:01:35 Sending build context to Docker daemon 119.8kB 20:01:35 Step 1/12 : ARG BASE=golang:1.16-alpine3.12 20:01:35 Step 2/12 : FROM ${BASE} AS builder 20:01:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:01:35 540db60ca938: Pulling fs layer 20:01:35 adcc1eea9eea: Pulling fs layer 20:01:35 4c4ab2625f07: Pulling fs layer 20:01:35 db62176df00c: Pulling fs layer 20:01:35 3b30891b0d05: Pulling fs layer 20:01:35 06b49ca38bd5: Pulling fs layer 20:01:35 c788192a36de: Pulling fs layer 20:01:35 a77e37c0d609: Pulling fs layer 20:01:35 c3185cebc471: Pulling fs layer 20:01:35 db62176df00c: Waiting 20:01:35 3b30891b0d05: Waiting 20:01:35 06b49ca38bd5: Waiting 20:01:35 c788192a36de: Waiting 20:01:35 a77e37c0d609: Waiting 20:01:35 c3185cebc471: Waiting 20:01:35 4c4ab2625f07: Verifying Checksum 20:01:35 4c4ab2625f07: Download complete 20:01:35 adcc1eea9eea: Verifying Checksum 20:01:35 adcc1eea9eea: Download complete 20:01:35 3b30891b0d05: Verifying Checksum 20:01:35 3b30891b0d05: Download complete 20:01:35 06b49ca38bd5: Verifying Checksum 20:01:35 06b49ca38bd5: Download complete 20:01:35 c788192a36de: Verifying Checksum 20:01:35 c788192a36de: Download complete 20:01:35 540db60ca938: Verifying Checksum 20:01:35 540db60ca938: Download complete 20:01:35 540db60ca938: Pull complete 20:01:35 adcc1eea9eea: Pull complete 20:01:36 4c4ab2625f07: Pull complete 20:01:36 a77e37c0d609: Verifying Checksum 20:01:36 a77e37c0d609: Download complete 20:01:42 c3185cebc471: Verifying Checksum 20:01:42 c3185cebc471: Download complete 20:01:42 db62176df00c: Verifying Checksum 20:01:42 db62176df00c: Download complete 20:01:45 db62176df00c: Pull complete 20:01:45 3b30891b0d05: Pull complete 20:01:45 06b49ca38bd5: Pull complete 20:01:45 c788192a36de: Pull complete 20:01:45 a77e37c0d609: Pull complete 20:01:48 c3185cebc471: Pull complete 20:01:48 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 20:01:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:01:48 ---> 031687cdd783 20:01:48 Step 3/12 : ARG MAKE='make build' 20:01:49 ---> Running in dd652ac241ca 20:01:49 Removing intermediate container dd652ac241ca 20:01:49 ---> 0eb5833beeb9 20:01:49 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:01:49 ---> Running in 753cf24c74f2 20:01:49 Removing intermediate container 753cf24c74f2 20:01:49 ---> 68d9cf42534c 20:01:49 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:01:49 ---> Running in 3b62252f9f8a 20:01:49 Removing intermediate container 3b62252f9f8a 20:01:49 ---> 540e542105d7 20:01:49 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:01:49 ---> Running in ac983a90754f 20:01:49 Removing intermediate container ac983a90754f 20:01:49 ---> 1f678f990ae9 20:01:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:01:50 ---> Running in 8ac71b536225 20:01:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:01:53 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:01:53 (1/3) Installing openssh-keygen (8.4_p1-r3) 20:01:53 (2/3) Installing libedit (20191231.3.1-r1) 20:01:54 (3/3) Installing openssh-client (8.4_p1-r3) 20:01:54 Executing busybox-1.32.1-r6.trigger 20:01:54 OK: 223 MiB in 55 packages 20:01:54 Removing intermediate container 8ac71b536225 20:01:54 ---> b8b46f4c77cb 20:01:54 Step 8/12 : WORKDIR /device-rest-go 20:01:54 ---> Running in 6789ade89bd0 20:01:54 Removing intermediate container 6789ade89bd0 20:01:54 ---> 8e9fe1efa69b 20:01:54 Step 9/12 : COPY . . 20:01:55 ---> 02c8bc8f810f 20:01:55 Step 10/12 : RUN go mod tidy 20:01:55 ---> Running in ec87d6bf9406 20:02:01 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 20:02:01 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 20:02:01 go: downloading github.com/gorilla/mux v1.8.0 20:02:01 go: downloading github.com/spf13/cast v1.4.1 20:02:01 go: downloading github.com/stretchr/testify v1.7.0 20:02:01 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 20:02:01 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 20:02:01 go: downloading github.com/google/uuid v1.2.0 20:02:01 go: downloading github.com/go-kit/kit v0.9.0 20:02:01 go: downloading github.com/go-playground/validator/v10 v10.6.1 20:02:01 go: downloading github.com/davecgh/go-spew v1.1.1 20:02:01 go: downloading github.com/pmezard/go-difflib v1.0.0 20:02:01 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 20:02:01 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:02:02 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 20:02:02 go: downloading github.com/pelletier/go-toml v1.9.2 20:02:02 go: downloading gopkg.in/yaml.v2 v2.4.0 20:02:02 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 20:02:02 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 20:02:02 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:02:02 go: downloading github.com/go-playground/universal-translator v0.17.0 20:02:02 go: downloading github.com/leodido/go-urn v1.2.0 20:02:02 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 20:02:02 go: downloading golang.org/x/text v0.3.2 20:02:02 go: downloading github.com/go-playground/assert/v2 v2.0.1 20:02:02 go: downloading github.com/go-playground/locales v0.13.0 20:02:03 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:02:03 go: downloading github.com/go-stack/stack v1.8.0 20:02:03 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 20:02:03 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:02:03 go: downloading github.com/hashicorp/consul/api v1.8.1 20:02:03 go: downloading github.com/x448/float16 v0.8.4 20:02:03 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 20:02:03 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:02:03 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:02:03 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:02:03 go: downloading github.com/pebbe/zmq4 v1.2.7 20:02:03 go: downloading github.com/kr/pretty v0.2.0 20:02:03 go: downloading github.com/stretchr/objx v0.1.0 20:02:03 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:02:03 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:02:03 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:02:03 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:02:03 go: downloading github.com/hashicorp/serf v0.9.5 20:02:03 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:02:03 go: downloading github.com/hashicorp/consul/sdk v0.7.0 20:02:03 go: downloading github.com/hashicorp/go-uuid v1.0.1 20:02:03 go: downloading github.com/gorilla/websocket v1.4.2 20:02:03 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 20:02:03 go: downloading github.com/onsi/ginkgo v1.10.1 20:02:03 go: downloading github.com/onsi/gomega v1.7.0 20:02:04 go: downloading github.com/kr/text v0.1.0 20:02:04 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:02:04 go: downloading github.com/mitchellh/copystructure v1.0.0 20:02:04 go: downloading github.com/fatih/color v1.9.0 20:02:04 go: downloading github.com/mattn/go-colorable v0.1.6 20:02:04 go: downloading github.com/mattn/go-isatty v0.0.12 20:02:04 go: downloading github.com/mitchellh/go-homedir v1.1.0 20:02:04 go: downloading github.com/pkg/errors v0.8.1 20:02:04 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:02:04 go: downloading github.com/hashicorp/go-msgpack v0.5.3 20:02:04 go: downloading github.com/hashicorp/memberlist v0.2.2 20:02:04 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:02:04 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 20:02:04 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:02:04 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:02:04 go: downloading github.com/hpcloud/tail v1.0.0 20:02:04 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:02:04 go: downloading github.com/hashicorp/go-multierror v1.1.0 20:02:04 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 20:02:04 go: downloading github.com/miekg/dns v1.1.26 20:02:04 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:02:04 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:02:04 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:02:04 go: downloading github.com/hashicorp/errwrap v1.0.0 20:02:04 go: downloading gopkg.in/fsnotify.v1 v1.4.7 20:02:08 Removing intermediate container ec87d6bf9406 20:02:08 ---> d909c6a385f2 20:02:08 Step 11/12 : RUN make update 20:02:08 ---> Running in 9fbc9c7722db 20:02:08 CGO_ENABLED=0 GO111MODULE=on go mod download 20:02:12 Removing intermediate container 9fbc9c7722db 20:02:12 ---> 25ca0aecb044 20:02:12 Step 12/12 : RUN $MAKE 20:02:12 ---> Running in a3feb4de96fa 20:02:12 noop 20:02:12 Removing intermediate container a3feb4de96fa 20:02:12 ---> 7e00f823adb8 20:02:12 Successfully built 7e00f823adb8 20:02:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:02:12 + docker inspect -f . ci-base-image-x86_64 20:02:12 . [Pipeline] withDockerContainer 20:02:12 prd-centos7-docker-4c-2g-3189 does not seem to be running inside a container 20:02:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** ci-base-image-x86_64 cat 20:02:13 $ docker top d08847dba7ba29d5f1bb6cb6ecc01558d79b41fb99315df7c472941b9f3bb919 -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:13 + go version 20:02:13 go version go1.16.6 linux/amd64 [Pipeline] } 20:02:13 $ docker stop --time=1 d08847dba7ba29d5f1bb6cb6ecc01558d79b41fb99315df7c472941b9f3bb919 20:02:14 $ docker rm -f d08847dba7ba29d5f1bb6cb6ecc01558d79b41fb99315df7c472941b9f3bb919 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:02:15 + docker inspect -f . ci-base-image-x86_64 20:02:15 . [Pipeline] withDockerContainer 20:02:15 prd-centos7-docker-4c-2g-3189 does not seem to be running inside a container 20:02:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** ci-base-image-x86_64 cat 20:02:16 $ docker top eca5c20dc713e3487866cf3de0107bd2c54ac328aae36a105553328174c96b45 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:02:16 + go mod tidy [Pipeline] sh 20:02:17 + make test 20:02:17 go mod tidy 20:02:17 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:02:17 ? github.com/edgexfoundry/device-rest-go [no test files] 20:02:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:02:20 ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 54.0% of statements 20:02:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:02:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:02:32 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements 20:02:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:02:39 gofmt -l . 20:02:39 [ "`gofmt -l .`" = "" ] 20:02:39 ./bin/test-go-mod-tidy.sh 20:02:39 ./bin/test-attribution-txt.sh [Pipeline] } 20:02:39 $ docker stop --time=1 eca5c20dc713e3487866cf3de0107bd2c54ac328aae36a105553328174c96b45 20:02:41 $ docker rm -f eca5c20dc713e3487866cf3de0107bd2c54ac328aae36a105553328174c96b45 [Pipeline] // withDockerContainer [Pipeline] sh 20:02:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:02:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:02:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:02:43 + ls -al . 20:02:43 total 116 20:02:43 drwxrwxr-x. 8 jenkins jenkins 4096 Aug 17 20:02 . 20:02:43 drwxrwxr-x. 4 jenkins jenkins 28 Aug 17 20:01 .. 20:02:43 -rw-rw-r--. 1 jenkins jenkins 6792 Aug 17 20:01 Attribution.txt 20:02:43 drwxrwxr-x. 2 jenkins jenkins 64 Aug 17 20:01 bin 20:02:43 -rw-rw-r--. 1 jenkins jenkins 7459 Aug 17 20:01 CHANGELOG.md 20:02:43 drwxrwxr-x. 3 jenkins jenkins 32 Aug 17 20:01 cmd 20:02:43 -rw-r--r--. 1 jenkins jenkins 8513 Aug 17 20:02 coverage.out 20:02:43 -rw-rw-r--. 1 jenkins jenkins 1615 Aug 17 20:01 Dockerfile 20:02:43 -rw-rw-r--. 1 jenkins jenkins 151 Aug 17 20:01 .dockerignore 20:02:43 drwxrwxr-x. 2 jenkins jenkins 76 Aug 17 20:01 driver 20:02:43 drwxrwxr-x. 8 jenkins jenkins 162 Aug 17 20:01 .git 20:02:43 drwxrwxr-x. 2 jenkins jenkins 103 Aug 17 20:01 .github 20:02:43 -rw-rw-r--. 1 jenkins jenkins 336 Aug 17 20:01 .gitignore 20:02:43 -rw-r--r--. 1 jenkins jenkins 271 Aug 17 20:02 go.mod 20:02:43 -rw-r--r--. 1 jenkins jenkins 20570 Aug 17 20:02 go.sum 20:02:43 -rw-rw-r--. 1 jenkins jenkins 677 Aug 17 20:01 GOVERNANCE.md 20:02:43 -rw-rw-r--. 1 jenkins jenkins 680 Aug 17 20:01 Jenkinsfile 20:02:43 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 17 20:01 LICENSE 20:02:43 -rw-rw-r--. 1 jenkins jenkins 996 Aug 17 20:01 Makefile 20:02:43 -rw-rw-r--. 1 jenkins jenkins 620 Aug 17 20:01 OWNERS.md 20:02:43 -rw-rw-r--. 1 jenkins jenkins 7661 Aug 17 20:01 README.md 20:02:43 drwxrwxr-x. 4 jenkins jenkins 71 Aug 17 20:01 snap 20:02:43 -rw-rw-r--. 1 jenkins jenkins 11 Aug 17 19:56 VERSION 20:02:43 -rw-rw-r--. 1 jenkins jenkins 713 Aug 17 20:01 version.go [Pipeline] isUnix [Pipeline] sh 20:02:43 + 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=4353c7216ee3f2112ec46af6800afcb0b221c962 --label arch=amd64 --label version=2.0.1-dev.5 . 20:02:43 Sending build context to Docker daemon 129kB 20:02:43 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:02:43 Step 2/25 : FROM ${BASE} AS builder 20:02:43 ---> 7e00f823adb8 20:02:43 Step 3/25 : ARG MAKE='make build' 20:02:43 ---> Running in dd7158007e7a 20:02:43 Removing intermediate container dd7158007e7a 20:02:43 ---> 91dce109c396 20:02:43 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:02:43 ---> Running in 289695de4ff2 20:02:44 Removing intermediate container 289695de4ff2 20:02:44 ---> 1b039823cc0a 20:02:44 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:02:44 ---> Running in 5cf753e60de0 20:02:44 Removing intermediate container 5cf753e60de0 20:02:44 ---> 9b90854a2804 20:02:44 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:02:44 ---> Running in eb1a8c504c24 20:02:44 Removing intermediate container eb1a8c504c24 20:02:44 ---> a93767de336c 20:02:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:02:44 ---> Running in a6174d210bad 20:02:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:02:45 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:02:46 OK: 223 MiB in 55 packages 20:02:46 Removing intermediate container a6174d210bad 20:02:46 ---> c165ca514b0a 20:02:46 Step 8/25 : WORKDIR /device-rest-go 20:02:46 ---> Running in cfbe5f724f32 20:02:46 Removing intermediate container cfbe5f724f32 20:02:46 ---> 3efc7e6ce6d8 20:02:46 Step 9/25 : COPY . . 20:02:46 ---> 1904282acc9a 20:02:46 Step 10/25 : RUN go mod tidy 20:02:46 ---> Running in 238784e0ded4 20:02:47 gofmt -l . 20:02:47 [ "`gofmt -l .`" = "" ] 20:02:47 ./bin/test-go-mod-tidy.sh 20:02:47 ./bin/test-attribution-txt.sh [Pipeline] } 20:02:47 $ docker stop --time=1 d9b93d92e3af67aa21e115040f38c67839cd583d682172a13f079851fa2ce8ef 20:02:47 Removing intermediate container 238784e0ded4 20:02:47 ---> 0b999f141853 20:02:47 Step 11/25 : RUN make update 20:02:47 ---> Running in 695e2b4cbac8 20:02:47 CGO_ENABLED=0 GO111MODULE=on go mod download 20:02:47 Removing intermediate container 695e2b4cbac8 20:02:47 ---> 8380e372589a 20:02:47 Step 12/25 : RUN $MAKE 20:02:47 ---> Running in d9010beb6625 20:02:48 go mod tidy 20:02:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.5" -o cmd/device-rest ./cmd 20:02:49 $ docker rm -f d9b93d92e3af67aa21e115040f38c67839cd583d682172a13f079851fa2ce8ef [Pipeline] // withDockerContainer [Pipeline] sh 20:02:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:02:50 Warning: overwriting stash ‘coverage-report’ 20:02:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:02:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:02:51 + ls -al . 20:02:51 total 144 20:02:51 drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 20:02 . 20:02:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 19:59 .. 20:02:51 -rw-rw-r-- 1 jenkins jenkins 151 Aug 17 19:59 .dockerignore 20:02:51 drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 19:59 .git 20:02:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:59 .github 20:02:51 -rw-rw-r-- 1 jenkins jenkins 336 Aug 17 19:59 .gitignore 20:02:51 -rw-rw-r-- 1 jenkins jenkins 6792 Aug 17 19:59 Attribution.txt 20:02:51 -rw-rw-r-- 1 jenkins jenkins 7459 Aug 17 19:59 CHANGELOG.md 20:02:51 -rw-rw-r-- 1 jenkins jenkins 1615 Aug 17 19:59 Dockerfile 20:02:51 -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 19:59 GOVERNANCE.md 20:02:51 -rw-rw-r-- 1 jenkins jenkins 680 Aug 17 19:59 Jenkinsfile 20:02:51 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 17 19:59 LICENSE 20:02:51 -rw-rw-r-- 1 jenkins jenkins 996 Aug 17 19:59 Makefile 20:02:51 -rw-rw-r-- 1 jenkins jenkins 620 Aug 17 19:59 OWNERS.md 20:02:51 -rw-rw-r-- 1 jenkins jenkins 7661 Aug 17 19:59 README.md 20:02:51 -rw-rw-r-- 1 jenkins jenkins 11 Aug 17 19:56 VERSION 20:02:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:59 bin 20:02:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 19:59 cmd 20:02:51 -rw-r--r-- 1 jenkins jenkins 8513 Aug 17 20:02 coverage.out 20:02:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:59 driver 20:02:51 -rw-r--r-- 1 jenkins jenkins 271 Aug 17 20:02 go.mod 20:02:51 -rw-r--r-- 1 jenkins jenkins 20570 Aug 17 20:01 go.sum 20:02:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 19:59 snap 20:02:51 -rw-rw-r-- 1 jenkins jenkins 713 Aug 17 19:59 version.go [Pipeline] isUnix [Pipeline] sh 20:02:51 + 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=4353c7216ee3f2112ec46af6800afcb0b221c962 --label arch=arm64 --label version=2.0.1-dev.5 . 20:02:51 Sending build context to Docker daemon 129kB 20:02:51 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:02:51 Step 2/25 : FROM ${BASE} AS builder 20:02:51 ---> 6236b574a6a4 20:02:51 Step 3/25 : ARG MAKE='make build' 20:02:52 ---> Running in 255774cf5652 20:02:52 Removing intermediate container 255774cf5652 20:02:52 ---> 21d713b609b9 20:02:52 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:02:52 ---> Running in f8f81d2cb7b3 20:02:53 Removing intermediate container f8f81d2cb7b3 20:02:53 ---> 7c0ae2df6a43 20:02:53 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:02:53 ---> Running in 8ea611426611 20:02:54 Removing intermediate container 8ea611426611 20:02:54 ---> 7db4898661d3 20:02:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:02:54 ---> Running in 47d659b72769 20:02:56 Removing intermediate container 47d659b72769 20:02:56 ---> 069c066db05d 20:02:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:02:56 ---> Running in d11dec79da1e 20:02:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:02:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:03:00 OK: 222 MiB in 55 packages 20:03:00 Removing intermediate container d9010beb6625 20:03:00 ---> 5a63d8a7b8c3 20:03:00 Step 13/25 : FROM alpine:3.12 20:03:00 3.12: Pulling from library/alpine 20:03:00 339de151aab4: Pulling fs layer 20:03:00 339de151aab4: Verifying Checksum 20:03:00 339de151aab4: Download complete 20:03:00 339de151aab4: Pull complete 20:03:00 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 20:03:00 Status: Downloaded newer image for alpine:3.12 20:03:00 ---> 13621d1b12d4 20:03:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:03:00 ---> Running in 6a4bc0af3d55 20:03:00 Removing intermediate container 6a4bc0af3d55 20:03:00 ---> 1eda2350b74d 20:03:00 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:03:00 ---> Running in bed4fab19711 20:03:00 Removing intermediate container bed4fab19711 20:03:00 ---> 21c9a4dc2ea8 20:03:00 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:03:00 ---> Running in 303c653e0a2b 20:03:00 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:03:00 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:03:00 (1/6) Installing dumb-init (1.2.2-r1) 20:03:00 (2/6) Installing libgcc (9.3.0-r2) 20:03:00 (3/6) Installing libsodium (1.0.18-r0) 20:03:00 (4/6) Installing libstdc++ (9.3.0-r2) 20:03:00 (5/6) Installing libzmq (4.3.3-r0) 20:03:01 (6/6) Installing zeromq (4.3.3-r0) 20:03:01 Executing busybox-1.31.1-r20.trigger 20:03:01 OK: 8 MiB in 20 packages 20:03:01 Removing intermediate container d11dec79da1e 20:03:01 ---> a283ad010027 20:03:01 Step 8/25 : WORKDIR /device-rest-go 20:03:01 Removing intermediate container 303c653e0a2b 20:03:01 ---> e37f7cdbd4f2 20:03:01 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:03:01 ---> Running in 0d2f0fb081e7 20:03:01 ---> b21fcfc7b6de 20:03:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:03:01 ---> 87d1f6408bf2 20:03:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:03:01 ---> 1362dcc20b03 20:03:01 Step 20/25 : EXPOSE 59986 20:03:01 ---> Running in 497525ec322e 20:03:01 Removing intermediate container 497525ec322e 20:03:01 ---> 56f46e6464a4 20:03:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:03:02 ---> Running in af23d157e7c6 20:03:02 Removing intermediate container af23d157e7c6 20:03:02 ---> 7d899a363b10 20:03:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:03:02 ---> Running in 4a3f4e9e3227 20:03:02 Removing intermediate container 4a3f4e9e3227 20:03:02 ---> 7f98f03c094e 20:03:02 Step 23/25 : LABEL arch=amd64 20:03:02 ---> Running in b9714a537eec 20:03:02 Removing intermediate container 0d2f0fb081e7 20:03:02 ---> 2a12722a8782 20:03:02 Step 9/25 : COPY . . 20:03:02 Removing intermediate container b9714a537eec 20:03:02 ---> a76e61242190 20:03:02 Step 24/25 : LABEL git_sha=4353c7216ee3f2112ec46af6800afcb0b221c962 20:03:02 ---> Running in 920501b4f3b9 20:03:02 Removing intermediate container 920501b4f3b9 20:03:02 ---> f2229d202008 20:03:02 Step 25/25 : LABEL version=2.0.1-dev.5 20:03:02 ---> Running in 17cd58e268b8 20:03:02 Removing intermediate container 17cd58e268b8 20:03:02 ---> f48b17fb2fba 20:03:02 [Warning] One or more build-args [ARCH] were not consumed 20:03:02 Successfully built f48b17fb2fba 20:03:02 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:03:02 provisioning config files... 20:03:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config4463788369689652079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:02 ---> docker-login.sh 20:03:02 nexus3.edgexfoundry.org:10001 20:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:02 Configure a credential helper to remove this warning. See 20:03:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:02 20:03:02 Login Succeeded 20:03:02 nexus3.edgexfoundry.org:10002 20:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:03 ---> c3ae2995bd1e 20:03:03 Step 10/25 : RUN go mod tidy 20:03:03 ---> Running in 5135315edf54 20:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:03 Configure a credential helper to remove this warning. See 20:03:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:03 20:03:03 Login Succeeded 20:03:03 nexus3.edgexfoundry.org:10003 20:03:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:03 Configure a credential helper to remove this warning. See 20:03:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:03 20:03:03 Login Succeeded 20:03:03 nexus3.edgexfoundry.org:10004 20:03:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:03 Configure a credential helper to remove this warning. See 20:03:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:03 20:03:03 Login Succeeded 20:03:03 docker.io 20:03:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:03 Configure a credential helper to remove this warning. See 20:03:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:03 20:03:03 Login Succeeded 20:03:03 ---> docker-login.sh ends [Pipeline] } 20:03:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:03:03 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:03:03 4353c7216ee3f2112ec46af6800afcb0b221c962 20:03:03 latest 20:03:03 2.0.1-dev.5 20:03:03 4353c7216ee3f2112ec46af6800afcb0b221c962-2.0.1-dev.5 20:03:03 main 20:03:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:03:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4353c7216ee3f2112ec46af6800afcb0b221c962 [Pipeline] isUnix [Pipeline] sh 20:03:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:4353c7216ee3f2112ec46af6800afcb0b221c962 20:03:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:03:04 62821e5063d0: Preparing 20:03:04 26d9329db5e6: Preparing 20:03:04 5d951a9ffccd: Preparing 20:03:04 4e8ca9813607: Preparing 20:03:04 32f366d666a5: Preparing 20:03:04 32f366d666a5: Layer already exists 20:03:04 62821e5063d0: Pushed 20:03:04 26d9329db5e6: Pushed 20:03:04 4e8ca9813607: Pushed 20:03:05 Removing intermediate container 5135315edf54 20:03:05 ---> c874096de9fe 20:03:05 Step 11/25 : RUN make update 20:03:06 5d951a9ffccd: Pushed 20:03:06 4353c7216ee3f2112ec46af6800afcb0b221c962: digest: sha256:2f33a19330dc97b5c763d6cb88e2f8a1301c8063ce706fb2e052f298fcbb0a26 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:03:06 ---> Running in 426d50db79a6 20:03:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 20:03:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:03:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:03:06 62821e5063d0: Preparing 20:03:06 26d9329db5e6: Preparing 20:03:06 5d951a9ffccd: Preparing 20:03:06 4e8ca9813607: Preparing 20:03:06 32f366d666a5: Preparing 20:03:06 32f366d666a5: Layer already exists 20:03:06 4e8ca9813607: Layer already exists 20:03:06 62821e5063d0: Layer already exists 20:03:06 5d951a9ffccd: Layer already exists 20:03:07 CGO_ENABLED=0 GO111MODULE=on go mod download 20:03:07 26d9329db5e6: Layer already exists 20:03:08 latest: digest: sha256:2f33a19330dc97b5c763d6cb88e2f8a1301c8063ce706fb2e052f298fcbb0a26 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:03:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 20:03:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.5 20:03:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:03:08 62821e5063d0: Preparing 20:03:08 26d9329db5e6: Preparing 20:03:08 5d951a9ffccd: Preparing 20:03:08 4e8ca9813607: Preparing 20:03:08 32f366d666a5: Preparing 20:03:08 26d9329db5e6: Layer already exists 20:03:08 4e8ca9813607: Layer already exists 20:03:08 5d951a9ffccd: Layer already exists 20:03:08 Removing intermediate container 426d50db79a6 20:03:08 ---> 7499d441cacb 20:03:08 Step 12/25 : RUN $MAKE 20:03:08 ---> Running in 8f8c62459c2f 20:03:09 32f366d666a5: Layer already exists 20:03:09 62821e5063d0: Layer already exists 20:03:09 2.0.1-dev.5: digest: sha256:2f33a19330dc97b5c763d6cb88e2f8a1301c8063ce706fb2e052f298fcbb0a26 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:03:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4353c7216ee3f2112ec46af6800afcb0b221c962-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 20:03:10 go mod tidy 20:03:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:4353c7216ee3f2112ec46af6800afcb0b221c962-2.0.1-dev.5 20:03:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:03:10 62821e5063d0: Preparing 20:03:10 26d9329db5e6: Preparing 20:03:10 5d951a9ffccd: Preparing 20:03:10 4e8ca9813607: Preparing 20:03:10 32f366d666a5: Preparing 20:03:10 32f366d666a5: Layer already exists 20:03:10 26d9329db5e6: Layer already exists 20:03:10 62821e5063d0: Layer already exists 20:03:10 5d951a9ffccd: Layer already exists 20:03:10 4e8ca9813607: Layer already exists 20:03:10 4353c7216ee3f2112ec46af6800afcb0b221c962-2.0.1-dev.5: digest: sha256:2f33a19330dc97b5c763d6cb88e2f8a1301c8063ce706fb2e052f298fcbb0a26 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:03:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.5" -o cmd/device-rest ./cmd 20:03:10 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 20:03:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:03:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:03:11 62821e5063d0: Preparing 20:03:11 26d9329db5e6: Preparing 20:03:11 5d951a9ffccd: Preparing 20:03:11 4e8ca9813607: Preparing 20:03:11 32f366d666a5: Preparing 20:03:11 32f366d666a5: Layer already exists 20:03:11 62821e5063d0: Layer already exists 20:03:11 5d951a9ffccd: Layer already exists 20:03:11 26d9329db5e6: Layer already exists 20:03:11 4e8ca9813607: Layer already exists 20:03:11 main: digest: sha256:2f33a19330dc97b5c763d6cb88e2f8a1301c8063ce706fb2e052f298fcbb0a26 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:03:11 ===================================================== [Pipeline] echo 20:03:11 taggedImages: 20:03:11 - nexus3.edgexfoundry.org:10004/device-rest:4353c7216ee3f2112ec46af6800afcb0b221c962 20:03:11 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:03:11 - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.5 20:03:11 - nexus3.edgexfoundry.org:10004/device-rest:4353c7216ee3f2112ec46af6800afcb0b221c962-2.0.1-dev.5 20:03:11 - 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 20:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:03:11 20:03:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:03:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:03:11 latest: Pulling from edgex-lftools-log-publisher 20:03:11 b4d181a07f80: Pulling fs layer 20:03:11 a1111a8f2ec3: Pulling fs layer 20:03:11 ed53099fbce6: Pulling fs layer 20:03:11 dc539afda2c1: Pulling fs layer 20:03:11 77bc0d833cb6: Pulling fs layer 20:03:11 9065ff56babe: Pulling fs layer 20:03:11 d287ab97295c: Pulling fs layer 20:03:11 dc539afda2c1: Waiting 20:03:11 77bc0d833cb6: Waiting 20:03:11 9065ff56babe: Waiting 20:03:11 d287ab97295c: Waiting 20:03:12 a1111a8f2ec3: Verifying Checksum 20:03:12 a1111a8f2ec3: Download complete 20:03:12 dc539afda2c1: Verifying Checksum 20:03:12 dc539afda2c1: Download complete 20:03:12 77bc0d833cb6: Verifying Checksum 20:03:12 77bc0d833cb6: Download complete 20:03:12 9065ff56babe: Verifying Checksum 20:03:12 9065ff56babe: Download complete 20:03:13 ed53099fbce6: Verifying Checksum 20:03:13 ed53099fbce6: Download complete 20:03:13 b4d181a07f80: Verifying Checksum 20:03:13 b4d181a07f80: Download complete 20:03:14 b4d181a07f80: Pull complete 20:03:14 a1111a8f2ec3: Pull complete 20:03:15 ed53099fbce6: Pull complete 20:03:15 dc539afda2c1: Pull complete 20:03:15 77bc0d833cb6: Pull complete 20:03:15 9065ff56babe: Pull complete 20:03:18 d287ab97295c: Verifying Checksum 20:03:18 d287ab97295c: Download complete 20:03:22 d287ab97295c: Pull complete 20:03:22 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:03:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:03:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:03:22 prd-centos7-docker-4c-2g-3189 does not seem to be running inside a container 20:03:22 $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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-lftools-log-publisher:latest cat 20:03:25 $ docker top dbd6603a04d0c1b62f1c8e1f66b88649a93b0550a13a97ddb1accdada6800729 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:25 ---> job-cost.sh 20:03:25 lf-activate-venv: SKIPPING 20:03:25 INFO: No Stack... 20:03:26 INFO: Retrieving Pricing Info for: v3-standard-2 20:03:27 INFO: Archiving Costs [Pipeline] sh 20:03:27 + cat /w/workspace/device-rest-go/6/archives/cost.csv 20:03:27 + cut -d, -f6 [Pipeline] lock 20:03:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-6-stack-cost] 20:03:27 Resource [jenkins-edgexfoundry-device-rest-go-main-6-stack-cost] did not exist. Created. 20:03:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:03:27 + echo total: 0.05999999865889549 [Pipeline] stash 20:03:27 Stashed 1 file(s) [Pipeline] } 20:03:27 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-6-stack-cost] [Pipeline] // lock [Pipeline] } 20:03:27 $ docker stop --time=1 dbd6603a04d0c1b62f1c8e1f66b88649a93b0550a13a97ddb1accdada6800729 20:03:29 $ docker rm -f dbd6603a04d0c1b62f1c8e1f66b88649a93b0550a13a97ddb1accdada6800729 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:03:49 Removing intermediate container 8f8c62459c2f 20:03:49 ---> 51fde4682ca5 20:03:49 Step 13/25 : FROM alpine:3.12 20:03:49 3.12: Pulling from library/alpine 20:03:49 d2f70382dc9a: Pulling fs layer 20:03:49 d2f70382dc9a: Verifying Checksum 20:03:49 d2f70382dc9a: Download complete 20:03:49 d2f70382dc9a: Pull complete 20:03:49 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 20:03:49 Status: Downloaded newer image for alpine:3.12 20:03:49 ---> c4fd0aeabfcf 20:03:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:03:49 ---> Running in bb24b71a66c8 20:03:49 Removing intermediate container bb24b71a66c8 20:03:49 ---> 3ce74af9683c 20:03:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:03:49 ---> Running in dc55a9252f2f 20:03:49 Removing intermediate container dc55a9252f2f 20:03:49 ---> 829e71182393 20:03:49 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:03:49 ---> Running in c5d61d4f37ed 20:03:50 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:03:50 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:03:50 (1/6) Installing dumb-init (1.2.2-r1) 20:03:50 (2/6) Installing libgcc (9.3.0-r2) 20:03:50 (3/6) Installing libsodium (1.0.18-r0) 20:03:50 (4/6) Installing libstdc++ (9.3.0-r2) 20:03:50 (5/6) Installing libzmq (4.3.3-r0) 20:03:50 (6/6) Installing zeromq (4.3.3-r0) 20:03:51 Executing busybox-1.31.1-r20.trigger 20:03:51 OK: 8 MiB in 20 packages 20:03:52 Removing intermediate container c5d61d4f37ed 20:03:52 ---> bda3af29a121 20:03:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:03:53 ---> 3fb0b8dfcac6 20:03:53 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:03:54 ---> 19260f975010 20:03:54 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:03:55 ---> c2fe1bcab3bf 20:03:55 Step 20/25 : EXPOSE 59986 20:03:55 ---> Running in 611df0c6bab2 20:03:56 Removing intermediate container 611df0c6bab2 20:03:56 ---> f1f9258abc86 20:03:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:03:56 ---> Running in c8445b8df961 20:03:57 Removing intermediate container c8445b8df961 20:03:57 ---> 4ae91bbbb547 20:03:57 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:03:57 ---> Running in c318c3b0a42a 20:03:57 Removing intermediate container c318c3b0a42a 20:03:57 ---> 3aa22b1e640d 20:03:57 Step 23/25 : LABEL arch=arm64 20:03:57 ---> Running in 59bc529138b2 20:03:58 Removing intermediate container 59bc529138b2 20:03:58 ---> 5f3d75ce9ebd 20:03:58 Step 24/25 : LABEL git_sha=4353c7216ee3f2112ec46af6800afcb0b221c962 20:03:58 ---> Running in 2a4c1419c151 20:03:59 Removing intermediate container 2a4c1419c151 20:03:59 ---> 8dcfe39d0834 20:03:59 Step 25/25 : LABEL version=2.0.1-dev.5 20:03:59 ---> Running in fd9090f23110 20:04:00 Removing intermediate container fd9090f23110 20:04:00 ---> ae7d2c481a66 20:04:00 [Warning] One or more build-args [ARCH] were not consumed 20:04:00 Successfully built ae7d2c481a66 20:04:00 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 20:04:00 provisioning config files... 20:04:00 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config1675087216831310723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:00 ---> docker-login.sh 20:04:00 nexus3.edgexfoundry.org:10001 20:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:01 Configure a credential helper to remove this warning. See 20:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:01 20:04:01 Login Succeeded 20:04:01 nexus3.edgexfoundry.org:10002 20:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:01 Configure a credential helper to remove this warning. See 20:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:01 20:04:01 Login Succeeded 20:04:01 nexus3.edgexfoundry.org:10003 20:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:02 Configure a credential helper to remove this warning. See 20:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:02 20:04:02 Login Succeeded 20:04:02 nexus3.edgexfoundry.org:10004 20:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:02 Configure a credential helper to remove this warning. See 20:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:02 20:04:02 Login Succeeded 20:04:02 docker.io 20:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:03 Configure a credential helper to remove this warning. See 20:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:03 20:04:03 Login Succeeded 20:04:03 ---> docker-login.sh ends [Pipeline] } 20:04:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:04:03 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:04:03 4353c7216ee3f2112ec46af6800afcb0b221c962 20:04:03 latest 20:04:03 2.0.1-dev.5 20:04:03 4353c7216ee3f2112ec46af6800afcb0b221c962-2.0.1-dev.5 20:04:03 main 20:04:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:04:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4353c7216ee3f2112ec46af6800afcb0b221c962 [Pipeline] isUnix [Pipeline] sh 20:04:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4353c7216ee3f2112ec46af6800afcb0b221c962 20:04:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:04:04 80266bf1f908: Preparing 20:04:04 d4629a3268f7: Preparing 20:04:04 023c6aa6795a: Preparing 20:04:04 9e2b34cd4cf0: Preparing 20:04:04 3fbe34a1663b: Preparing 20:04:04 3fbe34a1663b: Layer already exists 20:04:04 d4629a3268f7: Pushed 20:04:04 80266bf1f908: Pushed 20:04:05 9e2b34cd4cf0: Pushed 20:04:08 023c6aa6795a: Pushed 20:04:08 4353c7216ee3f2112ec46af6800afcb0b221c962: digest: sha256:00b2eef7226b661af65945003b4b4783e9ce8a486fad43784f9bfc8481de8a18 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:04:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:04:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:04:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:04:08 80266bf1f908: Preparing 20:04:08 d4629a3268f7: Preparing 20:04:08 023c6aa6795a: Preparing 20:04:08 9e2b34cd4cf0: Preparing 20:04:08 3fbe34a1663b: Preparing 20:04:08 d4629a3268f7: Layer already exists 20:04:08 023c6aa6795a: Layer already exists 20:04:08 3fbe34a1663b: Layer already exists 20:04:08 80266bf1f908: Layer already exists 20:04:08 9e2b34cd4cf0: Layer already exists 20:04:09 latest: digest: sha256:00b2eef7226b661af65945003b4b4783e9ce8a486fad43784f9bfc8481de8a18 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:04:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 20:04:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.5 20:04:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:04:09 80266bf1f908: Preparing 20:04:09 d4629a3268f7: Preparing 20:04:09 023c6aa6795a: Preparing 20:04:09 9e2b34cd4cf0: Preparing 20:04:09 3fbe34a1663b: Preparing 20:04:09 9e2b34cd4cf0: Layer already exists 20:04:09 d4629a3268f7: Layer already exists 20:04:09 023c6aa6795a: Layer already exists 20:04:09 3fbe34a1663b: Layer already exists 20:04:09 80266bf1f908: Layer already exists 20:04:10 2.0.1-dev.5: digest: sha256:00b2eef7226b661af65945003b4b4783e9ce8a486fad43784f9bfc8481de8a18 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:04:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4353c7216ee3f2112ec46af6800afcb0b221c962-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh 20:04:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4353c7216ee3f2112ec46af6800afcb0b221c962-2.0.1-dev.5 20:04:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:04:10 80266bf1f908: Preparing 20:04:10 d4629a3268f7: Preparing 20:04:10 023c6aa6795a: Preparing 20:04:10 9e2b34cd4cf0: Preparing 20:04:10 3fbe34a1663b: Preparing 20:04:10 9e2b34cd4cf0: Layer already exists 20:04:10 80266bf1f908: Layer already exists 20:04:10 3fbe34a1663b: Layer already exists 20:04:10 d4629a3268f7: Layer already exists 20:04:10 023c6aa6795a: Layer already exists 20:04:10 4353c7216ee3f2112ec46af6800afcb0b221c962-2.0.1-dev.5: digest: sha256:00b2eef7226b661af65945003b4b4783e9ce8a486fad43784f9bfc8481de8a18 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:04:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 20:04:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:04:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:04:11 80266bf1f908: Preparing 20:04:11 d4629a3268f7: Preparing 20:04:11 023c6aa6795a: Preparing 20:04:11 9e2b34cd4cf0: Preparing 20:04:11 3fbe34a1663b: Preparing 20:04:11 023c6aa6795a: Layer already exists 20:04:11 d4629a3268f7: Layer already exists 20:04:11 80266bf1f908: Layer already exists 20:04:11 3fbe34a1663b: Layer already exists 20:04:11 9e2b34cd4cf0: Layer already exists 20:04:11 main: digest: sha256:00b2eef7226b661af65945003b4b4783e9ce8a486fad43784f9bfc8481de8a18 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:04:12 ===================================================== [Pipeline] echo 20:04:12 taggedImages: 20:04:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4353c7216ee3f2112ec46af6800afcb0b221c962 20:04:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:04:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.5 20:04:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4353c7216ee3f2112ec46af6800afcb0b221c962-2.0.1-dev.5 20:04:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:04:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:04:12 20:04:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:04:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:04:13 arm64: Pulling from edgex-lftools-log-publisher 20:04:13 448f6bf000e3: Pulling fs layer 20:04:13 f757da607395: Pulling fs layer 20:04:13 05883995daec: Pulling fs layer 20:04:13 8603b9c90790: Pulling fs layer 20:04:13 1560dd03e051: Pulling fs layer 20:04:13 27f5ce0e4adf: Pulling fs layer 20:04:13 c2d8d7efcc4b: Pulling fs layer 20:04:13 8603b9c90790: Waiting 20:04:13 1560dd03e051: Waiting 20:04:13 c2d8d7efcc4b: Waiting 20:04:13 27f5ce0e4adf: Waiting 20:04:13 f757da607395: Verifying Checksum 20:04:13 f757da607395: Download complete 20:04:13 8603b9c90790: Verifying Checksum 20:04:13 8603b9c90790: Download complete 20:04:13 1560dd03e051: Verifying Checksum 20:04:13 1560dd03e051: Download complete 20:04:13 27f5ce0e4adf: Download complete 20:04:14 05883995daec: Download complete 20:04:14 448f6bf000e3: Verifying Checksum 20:04:14 448f6bf000e3: Download complete 20:04:18 c2d8d7efcc4b: Verifying Checksum 20:04:18 c2d8d7efcc4b: Download complete 20:04:18 448f6bf000e3: Pull complete 20:04:18 f757da607395: Pull complete 20:04:20 05883995daec: Pull complete 20:04:20 8603b9c90790: Pull complete 20:04:21 1560dd03e051: Pull complete 20:04:21 27f5ce0e4adf: Pull complete 20:04:37 c2d8d7efcc4b: Pull complete 20:04:37 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:04:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:04:37 prd-ubuntu18.04-docker-arm64-4c-16g-3188 does not seem to be running inside a container 20:04:37 $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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-lftools-log-publisher:arm64 cat 20:04:43 $ docker top 133c071c79dfdb2bb5399e77553a5f2e3e84deac7f2dafd1e64c1f29278932c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:44 ---> job-cost.sh 20:04:44 lf-activate-venv: SKIPPING 20:04:44 INFO: No Stack... 20:04:45 INFO: Retrieving Pricing Info for: v2-standard-4 20:04:45 INFO: Archiving Costs [Pipeline] sh 20:04:46 + cat /w/workspace/device-rest-go/6/archives/cost.csv 20:04:46 + cut -d, -f6 [Pipeline] lock 20:04:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-6-stack-cost] 20:04:46 Resource [jenkins-edgexfoundry-device-rest-go-main-6-stack-cost] did not exist. Created. 20:04:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:04:47 /w/workspace/device-rest-go/6@tmp/durable-01c91bf2/script.sh: 1: /w/workspace/device-rest-go/6@tmp/durable-01c91bf2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:04:48 + echo total: 0.18000000715255737 [Pipeline] stash 20:04:48 Warning: overwriting stash ‘stack-cost’ 20:04:48 Stashed 1 file(s) [Pipeline] } 20:04:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-6-stack-cost] [Pipeline] // lock [Pipeline] } 20:04:48 $ docker stop --time=1 133c071c79dfdb2bb5399e77553a5f2e3e84deac7f2dafd1e64c1f29278932c1 20:04:49 $ docker rm -f 133c071c79dfdb2bb5399e77553a5f2e3e84deac7f2dafd1e64c1f29278932c1 [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 20:04:50 provisioning config files... 20:04:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3103378866993682001tmp [Pipeline] { [Pipeline] sh 20:04:51 + set +x 20:04:51 + bash -s -- 20:04:51 + curl -s https://codecov.io/bash 20:04:51 20:04:51 _____ _ 20:04:51 / ____| | | 20:04:51 | | ___ __| | ___ ___ _____ __ 20:04:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:04:51 | |___| (_) | (_| | __/ (_| (_) \ V / 20:04:51 \_____\___/ \__,_|\___|\___\___/ \_/ 20:04:51 Bash-1.0.6 20:04:51 20:04:51 20:04:51 ==> git version 2.24.4 found 20:04:51 ==> 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 20:04:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:04:51 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:04:51 ==> Jenkins CI detected. 20:04:51 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:04:51 project root: . 20:04:51 --> token set from env 20:04:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:04:51 ==> Running gcov in . (disable via -X gcov) 20:04:51 ==> Python coveragepy not found 20:04:51 ==> Searching for coverage reports in: 20:04:51 + . 20:04:51 -> Found 1 reports 20:04:51 ==> Detecting git/mercurial file structure 20:04:51 ==> Reading reports 20:04:51 + ./coverage.out bytes=8513 20:04:51 ==> Appending adjustments 20:04:51 https://docs.codecov.io/docs/fixing-reports 20:04:51 + Found adjustments 20:04:51 ==> Gzipping contents 20:04:51 4.0K /tmp/codecov.52IvR4.gz 20:04:51 ==> Uploading reports 20:04:51 url: https://codecov.io 20:04:51 query: branch=main&commit=4353c7216ee3f2112ec46af6800afcb0b221c962&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:04:51 -> Pinging Codecov 20:04:51 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=4353c7216ee3f2112ec46af6800afcb0b221c962&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:04:51 -> Uploading to 20:04:51 https://storage.googleapis.com/codecov/v4/raw/2021-08-17/4E5D53B4F1F92C436F7061BF334D961C/4353c7216ee3f2112ec46af6800afcb0b221c962/49d67779-2f0d-4968-ba56-5e0a20e16200.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210817T200451Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e9ca986eceaaef40a87e6799f1df030a8d01e063336c6dde88df670b1b7ce446 20:04:51 % Total % Received % Xferd Average Speed Time Time Time Current 20:04:51 Dload Upload Total Spent Left Speed 20:04:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1752 0 0 100 1752 0 5494 --:--:-- --:--:-- --:--:-- 5509 20:04:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4353c7216ee3f2112ec46af6800afcb0b221c962 [Pipeline] } 20:04:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:04:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:04:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:04:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:04:52 20:04:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:04:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:04:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:04:53 188c0c94c7c5: Pulling fs layer 20:04:53 0ef7d3d256c8: Pulling fs layer 20:04:53 de9db76c5a1d: Pulling fs layer 20:04:53 0eba1c9be4d2: Pulling fs layer 20:04:53 0d57e429df01: Pulling fs layer 20:04:53 4e4be7b47b0d: Pulling fs layer 20:04:53 e1f770b5df2f: Pulling fs layer 20:04:53 85a0685a4137: Pulling fs layer 20:04:53 4e4be7b47b0d: Waiting 20:04:53 e1f770b5df2f: Waiting 20:04:53 85a0685a4137: Waiting 20:04:53 0eba1c9be4d2: Waiting 20:04:53 0d57e429df01: Waiting 20:04:53 de9db76c5a1d: Download complete 20:04:53 0ef7d3d256c8: Verifying Checksum 20:04:53 0ef7d3d256c8: Download complete 20:04:53 0d57e429df01: Verifying Checksum 20:04:53 0d57e429df01: Download complete 20:04:53 4e4be7b47b0d: Verifying Checksum 20:04:53 4e4be7b47b0d: Download complete 20:04:53 188c0c94c7c5: Verifying Checksum 20:04:53 188c0c94c7c5: Download complete 20:04:53 188c0c94c7c5: Pull complete 20:04:53 0ef7d3d256c8: Pull complete 20:04:53 de9db76c5a1d: Pull complete 20:04:54 e1f770b5df2f: Verifying Checksum 20:04:54 e1f770b5df2f: Download complete 20:04:58 0eba1c9be4d2: Verifying Checksum 20:04:58 0eba1c9be4d2: Download complete 20:04:58 85a0685a4137: Verifying Checksum 20:04:58 85a0685a4137: Download complete 20:05:01 0eba1c9be4d2: Pull complete 20:05:01 0d57e429df01: Pull complete 20:05:01 4e4be7b47b0d: Pull complete 20:05:01 e1f770b5df2f: Pull complete 20:05:05 85a0685a4137: Pull complete 20:05:05 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:05:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:05:05 prd-centos7-docker-4c-2g-3185 does not seem to be running inside a container 20:05:05 $ 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 20:05:08 $ docker top fff404e23479e70f590b78a25567eb3df0d19f4f96b78bab4e30d11f10f54d5c -eo pid,comm [Pipeline] { [Pipeline] echo 20:05:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:05:08 + set -o pipefail 20:05:08 + snyk monitor '--org=edgex-jenkins' 20:05:14 20:05:14 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:05:14 20:05:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/236acbb9-67fd-47c0-bf8c-4d1347d7d338 20:05:14 20:05:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:05:14 20:05:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:05:14 20:05:14 20:05:14 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 20:05:14 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 20:05:14 $ docker stop --time=1 fff404e23479e70f590b78a25567eb3df0d19f4f96b78bab4e30d11f10f54d5c 20:05:16 $ docker rm -f fff404e23479e70f590b78a25567eb3df0d19f4f96b78bab4e30d11f10f54d5c [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 20:05:16 + git log --format=format:%s -1 4353c7216ee3f2112ec46af6800afcb0b221c962 [Pipeline] isUnix [Pipeline] sh 20:05:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:05:17 . [Pipeline] withDockerContainer 20:05:17 prd-centos7-docker-4c-2g-3185 does not seem to be running inside a container 20:05:17 $ 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 20:05:17 $ docker top 91856c3846a26f968bf1df391b253ddcba1a284c61f2595b2077f4a18d97fe8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:18 [ssh-agent] Looking for ssh-agent implementation... 20:05:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:18 $ docker exec 91856c3846a26f968bf1df391b253ddcba1a284c61f2595b2077f4a18d97fe8d ssh-agent 20:05:18 SSH_AUTH_SOCK=/tmp/ssh-4I89rIbG8BHx/agent.14 20:05:18 SSH_AGENT_PID=21 20:05:18 Running ssh-add (command line suppressed) 20:05:18 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8707455135127839220.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8707455135127839220.key) 20:05:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:18 + git semver tag 20:05:18 # -> Open(): unable to determine branch for HEAD 20:05:18 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:05:18 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:05:18 # $SEMVER_REMOTE_NAME = origin 20:05:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:05:18 # $SEMVER_USER_NAME = edgex-jenkins 20:05:18 # $SEMVER_BRANCH = main 20:05:18 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:05:18 # 4353c7216ee3f2112ec46af6800afcb0b221c962 HEAD 20:05:18 # -> Force: false 20:05:18 # 78fd220aafb771c205e90f5a92c4ec76d99d1eb1 refs/tags/v2.0.1-dev.5 [Pipeline] } 20:05:18 $ docker exec --env ******** --env ******** 91856c3846a26f968bf1df391b253ddcba1a284c61f2595b2077f4a18d97fe8d ssh-agent -k 20:05:18 unset SSH_AUTH_SOCK; 20:05:18 unset SSH_AGENT_PID; 20:05:18 echo Agent pid 21 killed; 20:05:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:19 + git semver [Pipeline] } 20:05:19 $ docker stop --time=1 91856c3846a26f968bf1df391b253ddcba1a284c61f2595b2077f4a18d97fe8d 20:05:20 $ docker rm -f 91856c3846a26f968bf1df391b253ddcba1a284c61f2595b2077f4a18d97fe8d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:05:20 20:05:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:05:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:05:21 0.23.1-centos7: Pulling from edgex-lftools 20:05:21 ab5ef0e58194: Pulling fs layer 20:05:21 9712f1f96733: Pulling fs layer 20:05:21 63f879dbbcfc: Pulling fs layer 20:05:21 0d9ebad4ef96: Pulling fs layer 20:05:21 e9a5061849ea: Pulling fs layer 20:05:21 d747dcd14b5f: Pulling fs layer 20:05:21 2de7ff778b66: Pulling fs layer 20:05:21 e9a5061849ea: Waiting 20:05:21 d747dcd14b5f: Waiting 20:05:21 2de7ff778b66: Waiting 20:05:21 0d9ebad4ef96: Waiting 20:05:21 9712f1f96733: Verifying Checksum 20:05:21 9712f1f96733: Download complete 20:05:23 63f879dbbcfc: Verifying Checksum 20:05:23 63f879dbbcfc: Download complete 20:05:23 e9a5061849ea: Verifying Checksum 20:05:23 e9a5061849ea: Download complete 20:05:23 d747dcd14b5f: Verifying Checksum 20:05:23 d747dcd14b5f: Download complete 20:05:24 2de7ff778b66: Verifying Checksum 20:05:24 2de7ff778b66: Download complete 20:05:24 0d9ebad4ef96: Verifying Checksum 20:05:24 0d9ebad4ef96: Download complete 20:05:24 ab5ef0e58194: Verifying Checksum 20:05:24 ab5ef0e58194: Download complete 20:05:27 ab5ef0e58194: Pull complete 20:05:27 9712f1f96733: Pull complete 20:05:28 63f879dbbcfc: Pull complete 20:05:31 0d9ebad4ef96: Pull complete 20:05:32 e9a5061849ea: Pull complete 20:05:32 d747dcd14b5f: Pull complete 20:05:33 2de7ff778b66: Pull complete 20:05:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:05:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:05:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:05:33 prd-centos7-docker-4c-2g-3185 does not seem to be running inside a container 20:05:33 $ 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 20:05:36 $ docker top 8249c1515ed136e314c78288c7fbec92ff487c3e9bc2ec4f3a45ff0a958ae30c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:05:36 provisioning config files... 20:05:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8712490084213027142tmp 20:05:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6850750192539207490tmp 20:05:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5643452082545755868tmp [Pipeline] { [Pipeline] echo 20:05:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:05:37 ---> sigul-configuration.sh 20:05:37 gpg: directory `/root/.gnupg' created 20:05:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:05:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:05:37 gpg: keyring `/root/.gnupg/secring.gpg' created 20:05:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:05:37 gpg: CAST5 encrypted data 20:05:37 gpg: encrypted with 1 passphrase 20:05:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:05:37 + mkdir /home/jenkins 20:05:37 + mkdir /home/jenkins/sigul [Pipeline] sh 20:05:38 + 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 20:05:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:05:38 ---> sigul-install.sh 20:05:38 Sigul already installed; skipping installation. [Pipeline] sh 20:05:38 + git tag --list 20:05:38 v1.0.0 20:05:38 v1.1.0 20:05:38 v1.1.1 20:05:38 v1.1.2 20:05:38 v1.2.0 20:05:38 v1.2.1 20:05:38 v2.0.0 20:05:38 v2.0.1-dev.1 20:05:38 v2.0.1-dev.2 20:05:38 v2.0.1-dev.3 20:05:38 v2.0.1-dev.4 20:05:38 v2.0.1-dev.5 [Pipeline] sh 20:05:39 + lftools sign git-tag v2.0.1-dev.5 20:05:39 Signing Git tag with Sigul... 20:05:39 Signing v2.0.1-dev.5 [Pipeline] echo 20:05:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:05:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:05:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:05:40 $ docker stop --time=1 8249c1515ed136e314c78288c7fbec92ff487c3e9bc2ec4f3a45ff0a958ae30c 20:05:41 $ docker rm -f 8249c1515ed136e314c78288c7fbec92ff487c3e9bc2ec4f3a45ff0a958ae30c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:05:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:05:42 . [Pipeline] withDockerContainer 20:05:42 prd-centos7-docker-4c-2g-3185 does not seem to be running inside a container 20:05:42 $ 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 20:05:42 $ docker top e7be46c0bab0baa94846c79f87314f82d4c2b7f932628cc8f31053954770aace -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:42 [ssh-agent] Looking for ssh-agent implementation... 20:05:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:43 $ docker exec e7be46c0bab0baa94846c79f87314f82d4c2b7f932628cc8f31053954770aace ssh-agent 20:05:43 SSH_AUTH_SOCK=/tmp/ssh-KGLMELDT2dSR/agent.13 20:05:43 SSH_AGENT_PID=19 20:05:43 Running ssh-add (command line suppressed) 20:05:43 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4059317262958970927.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4059317262958970927.key) 20:05:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:43 + git semver bump pre 20:05:43 # -> Open(): unable to determine branch for HEAD 20:05:43 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:05:43 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:05:43 # $SEMVER_REMOTE_NAME = origin 20:05:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:05:43 # $SEMVER_USER_NAME = edgex-jenkins 20:05:43 # $SEMVER_BRANCH = main 20:05:43 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:05:43 2.0.1-dev.6 [Pipeline] } 20:05:43 $ docker exec --env ******** --env ******** e7be46c0bab0baa94846c79f87314f82d4c2b7f932628cc8f31053954770aace ssh-agent -k 20:05:43 unset SSH_AUTH_SOCK; 20:05:43 unset SSH_AGENT_PID; 20:05:43 echo Agent pid 19 killed; 20:05:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:44 + git semver [Pipeline] } 20:05:44 $ docker stop --time=1 e7be46c0bab0baa94846c79f87314f82d4c2b7f932628cc8f31053954770aace 20:05:45 $ docker rm -f e7be46c0bab0baa94846c79f87314f82d4c2b7f932628cc8f31053954770aace [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:05:45 . [Pipeline] withDockerContainer 20:05:45 prd-centos7-docker-4c-2g-3185 does not seem to be running inside a container 20:05:45 $ 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 20:05:46 $ docker top 059ebd511118599899d993d192ae8dff7efeab029b48a3905123c8725d4585a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:46 [ssh-agent] Looking for ssh-agent implementation... 20:05:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:46 $ docker exec 059ebd511118599899d993d192ae8dff7efeab029b48a3905123c8725d4585a1 ssh-agent 20:05:46 SSH_AUTH_SOCK=/tmp/ssh-HmyQok8eonYr/agent.13 20:05:46 SSH_AGENT_PID=19 20:05:46 Running ssh-add (command line suppressed) 20:05:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9094407353426416755.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9094407353426416755.key) 20:05:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:47 + git semver push 20:05:47 # -> Open(): unable to determine branch for HEAD 20:05:47 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:05:47 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:05:47 # $SEMVER_REMOTE_NAME = origin 20:05:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:05:47 # $SEMVER_USER_NAME = edgex-jenkins 20:05:47 # $SEMVER_BRANCH = main 20:05:47 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 20:05:48 $ docker exec --env ******** --env ******** 059ebd511118599899d993d192ae8dff7efeab029b48a3905123c8725d4585a1 ssh-agent -k 20:05:48 unset SSH_AUTH_SOCK; 20:05:48 unset SSH_AGENT_PID; 20:05:48 echo Agent pid 19 killed; 20:05:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:49 + git semver [Pipeline] } 20:05:49 $ docker stop --time=1 059ebd511118599899d993d192ae8dff7efeab029b48a3905123c8725d4585a1 20:05:50 $ docker rm -f 059ebd511118599899d993d192ae8dff7efeab029b48a3905123c8725d4585a1 [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 20:05:51 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 20:05:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:05:52 ---> package-listing.sh 20:05:52 ++ facter osfamily 20:05:52 ++ tr '[:upper:]' '[:lower:]' 20:05:52 + OS_FAMILY=redhat 20:05:52 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:05:52 + START_PACKAGES=/tmp/packages_start.txt 20:05:52 + END_PACKAGES=/tmp/packages_end.txt 20:05:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:05:52 + PACKAGES=/tmp/packages_start.txt 20:05:52 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:05:52 + PACKAGES=/tmp/packages_end.txt 20:05:52 + case "${OS_FAMILY}" in 20:05:52 + sort 20:05:52 + rpm -qa 20:05:52 + '[' -f /tmp/packages_start.txt ']' 20:05:52 + '[' -f /tmp/packages_end.txt ']' 20:05:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:05:52 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:05:52 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:05:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:05:52 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 20:05:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:05:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:53 20:05:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:05:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:54 latest: Pulling from edgex-lftools-log-publisher 20:05:54 b4d181a07f80: Pulling fs layer 20:05:54 a1111a8f2ec3: Pulling fs layer 20:05:54 ed53099fbce6: Pulling fs layer 20:05:54 dc539afda2c1: Pulling fs layer 20:05:54 77bc0d833cb6: Pulling fs layer 20:05:54 9065ff56babe: Pulling fs layer 20:05:54 d287ab97295c: Pulling fs layer 20:05:54 dc539afda2c1: Waiting 20:05:54 77bc0d833cb6: Waiting 20:05:54 9065ff56babe: Waiting 20:05:54 d287ab97295c: Waiting 20:05:54 a1111a8f2ec3: Verifying Checksum 20:05:54 a1111a8f2ec3: Download complete 20:05:54 dc539afda2c1: Verifying Checksum 20:05:54 dc539afda2c1: Download complete 20:05:54 77bc0d833cb6: Verifying Checksum 20:05:54 77bc0d833cb6: Download complete 20:05:54 9065ff56babe: Verifying Checksum 20:05:54 9065ff56babe: Download complete 20:05:54 ed53099fbce6: Verifying Checksum 20:05:54 ed53099fbce6: Download complete 20:05:55 b4d181a07f80: Verifying Checksum 20:05:55 b4d181a07f80: Download complete 20:05:56 b4d181a07f80: Pull complete 20:05:56 a1111a8f2ec3: Pull complete 20:05:57 ed53099fbce6: Pull complete 20:05:57 dc539afda2c1: Pull complete 20:05:57 77bc0d833cb6: Pull complete 20:05:57 9065ff56babe: Pull complete 20:05:58 d287ab97295c: Verifying Checksum 20:05:58 d287ab97295c: Download complete 20:06:04 d287ab97295c: Pull complete 20:06:04 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:06:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:06:04 prd-centos7-docker-4c-2g-3185 does not seem to be running inside a container 20:06:04 $ 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 20:06:07 $ docker top d4ee97ca529f54c5a0e8b689ae0a9b377c3ff442fde57b7cc320cc0c30aa3ae6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:07 + touch /tmp/pre-build-complete [Pipeline] sh 20:06:07 + mkdir -p /var/log/sysstat [Pipeline] sh 20:06:08 + ls /var/log/sa-host 20:06:08 + sadf -c /var/log/sa-host/sa05 20:06:08 file_magic: OK 20:06:08 HZ: Using current value: 100 20:06:08 file_header: OK 20:06:08 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 20:06:08 Statistics: 20:06:08 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:06:08 File successfully converted to sysstat format version 12.0.3 20:06:08 + sadf -c /var/log/sa-host/sa17 20:06:08 file_magic: OK 20:06:08 HZ: Using current value: 100 20:06:08 file_header: OK 20:06:08 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 20:06:08 Statistics: 20:06:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:06:08 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:08 provisioning config files... 20:06:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4550368598353694422tmp [Pipeline] { [Pipeline] echo 20:06:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:06:08 ---> create-netrc.sh [Pipeline] } 20:06:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:06:09 ---> python-tools-install.sh [Pipeline] echo 20:06:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:06:09 ---> sudo-logs.sh 20:06:09 Archiving 'sudo' log.. 20:06:09 sudo: unable to resolve host prd-centos7-docker-4c-2g-3185.vexxhost.local: Name or service not known 20:06:09 sudo: unable to resolve host prd-centos7-docker-4c-2g-3185.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 20:06:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:06:09 ---> job-cost.sh 20:06:09 lf-activate-venv: SKIPPING 20:06:09 DEBUG: total: 0.18000000715255737 20:06:09 INFO: Retrieving Stack Cost... 20:06:10 INFO: Retrieving Pricing Info for: v3-standard-2 20:06:10 INFO: Archiving Costs [Pipeline] echo 20:06:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:06:10 ---> logs-deploy.sh 20:06:10 lf-activate-venv: SKIPPING 20:06:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/6 20:06:10 INFO: archiving workspace using pattern(s): 20:06:11 Archives upload complete. 20:06:11 INFO: archiving logs to Nexus 20:06:12 ---> uname -a: 20:06:12 Linux prd-centos7-docker-4c-2g-3185.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 20:06:12 20:06:12 20:06:12 ---> lscpu: 20:06:12 Architecture: x86_64 20:06:12 CPU op-mode(s): 32-bit, 64-bit 20:06:12 Byte Order: Little Endian 20:06:12 Address sizes: 40 bits physical, 48 bits virtual 20:06:12 CPU(s): 2 20:06:12 On-line CPU(s) list: 0,1 20:06:12 Thread(s) per core: 1 20:06:12 Core(s) per socket: 1 20:06:12 Socket(s): 2 20:06:12 NUMA node(s): 1 20:06:12 Vendor ID: AuthenticAMD 20:06:12 CPU family: 23 20:06:12 Model: 49 20:06:12 Model name: AMD EPYC-Rome Processor 20:06:12 Stepping: 0 20:06:12 CPU MHz: 2799.998 20:06:12 BogoMIPS: 5599.99 20:06:12 Virtualization: AMD-V 20:06:12 Hypervisor vendor: KVM 20:06:12 Virtualization type: full 20:06:12 L1d cache: 32K 20:06:12 L1i cache: 32K 20:06:12 L2 cache: 512K 20:06:12 L3 cache: 16384K 20:06:12 NUMA node0 CPU(s): 0,1 20:06:12 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 20:06:12 20:06:12 20:06:12 ---> nproc: 20:06:12 2 20:06:12 20:06:12 20:06:12 ---> df -h: 20:06:12 Filesystem Size Used Avail Use% Mounted on 20:06:12 overlay 40G 9.0G 32G 23% / 20:06:12 tmpfs 64M 0 64M 0% /dev 20:06:12 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 20:06:12 shm 64M 0 64M 0% /dev/shm 20:06:12 /dev/vda1 40G 9.0G 32G 23% /facter-os 20:06:12 20:06:12 20:06:12 ---> sar -b -r -n DEV: 20:06:12 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/17/21 _x86_64_ (2 CPU) 20:06:12 20:06:12 19:55:20 LINUX RESTART (2 CPU) 20:06:12 20:06:12 19:56:01 tps rtps wtps bread/s bwrtn/s 20:06:12 19:57:01 21.40 3.35 18.05 2564.26 3323.83 20:06:12 19:58:01 0.43 0.00 0.43 0.00 7.35 20:06:12 19:59:01 0.25 0.00 0.25 0.00 3.38 20:06:12 20:00:01 0.23 0.00 0.23 0.00 3.46 20:06:12 20:01:01 0.27 0.02 0.25 0.13 2.78 20:06:12 20:02:01 0.55 0.10 0.45 1.73 8.14 20:06:12 20:03:01 0.20 0.00 0.20 0.00 2.70 20:06:12 20:04:01 0.27 0.00 0.27 0.00 3.48 20:06:12 20:05:01 11.57 0.03 11.54 3.73 5578.20 20:06:12 20:06:01 209.12 0.10 209.02 9.99 51243.27 20:06:12 Average: 24.44 0.36 24.08 258.02 6019.42 20:06:12 20:06:12 19:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:06:12 19:57:01 5463820 0 794524 9.92 2620 1747976 1273748 14.06 576396 1568920 20 20:06:12 19:58:01 5474292 0 784044 9.79 2620 1747984 1195772 13.20 568156 1568884 20 20:06:12 19:59:01 5472952 0 785384 9.81 2620 1747984 1195976 13.20 569216 1568964 8 20:06:12 20:00:01 5472308 0 786016 9.81 2620 1747996 1195952 13.20 570192 1568964 8 20:06:12 20:01:01 5471464 0 786856 9.82 2620 1748000 1198724 13.23 565844 1573980 12 20:06:12 20:02:01 5471712 0 786484 9.82 2620 1748124 1196520 13.21 565692 1574040 8 20:06:12 20:03:01 5472696 0 785496 9.81 2620 1748128 1196280 13.21 564560 1574040 16 20:06:12 20:04:01 5463272 0 794912 9.93 2620 1748136 1196280 13.21 573808 1574040 8 20:06:12 20:05:01 4841564 0 938404 11.72 2620 2226352 1595920 17.62 725260 1992112 369852 20:06:12 20:06:01 3140892 0 1294608 16.16 2620 3570820 1746708 19.28 1219376 2983592 499792 20:06:12 Average: 5174497 0 853673 10.66 2620 1978150 1299188 14.34 649850 1754754 86974 20:06:12 20:06:12 19:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:06:12 19:57:01 eth0 123.20 89.96 474.22 19.27 0.00 0.00 0.00 0.00 20:06:12 19:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 19:57:01 docker0 27.68 28.09 3.19 133.23 0.00 0.00 0.00 0.00 20:06:12 19:58:01 eth0 0.80 0.02 0.05 0.00 0.00 0.00 0.00 0.00 20:06:12 19:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 19:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 19:59:01 eth0 0.83 0.42 0.30 0.21 0.00 0.00 0.00 0.00 20:06:12 19:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 19:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:00:01 eth0 0.62 0.33 0.28 0.20 0.00 0.00 0.00 0.00 20:06:12 20:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:01:01 eth0 1.18 0.48 0.45 0.27 0.00 0.00 0.00 0.00 20:06:12 20:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:02:01 eth0 0.67 0.45 0.28 0.18 0.00 0.00 0.00 0.00 20:06:12 20:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:03:01 eth0 0.22 0.08 0.02 0.04 0.00 0.00 0.00 0.00 20:06:12 20:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:04:01 eth0 0.55 0.08 0.06 0.01 0.00 0.00 0.00 0.00 20:06:12 20:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:05:01 eth0 569.83 381.13 4083.20 29.23 0.00 0.00 0.00 0.00 20:06:12 20:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:06:01 eth0 1048.24 696.20 6277.76 80.02 0.00 0.00 0.00 0.00 20:06:12 20:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 20:06:01 docker0 76.87 97.80 6.23 387.41 0.00 0.00 0.00 0.00 20:06:12 Average: eth0 174.66 116.95 1083.93 12.95 0.00 0.00 0.00 0.00 20:06:12 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:06:12 Average: docker0 10.46 12.59 0.94 52.08 0.00 0.00 0.00 0.00 20:06:12 20:06:12 20:06:12 ---> sar -P ALL: 20:06:12 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/17/21 _x86_64_ (2 CPU) 20:06:12 20:06:12 19:55:20 LINUX RESTART (2 CPU) 20:06:12 20:06:12 19:56:01 CPU %user %nice %system %iowait %steal %idle 20:06:12 19:57:01 all 3.69 0.00 1.91 0.41 0.03 93.95 20:06:12 19:57:01 0 4.29 0.00 2.13 0.61 0.03 92.94 20:06:12 19:57:01 1 3.10 0.00 1.68 0.22 0.03 94.97 20:06:12 19:58:01 all 0.10 0.00 0.08 0.00 0.02 99.81 20:06:12 19:58:01 0 0.13 0.00 0.08 0.00 0.02 99.77 20:06:12 19:58:01 1 0.07 0.00 0.07 0.00 0.02 99.85 20:06:12 19:59:01 all 0.13 0.00 0.05 0.00 0.03 99.79 20:06:12 19:59:01 0 0.07 0.00 0.07 0.00 0.02 99.85 20:06:12 19:59:01 1 0.20 0.00 0.03 0.00 0.03 99.73 20:06:12 20:00:01 all 0.23 0.00 0.03 0.00 0.02 99.72 20:06:12 20:00:01 0 0.08 0.00 0.02 0.00 0.02 99.88 20:06:12 20:00:01 1 0.37 0.00 0.05 0.00 0.02 99.57 20:06:12 20:01:01 all 0.20 0.00 0.05 0.00 0.02 99.73 20:06:12 20:01:01 0 0.07 0.00 0.03 0.00 0.02 99.88 20:06:12 20:01:01 1 0.33 0.00 0.07 0.00 0.02 99.58 20:06:12 20:02:01 all 0.19 0.00 0.04 0.00 0.03 99.73 20:06:12 20:02:01 0 0.03 0.00 0.05 0.00 0.03 99.88 20:06:12 20:02:01 1 0.35 0.00 0.03 0.00 0.03 99.58 20:06:12 20:03:01 all 0.16 0.00 0.03 0.00 0.03 99.78 20:06:12 20:03:01 0 0.05 0.00 0.02 0.00 0.02 99.92 20:06:12 20:03:01 1 0.27 0.00 0.05 0.00 0.03 99.65 20:06:12 20:04:01 all 0.17 0.00 0.05 0.00 0.03 99.75 20:06:12 20:04:01 0 0.02 0.00 0.03 0.00 0.02 99.93 20:06:12 20:04:01 1 0.32 0.00 0.07 0.00 0.05 99.57 20:06:12 20:05:01 all 5.08 0.00 2.39 0.06 0.04 92.43 20:06:12 20:05:01 0 4.92 0.00 2.11 0.02 0.05 92.90 20:06:12 20:05:01 1 5.24 0.00 2.67 0.10 0.03 91.96 20:06:12 20:06:01 all 26.02 0.00 12.47 1.98 0.10 59.43 20:06:12 20:06:01 0 25.24 0.00 12.13 1.81 0.09 60.73 20:06:12 20:06:01 1 26.79 0.00 12.81 2.16 0.11 58.14 20:06:12 Average: all 3.45 0.00 1.64 0.23 0.03 94.65 20:06:12 Average: 0 3.34 0.00 1.59 0.23 0.03 94.81 20:06:12 Average: 1 3.56 0.00 1.68 0.24 0.04 94.49 20:06:12 20:06:12 20:06:12