Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 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-ssh3329560894347939043.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh15603458733994552194.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh11973660758154159364.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh14492544702808232855.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2890327546762897897.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-99 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-ssh8105789425307111094.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 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 (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 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 Commit message: "Merge pull request #148 from farshidtz/snap-config-plug-target-fix" > git rev-list --no-walk 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:19:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:19:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:19:10 ========================================================= 14:19:10 EdgeX Global Pipelines Version Info 14:19:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:19:11 ------------------- 14:19:11 stable info: 14:19:11 ------------------- 14:19:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:19:11 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 14:19:11 Message: update stable to v1.0.217 14:19:11 ------------------- 14:19:11 experimental info: 14:19:11 ------------------- 14:19:11 Commited By: **** collab-it+edgex@linuxfoundation.org 14:19:11 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 14:19:11 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b17f99 [Pipeline] echo 14:19:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:19:12 provisioning config files... 14:19:12 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1752117277389602170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:19:12 ---> docker-login.sh 14:19:12 nexus3.edgexfoundry.org:10001 14:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:13 Configure a credential helper to remove this warning. See 14:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:13 14:19:13 Login Succeeded 14:19:13 nexus3.edgexfoundry.org:10002 14:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:13 Configure a credential helper to remove this warning. See 14:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:13 14:19:13 Login Succeeded 14:19:13 nexus3.edgexfoundry.org:10003 14:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:13 Configure a credential helper to remove this warning. See 14:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:13 14:19:13 Login Succeeded 14:19:13 nexus3.edgexfoundry.org:10004 14:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:13 Configure a credential helper to remove this warning. See 14:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:13 14:19:13 Login Succeeded 14:19:13 docker.io 14:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:13 Configure a credential helper to remove this warning. See 14:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:13 14:19:13 Login Succeeded 14:19:13 ---> docker-login.sh ends [Pipeline] } 14:19:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:19:14 + git rev-list -1 --merges 5b17f991c425fdfdbf3defaffe349f04efb7e6d5~1..5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] echo 14:19:14 -----------> git rev-list -1 --merges 5b17f991c425fdfdbf3defaffe349f04efb7e6d5~1..5b17f991c425fdfdbf3defaffe349f04efb7e6d5 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 14:19:14 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [false] [Pipeline] sh 14:19:14 + git log --format=format:%s -1 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] echo 14:19:14 ========================================================= 14:19:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:19:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:19:15 + git log --format=format:%s -1 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] echo 14:19:15 [semverPrep] GIT_COMMIT: 5b17f991c425fdfdbf3defaffe349f04efb7e6d5, Commit Message: Merge pull request #148 from farshidtz/snap-config-plug-target-fix [Pipeline] echo 14:19:15 [semverPrep] This is not a build commit. [Pipeline] sh 14:19:15 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:19:15 + grep -v github /etc/ssh/ssh_known_hosts 14:19:15 + '[' -e /tmp/ssh_known_hosts ']' 14:19:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:19:15 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 14:19:15 + sudo tee -a /etc/ssh/ssh_known_hosts 14:19:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:19:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:19:15 14:19:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:19:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:19:16 latest: Pulling from edgex-devops/git-semver 14:19:16 a0d0a0d46f8b: Pulling fs layer 14:19:16 3e5f54012d9b: Pulling fs layer 14:19:16 4c7163046ea9: Pulling fs layer 14:19:16 0c2d73faf560: Pulling fs layer 14:19:16 0c2d73faf560: Waiting 14:19:16 3e5f54012d9b: Verifying Checksum 14:19:16 3e5f54012d9b: Download complete 14:19:16 a0d0a0d46f8b: Verifying Checksum 14:19:16 a0d0a0d46f8b: Download complete 14:19:16 4c7163046ea9: Verifying Checksum 14:19:16 4c7163046ea9: Download complete 14:19:16 0c2d73faf560: Verifying Checksum 14:19:16 0c2d73faf560: Download complete 14:19:16 a0d0a0d46f8b: Pull complete 14:19:16 3e5f54012d9b: Pull complete 14:19:16 4c7163046ea9: Pull complete 14:19:16 0c2d73faf560: Pull complete 14:19:16 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:19:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:19:16 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 14:19:16 $ 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 14:19:17 $ docker top e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:19:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:19:17 [ssh-agent] Looking for ssh-agent implementation... 14:19:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:19:17 $ docker exec e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 ssh-agent 14:19:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlooMkc/agent.13 14:19:17 SSH_AGENT_PID=19 14:19:17 Running ssh-add (command line suppressed) 14:19:18 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2558052521986214845.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2558052521986214845.key) 14:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:19:18 + git tag --points-at HEAD [Pipeline] } 14:19:18 $ docker exec --env ******** --env ******** e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 ssh-agent -k 14:19:18 unset SSH_AUTH_SOCK; 14:19:18 unset SSH_AGENT_PID; 14:19:18 echo Agent pid 19 killed; 14:19:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:19:18 [ssh-agent] Looking for ssh-agent implementation... 14:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:19:18 $ docker exec e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 ssh-agent 14:19:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXimFOPB/agent.53 14:19:18 SSH_AGENT_PID=60 14:19:18 Running ssh-add (command line suppressed) 14:19:18 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4165065442370400810.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4165065442370400810.key) 14:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:19:19 + git semver init 14:19:19 # -> Open(): unable to determine branch for HEAD 14:19:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 14:19:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 14:19:19 # $SEMVER_REMOTE_NAME = origin 14:19:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:19:19 # $SEMVER_USER_NAME = edgex-jenkins 14:19:19 # $SEMVER_BRANCH = main 14:19:19 # $SEMVER_TEMP = /tmp/semver-149419562 14:19:19 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 14:19:22 # '/tmp/semver-149419562' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 14:19:22 # -> Force: false 14:19:22 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 14:19:22 $ docker exec --env ******** --env ******** e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 ssh-agent -k 14:19:22 unset SSH_AUTH_SOCK; 14:19:22 unset SSH_AGENT_PID; 14:19:22 echo Agent pid 60 killed; 14:19:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:19:22 + git semver [Pipeline] } 14:19:22 $ docker stop --time=1 e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 14:19:24 $ docker rm -f e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 [Pipeline] // withDockerContainer [Pipeline] sh 14:19:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:19:24 Stashed 1 file(s) [Pipeline] echo 14:19:24 [edgeXSemver]: initialized semver on version 2.2.0-dev.2 [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 14:19:39 Still waiting to schedule task 14:19:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:19:39 Still waiting to schedule task 14:19:39 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-96’ 14:22:03 Running on prd-centos7-docker-4c-2g-103 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 14:22:03 Running in /w/workspace/device-rest-go/22 [Pipeline] { [Pipeline] checkout 14:22:03 The recommended git tool is: git 14:22:04 using credential edgex-jenkins-ssh 14:22:04 Cloning the remote Git repository 14:22:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:22:04 > git init /w/workspace/device-rest-go/22 # timeout=10 14:22:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:22:04 > git --version # timeout=10 14:22:04 > git --version # 'git version 2.24.4' 14:22:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:05 [INFO] Currently running in a labeled security context 14:22:05 [INFO] Currently SELinux is 'enforcing' on the host 14:22:05 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/22@tmp/jenkins-gitclient-ssh4662200245706620074.key 14:22:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:22:06 Avoid second fetch 14:22:06 Checking out Revision 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 (main) 14:22:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:22:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:22:05 > git config core.sparsecheckout # timeout=10 14:22:05 > git checkout -f 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 14:22:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-102 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 14:22:08 Running in /w/workspace/device-rest-go/22 [Pipeline] { [Pipeline] checkout 14:22:08 The recommended git tool is: git 14:22:09 Commit message: "Merge pull request #148 from farshidtz/snap-config-plug-target-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:22:10 provisioning config files... 14:22:10 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/22@tmp/config5856402522635550890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:22:10 ---> docker-login.sh 14:22:10 nexus3.edgexfoundry.org:10001 14:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:10 Configure a credential helper to remove this warning. See 14:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:10 14:22:10 Login Succeeded 14:22:10 nexus3.edgexfoundry.org:10002 14:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:10 Configure a credential helper to remove this warning. See 14:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:10 14:22:10 Login Succeeded 14:22:10 nexus3.edgexfoundry.org:10003 14:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:10 Configure a credential helper to remove this warning. See 14:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:10 14:22:10 Login Succeeded 14:22:10 nexus3.edgexfoundry.org:10004 14:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:10 Configure a credential helper to remove this warning. See 14:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:10 14:22:10 Login Succeeded 14:22:10 docker.io 14:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:11 Configure a credential helper to remove this warning. See 14:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:11 14:22:11 Login Succeeded 14:22:11 ---> docker-login.sh ends [Pipeline] } 14:22:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:22:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:22:11 ========================================================= 14:22:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:22:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:22:11 + 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 . 14:22:11 Sending build context to Docker daemon 121.9kB 14:22:11 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 14:22:11 Step 2/11 : FROM ${BASE} AS builder 14:22:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 14:22:11 a0d0a0d46f8b: Pulling fs layer 14:22:11 31adcdaf11c8: Pulling fs layer 14:22:11 b8b176561691: Pulling fs layer 14:22:11 4527c011a84f: Pulling fs layer 14:22:11 5d74067f8e1e: Pulling fs layer 14:22:11 e0aca202a116: Pulling fs layer 14:22:11 3a43be97a3b4: Pulling fs layer 14:22:11 34cad66bf833: Pulling fs layer 14:22:11 b4e3c513aaa6: Pulling fs layer 14:22:11 4527c011a84f: Waiting 14:22:11 5d74067f8e1e: Waiting 14:22:11 e0aca202a116: Waiting 14:22:11 3a43be97a3b4: Waiting 14:22:11 34cad66bf833: Waiting 14:22:11 b4e3c513aaa6: Waiting 14:22:11 b8b176561691: Verifying Checksum 14:22:11 b8b176561691: Download complete 14:22:11 31adcdaf11c8: Verifying Checksum 14:22:11 31adcdaf11c8: Download complete 14:22:11 a0d0a0d46f8b: Verifying Checksum 14:22:11 a0d0a0d46f8b: Download complete 14:22:11 5d74067f8e1e: Verifying Checksum 14:22:11 5d74067f8e1e: Download complete 14:22:11 3a43be97a3b4: Verifying Checksum 14:22:11 3a43be97a3b4: Download complete 14:22:12 e0aca202a116: Verifying Checksum 14:22:12 e0aca202a116: Download complete 14:22:12 34cad66bf833: Verifying Checksum 14:22:12 34cad66bf833: Download complete 14:22:12 4527c011a84f: Verifying Checksum 14:22:12 4527c011a84f: Download complete 14:22:12 a0d0a0d46f8b: Pull complete 14:22:12 b4e3c513aaa6: Verifying Checksum 14:22:12 b4e3c513aaa6: Download complete 14:22:12 31adcdaf11c8: Pull complete 14:22:12 b8b176561691: Pull complete 14:22:13 using credential edgex-jenkins-ssh 14:22:13 Cloning the remote Git repository 14:22:13 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:22:14 > git init /w/workspace/device-rest-go/22 # timeout=10 14:22:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:22:14 > git --version # timeout=10 14:22:14 > git --version # 'git version 2.17.1' 14:22:14 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:22:16 4527c011a84f: Pull complete 14:22:16 5d74067f8e1e: Pull complete 14:22:16 Avoid second fetch 14:22:16 Checking out Revision 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 (main) 14:22:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:22:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:22:16 > git config core.sparsecheckout # timeout=10 14:22:16 > git checkout -f 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 14:22:16 e0aca202a116: Pull complete 14:22:16 3a43be97a3b4: Pull complete 14:22:16 34cad66bf833: Pull complete 14:22:19 b4e3c513aaa6: Pull complete 14:22:19 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 14:22:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:22:19 ---> 9f6097aaca64 14:22:19 Step 3/11 : ARG MAKE='make build' 14:22:20 Commit message: "Merge pull request #148 from farshidtz/snap-config-plug-target-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:22:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:22:21 % Total % Received % Xferd Average Speed Time Time Time Current 14:22:21 Dload Upload Total Spent Left Speed 14:22:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 206k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 14:22:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:22:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:22:22 + sudo tee /etc/docker/daemon.new 14:22:22 { 14:22:22 "registry-mirrors": [ 14:22:22 "https://nexus3.edgexfoundry.org:10001" 14:22:22 ], 14:22:22 "bip": "10.250.0.254/24", 14:22:22 "hosts": [ 14:22:22 "tcp://0.0.0.0:5555", 14:22:22 "unix:///var/run/docker.sock" 14:22:22 ], 14:22:22 "mtu": 1458, 14:22:22 "selinux-enabled": true, 14:22:22 "seccomp-profile": "/etc/docker/seccomp.json" 14:22:22 } [Pipeline] sh 14:22:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:22:22 + sudo service docker restart 14:22:23 ---> Running in 0faeaf334e25 14:22:23 Removing intermediate container 0faeaf334e25 14:22:23 ---> 49c4c578ffc0 14:22:23 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:22:23 ---> Running in 4c2cd1d6a4c6 14:22:23 Removing intermediate container 4c2cd1d6a4c6 14:22:23 ---> 2150736920fd 14:22:23 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 14:22:23 ---> Running in 6fe7c6739125 14:22:23 Removing intermediate container 6fe7c6739125 14:22:23 ---> adeb69adc607 14:22:23 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:22:23 ---> Running in 3adacb3c5614 14:22:23 Removing intermediate container 3adacb3c5614 14:22:23 ---> 420a573be340 14:22:23 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:22:23 ---> Running in e802426565b9 14:22:23 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:22:24 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:22:25 (1/4) Installing openssh-keygen (8.6_p1-r3) 14:22:25 (2/4) Installing libedit (20210216.3.1-r0) 14:22:25 (3/4) Installing openssh-client-common (8.6_p1-r3) 14:22:25 (4/4) Installing openssh-client-default (8.6_p1-r3) 14:22:25 Executing busybox-1.33.1-r3.trigger 14:22:25 OK: 224 MiB in 56 packages 14:22:25 Removing intermediate container e802426565b9 14:22:25 ---> 9ffa7c26b29c 14:22:25 Step 8/11 : WORKDIR /device-rest-go 14:22:25 ---> Running in 5edeb51d9cdd 14:22:25 Removing intermediate container 5edeb51d9cdd 14:22:25 ---> a0ac8dc634e6 14:22:25 Step 9/11 : COPY . . 14:22:25 ---> 7c5b62d6803d 14:22:25 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:22:25 ---> Running in 676cd3e3181e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:22:41 provisioning config files... 14:22:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/22@tmp/config6241191048317743684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:22:41 ---> docker-login.sh 14:22:41 nexus3.edgexfoundry.org:10001 14:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:42 Configure a credential helper to remove this warning. See 14:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:42 14:22:42 Login Succeeded 14:22:42 nexus3.edgexfoundry.org:10002 14:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:42 Configure a credential helper to remove this warning. See 14:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:42 14:22:42 Login Succeeded 14:22:42 nexus3.edgexfoundry.org:10003 14:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:43 Configure a credential helper to remove this warning. See 14:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:43 14:22:43 Login Succeeded 14:22:43 nexus3.edgexfoundry.org:10004 14:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:43 Configure a credential helper to remove this warning. See 14:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:43 14:22:43 Login Succeeded 14:22:43 docker.io 14:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:44 Configure a credential helper to remove this warning. See 14:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:44 14:22:44 Login Succeeded 14:22:44 ---> docker-login.sh ends [Pipeline] } 14:22:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:22:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:22:45 ========================================================= 14:22:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 14:22:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:22:45 + 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 . 14:22:45 Sending build context to Docker daemon 121.9kB 14:22:45 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 14:22:45 Step 2/11 : FROM ${BASE} AS builder 14:22:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:22:46 552d1f2373af: Pulling fs layer 14:22:46 ea3f2d53f512: Pulling fs layer 14:22:46 9e70ebbbe112: Pulling fs layer 14:22:46 7a9cfe048b4a: Pulling fs layer 14:22:46 72dc09318566: Pulling fs layer 14:22:46 f4f7b4309257: Pulling fs layer 14:22:46 0ac9a79272e3: Pulling fs layer 14:22:46 b78e95d17946: Pulling fs layer 14:22:46 7a9cfe048b4a: Waiting 14:22:46 72dc09318566: Waiting 14:22:46 f4f7b4309257: Waiting 14:22:46 0ac9a79272e3: Waiting 14:22:46 b78e95d17946: Waiting 14:22:46 9e70ebbbe112: Download complete 14:22:46 ea3f2d53f512: Verifying Checksum 14:22:46 ea3f2d53f512: Download complete 14:22:46 72dc09318566: Verifying Checksum 14:22:46 72dc09318566: Download complete 14:22:46 f4f7b4309257: Verifying Checksum 14:22:46 f4f7b4309257: Download complete 14:22:46 0ac9a79272e3: Verifying Checksum 14:22:46 0ac9a79272e3: Download complete 14:22:46 552d1f2373af: Verifying Checksum 14:22:46 552d1f2373af: Download complete 14:22:46 552d1f2373af: Pull complete 14:22:47 ea3f2d53f512: Pull complete 14:22:47 9e70ebbbe112: Pull complete 14:22:48 b78e95d17946: Verifying Checksum 14:22:48 b78e95d17946: Download complete 14:22:48 7a9cfe048b4a: Verifying Checksum 14:22:48 7a9cfe048b4a: Download complete 14:22:57 Removing intermediate container 676cd3e3181e 14:22:57 ---> 86704a3b165d 14:22:57 Step 11/11 : RUN $MAKE 14:22:57 ---> Running in f32df09d49b3 14:22:57 noop 14:22:57 Removing intermediate container f32df09d49b3 14:22:57 ---> bbd48bff4d92 14:22:57 Successfully built bbd48bff4d92 14:22:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:22:58 + docker inspect -f . ci-base-image-x86_64 14:22:58 . [Pipeline] withDockerContainer 14:22:58 prd-centos7-docker-4c-2g-103 does not seem to be running inside a container 14:22:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@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 14:22:58 $ docker top 0d330ec97e912d2d651d440f6989c5c043900ac47dfca4822c85d57a0118c246 -eo pid,comm [Pipeline] { [Pipeline] sh 14:22:59 + go version 14:22:59 go version go1.16.8 linux/amd64 [Pipeline] } 14:22:59 $ docker stop --time=1 0d330ec97e912d2d651d440f6989c5c043900ac47dfca4822c85d57a0118c246 14:23:00 $ docker rm -f 0d330ec97e912d2d651d440f6989c5c043900ac47dfca4822c85d57a0118c246 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:23:00 + docker inspect -f . ci-base-image-x86_64 14:23:00 . [Pipeline] withDockerContainer 14:23:00 prd-centos7-docker-4c-2g-103 does not seem to be running inside a container 14:23:00 7a9cfe048b4a: Pull complete 14:23:00 72dc09318566: Pull complete 14:23:00 f4f7b4309257: Pull complete 14:23:00 0ac9a79272e3: Pull complete 14:23:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@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 14:23:01 $ docker top 85b451c4c31e4659a18b5009cdafdb39b8a8059b165e063f5d82071284472893 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:23:01 + make test 14:23:01 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:23:01 ? github.com/edgexfoundry/device-rest-go [no test files] 14:23:06 b78e95d17946: Pull complete 14:23:06 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 14:23:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:23:06 ---> 8b459fc5aaf0 14:23:06 Step 3/11 : ARG MAKE='make build' 14:23:08 ---> Running in f0d56d501aa4 14:23:08 Removing intermediate container f0d56d501aa4 14:23:08 ---> 99ec9c055095 14:23:08 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:23:08 ---> Running in 183a1482a631 14:23:09 Removing intermediate container 183a1482a631 14:23:09 ---> 07d2bf9f7ce3 14:23:09 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 14:23:09 ---> Running in 0350d96d36d7 14:23:09 Removing intermediate container 0350d96d36d7 14:23:09 ---> 8a16dd825846 14:23:09 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:23:09 ---> Running in 3a6baf2a55a2 14:23:11 Removing intermediate container 3a6baf2a55a2 14:23:11 ---> ddc291d33aa9 14:23:11 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:23:11 ---> Running in 40f25c6c6f8e 14:23:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:23:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:23:14 (1/4) Installing openssh-keygen (8.6_p1-r3) 14:23:14 (2/4) Installing libedit (20210216.3.1-r0) 14:23:14 (3/4) Installing openssh-client-common (8.6_p1-r3) 14:23:14 (4/4) Installing openssh-client-default (8.6_p1-r3) 14:23:14 Executing busybox-1.33.1-r3.trigger 14:23:14 OK: 223 MiB in 56 packages 14:23:15 Removing intermediate container 40f25c6c6f8e 14:23:15 ---> c6b8f606ce19 14:23:15 Step 8/11 : WORKDIR /device-rest-go 14:23:16 ---> Running in 98a928a363f2 14:23:16 Removing intermediate container 98a928a363f2 14:23:16 ---> d44796886af4 14:23:16 Step 9/11 : COPY . . 14:23:17 ---> 4d0608987ec7 14:23:17 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:23:17 ---> Running in bdaf0a67cc55 14:23:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:23:20 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 56.0% of statements 14:23:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:23:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:23:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:23:25 ./bin/test-attribution-txt.sh [Pipeline] echo 14:23:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:23:25 $ docker stop --time=1 85b451c4c31e4659a18b5009cdafdb39b8a8059b165e063f5d82071284472893 14:23:27 $ docker rm -f 85b451c4c31e4659a18b5009cdafdb39b8a8059b165e063f5d82071284472893 [Pipeline] // withDockerContainer [Pipeline] sh 14:23:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:23:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:23:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:23:28 + ls -al . 14:23:28 total 148 14:23:28 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 2 14:23 . 14:23:28 drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 14:22 .. 14:23:28 -rw-rw-r--. 1 jenkins jenkins 7095 Dec 2 14:22 Attribution.txt 14:23:28 drwxrwxr-x. 2 jenkins jenkins 37 Dec 2 14:22 bin 14:23:28 -rw-rw-r--. 1 jenkins jenkins 7459 Dec 2 14:22 CHANGELOG.md 14:23:28 drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 14:22 cmd 14:23:28 -rw-r--r--. 1 jenkins jenkins 9215 Dec 2 14:23 coverage.out 14:23:28 -rw-rw-r--. 1 jenkins jenkins 1649 Dec 2 14:22 Dockerfile 14:23:28 -rw-rw-r--. 1 jenkins jenkins 151 Dec 2 14:22 .dockerignore 14:23:28 drwxrwxr-x. 2 jenkins jenkins 76 Dec 2 14:22 driver 14:23:28 drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 14:22 .git 14:23:28 drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 14:22 .github 14:23:28 -rw-rw-r--. 1 jenkins jenkins 329 Dec 2 14:22 .gitignore 14:23:28 -rw-rw-r--. 1 jenkins jenkins 277 Dec 2 14:22 go.mod 14:23:28 -rw-rw-r--. 1 jenkins jenkins 49330 Dec 2 14:22 go.sum 14:23:28 -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 14:22 GOVERNANCE.md 14:23:28 -rw-rw-r--. 1 jenkins jenkins 680 Dec 2 14:22 Jenkinsfile 14:23:28 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 14:22 LICENSE 14:23:28 -rw-rw-r--. 1 jenkins jenkins 1078 Dec 2 14:22 Makefile 14:23:28 -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 14:22 OWNERS.md 14:23:28 -rw-rw-r--. 1 jenkins jenkins 8246 Dec 2 14:22 README.md 14:23:28 drwxrwxr-x. 3 jenkins jenkins 58 Dec 2 14:22 snap 14:23:28 -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 14:19 VERSION 14:23:28 -rw-rw-r--. 1 jenkins jenkins 713 Dec 2 14:22 version.go [Pipeline] isUnix [Pipeline] sh 14:23:29 + 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=5b17f991c425fdfdbf3defaffe349f04efb7e6d5 --label arch=amd64 --label version=2.2.0-dev.2 . 14:23:29 Sending build context to Docker daemon 131.6kB 14:23:29 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 14:23:29 Step 2/24 : FROM ${BASE} AS builder 14:23:29 ---> bbd48bff4d92 14:23:29 Step 3/24 : ARG MAKE='make build' 14:23:29 ---> Running in 92f1aebf9273 14:23:29 Removing intermediate container 92f1aebf9273 14:23:29 ---> 47c159f01ca7 14:23:29 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:23:29 ---> Running in 90334d87fb58 14:23:29 Removing intermediate container 90334d87fb58 14:23:29 ---> e4b081e6c5db 14:23:29 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 14:23:29 ---> Running in 4e4f9a0147ee 14:23:29 Removing intermediate container 4e4f9a0147ee 14:23:29 ---> aee202d25835 14:23:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:23:29 ---> Running in 04b015534b8b 14:23:29 Removing intermediate container 04b015534b8b 14:23:29 ---> 8aaa3d772613 14:23:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:23:29 ---> Running in 916fa0ac23a6 14:23:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:23:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:23:31 OK: 224 MiB in 56 packages 14:23:31 Removing intermediate container 916fa0ac23a6 14:23:31 ---> 21f1b79310af 14:23:31 Step 8/24 : WORKDIR /device-rest-go 14:23:31 ---> Running in 13902254d8af 14:23:31 Removing intermediate container 13902254d8af 14:23:31 ---> 8982d471bae6 14:23:31 Step 9/24 : COPY . . 14:23:31 ---> 9b8651889204 14:23:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:23:31 ---> Running in 7f4839f901b0 14:23:32 Removing intermediate container 7f4839f901b0 14:23:32 ---> 7990f0998fa8 14:23:32 Step 11/24 : RUN $MAKE 14:23:32 ---> Running in c1d3dc49542c 14:23:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.2" -o cmd/device-rest ./cmd 14:23:44 Removing intermediate container c1d3dc49542c 14:23:44 ---> 023c73befe4a 14:23:44 Step 12/24 : FROM alpine:3.14 14:23:44 3.14: Pulling from library/alpine 14:23:44 97518928ae5f: Pulling fs layer 14:23:45 97518928ae5f: Verifying Checksum 14:23:45 97518928ae5f: Download complete 14:23:45 97518928ae5f: Pull complete 14:23:45 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 14:23:45 Status: Downloaded newer image for alpine:3.14 14:23:45 ---> 0a97eee8041e 14:23:45 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:23:45 ---> Running in 6e7c36a9f0ae 14:23:45 Removing intermediate container 6e7c36a9f0ae 14:23:45 ---> a7bbb67a16b9 14:23:45 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 14:23:45 ---> Running in 231ed5127222 14:23:45 Removing intermediate container 231ed5127222 14:23:45 ---> 9e8169946439 14:23:45 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 14:23:45 ---> Running in 200e95040a52 14:23:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:23:46 (1/6) Installing dumb-init (1.2.5-r1) 14:23:46 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:23:46 (3/6) Installing libsodium (1.0.18-r0) 14:23:46 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:23:46 (5/6) Installing libzmq (4.3.4-r0) 14:23:46 (6/6) Installing zeromq (4.3.4-r0) 14:23:46 Executing busybox-1.33.1-r6.trigger 14:23:46 OK: 8 MiB in 20 packages 14:23:46 Removing intermediate container 200e95040a52 14:23:46 ---> 4242ca1a91f5 14:23:46 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 14:23:46 ---> db7dfffb7126 14:23:46 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 14:23:46 ---> 9f23095185db 14:23:46 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 14:23:47 ---> e22d4d25e7f8 14:23:47 Step 19/24 : EXPOSE 59986 14:23:47 ---> Running in addce0cb86bf 14:23:47 Removing intermediate container addce0cb86bf 14:23:47 ---> 9052507ac775 14:23:47 Step 20/24 : ENTRYPOINT ["/device-rest"] 14:23:47 ---> Running in b5f63bf165ac 14:23:47 Removing intermediate container b5f63bf165ac 14:23:47 ---> decf69234a66 14:23:47 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:23:47 ---> Running in 75bed07227f4 14:23:47 Removing intermediate container 75bed07227f4 14:23:47 ---> 41b6c24e65ec 14:23:47 Step 22/24 : LABEL arch=amd64 14:23:47 ---> Running in 230d73f59642 14:23:47 Removing intermediate container 230d73f59642 14:23:47 ---> 74da93e8e627 14:23:47 Step 23/24 : LABEL git_sha=5b17f991c425fdfdbf3defaffe349f04efb7e6d5 14:23:47 ---> Running in 1386f51df358 14:23:47 Removing intermediate container 1386f51df358 14:23:47 ---> c514a8f7a9d3 14:23:47 Step 24/24 : LABEL version=2.2.0-dev.2 14:23:47 ---> Running in 0ad7cd161c80 14:23:47 Removing intermediate container 0ad7cd161c80 14:23:47 ---> 9c3645d6041a 14:23:47 [Warning] One or more build-args [ARCH] were not consumed 14:23:47 Successfully built 9c3645d6041a 14:23:47 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:23:47 provisioning config files... 14:23:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/22@tmp/config3675368747456380133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:48 ---> docker-login.sh 14:23:48 nexus3.edgexfoundry.org:10001 14:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:48 Configure a credential helper to remove this warning. See 14:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:48 14:23:48 Login Succeeded 14:23:48 nexus3.edgexfoundry.org:10002 14:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:48 Configure a credential helper to remove this warning. See 14:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:48 14:23:48 Login Succeeded 14:23:48 nexus3.edgexfoundry.org:10003 14:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:48 Configure a credential helper to remove this warning. See 14:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:48 14:23:48 Login Succeeded 14:23:48 nexus3.edgexfoundry.org:10004 14:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:48 Configure a credential helper to remove this warning. See 14:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:48 14:23:48 Login Succeeded 14:23:48 docker.io 14:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:48 Configure a credential helper to remove this warning. See 14:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:48 14:23:48 Login Succeeded 14:23:48 ---> docker-login.sh ends [Pipeline] } 14:23:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:23:49 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 14:23:49 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 14:23:49 latest 14:23:49 2.2.0-dev.2 14:23:49 5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 14:23:49 main 14:23:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:23:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] isUnix [Pipeline] sh 14:23:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 14:23:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:23:49 951c4fa61a66: Preparing 14:23:49 0d881dd46b0f: Preparing 14:23:49 94709a8afa9d: Preparing 14:23:49 54a93e229723: Preparing 14:23:49 1a058d5342cc: Preparing 14:23:49 1a058d5342cc: Layer already exists 14:23:49 0d881dd46b0f: Pushed 14:23:49 951c4fa61a66: Pushed 14:23:49 54a93e229723: Pushed 14:23:50 94709a8afa9d: Pushed 14:23:50 5b17f991c425fdfdbf3defaffe349f04efb7e6d5: digest: sha256:ff4173c49e1ffe60ffe72073d2056fffd3696506370a7e3d76deefc1b63234b1 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:23:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 14:23:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 14:23:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:23:51 951c4fa61a66: Preparing 14:23:51 0d881dd46b0f: Preparing 14:23:51 94709a8afa9d: Preparing 14:23:51 54a93e229723: Preparing 14:23:51 1a058d5342cc: Preparing 14:23:51 951c4fa61a66: Layer already exists 14:23:51 1a058d5342cc: Layer already exists 14:23:51 94709a8afa9d: Layer already exists 14:23:51 0d881dd46b0f: Layer already exists 14:23:51 54a93e229723: Layer already exists 14:23:51 latest: digest: sha256:ff4173c49e1ffe60ffe72073d2056fffd3696506370a7e3d76deefc1b63234b1 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:23:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 14:23:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.2 14:23:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:23:52 951c4fa61a66: Preparing 14:23:52 0d881dd46b0f: Preparing 14:23:52 94709a8afa9d: Preparing 14:23:52 54a93e229723: Preparing 14:23:52 1a058d5342cc: Preparing 14:23:52 1a058d5342cc: Layer already exists 14:23:52 94709a8afa9d: Layer already exists 14:23:52 951c4fa61a66: Layer already exists 14:23:52 0d881dd46b0f: Layer already exists 14:23:52 54a93e229723: Layer already exists 14:23:52 2.2.0-dev.2: digest: sha256:ff4173c49e1ffe60ffe72073d2056fffd3696506370a7e3d76deefc1b63234b1 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:23:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 14:23:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 14:23:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:23:52 951c4fa61a66: Preparing 14:23:52 0d881dd46b0f: Preparing 14:23:52 94709a8afa9d: Preparing 14:23:52 54a93e229723: Preparing 14:23:52 1a058d5342cc: Preparing 14:23:52 951c4fa61a66: Layer already exists 14:23:52 54a93e229723: Layer already exists 14:23:52 1a058d5342cc: Layer already exists 14:23:52 0d881dd46b0f: Layer already exists 14:23:52 94709a8afa9d: Layer already exists 14:23:52 5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2: digest: sha256:ff4173c49e1ffe60ffe72073d2056fffd3696506370a7e3d76deefc1b63234b1 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:23:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 14:23:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 14:23:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:23:53 951c4fa61a66: Preparing 14:23:53 0d881dd46b0f: Preparing 14:23:53 94709a8afa9d: Preparing 14:23:53 54a93e229723: Preparing 14:23:53 1a058d5342cc: Preparing 14:23:53 54a93e229723: Layer already exists 14:23:53 0d881dd46b0f: Layer already exists 14:23:53 1a058d5342cc: Layer already exists 14:23:53 94709a8afa9d: Layer already exists 14:23:53 951c4fa61a66: Layer already exists 14:23:53 main: digest: sha256:ff4173c49e1ffe60ffe72073d2056fffd3696506370a7e3d76deefc1b63234b1 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:23:53 ===================================================== [Pipeline] echo 14:23:53 taggedImages: 14:23:53 - nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 14:23:53 - nexus3.edgexfoundry.org:10004/device-rest:latest 14:23:53 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.2 14:23:53 - nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 14:23:53 - 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 14:23:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:23:53 14:23:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:23:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:23:54 latest: Pulling from edgex-lftools-log-publisher 14:23:54 b4d181a07f80: Pulling fs layer 14:23:54 a1111a8f2ec3: Pulling fs layer 14:23:54 ed53099fbce6: Pulling fs layer 14:23:54 dc539afda2c1: Pulling fs layer 14:23:54 77bc0d833cb6: Pulling fs layer 14:23:54 9065ff56babe: Pulling fs layer 14:23:54 d287ab97295c: Pulling fs layer 14:23:54 77bc0d833cb6: Waiting 14:23:54 9065ff56babe: Waiting 14:23:54 d287ab97295c: Waiting 14:23:54 dc539afda2c1: Waiting 14:23:54 a1111a8f2ec3: Verifying Checksum 14:23:54 a1111a8f2ec3: Download complete 14:23:54 dc539afda2c1: Verifying Checksum 14:23:54 dc539afda2c1: Download complete 14:23:54 ed53099fbce6: Verifying Checksum 14:23:54 ed53099fbce6: Download complete 14:23:54 9065ff56babe: Verifying Checksum 14:23:54 9065ff56babe: Download complete 14:23:54 77bc0d833cb6: Verifying Checksum 14:23:54 77bc0d833cb6: Download complete 14:23:54 b4d181a07f80: Verifying Checksum 14:23:54 b4d181a07f80: Download complete 14:23:54 d287ab97295c: Verifying Checksum 14:23:54 d287ab97295c: Download complete 14:23:55 b4d181a07f80: Pull complete 14:23:55 a1111a8f2ec3: Pull complete 14:23:56 ed53099fbce6: Pull complete 14:23:56 dc539afda2c1: Pull complete 14:23:56 77bc0d833cb6: Pull complete 14:23:56 9065ff56babe: Pull complete 14:24:02 d287ab97295c: Pull complete 14:24:02 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:24:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:24:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:24:02 prd-centos7-docker-4c-2g-103 does not seem to be running inside a container 14:24:02 $ 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/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@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 14:24:04 $ docker top 1d50c5300b40a02e15386960cf951f6d0a43901caf44ba228f1bd6b047c45514 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:24:04 ---> job-cost.sh 14:24:04 lf-activate-venv: SKIPPING 14:24:04 INFO: No Stack... 14:24:05 INFO: Retrieving Pricing Info for: v3-standard-2 14:24:05 INFO: Archiving Costs [Pipeline] sh 14:24:05 + cat /w/workspace/device-rest-go/22/archives/cost.csv 14:24:05 + cut -d, -f6 [Pipeline] lock 14:24:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] 14:24:06 Resource [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] did not exist. Created. 14:24:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:24:06 + echo total: 0.05999999865889549 [Pipeline] stash 14:24:06 Stashed 1 file(s) [Pipeline] } 14:24:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } 14:24:06 $ docker stop --time=1 1d50c5300b40a02e15386960cf951f6d0a43901caf44ba228f1bd6b047c45514 14:24:07 $ docker rm -f 1d50c5300b40a02e15386960cf951f6d0a43901caf44ba228f1bd6b047c45514 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:24:39 Removing intermediate container bdaf0a67cc55 14:24:39 ---> 63d18b2bd8a5 14:24:39 Step 11/11 : RUN $MAKE 14:24:39 ---> Running in 5deaeb2555f7 14:24:39 noop 14:24:39 Removing intermediate container 5deaeb2555f7 14:24:39 ---> 141d3c93527d 14:24:39 Successfully built 141d3c93527d 14:24:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:24:39 + docker inspect -f . ci-base-image-arm64 14:24:39 . [Pipeline] withDockerContainer 14:24:39 prd-ubuntu18.04-docker-arm64-4c-16g-102 does not seem to be running inside a container 14:24:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@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 14:24:41 $ docker top 8a0898fc5a2e0654fc19c4527fcb1314cdc135294c8e412b4dc0125dd68f4987 -eo pid,comm [Pipeline] { [Pipeline] sh 14:24:42 + go version 14:24:42 go version go1.16.8 linux/arm64 [Pipeline] } 14:24:42 $ docker stop --time=1 8a0898fc5a2e0654fc19c4527fcb1314cdc135294c8e412b4dc0125dd68f4987 14:24:44 $ docker rm -f 8a0898fc5a2e0654fc19c4527fcb1314cdc135294c8e412b4dc0125dd68f4987 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:24:44 + docker inspect -f . ci-base-image-arm64 14:24:44 . [Pipeline] withDockerContainer 14:24:45 prd-ubuntu18.04-docker-arm64-4c-16g-102 does not seem to be running inside a container 14:24:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@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 14:24:46 $ docker top b635a5aff7303284537df1be8568aaa1eaa20e9c152cb517b5fa76697fa002d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:24:47 + make test 14:24:47 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:24:48 ? github.com/edgexfoundry/device-rest-go [no test files] 14:25:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:25:45 ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.0% of statements 14:25:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:26:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:26:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:26:18 ./bin/test-attribution-txt.sh [Pipeline] echo 14:26:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:26:18 $ docker stop --time=1 b635a5aff7303284537df1be8568aaa1eaa20e9c152cb517b5fa76697fa002d2 14:26:20 $ docker rm -f b635a5aff7303284537df1be8568aaa1eaa20e9c152cb517b5fa76697fa002d2 [Pipeline] // withDockerContainer [Pipeline] sh 14:26:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:26:21 Warning: overwriting stash ‘coverage-report’ 14:26:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:26:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:26:22 + ls -al . 14:26:22 total 176 14:26:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 14:26 . 14:26:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 14:22 .. 14:26:22 -rw-rw-r-- 1 jenkins jenkins 151 Dec 2 14:22 .dockerignore 14:26:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 14:22 .git 14:26:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:22 .github 14:26:22 -rw-rw-r-- 1 jenkins jenkins 329 Dec 2 14:22 .gitignore 14:26:22 -rw-rw-r-- 1 jenkins jenkins 7095 Dec 2 14:22 Attribution.txt 14:26:22 -rw-rw-r-- 1 jenkins jenkins 7459 Dec 2 14:22 CHANGELOG.md 14:26:22 -rw-rw-r-- 1 jenkins jenkins 1649 Dec 2 14:22 Dockerfile 14:26:22 -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 14:22 GOVERNANCE.md 14:26:22 -rw-rw-r-- 1 jenkins jenkins 680 Dec 2 14:22 Jenkinsfile 14:26:22 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 14:22 LICENSE 14:26:22 -rw-rw-r-- 1 jenkins jenkins 1078 Dec 2 14:22 Makefile 14:26:22 -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 14:22 OWNERS.md 14:26:22 -rw-rw-r-- 1 jenkins jenkins 8246 Dec 2 14:22 README.md 14:26:22 -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 14:19 VERSION 14:26:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:22 bin 14:26:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:22 cmd 14:26:22 -rw-r--r-- 1 jenkins jenkins 9215 Dec 2 14:25 coverage.out 14:26:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:22 driver 14:26:22 -rw-rw-r-- 1 jenkins jenkins 277 Dec 2 14:22 go.mod 14:26:22 -rw-rw-r-- 1 jenkins jenkins 49330 Dec 2 14:22 go.sum 14:26:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:22 snap 14:26:22 -rw-rw-r-- 1 jenkins jenkins 713 Dec 2 14:22 version.go [Pipeline] isUnix [Pipeline] sh 14:26:23 + 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=5b17f991c425fdfdbf3defaffe349f04efb7e6d5 --label arch=arm64 --label version=2.2.0-dev.2 . 14:26:23 Sending build context to Docker daemon 131.6kB 14:26:23 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 14:26:23 Step 2/24 : FROM ${BASE} AS builder 14:26:23 ---> 141d3c93527d 14:26:23 Step 3/24 : ARG MAKE='make build' 14:26:23 ---> Running in 8a8aa83a3b86 14:26:23 Removing intermediate container 8a8aa83a3b86 14:26:23 ---> 605164749aa7 14:26:23 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:26:23 ---> Running in 65b3a36a19a6 14:26:24 Removing intermediate container 65b3a36a19a6 14:26:24 ---> 99438d08b22f 14:26:24 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 14:26:24 ---> Running in 8e80561a37b6 14:26:24 Removing intermediate container 8e80561a37b6 14:26:24 ---> 861adcebe625 14:26:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:26:24 ---> Running in 174bc8f10f91 14:26:26 Removing intermediate container 174bc8f10f91 14:26:26 ---> 3a5aea40db27 14:26:26 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:26:26 ---> Running in 046f650c2666 14:26:27 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:26:28 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:26:29 OK: 223 MiB in 56 packages 14:26:30 Removing intermediate container 046f650c2666 14:26:30 ---> 558438f6e283 14:26:30 Step 8/24 : WORKDIR /device-rest-go 14:26:30 ---> Running in c317f88daa03 14:26:30 Removing intermediate container c317f88daa03 14:26:30 ---> 2ed769a4d1e1 14:26:30 Step 9/24 : COPY . . 14:26:31 ---> 4b8be6e19e21 14:26:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:26:31 ---> Running in 2b29ba44b622 14:26:33 Removing intermediate container 2b29ba44b622 14:26:33 ---> f3a947b77c5f 14:26:33 Step 11/24 : RUN $MAKE 14:26:33 ---> Running in 57523b17c239 14:26:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.2" -o cmd/device-rest ./cmd 14:27:13 Removing intermediate container 57523b17c239 14:27:13 ---> 436a48991724 14:27:13 Step 12/24 : FROM alpine:3.14 14:27:14 3.14: Pulling from library/alpine 14:27:14 be307f383ecc: Pulling fs layer 14:27:15 be307f383ecc: Download complete 14:27:16 be307f383ecc: Pull complete 14:27:16 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 14:27:16 Status: Downloaded newer image for alpine:3.14 14:27:16 ---> 5b8b7b635229 14:27:16 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:27:16 ---> Running in 5b5504f0d1c8 14:27:16 Removing intermediate container 5b5504f0d1c8 14:27:16 ---> 33dd80e8fbb3 14:27:16 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 14:27:16 ---> Running in 8147b8285883 14:27:17 Removing intermediate container 8147b8285883 14:27:17 ---> fd7fb93d2556 14:27:17 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 14:27:17 ---> Running in 3f455f4005b7 14:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:27:19 (1/6) Installing dumb-init (1.2.5-r1) 14:27:19 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:27:19 (3/6) Installing libsodium (1.0.18-r0) 14:27:19 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:27:19 (5/6) Installing libzmq (4.3.4-r0) 14:27:19 (6/6) Installing zeromq (4.3.4-r0) 14:27:19 Executing busybox-1.33.1-r6.trigger 14:27:19 OK: 8 MiB in 20 packages 14:27:19 Removing intermediate container 3f455f4005b7 14:27:19 ---> 5eb91e2c7bc9 14:27:19 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 14:27:20 ---> 70d85decb6e8 14:27:20 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 14:27:21 ---> 87f36eaeb709 14:27:21 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 14:27:22 ---> 749467e1dd44 14:27:22 Step 19/24 : EXPOSE 59986 14:27:22 ---> Running in 1691654e95d0 14:27:22 Removing intermediate container 1691654e95d0 14:27:22 ---> b4de58b92462 14:27:22 Step 20/24 : ENTRYPOINT ["/device-rest"] 14:27:22 ---> Running in b5cd1fe45dda 14:27:22 Removing intermediate container b5cd1fe45dda 14:27:22 ---> ca4b2a923cb2 14:27:22 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:27:23 ---> Running in 53fc9dd8bab8 14:27:23 Removing intermediate container 53fc9dd8bab8 14:27:23 ---> e996f43812b2 14:27:23 Step 22/24 : LABEL arch=arm64 14:27:23 ---> Running in d8c022e44138 14:27:23 Removing intermediate container d8c022e44138 14:27:23 ---> ecdaf286d276 14:27:23 Step 23/24 : LABEL git_sha=5b17f991c425fdfdbf3defaffe349f04efb7e6d5 14:27:24 ---> Running in b93ac9a0f576 14:27:24 Removing intermediate container b93ac9a0f576 14:27:24 ---> 7f88c91cfb81 14:27:24 Step 24/24 : LABEL version=2.2.0-dev.2 14:27:24 ---> Running in adad001b7691 14:27:24 Removing intermediate container adad001b7691 14:27:24 ---> 5218c5eaf352 14:27:24 [Warning] One or more build-args [ARCH] were not consumed 14:27:24 Successfully built 5218c5eaf352 14:27:24 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 14:27:24 provisioning config files... 14:27:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/22@tmp/config8595508430906676884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:27:25 ---> docker-login.sh 14:27:25 nexus3.edgexfoundry.org:10001 14:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:25 Configure a credential helper to remove this warning. See 14:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:25 14:27:25 Login Succeeded 14:27:25 nexus3.edgexfoundry.org:10002 14:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:25 Configure a credential helper to remove this warning. See 14:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:25 14:27:25 Login Succeeded 14:27:25 nexus3.edgexfoundry.org:10003 14:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:26 Configure a credential helper to remove this warning. See 14:27:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:26 14:27:26 Login Succeeded 14:27:26 nexus3.edgexfoundry.org:10004 14:27:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:26 Configure a credential helper to remove this warning. See 14:27:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:26 14:27:26 Login Succeeded 14:27:26 docker.io 14:27:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:27 Configure a credential helper to remove this warning. See 14:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:27 14:27:27 Login Succeeded 14:27:27 ---> docker-login.sh ends [Pipeline] } 14:27:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:27:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:27:27 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 14:27:27 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 14:27:27 latest 14:27:27 2.2.0-dev.2 14:27:27 5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 14:27:27 main 14:27:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:27:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] isUnix [Pipeline] sh 14:27:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 14:27:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:27:28 1ff770796423: Preparing 14:27:28 a5f028acb775: Preparing 14:27:28 5e9d4962e5ea: Preparing 14:27:28 553949c2e21c: Preparing 14:27:28 62170e181a92: Preparing 14:27:28 62170e181a92: Layer already exists 14:27:28 a5f028acb775: Pushed 14:27:28 1ff770796423: Pushed 14:27:29 553949c2e21c: Pushed 14:27:31 5e9d4962e5ea: Pushed 14:27:31 5b17f991c425fdfdbf3defaffe349f04efb7e6d5: digest: sha256:22315416cf7a26fa7c03ac02ec3f4c4046f786406ee94eea5bd03f7c7e1c0c0f size: 1365 [Pipeline] isUnix [Pipeline] sh 14:27:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:27:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:27:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:27:32 1ff770796423: Preparing 14:27:32 a5f028acb775: Preparing 14:27:32 5e9d4962e5ea: Preparing 14:27:32 553949c2e21c: Preparing 14:27:32 62170e181a92: Preparing 14:27:32 5e9d4962e5ea: Layer already exists 14:27:32 a5f028acb775: Layer already exists 14:27:32 553949c2e21c: Layer already exists 14:27:32 1ff770796423: Layer already exists 14:27:32 62170e181a92: Layer already exists 14:27:32 latest: digest: sha256:22315416cf7a26fa7c03ac02ec3f4c4046f786406ee94eea5bd03f7c7e1c0c0f size: 1365 [Pipeline] isUnix [Pipeline] sh 14:27:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 14:27:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.2 14:27:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:27:33 1ff770796423: Preparing 14:27:33 a5f028acb775: Preparing 14:27:33 5e9d4962e5ea: Preparing 14:27:33 553949c2e21c: Preparing 14:27:33 62170e181a92: Preparing 14:27:33 1ff770796423: Layer already exists 14:27:33 553949c2e21c: Layer already exists 14:27:33 62170e181a92: Layer already exists 14:27:33 a5f028acb775: Layer already exists 14:27:33 5e9d4962e5ea: Layer already exists 14:27:33 2.2.0-dev.2: digest: sha256:22315416cf7a26fa7c03ac02ec3f4c4046f786406ee94eea5bd03f7c7e1c0c0f size: 1365 [Pipeline] isUnix [Pipeline] sh 14:27:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 14:27:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 14:27:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:27:34 1ff770796423: Preparing 14:27:34 a5f028acb775: Preparing 14:27:34 5e9d4962e5ea: Preparing 14:27:34 553949c2e21c: Preparing 14:27:34 62170e181a92: Preparing 14:27:34 a5f028acb775: Layer already exists 14:27:34 553949c2e21c: Layer already exists 14:27:34 5e9d4962e5ea: Layer already exists 14:27:34 62170e181a92: Layer already exists 14:27:34 1ff770796423: Layer already exists 14:27:34 5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2: digest: sha256:22315416cf7a26fa7c03ac02ec3f4c4046f786406ee94eea5bd03f7c7e1c0c0f size: 1365 [Pipeline] isUnix [Pipeline] sh 14:27:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 14:27:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 14:27:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:27:35 1ff770796423: Preparing 14:27:35 a5f028acb775: Preparing 14:27:35 5e9d4962e5ea: Preparing 14:27:35 553949c2e21c: Preparing 14:27:35 62170e181a92: Preparing 14:27:35 62170e181a92: Layer already exists 14:27:35 1ff770796423: Layer already exists 14:27:35 5e9d4962e5ea: Layer already exists 14:27:35 a5f028acb775: Layer already exists 14:27:35 553949c2e21c: Layer already exists 14:27:35 main: digest: sha256:22315416cf7a26fa7c03ac02ec3f4c4046f786406ee94eea5bd03f7c7e1c0c0f size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:27:35 ===================================================== [Pipeline] echo 14:27:35 taggedImages: 14:27:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 14:27:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:27:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.2 14:27:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 14:27:35 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:27:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:27:35 14:27:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:27:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:27:36 arm64: Pulling from edgex-lftools-log-publisher 14:27:36 448f6bf000e3: Pulling fs layer 14:27:36 f757da607395: Pulling fs layer 14:27:36 05883995daec: Pulling fs layer 14:27:36 8603b9c90790: Pulling fs layer 14:27:36 1560dd03e051: Pulling fs layer 14:27:36 27f5ce0e4adf: Pulling fs layer 14:27:36 c2d8d7efcc4b: Pulling fs layer 14:27:36 8603b9c90790: Waiting 14:27:36 1560dd03e051: Waiting 14:27:36 27f5ce0e4adf: Waiting 14:27:36 c2d8d7efcc4b: Waiting 14:27:36 f757da607395: Verifying Checksum 14:27:36 f757da607395: Download complete 14:27:36 8603b9c90790: Verifying Checksum 14:27:36 8603b9c90790: Download complete 14:27:36 1560dd03e051: Verifying Checksum 14:27:36 1560dd03e051: Download complete 14:27:36 27f5ce0e4adf: Download complete 14:27:36 05883995daec: Verifying Checksum 14:27:36 05883995daec: Download complete 14:27:36 448f6bf000e3: Verifying Checksum 14:27:36 448f6bf000e3: Download complete 14:27:39 c2d8d7efcc4b: Verifying Checksum 14:27:39 c2d8d7efcc4b: Download complete 14:27:40 448f6bf000e3: Pull complete 14:27:40 f757da607395: Pull complete 14:27:42 05883995daec: Pull complete 14:27:42 8603b9c90790: Pull complete 14:27:43 1560dd03e051: Pull complete 14:27:43 27f5ce0e4adf: Pull complete 14:27:58 c2d8d7efcc4b: Pull complete 14:27:58 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:27:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:27:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:27:59 prd-ubuntu18.04-docker-arm64-4c-16g-102 does not seem to be running inside a container 14:27:59 $ 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/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@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 14:28:01 $ docker top 1b1fbd77a94e9f7fd3177404a8513f00bc824a986cb15b223bad2336ca58dcb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:28:02 ---> job-cost.sh 14:28:02 lf-activate-venv: SKIPPING 14:28:02 INFO: No Stack... 14:28:02 INFO: Retrieving Pricing Info for: v3-standard-4 14:28:03 INFO: Archiving Costs [Pipeline] sh 14:28:03 + cut -d, -f6 14:28:03 + cat /w/workspace/device-rest-go/22/archives/cost.csv [Pipeline] lock 14:28:03 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] 14:28:03 Resource [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] did not exist. Created. 14:28:03 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:28:04 /w/workspace/device-rest-go/22@tmp/durable-e6ec7b94/script.sh: 1: /w/workspace/device-rest-go/22@tmp/durable-e6ec7b94/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:28:05 + echo total: 0.10999999940395355 [Pipeline] stash 14:28:05 Warning: overwriting stash ‘stack-cost’ 14:28:05 Stashed 1 file(s) [Pipeline] } 14:28:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } 14:28:05 $ docker stop --time=1 1b1fbd77a94e9f7fd3177404a8513f00bc824a986cb15b223bad2336ca58dcb4 14:28:06 $ docker rm -f 1b1fbd77a94e9f7fd3177404a8513f00bc824a986cb15b223bad2336ca58dcb4 [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 14:28:07 provisioning config files... 14:28:07 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3323817966149707835tmp [Pipeline] { [Pipeline] sh 14:28:07 + set +x 14:28:07 + bash -s -- 14:28:07 + curl -s https://codecov.io/bash 14:28:07 14:28:07 _____ _ 14:28:07 / ____| | | 14:28:07 | | ___ __| | ___ ___ _____ __ 14:28:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:28:07 | |___| (_) | (_| | __/ (_| (_) \ V / 14:28:07 \_____\___/ \__,_|\___|\___\___/ \_/ 14:28:07 Bash-1.0.6 14:28:07 14:28:07 14:28:07 ==> git version 2.24.4 found 14:28:07 ==> 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 14:28:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 14:28:07 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 14:28:07 ==> Jenkins CI detected. 14:28:07 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 14:28:07 project root: . 14:28:07 --> token set from env 14:28:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:28:07 ==> Running gcov in . (disable via -X gcov) 14:28:07 ==> Python coveragepy not found 14:28:07 ==> Searching for coverage reports in: 14:28:07 + . 14:28:07 -> Found 1 reports 14:28:07 ==> Detecting git/mercurial file structure 14:28:07 ==> Reading reports 14:28:07 + ./coverage.out bytes=9215 14:28:07 ==> Appending adjustments 14:28:07 https://docs.codecov.io/docs/fixing-reports 14:28:07 + Found adjustments 14:28:07 ==> Gzipping contents 14:28:07 4.0K /tmp/codecov.ud0gs5.gz 14:28:07 ==> Uploading reports 14:28:07 url: https://codecov.io 14:28:07 query: branch=main&commit=5b17f991c425fdfdbf3defaffe349f04efb7e6d5&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:28:07 -> Pinging Codecov 14:28:07 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=5b17f991c425fdfdbf3defaffe349f04efb7e6d5&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:28:08 -> Uploading to 14:28:08 https://storage.googleapis.com/codecov/v4/raw/2021-12-02/4E5D53B4F1F92C436F7061BF334D961C/5b17f991c425fdfdbf3defaffe349f04efb7e6d5/7517daeb-89d6-4757-9d77-74413297d68b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T142807Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d718727aeba481355f5d5a10e1beec201ae59f79c4fb54881eef65eb91a4dd53 14:28:08 % Total % Received % Xferd Average Speed Time Time Time Current 14:28:08 Dload Upload Total Spent Left Speed 14:28:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 6028 --:--:-- --:--:-- --:--:-- 6046 14:28:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] } 14:28:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:28:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:28:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:28:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:28:08 14:28:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:28:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:28:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:28:09 188c0c94c7c5: Pulling fs layer 14:28:09 0ef7d3d256c8: Pulling fs layer 14:28:09 de9db76c5a1d: Pulling fs layer 14:28:09 0eba1c9be4d2: Pulling fs layer 14:28:09 0d57e429df01: Pulling fs layer 14:28:09 4e4be7b47b0d: Pulling fs layer 14:28:09 e1f770b5df2f: Pulling fs layer 14:28:09 85a0685a4137: Pulling fs layer 14:28:09 0d57e429df01: Waiting 14:28:09 4e4be7b47b0d: Waiting 14:28:09 e1f770b5df2f: Waiting 14:28:09 85a0685a4137: Waiting 14:28:09 0eba1c9be4d2: Waiting 14:28:09 de9db76c5a1d: Verifying Checksum 14:28:09 de9db76c5a1d: Download complete 14:28:09 0ef7d3d256c8: Verifying Checksum 14:28:09 0ef7d3d256c8: Download complete 14:28:09 0d57e429df01: Verifying Checksum 14:28:09 0d57e429df01: Download complete 14:28:09 4e4be7b47b0d: Verifying Checksum 14:28:09 4e4be7b47b0d: Download complete 14:28:09 188c0c94c7c5: Verifying Checksum 14:28:09 188c0c94c7c5: Download complete 14:28:09 e1f770b5df2f: Verifying Checksum 14:28:09 e1f770b5df2f: Download complete 14:28:09 0eba1c9be4d2: Verifying Checksum 14:28:09 0eba1c9be4d2: Download complete 14:28:10 188c0c94c7c5: Pull complete 14:28:10 0ef7d3d256c8: Pull complete 14:28:10 85a0685a4137: Verifying Checksum 14:28:10 85a0685a4137: Download complete 14:28:10 de9db76c5a1d: Pull complete 14:28:14 0eba1c9be4d2: Pull complete 14:28:14 0d57e429df01: Pull complete 14:28:14 4e4be7b47b0d: Pull complete 14:28:14 e1f770b5df2f: Pull complete 14:28:18 85a0685a4137: Pull complete 14:28:18 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:28:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:28:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:28:18 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 14:28:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/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 14:28:20 $ docker top 68e943edaa6aaba7f6910af1cacf31c3f6db015c5a364bda65b645ac0f6a2187 -eo pid,comm [Pipeline] { [Pipeline] echo 14:28:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:28:20 + set -o pipefail 14:28:20 + snyk monitor '--org=edgex-jenkins' 14:28:26 14:28:26 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 14:28:26 14:28:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/89bb0cc2-f847-4b53-ada7-7e61cc5d820a 14:28:26 14:28:26 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:28:26 14:28:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:28:26 14:28:26 [Pipeline] } 14:28:26 $ docker stop --time=1 68e943edaa6aaba7f6910af1cacf31c3f6db015c5a364bda65b645ac0f6a2187 14:28:28 $ docker rm -f 68e943edaa6aaba7f6910af1cacf31c3f6db015c5a364bda65b645ac0f6a2187 [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 14:28:28 + git log --format=format:%s -1 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] sh 14:28:29 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:28:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:28:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:28:29 . [Pipeline] withDockerContainer 14:28:29 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 14:28:29 $ 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 14:28:30 $ docker top b6a3d3a1344fbf550cb6c4748df464f14f8ecad8d93b2790bff588798aeec52d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:28:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:28:30 [ssh-agent] Looking for ssh-agent implementation... 14:28:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:28:30 $ docker exec b6a3d3a1344fbf550cb6c4748df464f14f8ecad8d93b2790bff588798aeec52d ssh-agent 14:28:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiamiLi/agent.14 14:28:30 SSH_AGENT_PID=21 14:28:30 Running ssh-add (command line suppressed) 14:28:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2966776856409096486.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2966776856409096486.key) 14:28:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:28:30 + git semver tag 14:28:30 # -> Open(): unable to determine branch for HEAD 14:28:30 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 14:28:30 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 14:28:30 # $SEMVER_REMOTE_NAME = origin 14:28:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:28:30 # $SEMVER_USER_NAME = edgex-jenkins 14:28:30 # $SEMVER_BRANCH = main 14:28:30 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 14:28:30 # 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 HEAD 14:28:30 # -> Force: false 14:28:30 # 9c39a73b2376d1cb61b79fd926d622f62ed91d57 refs/tags/v2.2.0-dev.2 [Pipeline] } 14:28:30 $ docker exec --env ******** --env ******** b6a3d3a1344fbf550cb6c4748df464f14f8ecad8d93b2790bff588798aeec52d ssh-agent -k 14:28:30 unset SSH_AUTH_SOCK; 14:28:30 unset SSH_AGENT_PID; 14:28:30 echo Agent pid 21 killed; 14:28:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:28:31 + git semver [Pipeline] } 14:28:31 $ docker stop --time=1 b6a3d3a1344fbf550cb6c4748df464f14f8ecad8d93b2790bff588798aeec52d 14:28:32 $ docker rm -f b6a3d3a1344fbf550cb6c4748df464f14f8ecad8d93b2790bff588798aeec52d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:28:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:28:32 14:28:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:28:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:28:33 0.23.1-centos7: Pulling from edgex-lftools 14:28:33 ab5ef0e58194: Pulling fs layer 14:28:33 9712f1f96733: Pulling fs layer 14:28:33 63f879dbbcfc: Pulling fs layer 14:28:33 0d9ebad4ef96: Pulling fs layer 14:28:33 e9a5061849ea: Pulling fs layer 14:28:33 d747dcd14b5f: Pulling fs layer 14:28:33 2de7ff778b66: Pulling fs layer 14:28:33 0d9ebad4ef96: Waiting 14:28:33 e9a5061849ea: Waiting 14:28:33 d747dcd14b5f: Waiting 14:28:33 2de7ff778b66: Waiting 14:28:33 9712f1f96733: Verifying Checksum 14:28:33 9712f1f96733: Download complete 14:28:33 63f879dbbcfc: Verifying Checksum 14:28:33 63f879dbbcfc: Download complete 14:28:33 0d9ebad4ef96: Verifying Checksum 14:28:33 0d9ebad4ef96: Download complete 14:28:33 d747dcd14b5f: Verifying Checksum 14:28:33 d747dcd14b5f: Download complete 14:28:33 e9a5061849ea: Verifying Checksum 14:28:33 e9a5061849ea: Download complete 14:28:33 ab5ef0e58194: Verifying Checksum 14:28:33 ab5ef0e58194: Download complete 14:28:33 2de7ff778b66: Verifying Checksum 14:28:33 2de7ff778b66: Download complete 14:28:36 ab5ef0e58194: Pull complete 14:28:36 9712f1f96733: Pull complete 14:28:37 63f879dbbcfc: Pull complete 14:28:41 0d9ebad4ef96: Pull complete 14:28:41 e9a5061849ea: Pull complete 14:28:42 d747dcd14b5f: Pull complete 14:28:43 2de7ff778b66: Pull complete 14:28:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:28:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:28:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:28:43 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 14:28:43 $ 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 14:28:46 $ docker top 5b43520a30994ff02afc4654a1c08fbf21fc303efe1f64b9ed6a1c2a51940042 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:28:46 provisioning config files... 14:28:46 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3794244280763482500tmp 14:28:46 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3193809147164324103tmp 14:28:46 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5520595434963203695tmp [Pipeline] { [Pipeline] echo 14:28:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:28:47 ---> sigul-configuration.sh 14:28:47 gpg: directory `/root/.gnupg' created 14:28:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:28:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:28:47 gpg: keyring `/root/.gnupg/secring.gpg' created 14:28:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:28:47 gpg: CAST5 encrypted data 14:28:47 gpg: encrypted with 1 passphrase 14:28:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:28:47 + mkdir /home/jenkins 14:28:47 + mkdir /home/jenkins/sigul [Pipeline] sh 14:28:47 + 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 14:28:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:28:47 ---> sigul-install.sh 14:28:47 Sigul already installed; skipping installation. [Pipeline] sh 14:28:48 + git tag --list 14:28:48 v1.0.0 14:28:48 v1.1.0 14:28:48 v1.1.1 14:28:48 v1.1.2 14:28:48 v1.2.0 14:28:48 v1.2.1 14:28:48 v2.0.0 14:28:48 v2.0.1-dev.1 14:28:48 v2.0.1-dev.10 14:28:48 v2.0.1-dev.11 14:28:48 v2.0.1-dev.12 14:28:48 v2.0.1-dev.13 14:28:48 v2.0.1-dev.14 14:28:48 v2.0.1-dev.2 14:28:48 v2.0.1-dev.3 14:28:48 v2.0.1-dev.4 14:28:48 v2.0.1-dev.5 14:28:48 v2.0.1-dev.6 14:28:48 v2.0.1-dev.7 14:28:48 v2.0.1-dev.8 14:28:48 v2.0.1-dev.9 14:28:48 v2.1.0 14:28:48 v2.2.0-dev.1 14:28:48 v2.2.0-dev.2 [Pipeline] sh 14:28:48 + lftools sign git-tag v2.2.0-dev.2 14:28:49 Signing Git tag with Sigul... 14:28:49 Signing v2.2.0-dev.2 [Pipeline] echo 14:28:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:28:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:28:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:28:50 $ docker stop --time=1 5b43520a30994ff02afc4654a1c08fbf21fc303efe1f64b9ed6a1c2a51940042 14:28:51 $ docker rm -f 5b43520a30994ff02afc4654a1c08fbf21fc303efe1f64b9ed6a1c2a51940042 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:28:52 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:28:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:28:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:28:52 . [Pipeline] withDockerContainer 14:28:52 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 14:28:52 $ 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 14:28:52 $ docker top b7a66f34166df95532f4cb24a6614acb659afc5f97a1d9886cab904a54391407 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:28:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:28:53 [ssh-agent] Looking for ssh-agent implementation... 14:28:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:28:53 $ docker exec b7a66f34166df95532f4cb24a6614acb659afc5f97a1d9886cab904a54391407 ssh-agent 14:28:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGjBaFL/agent.14 14:28:53 SSH_AGENT_PID=21 14:28:53 Running ssh-add (command line suppressed) 14:28:53 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7013476721771458626.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7013476721771458626.key) 14:28:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:28:53 + git semver bump pre 14:28:53 # -> Open(): unable to determine branch for HEAD 14:28:53 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 14:28:53 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 14:28:53 # $SEMVER_REMOTE_NAME = origin 14:28:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:28:53 # $SEMVER_USER_NAME = edgex-jenkins 14:28:53 # $SEMVER_BRANCH = main 14:28:53 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 14:28:53 2.2.0-dev.3 [Pipeline] } 14:28:53 $ docker exec --env ******** --env ******** b7a66f34166df95532f4cb24a6614acb659afc5f97a1d9886cab904a54391407 ssh-agent -k 14:28:53 unset SSH_AUTH_SOCK; 14:28:53 unset SSH_AGENT_PID; 14:28:53 echo Agent pid 21 killed; 14:28:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:28:54 + git semver [Pipeline] } 14:28:54 $ docker stop --time=1 b7a66f34166df95532f4cb24a6614acb659afc5f97a1d9886cab904a54391407 14:28:55 $ docker rm -f b7a66f34166df95532f4cb24a6614acb659afc5f97a1d9886cab904a54391407 [Pipeline] // withDockerContainer [Pipeline] sh 14:28:55 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:28:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:28:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:28:56 . [Pipeline] withDockerContainer 14:28:56 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 14:28:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:28:56 $ docker top f796a32944bc6d58220b5ab3456f543da1905201798f8843903fd51bb52ffc1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:28:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:28:56 [ssh-agent] Looking for ssh-agent implementation... 14:28:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:28:56 $ docker exec f796a32944bc6d58220b5ab3456f543da1905201798f8843903fd51bb52ffc1b ssh-agent 14:28:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXocLKCd/agent.14 14:28:56 SSH_AGENT_PID=20 14:28:56 Running ssh-add (command line suppressed) 14:28:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8886575462524621438.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8886575462524621438.key) 14:28:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:28:57 + git semver push 14:28:57 # -> Open(): unable to determine branch for HEAD 14:28:57 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 14:28:57 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 14:28:57 # $SEMVER_REMOTE_NAME = origin 14:28:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:28:57 # $SEMVER_USER_NAME = edgex-jenkins 14:28:57 # $SEMVER_BRANCH = main 14:28:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 14:28:58 $ docker exec --env ******** --env ******** f796a32944bc6d58220b5ab3456f543da1905201798f8843903fd51bb52ffc1b ssh-agent -k 14:28:58 unset SSH_AUTH_SOCK; 14:28:58 unset SSH_AGENT_PID; 14:28:58 echo Agent pid 20 killed; 14:28:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:28:58 + git semver [Pipeline] } 14:28:58 $ docker stop --time=1 f796a32944bc6d58220b5ab3456f543da1905201798f8843903fd51bb52ffc1b 14:29:00 $ docker rm -f f796a32944bc6d58220b5ab3456f543da1905201798f8843903fd51bb52ffc1b [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:29:01 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 14:29:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:29:02 ---> package-listing.sh 14:29:02 ++ tr '[:upper:]' '[:lower:]' 14:29:02 ++ facter osfamily 14:29:02 + OS_FAMILY=redhat 14:29:02 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 14:29:02 + START_PACKAGES=/tmp/packages_start.txt 14:29:02 + END_PACKAGES=/tmp/packages_end.txt 14:29:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:29:02 + PACKAGES=/tmp/packages_start.txt 14:29:02 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:29:02 + PACKAGES=/tmp/packages_end.txt 14:29:02 + case "${OS_FAMILY}" in 14:29:02 + sort 14:29:02 + rpm -qa 14:29:03 + '[' -f /tmp/packages_start.txt ']' 14:29:03 + '[' -f /tmp/packages_end.txt ']' 14:29:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:29:03 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:29:03 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 14:29:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 14:29:03 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 14:29:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:29:03 14:29:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:29:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:29:04 latest: Pulling from edgex-lftools-log-publisher 14:29:04 b4d181a07f80: Pulling fs layer 14:29:04 a1111a8f2ec3: Pulling fs layer 14:29:04 ed53099fbce6: Pulling fs layer 14:29:04 dc539afda2c1: Pulling fs layer 14:29:04 77bc0d833cb6: Pulling fs layer 14:29:04 9065ff56babe: Pulling fs layer 14:29:04 d287ab97295c: Pulling fs layer 14:29:04 77bc0d833cb6: Waiting 14:29:04 9065ff56babe: Waiting 14:29:04 d287ab97295c: Waiting 14:29:04 dc539afda2c1: Waiting 14:29:04 a1111a8f2ec3: Verifying Checksum 14:29:04 a1111a8f2ec3: Download complete 14:29:04 dc539afda2c1: Verifying Checksum 14:29:04 dc539afda2c1: Download complete 14:29:04 ed53099fbce6: Verifying Checksum 14:29:04 ed53099fbce6: Download complete 14:29:04 77bc0d833cb6: Verifying Checksum 14:29:04 77bc0d833cb6: Download complete 14:29:04 9065ff56babe: Verifying Checksum 14:29:04 9065ff56babe: Download complete 14:29:04 b4d181a07f80: Verifying Checksum 14:29:04 b4d181a07f80: Download complete 14:29:05 d287ab97295c: Verifying Checksum 14:29:05 d287ab97295c: Download complete 14:29:05 b4d181a07f80: Pull complete 14:29:06 a1111a8f2ec3: Pull complete 14:29:06 ed53099fbce6: Pull complete 14:29:06 dc539afda2c1: Pull complete 14:29:07 77bc0d833cb6: Pull complete 14:29:07 9065ff56babe: Pull complete 14:29:12 d287ab97295c: Pull complete 14:29:12 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:29:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:29:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:29:12 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 14:29:12 $ 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 14:29:14 $ docker top 58510eeaa3ac0a2be5d3d099d5c20f612fca68fd8edddf52d1f1a8874caf00ca -eo pid,comm [Pipeline] { [Pipeline] sh 14:29:14 + touch /tmp/pre-build-complete [Pipeline] sh 14:29:15 + mkdir -p /var/log/sysstat [Pipeline] sh 14:29:15 + ls /var/log/sa-host 14:29:15 + sadf -c /var/log/sa-host/sa02 14:29:15 file_magic: OK 14:29:15 HZ: Using current value: 100 14:29:15 file_header: OK 14:29:15 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 14:29:15 Statistics: 14:29:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:29:15 File successfully converted to sysstat format version 12.0.3 14:29:15 + sadf -c /var/log/sa-host/sa17 14:29:15 file_magic: OK 14:29:15 HZ: Using current value: 100 14:29:15 file_header: OK 14:29:15 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 14:29:15 Statistics: 14:29:15 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:29:15 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:29:15 provisioning config files... 14:29:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6513622501936899697tmp [Pipeline] { [Pipeline] echo 14:29:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:29:15 ---> create-netrc.sh [Pipeline] } 14:29:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:29:16 ---> python-tools-install.sh [Pipeline] echo 14:29:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:29:16 ---> sudo-logs.sh 14:29:16 Archiving 'sudo' log.. 14:29:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-99.novalocal: Name or service not known 14:29:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-99.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:29:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:29:16 ---> job-cost.sh 14:29:16 lf-activate-venv: SKIPPING 14:29:16 DEBUG: total: 0.10999999940395355 14:29:16 INFO: Retrieving Stack Cost... 14:29:17 INFO: Retrieving Pricing Info for: v3-standard-2 14:29:17 INFO: Archiving Costs [Pipeline] echo 14:29:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:29:17 ---> logs-deploy.sh 14:29:17 lf-activate-venv: SKIPPING 14:29:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/22 14:29:17 INFO: archiving workspace using pattern(s): 14:29:18 Archives upload complete. 14:29:18 INFO: archiving logs to Nexus