Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7759c41568adf15208c0dd5cadcdb8f87895acd8 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4024746336082754142.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh3159339841322689236.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh6631762193277949556.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh1228423870852149588.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-ssh4709863495974454279.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-785 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-ssh3678221506715612711.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 7759c41568adf15208c0dd5cadcdb8f87895acd8 (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 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 Commit message: "Merge pull request #145 from lenny-intel/object-value-type" > git rev-list --no-walk 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:20:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:20:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:20:26 ========================================================= 06:20:26 EdgeX Global Pipelines Version Info 06:20:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:20:28 ------------------- 06:20:28 stable info: 06:20:28 ------------------- 06:20:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:20:28 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 06:20:28 Message: update stable to v1.0.215 06:20:29 ------------------- 06:20:29 experimental info: 06:20:29 ------------------- 06:20:29 Commited By: **** collab-it+edgex@linuxfoundation.org 06:20:29 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 06:20:29 Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7759c41 [Pipeline] echo 06:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:29 provisioning config files... 06:20:29 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5218839635908777068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:29 ---> docker-login.sh 06:20:29 nexus3.edgexfoundry.org:10001 06:20:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:30 Configure a credential helper to remove this warning. See 06:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:30 06:20:30 Login Succeeded 06:20:30 nexus3.edgexfoundry.org:10002 06:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:30 Configure a credential helper to remove this warning. See 06:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:30 06:20:30 Login Succeeded 06:20:30 nexus3.edgexfoundry.org:10003 06:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:30 Configure a credential helper to remove this warning. See 06:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:30 06:20:30 Login Succeeded 06:20:30 nexus3.edgexfoundry.org:10004 06:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:30 Configure a credential helper to remove this warning. See 06:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:30 06:20:30 Login Succeeded 06:20:30 docker.io 06:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:30 Configure a credential helper to remove this warning. See 06:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:30 06:20:30 Login Succeeded 06:20:30 ---> docker-login.sh ends [Pipeline] } 06:20:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:20:31 + git rev-list -1 --merges 7759c41568adf15208c0dd5cadcdb8f87895acd8~1..7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] echo 06:20:31 -----------> git rev-list -1 --merges 7759c41568adf15208c0dd5cadcdb8f87895acd8~1..7759c41568adf15208c0dd5cadcdb8f87895acd8 7759c41568adf15208c0dd5cadcdb8f87895acd8 06:20:31 7759c41568adf15208c0dd5cadcdb8f87895acd8 [false] [Pipeline] sh 06:20:31 + git log --format=format:%s -1 7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] echo 06:20:31 ========================================================= 06:20:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:20:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:32 + git log --format=format:%s -1 7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] echo 06:20:32 [semverPrep] GIT_COMMIT: 7759c41568adf15208c0dd5cadcdb8f87895acd8, Commit Message: Merge pull request #145 from lenny-intel/object-value-type [Pipeline] echo 06:20:32 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:20:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:20:33 06:20:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:20:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:20:33 latest: Pulling from edgex-devops/git-semver 06:20:33 a0d0a0d46f8b: Pulling fs layer 06:20:33 3e5f54012d9b: Pulling fs layer 06:20:33 4c7163046ea9: Pulling fs layer 06:20:33 0c2d73faf560: Pulling fs layer 06:20:33 0c2d73faf560: Waiting 06:20:33 3e5f54012d9b: Verifying Checksum 06:20:33 3e5f54012d9b: Download complete 06:20:33 a0d0a0d46f8b: Verifying Checksum 06:20:33 a0d0a0d46f8b: Download complete 06:20:33 4c7163046ea9: Verifying Checksum 06:20:33 4c7163046ea9: Download complete 06:20:33 0c2d73faf560: Verifying Checksum 06:20:33 0c2d73faf560: Download complete 06:20:33 a0d0a0d46f8b: Pull complete 06:20:33 3e5f54012d9b: Pull complete 06:20:33 4c7163046ea9: Pull complete 06:20:34 0c2d73faf560: Pull complete 06:20:34 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 06:20:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:20:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:20:34 prd-centos7-docker-4c-2g-785 does not seem to be running inside a container 06:20:34 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:20:34 $ docker top 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:20:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:34 [ssh-agent] Looking for ssh-agent implementation... 06:20:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:35 $ docker exec 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a ssh-agent 06:20:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPBOFCL/agent.13 06:20:35 SSH_AGENT_PID=19 06:20:35 Running ssh-add (command line suppressed) 06:20:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3950614011224954032.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3950614011224954032.key) 06:20:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:35 + git tag --points-at HEAD [Pipeline] } 06:20:35 $ docker exec --env ******** --env ******** 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a ssh-agent -k 06:20:35 unset SSH_AUTH_SOCK; 06:20:35 unset SSH_AGENT_PID; 06:20:35 echo Agent pid 19 killed; 06:20:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:20:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:35 [ssh-agent] Looking for ssh-agent implementation... 06:20:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:35 $ docker exec 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a ssh-agent 06:20:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAcIFge/agent.53 06:20:36 SSH_AGENT_PID=59 06:20:36 Running ssh-add (command line suppressed) 06:20:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_99427763401164703.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_99427763401164703.key) 06:20:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:36 + git semver init 06:20:36 # -> Open(): unable to determine branch for HEAD 06:20:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 06:20:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 06:20:36 # $SEMVER_REMOTE_NAME = origin 06:20:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:20:36 # $SEMVER_USER_NAME = edgex-jenkins 06:20:36 # $SEMVER_BRANCH = main 06:20:36 # $SEMVER_TEMP = /tmp/semver-505807690 06:20:36 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:20:37 # '/tmp/semver-505807690' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 06:20:37 # -> Force: false 06:20:37 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 06:20:37 $ docker exec --env ******** --env ******** 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a ssh-agent -k 06:20:37 unset SSH_AUTH_SOCK; 06:20:37 unset SSH_AGENT_PID; 06:20:37 echo Agent pid 59 killed; 06:20:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:20:37 + git semver [Pipeline] } 06:20:37 $ docker stop --time=1 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a 06:20:39 $ docker rm -f 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a [Pipeline] // withDockerContainer [Pipeline] sh 06:20:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:20:39 Stashed 1 file(s) [Pipeline] echo 06:20:39 [edgeXSemver]: initialized semver on version 2.0.1-dev.14 [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 06:20:55 Still waiting to schedule task 06:20:55 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-785’ 06:20:55 Still waiting to schedule task 06:20:55 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:22:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-786 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 06:22:20 Running in /w/workspace/device-rest-go/19 [Pipeline] { [Pipeline] checkout 06:22:21 The recommended git tool is: git 06:22:26 using credential edgex-jenkins-ssh 06:22:26 Cloning the remote Git repository 06:22:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:22:26 > git init /w/workspace/device-rest-go/19 # timeout=10 06:22:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:22:26 > git --version # timeout=10 06:22:26 > git --version # 'git version 2.17.1' 06:22:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:28 Avoid second fetch 06:22:28 Checking out Revision 7759c41568adf15208c0dd5cadcdb8f87895acd8 (main) 06:22:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:22:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:28 > git config core.sparsecheckout # timeout=10 06:22:28 > git checkout -f 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 06:22:32 Commit message: "Merge pull request #145 from lenny-intel/object-value-type" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:22:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:22:33 % Total % Received % Xferd Average Speed Time Time Time Current 06:22:33 Dload Upload Total Spent Left Speed 06:22:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 65 11824 65 7745 0 0 62459 0 --:--:-- --:--:-- --:--:-- 61960 100 11824 100 11824 0 0 93841 0 --:--:-- --:--:-- --:--:-- 93841 [Pipeline] sh 06:22:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:22:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:22:34 + sudo tee /etc/docker/daemon.new 06:22:34 { 06:22:34 "registry-mirrors": [ 06:22:34 "https://nexus3.edgexfoundry.org:10001" 06:22:34 ], 06:22:34 "bip": "10.250.0.254/24", 06:22:34 "hosts": [ 06:22:34 "tcp://0.0.0.0:5555", 06:22:34 "unix:///var/run/docker.sock" 06:22:34 ], 06:22:34 "mtu": 1458, 06:22:34 "selinux-enabled": true, 06:22:34 "seccomp-profile": "/etc/docker/seccomp.json" 06:22:34 } [Pipeline] sh 06:22:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:22:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:22:53 provisioning config files... 06:22:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config3280103090022096201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:53 ---> docker-login.sh 06:22:53 nexus3.edgexfoundry.org:10001 06:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:54 Configure a credential helper to remove this warning. See 06:22:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:54 06:22:54 Login Succeeded 06:22:54 nexus3.edgexfoundry.org:10002 06:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:55 Configure a credential helper to remove this warning. See 06:22:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:55 06:22:55 Login Succeeded 06:22:55 nexus3.edgexfoundry.org:10003 06:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:55 Configure a credential helper to remove this warning. See 06:22:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:55 06:22:55 Login Succeeded 06:22:55 nexus3.edgexfoundry.org:10004 06:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:56 Configure a credential helper to remove this warning. See 06:22:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:56 06:22:56 Login Succeeded 06:22:56 docker.io 06:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:57 Configure a credential helper to remove this warning. See 06:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:57 06:22:57 Login Succeeded 06:22:57 ---> docker-login.sh ends [Pipeline] } 06:22:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:22:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:22:57 ========================================================= 06:22:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 06:22:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:22:58 + 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 . 06:22:58 Sending build context to Docker daemon 121.3kB 06:22:58 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 06:22:58 Step 2/11 : FROM ${BASE} AS builder 06:22:58 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:22:58 552d1f2373af: Pulling fs layer 06:22:58 ea3f2d53f512: Pulling fs layer 06:22:58 9e70ebbbe112: Pulling fs layer 06:22:58 7a9cfe048b4a: Pulling fs layer 06:22:58 72dc09318566: Pulling fs layer 06:22:58 f4f7b4309257: Pulling fs layer 06:22:58 0ac9a79272e3: Pulling fs layer 06:22:58 b78e95d17946: Pulling fs layer 06:22:58 7a9cfe048b4a: Waiting 06:22:58 72dc09318566: Waiting 06:22:58 f4f7b4309257: Waiting 06:22:58 0ac9a79272e3: Waiting 06:22:58 b78e95d17946: Waiting 06:22:58 9e70ebbbe112: Verifying Checksum 06:22:58 9e70ebbbe112: Download complete 06:22:58 ea3f2d53f512: Verifying Checksum 06:22:58 ea3f2d53f512: Download complete 06:22:58 72dc09318566: Verifying Checksum 06:22:58 72dc09318566: Download complete 06:22:58 f4f7b4309257: Verifying Checksum 06:22:58 f4f7b4309257: Download complete 06:22:58 552d1f2373af: Verifying Checksum 06:22:58 552d1f2373af: Download complete 06:22:58 0ac9a79272e3: Verifying Checksum 06:22:58 0ac9a79272e3: Download complete 06:22:59 552d1f2373af: Pull complete 06:23:00 ea3f2d53f512: Pull complete 06:23:00 9e70ebbbe112: Pull complete 06:23:00 b78e95d17946: Verifying Checksum 06:23:00 b78e95d17946: Download complete 06:23:01 7a9cfe048b4a: Verifying Checksum 06:23:01 7a9cfe048b4a: Download complete 06:23:09 Running on prd-centos7-docker-4c-2g-787 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 06:23:09 Running in /w/workspace/device-rest-go/19 [Pipeline] { [Pipeline] checkout 06:23:09 The recommended git tool is: git 06:23:11 7a9cfe048b4a: Pull complete 06:23:11 72dc09318566: Pull complete 06:23:11 f4f7b4309257: Pull complete 06:23:11 using credential edgex-jenkins-ssh 06:23:11 Cloning the remote Git repository 06:23:11 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:23:11 > git init /w/workspace/device-rest-go/19 # timeout=10 06:23:12 0ac9a79272e3: Pull complete 06:23:12 Avoid second fetch 06:23:12 Checking out Revision 7759c41568adf15208c0dd5cadcdb8f87895acd8 (main) 06:23:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:23:11 > git --version # timeout=10 06:23:11 > git --version # 'git version 2.24.4' 06:23:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:23:12 [INFO] Currently running in a labeled security context 06:23:12 [INFO] Currently SELinux is 'enforcing' on the host 06:23:12 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/19@tmp/jenkins-gitclient-ssh5420913990802892725.key 06:23:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:23:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:23:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:23:12 > git config core.sparsecheckout # timeout=10 06:23:12 > git checkout -f 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 06:23:16 Commit message: "Merge pull request #145 from lenny-intel/object-value-type" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:16 provisioning config files... 06:23:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config8007658517292055969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:17 ---> docker-login.sh 06:23:17 nexus3.edgexfoundry.org:10001 06:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:17 Configure a credential helper to remove this warning. See 06:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:17 06:23:17 Login Succeeded 06:23:17 nexus3.edgexfoundry.org:10002 06:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:17 Configure a credential helper to remove this warning. See 06:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:17 06:23:17 Login Succeeded 06:23:17 nexus3.edgexfoundry.org:10003 06:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:17 Configure a credential helper to remove this warning. See 06:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:17 06:23:17 Login Succeeded 06:23:17 nexus3.edgexfoundry.org:10004 06:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:17 Configure a credential helper to remove this warning. See 06:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:17 06:23:17 Login Succeeded 06:23:17 docker.io 06:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:18 Configure a credential helper to remove this warning. See 06:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:18 06:23:18 Login Succeeded 06:23:18 ---> docker-login.sh ends [Pipeline] } 06:23:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:23:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:23:18 ========================================================= 06:23:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 06:23:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:23:18 + 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 . 06:23:18 Sending build context to Docker daemon 121.3kB 06:23:18 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 06:23:18 Step 2/11 : FROM ${BASE} AS builder 06:23:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 06:23:18 a0d0a0d46f8b: Pulling fs layer 06:23:18 31adcdaf11c8: Pulling fs layer 06:23:18 b8b176561691: Pulling fs layer 06:23:18 4527c011a84f: Pulling fs layer 06:23:18 5d74067f8e1e: Pulling fs layer 06:23:18 e0aca202a116: Pulling fs layer 06:23:18 3a43be97a3b4: Pulling fs layer 06:23:18 34cad66bf833: Pulling fs layer 06:23:18 b4e3c513aaa6: Pulling fs layer 06:23:18 e0aca202a116: Waiting 06:23:18 3a43be97a3b4: Waiting 06:23:18 34cad66bf833: Waiting 06:23:18 b4e3c513aaa6: Waiting 06:23:18 4527c011a84f: Waiting 06:23:18 5d74067f8e1e: Waiting 06:23:18 b8b176561691: Verifying Checksum 06:23:18 b8b176561691: Download complete 06:23:18 31adcdaf11c8: Verifying Checksum 06:23:18 31adcdaf11c8: Download complete 06:23:18 5d74067f8e1e: Verifying Checksum 06:23:18 5d74067f8e1e: Download complete 06:23:18 e0aca202a116: Verifying Checksum 06:23:18 e0aca202a116: Download complete 06:23:18 a0d0a0d46f8b: Verifying Checksum 06:23:18 a0d0a0d46f8b: Download complete 06:23:18 3a43be97a3b4: Verifying Checksum 06:23:18 3a43be97a3b4: Download complete 06:23:18 34cad66bf833: Verifying Checksum 06:23:18 34cad66bf833: Download complete 06:23:18 b78e95d17946: Pull complete 06:23:18 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 06:23:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 06:23:18 ---> 8b459fc5aaf0 06:23:18 Step 3/11 : ARG MAKE='make build' 06:23:19 4527c011a84f: Verifying Checksum 06:23:19 4527c011a84f: Download complete 06:23:19 a0d0a0d46f8b: Pull complete 06:23:19 b4e3c513aaa6: Verifying Checksum 06:23:19 b4e3c513aaa6: Download complete 06:23:19 31adcdaf11c8: Pull complete 06:23:19 b8b176561691: Pull complete 06:23:19 ---> Running in fb1eaff2debb 06:23:19 Removing intermediate container fb1eaff2debb 06:23:19 ---> 51509c98c953 06:23:19 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:23:19 ---> Running in e8c15bf64589 06:23:20 Removing intermediate container e8c15bf64589 06:23:20 ---> d6139be64386 06:23:20 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 06:23:20 ---> Running in dd255e8679cd 06:23:20 Removing intermediate container dd255e8679cd 06:23:20 ---> cf62f8545237 06:23:20 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:23:20 ---> Running in 9ca7e1a04333 06:23:22 Removing intermediate container 9ca7e1a04333 06:23:22 ---> 901b704a9a60 06:23:22 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:23:23 ---> Running in 3f93616d4f78 06:23:23 4527c011a84f: Pull complete 06:23:23 5d74067f8e1e: Pull complete 06:23:23 e0aca202a116: Pull complete 06:23:23 3a43be97a3b4: Pull complete 06:23:23 34cad66bf833: Pull complete 06:23:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:23:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:23:25 b4e3c513aaa6: Pull complete 06:23:25 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 06:23:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 06:23:25 ---> 9f6097aaca64 06:23:25 Step 3/11 : ARG MAKE='make build' 06:23:25 (1/4) Installing openssh-keygen (8.6_p1-r3) 06:23:26 (2/4) Installing libedit (20210216.3.1-r0) 06:23:26 (3/4) Installing openssh-client-common (8.6_p1-r3) 06:23:26 (4/4) Installing openssh-client-default (8.6_p1-r3) 06:23:26 Executing busybox-1.33.1-r3.trigger 06:23:26 OK: 223 MiB in 56 packages 06:23:27 Removing intermediate container 3f93616d4f78 06:23:27 ---> eb1c17f79482 06:23:27 Step 8/11 : WORKDIR /device-rest-go 06:23:27 ---> Running in 6230d23ea349 06:23:27 Removing intermediate container 6230d23ea349 06:23:27 ---> a4e960f3371b 06:23:27 Step 9/11 : COPY . . 06:23:28 ---> 9a705f705af5 06:23:28 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:23:28 ---> Running in 0afbd3a5eb1e 06:23:29 ---> Running in ce79d57a1870 06:23:29 Removing intermediate container ce79d57a1870 06:23:29 ---> 9db0dd5ae14b 06:23:29 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:23:29 ---> Running in a0daa35bf9e1 06:23:29 Removing intermediate container a0daa35bf9e1 06:23:29 ---> abb2f86d6b85 06:23:29 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 06:23:29 ---> Running in 8857e4e39ed2 06:23:29 Removing intermediate container 8857e4e39ed2 06:23:29 ---> 23c990b1701d 06:23:29 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:23:29 ---> Running in 402eb2a8412d 06:23:30 Removing intermediate container 402eb2a8412d 06:23:30 ---> 46e7b1e64903 06:23:30 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:23:30 ---> Running in cc35698ab7e7 06:23:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:23:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:23:31 (1/4) Installing openssh-keygen (8.6_p1-r3) 06:23:31 (2/4) Installing libedit (20210216.3.1-r0) 06:23:31 (3/4) Installing openssh-client-common (8.6_p1-r3) 06:23:31 (4/4) Installing openssh-client-default (8.6_p1-r3) 06:23:31 Executing busybox-1.33.1-r3.trigger 06:23:31 OK: 224 MiB in 56 packages 06:23:32 Removing intermediate container cc35698ab7e7 06:23:32 ---> 995534f04f46 06:23:32 Step 8/11 : WORKDIR /device-rest-go 06:23:32 ---> Running in ece1d37ec106 06:23:32 Removing intermediate container ece1d37ec106 06:23:32 ---> e2bd1803b91d 06:23:32 Step 9/11 : COPY . . 06:23:32 ---> 48bca51ceb36 06:23:32 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:23:32 ---> Running in 5d19c066af92 06:24:11 Removing intermediate container 5d19c066af92 06:24:11 ---> fb00a7c0ca2c 06:24:11 Step 11/11 : RUN $MAKE 06:24:11 ---> Running in 546b59919346 06:24:11 noop 06:24:11 Removing intermediate container 546b59919346 06:24:11 ---> 8f90e7a98dd7 06:24:11 Successfully built 8f90e7a98dd7 06:24:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:24:11 + docker inspect -f . ci-base-image-x86_64 06:24:11 . [Pipeline] withDockerContainer 06:24:11 prd-centos7-docker-4c-2g-787 does not seem to be running inside a container 06:24:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:24:12 $ docker top 3f07d6d511660aec7f8f0ec14c195e5e05ae1bca6c369949f3d3efa0fb550482 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:12 + go version 06:24:12 go version go1.16.8 linux/amd64 [Pipeline] } 06:24:12 $ docker stop --time=1 3f07d6d511660aec7f8f0ec14c195e5e05ae1bca6c369949f3d3efa0fb550482 06:24:13 $ docker rm -f 3f07d6d511660aec7f8f0ec14c195e5e05ae1bca6c369949f3d3efa0fb550482 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:24:14 + docker inspect -f . ci-base-image-x86_64 06:24:14 . [Pipeline] withDockerContainer 06:24:14 prd-centos7-docker-4c-2g-787 does not seem to be running inside a container 06:24:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:24:14 $ docker top ade244903825c08b4a16e3a87f3d905cad3dae6b0d0d92c7f20726683c1e42bc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:24:14 + make test 06:24:14 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:24:15 ? github.com/edgexfoundry/device-rest-go [no test files] 06:24:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:24:30 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements 06:24:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:24:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:24:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:24:37 ./bin/test-attribution-txt.sh [Pipeline] echo 06:24:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:24:37 $ docker stop --time=1 ade244903825c08b4a16e3a87f3d905cad3dae6b0d0d92c7f20726683c1e42bc 06:24:39 $ docker rm -f ade244903825c08b4a16e3a87f3d905cad3dae6b0d0d92c7f20726683c1e42bc [Pipeline] // withDockerContainer [Pipeline] sh 06:24:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:24:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:24:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:24:41 + ls -al . 06:24:41 total 144 06:24:41 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 16 06:24 . 06:24:41 drwxrwxr-x. 4 jenkins jenkins 30 Nov 16 06:23 .. 06:24:41 -rw-rw-r--. 1 jenkins jenkins 7095 Nov 16 06:23 Attribution.txt 06:24:41 drwxrwxr-x. 2 jenkins jenkins 37 Nov 16 06:23 bin 06:24:41 -rw-rw-r--. 1 jenkins jenkins 7459 Nov 16 06:23 CHANGELOG.md 06:24:41 drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 06:23 cmd 06:24:41 -rw-r--r--. 1 jenkins jenkins 9215 Nov 16 06:24 coverage.out 06:24:41 -rw-rw-r--. 1 jenkins jenkins 1649 Nov 16 06:23 Dockerfile 06:24:41 -rw-rw-r--. 1 jenkins jenkins 151 Nov 16 06:23 .dockerignore 06:24:41 drwxrwxr-x. 2 jenkins jenkins 76 Nov 16 06:23 driver 06:24:41 drwxrwxr-x. 8 jenkins jenkins 162 Nov 16 06:23 .git 06:24:41 drwxrwxr-x. 2 jenkins jenkins 103 Nov 16 06:23 .github 06:24:41 -rw-rw-r--. 1 jenkins jenkins 329 Nov 16 06:23 .gitignore 06:24:41 -rw-rw-r--. 1 jenkins jenkins 271 Nov 16 06:23 go.mod 06:24:41 -rw-rw-r--. 1 jenkins jenkins 49306 Nov 16 06:23 go.sum 06:24:41 -rw-rw-r--. 1 jenkins jenkins 677 Nov 16 06:23 GOVERNANCE.md 06:24:41 -rw-rw-r--. 1 jenkins jenkins 680 Nov 16 06:23 Jenkinsfile 06:24:41 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 06:23 LICENSE 06:24:41 -rw-rw-r--. 1 jenkins jenkins 1078 Nov 16 06:23 Makefile 06:24:41 -rw-rw-r--. 1 jenkins jenkins 620 Nov 16 06:23 OWNERS.md 06:24:41 -rw-rw-r--. 1 jenkins jenkins 7661 Nov 16 06:23 README.md 06:24:41 drwxrwxr-x. 4 jenkins jenkins 71 Nov 16 06:23 snap 06:24:41 -rw-rw-r--. 1 jenkins jenkins 12 Nov 16 06:20 VERSION 06:24:41 -rw-rw-r--. 1 jenkins jenkins 713 Nov 16 06:23 version.go [Pipeline] isUnix [Pipeline] sh 06:24:41 + 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=7759c41568adf15208c0dd5cadcdb8f87895acd8 --label arch=amd64 --label version=2.0.1-dev.14 . 06:24:41 Sending build context to Docker daemon 131.1kB 06:24:41 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 06:24:41 Step 2/24 : FROM ${BASE} AS builder 06:24:41 ---> 8f90e7a98dd7 06:24:41 Step 3/24 : ARG MAKE='make build' 06:24:41 ---> Running in 6670c551ec2f 06:24:41 Removing intermediate container 6670c551ec2f 06:24:41 ---> 47aa4bdd74dc 06:24:41 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:24:41 ---> Running in c58a08538fa8 06:24:41 Removing intermediate container c58a08538fa8 06:24:41 ---> d41c3882d93c 06:24:41 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:24:41 ---> Running in a66dee100346 06:24:41 Removing intermediate container a66dee100346 06:24:41 ---> 989991cf882b 06:24:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:24:41 ---> Running in 6f4ee9f7797f 06:24:42 Removing intermediate container 6f4ee9f7797f 06:24:42 ---> 0aa0e0d58d68 06:24:42 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:24:42 ---> Running in 8dfab48b3ab6 06:24:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:24:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:24:43 OK: 224 MiB in 56 packages 06:24:43 Removing intermediate container 8dfab48b3ab6 06:24:43 ---> a1bb53c8d5c3 06:24:43 Step 8/24 : WORKDIR /device-rest-go 06:24:43 ---> Running in 446429349a49 06:24:44 Removing intermediate container 446429349a49 06:24:44 ---> e34f9e56c194 06:24:44 Step 9/24 : COPY . . 06:24:44 ---> c5513853f56f 06:24:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:24:44 ---> Running in d9565a797d3f 06:24:45 Removing intermediate container d9565a797d3f 06:24:45 ---> b723a7f9ee39 06:24:45 Step 11/24 : RUN $MAKE 06:24:45 ---> Running in eb778443bbb5 06:24:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.14" -o cmd/device-rest ./cmd 06:24:50 Removing intermediate container 0afbd3a5eb1e 06:24:50 ---> 21341f653c3b 06:24:50 Step 11/11 : RUN $MAKE 06:24:50 ---> Running in 59bf8219d21d 06:24:50 noop 06:24:50 Removing intermediate container 59bf8219d21d 06:24:50 ---> 7a1669b4f0af 06:24:50 Successfully built 7a1669b4f0af 06:24:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:24:50 + docker inspect -f . ci-base-image-arm64 06:24:50 . [Pipeline] withDockerContainer 06:24:51 prd-ubuntu18.04-docker-arm64-4c-16g-786 does not seem to be running inside a container 06:24:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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 06:24:52 $ docker top 9ae7f09cbc0082eddec9a2cbf0abc2d820d66ce7d6a80c6ceea1ae20370e997e -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:53 + go version 06:24:53 go version go1.16.8 linux/arm64 [Pipeline] } 06:24:53 $ docker stop --time=1 9ae7f09cbc0082eddec9a2cbf0abc2d820d66ce7d6a80c6ceea1ae20370e997e 06:24:55 $ docker rm -f 9ae7f09cbc0082eddec9a2cbf0abc2d820d66ce7d6a80c6ceea1ae20370e997e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:24:56 + docker inspect -f . ci-base-image-arm64 06:24:56 . [Pipeline] withDockerContainer 06:24:56 prd-ubuntu18.04-docker-arm64-4c-16g-786 does not seem to be running inside a container 06:24:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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 06:24:57 Removing intermediate container eb778443bbb5 06:24:57 ---> 7603c6c35e07 06:24:57 Step 12/24 : FROM alpine:3.14 06:24:57 $ docker top da28d7374d04e49ec6694682de30464a80236e130b6c1a0b25cd686cfdade77d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:24:58 + make test 06:24:58 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:25:00 ? github.com/edgexfoundry/device-rest-go [no test files] 06:25:00 3.14: Pulling from library/alpine 06:25:00 97518928ae5f: Pulling fs layer 06:25:01 97518928ae5f: Verifying Checksum 06:25:01 97518928ae5f: Download complete 06:25:01 97518928ae5f: Pull complete 06:25:01 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 06:25:01 Status: Downloaded newer image for alpine:3.14 06:25:01 ---> 0a97eee8041e 06:25:01 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:25:01 ---> Running in 695bc17d41f9 06:25:01 Removing intermediate container 695bc17d41f9 06:25:01 ---> 2a737e6927ff 06:25:01 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 06:25:01 ---> Running in 2adca844bc39 06:25:01 Removing intermediate container 2adca844bc39 06:25:01 ---> 0f09aa827e71 06:25:01 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:25:01 ---> Running in e9c809d6ec23 06:25:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:25:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:25:02 (1/6) Installing dumb-init (1.2.5-r1) 06:25:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:25:02 (3/6) Installing libsodium (1.0.18-r0) 06:25:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:25:02 (5/6) Installing libzmq (4.3.4-r0) 06:25:02 (6/6) Installing zeromq (4.3.4-r0) 06:25:02 Executing busybox-1.33.1-r6.trigger 06:25:02 OK: 8 MiB in 20 packages 06:25:02 Removing intermediate container e9c809d6ec23 06:25:02 ---> 829dcc611e58 06:25:02 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 06:25:03 ---> d9cc7a3a7536 06:25:03 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 06:25:03 ---> 65679cb7a27c 06:25:03 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 06:25:03 ---> 99d0e0fe40d2 06:25:03 Step 19/24 : EXPOSE 59986 06:25:03 ---> Running in f222b0a08b4a 06:25:03 Removing intermediate container f222b0a08b4a 06:25:03 ---> d7c9f05893bd 06:25:03 Step 20/24 : ENTRYPOINT ["/device-rest"] 06:25:03 ---> Running in b028b3d190d9 06:25:03 Removing intermediate container b028b3d190d9 06:25:03 ---> a65da624cecc 06:25:03 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:25:03 ---> Running in 9c3e3defd677 06:25:03 Removing intermediate container 9c3e3defd677 06:25:03 ---> 26b75efbf6cd 06:25:03 Step 22/24 : LABEL arch=amd64 06:25:03 ---> Running in 522d8d5223d6 06:25:03 Removing intermediate container 522d8d5223d6 06:25:03 ---> d8590c14e625 06:25:03 Step 23/24 : LABEL git_sha=7759c41568adf15208c0dd5cadcdb8f87895acd8 06:25:03 ---> Running in b692f09bbbbf 06:25:03 Removing intermediate container b692f09bbbbf 06:25:03 ---> 11164ded1b8d 06:25:03 Step 24/24 : LABEL version=2.0.1-dev.14 06:25:03 ---> Running in b27368c859ca 06:25:03 Removing intermediate container b27368c859ca 06:25:03 ---> 69416067f11a 06:25:03 [Warning] One or more build-args [ARCH] were not consumed 06:25:03 Successfully built 69416067f11a 06:25:03 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:25:04 provisioning config files... 06:25:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config6948799842088678339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:25:04 ---> docker-login.sh 06:25:04 nexus3.edgexfoundry.org:10001 06:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:04 Configure a credential helper to remove this warning. See 06:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:04 06:25:04 Login Succeeded 06:25:04 nexus3.edgexfoundry.org:10002 06:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:04 Configure a credential helper to remove this warning. See 06:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:04 06:25:04 Login Succeeded 06:25:04 nexus3.edgexfoundry.org:10003 06:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:04 Configure a credential helper to remove this warning. See 06:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:04 06:25:04 Login Succeeded 06:25:04 nexus3.edgexfoundry.org:10004 06:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:04 Configure a credential helper to remove this warning. See 06:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:04 06:25:04 Login Succeeded 06:25:04 docker.io 06:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:05 Configure a credential helper to remove this warning. See 06:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:05 06:25:05 Login Succeeded 06:25:05 ---> docker-login.sh ends [Pipeline] } 06:25:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:25:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:25:05 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 06:25:05 7759c41568adf15208c0dd5cadcdb8f87895acd8 06:25:05 latest 06:25:05 2.0.1-dev.14 06:25:05 7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 06:25:05 main 06:25:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:25:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] isUnix [Pipeline] sh 06:25:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8 06:25:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:25:05 dd941e8e6a0f: Preparing 06:25:05 fdc875706516: Preparing 06:25:05 0dd7bc6e577d: Preparing 06:25:05 7c29514087fd: Preparing 06:25:05 1a058d5342cc: Preparing 06:25:05 1a058d5342cc: Layer already exists 06:25:06 dd941e8e6a0f: Pushed 06:25:06 fdc875706516: Pushed 06:25:06 7c29514087fd: Pushed 06:25:07 0dd7bc6e577d: Pushed 06:25:07 7759c41568adf15208c0dd5cadcdb8f87895acd8: digest: sha256:7de457585ee17b63610528f343d436b45db1608ed545e1fa24262a407a224506 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:25:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 06:25:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 06:25:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:25:08 dd941e8e6a0f: Preparing 06:25:08 fdc875706516: Preparing 06:25:08 0dd7bc6e577d: Preparing 06:25:08 7c29514087fd: Preparing 06:25:08 1a058d5342cc: Preparing 06:25:08 fdc875706516: Layer already exists 06:25:08 7c29514087fd: Layer already exists 06:25:08 1a058d5342cc: Layer already exists 06:25:08 0dd7bc6e577d: Layer already exists 06:25:08 dd941e8e6a0f: Layer already exists 06:25:08 latest: digest: sha256:7de457585ee17b63610528f343d436b45db1608ed545e1fa24262a407a224506 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:25:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh 06:25:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.14 06:25:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:25:08 dd941e8e6a0f: Preparing 06:25:08 fdc875706516: Preparing 06:25:08 0dd7bc6e577d: Preparing 06:25:08 7c29514087fd: Preparing 06:25:08 1a058d5342cc: Preparing 06:25:08 1a058d5342cc: Layer already exists 06:25:08 7c29514087fd: Layer already exists 06:25:08 0dd7bc6e577d: Layer already exists 06:25:08 dd941e8e6a0f: Layer already exists 06:25:08 fdc875706516: Layer already exists 06:25:08 2.0.1-dev.14: digest: sha256:7de457585ee17b63610528f343d436b45db1608ed545e1fa24262a407a224506 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:25:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh 06:25:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 06:25:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:25:09 dd941e8e6a0f: Preparing 06:25:09 fdc875706516: Preparing 06:25:09 0dd7bc6e577d: Preparing 06:25:09 7c29514087fd: Preparing 06:25:09 1a058d5342cc: Preparing 06:25:09 fdc875706516: Layer already exists 06:25:09 7c29514087fd: Layer already exists 06:25:09 0dd7bc6e577d: Layer already exists 06:25:09 1a058d5342cc: Layer already exists 06:25:09 dd941e8e6a0f: Layer already exists 06:25:09 7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14: digest: sha256:7de457585ee17b63610528f343d436b45db1608ed545e1fa24262a407a224506 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:25:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 06:25:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 06:25:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:25:09 dd941e8e6a0f: Preparing 06:25:09 fdc875706516: Preparing 06:25:09 0dd7bc6e577d: Preparing 06:25:09 7c29514087fd: Preparing 06:25:09 1a058d5342cc: Preparing 06:25:09 fdc875706516: Layer already exists 06:25:09 1a058d5342cc: Layer already exists 06:25:09 7c29514087fd: Layer already exists 06:25:09 0dd7bc6e577d: Layer already exists 06:25:09 dd941e8e6a0f: Layer already exists 06:25:09 main: digest: sha256:7de457585ee17b63610528f343d436b45db1608ed545e1fa24262a407a224506 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:25:09 ===================================================== [Pipeline] echo 06:25:09 taggedImages: 06:25:09 - nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8 06:25:09 - nexus3.edgexfoundry.org:10004/device-rest:latest 06:25:09 - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.14 06:25:09 - nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 06:25:09 - 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 06:25:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:25:10 06:25:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:25:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:25:10 latest: Pulling from edgex-lftools-log-publisher 06:25:10 b4d181a07f80: Pulling fs layer 06:25:10 a1111a8f2ec3: Pulling fs layer 06:25:10 ed53099fbce6: Pulling fs layer 06:25:10 dc539afda2c1: Pulling fs layer 06:25:10 77bc0d833cb6: Pulling fs layer 06:25:10 9065ff56babe: Pulling fs layer 06:25:10 d287ab97295c: Pulling fs layer 06:25:10 77bc0d833cb6: Waiting 06:25:10 9065ff56babe: Waiting 06:25:10 d287ab97295c: Waiting 06:25:10 dc539afda2c1: Waiting 06:25:10 a1111a8f2ec3: Verifying Checksum 06:25:10 a1111a8f2ec3: Download complete 06:25:10 dc539afda2c1: Verifying Checksum 06:25:10 dc539afda2c1: Download complete 06:25:10 ed53099fbce6: Verifying Checksum 06:25:10 ed53099fbce6: Download complete 06:25:10 9065ff56babe: Verifying Checksum 06:25:10 9065ff56babe: Download complete 06:25:10 77bc0d833cb6: Verifying Checksum 06:25:10 77bc0d833cb6: Download complete 06:25:10 b4d181a07f80: Verifying Checksum 06:25:10 b4d181a07f80: Download complete 06:25:11 d287ab97295c: Verifying Checksum 06:25:11 d287ab97295c: Download complete 06:25:12 b4d181a07f80: Pull complete 06:25:12 a1111a8f2ec3: Pull complete 06:25:13 ed53099fbce6: Pull complete 06:25:13 dc539afda2c1: Pull complete 06:25:13 77bc0d833cb6: Pull complete 06:25:13 9065ff56babe: Pull complete 06:25:18 d287ab97295c: Pull complete 06:25:18 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 06:25:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:25:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:25:18 prd-centos7-docker-4c-2g-787 does not seem to be running inside a container 06:25:18 $ 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/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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 06:25:21 $ docker top 5c4263d95e39b1fcb24183f4c9dda193182d404b3cb52319899c9117aa276793 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:25:21 ---> job-cost.sh 06:25:21 lf-activate-venv: SKIPPING 06:25:21 INFO: No Stack... 06:25:22 INFO: Retrieving Pricing Info for: v3-standard-2 06:25:22 INFO: Archiving Costs [Pipeline] sh 06:25:22 + cat /w/workspace/device-rest-go/19/archives/cost.csv 06:25:22 + cut -d, -f6 [Pipeline] lock 06:25:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] 06:25:22 Resource [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] did not exist. Created. 06:25:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:25:23 + echo total: 0.05999999865889549 [Pipeline] stash 06:25:23 Stashed 1 file(s) [Pipeline] } 06:25:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } 06:25:23 $ docker stop --time=1 5c4263d95e39b1fcb24183f4c9dda193182d404b3cb52319899c9117aa276793 06:25:24 $ docker rm -f 5c4263d95e39b1fcb24183f4c9dda193182d404b3cb52319899c9117aa276793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:25:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:25:56 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.0% of statements 06:25:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:26:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:26:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:26:23 ./bin/test-attribution-txt.sh [Pipeline] echo 06:26:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:26:24 $ docker stop --time=1 da28d7374d04e49ec6694682de30464a80236e130b6c1a0b25cd686cfdade77d 06:26:25 $ docker rm -f da28d7374d04e49ec6694682de30464a80236e130b6c1a0b25cd686cfdade77d [Pipeline] // withDockerContainer [Pipeline] sh 06:26:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:26:26 Warning: overwriting stash ‘coverage-report’ 06:26:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:26:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:26:28 + ls -al . 06:26:28 total 172 06:26:28 drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 06:26 . 06:26:28 drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 06:22 .. 06:26:28 -rw-rw-r-- 1 jenkins jenkins 151 Nov 16 06:22 .dockerignore 06:26:28 drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 06:22 .git 06:26:28 drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:22 .github 06:26:28 -rw-rw-r-- 1 jenkins jenkins 329 Nov 16 06:22 .gitignore 06:26:28 -rw-rw-r-- 1 jenkins jenkins 7095 Nov 16 06:22 Attribution.txt 06:26:28 -rw-rw-r-- 1 jenkins jenkins 7459 Nov 16 06:22 CHANGELOG.md 06:26:28 -rw-rw-r-- 1 jenkins jenkins 1649 Nov 16 06:22 Dockerfile 06:26:28 -rw-rw-r-- 1 jenkins jenkins 677 Nov 16 06:22 GOVERNANCE.md 06:26:28 -rw-rw-r-- 1 jenkins jenkins 680 Nov 16 06:22 Jenkinsfile 06:26:28 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 06:22 LICENSE 06:26:28 -rw-rw-r-- 1 jenkins jenkins 1078 Nov 16 06:22 Makefile 06:26:28 -rw-rw-r-- 1 jenkins jenkins 620 Nov 16 06:22 OWNERS.md 06:26:28 -rw-rw-r-- 1 jenkins jenkins 7661 Nov 16 06:22 README.md 06:26:28 -rw-rw-r-- 1 jenkins jenkins 12 Nov 16 06:20 VERSION 06:26:28 drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:22 bin 06:26:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 06:22 cmd 06:26:28 -rw-r--r-- 1 jenkins jenkins 9215 Nov 16 06:25 coverage.out 06:26:28 drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:22 driver 06:26:28 -rw-rw-r-- 1 jenkins jenkins 271 Nov 16 06:22 go.mod 06:26:28 -rw-rw-r-- 1 jenkins jenkins 49306 Nov 16 06:22 go.sum 06:26:28 drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 06:22 snap 06:26:28 -rw-rw-r-- 1 jenkins jenkins 713 Nov 16 06:22 version.go [Pipeline] isUnix [Pipeline] sh 06:26:28 + 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=7759c41568adf15208c0dd5cadcdb8f87895acd8 --label arch=arm64 --label version=2.0.1-dev.14 . 06:26:28 Sending build context to Docker daemon 131.1kB 06:26:28 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 06:26:28 Step 2/24 : FROM ${BASE} AS builder 06:26:28 ---> 7a1669b4f0af 06:26:28 Step 3/24 : ARG MAKE='make build' 06:26:28 ---> Running in fc7a93acd108 06:26:29 Removing intermediate container fc7a93acd108 06:26:29 ---> 09ff84ff797d 06:26:29 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:26:29 ---> Running in 6071b874d026 06:26:29 Removing intermediate container 6071b874d026 06:26:29 ---> 9920fdb2dd40 06:26:29 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:26:29 ---> Running in 48d1000578e3 06:26:30 Removing intermediate container 48d1000578e3 06:26:30 ---> d05695fb27d9 06:26:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:26:30 ---> Running in b4ac953d811a 06:26:32 Removing intermediate container b4ac953d811a 06:26:32 ---> e453fc2c6713 06:26:32 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:26:32 ---> Running in ad7b8e99e9f5 06:26:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:26:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:26:35 OK: 223 MiB in 56 packages 06:26:35 Removing intermediate container ad7b8e99e9f5 06:26:35 ---> f142afc27f0b 06:26:35 Step 8/24 : WORKDIR /device-rest-go 06:26:36 ---> Running in 35f82d7fe219 06:26:36 Removing intermediate container 35f82d7fe219 06:26:36 ---> 049d5c60c217 06:26:36 Step 9/24 : COPY . . 06:26:37 ---> 4ee97fd593c2 06:26:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:26:37 ---> Running in 11a96a2275c4 06:26:39 Removing intermediate container 11a96a2275c4 06:26:39 ---> 75ff2f07d802 06:26:39 Step 11/24 : RUN $MAKE 06:26:39 ---> Running in 72ffeaa74ca4 06:26:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.14" -o cmd/device-rest ./cmd 06:27:19 Removing intermediate container 72ffeaa74ca4 06:27:19 ---> 60d802197ffd 06:27:19 Step 12/24 : FROM alpine:3.14 06:27:19 3.14: Pulling from library/alpine 06:27:19 be307f383ecc: Pulling fs layer 06:27:19 be307f383ecc: Verifying Checksum 06:27:19 be307f383ecc: Download complete 06:27:20 be307f383ecc: Pull complete 06:27:20 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 06:27:20 Status: Downloaded newer image for alpine:3.14 06:27:20 ---> 5b8b7b635229 06:27:20 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:27:20 ---> Running in dda01df45b6b 06:27:20 Removing intermediate container dda01df45b6b 06:27:20 ---> 73cdb936b83e 06:27:20 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 06:27:21 ---> Running in 50ae9952ae66 06:27:21 Removing intermediate container 50ae9952ae66 06:27:21 ---> 12b8fd25719c 06:27:21 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:27:21 ---> Running in 3e4b54d37ec9 06:27:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:27:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:27:23 (1/6) Installing dumb-init (1.2.5-r1) 06:27:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:27:23 (3/6) Installing libsodium (1.0.18-r0) 06:27:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:27:23 (5/6) Installing libzmq (4.3.4-r0) 06:27:23 (6/6) Installing zeromq (4.3.4-r0) 06:27:23 Executing busybox-1.33.1-r6.trigger 06:27:23 OK: 8 MiB in 20 packages 06:27:24 Removing intermediate container 3e4b54d37ec9 06:27:24 ---> 3cfde34c0018 06:27:24 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 06:27:25 ---> 9559a8dcc4c0 06:27:25 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 06:27:26 ---> b9ff4e99354d 06:27:26 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 06:27:27 ---> 9e967c7d86c4 06:27:27 Step 19/24 : EXPOSE 59986 06:27:27 ---> Running in 1ac009e0c986 06:27:27 Removing intermediate container 1ac009e0c986 06:27:27 ---> 1142f1c27e1e 06:27:27 Step 20/24 : ENTRYPOINT ["/device-rest"] 06:27:27 ---> Running in d2b061e9ebd8 06:27:28 Removing intermediate container d2b061e9ebd8 06:27:28 ---> 953c63b9eabb 06:27:28 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:27:28 ---> Running in d1d57f55abf4 06:27:28 Removing intermediate container d1d57f55abf4 06:27:28 ---> 0733c3c9515b 06:27:28 Step 22/24 : LABEL arch=arm64 06:27:28 ---> Running in 3843849fa7fc 06:27:29 Removing intermediate container 3843849fa7fc 06:27:29 ---> 4108c302b3e5 06:27:29 Step 23/24 : LABEL git_sha=7759c41568adf15208c0dd5cadcdb8f87895acd8 06:27:29 ---> Running in 4079ff6c83f7 06:27:29 Removing intermediate container 4079ff6c83f7 06:27:29 ---> e89696d92bb7 06:27:29 Step 24/24 : LABEL version=2.0.1-dev.14 06:27:29 ---> Running in 1aa0866a2d01 06:27:30 Removing intermediate container 1aa0866a2d01 06:27:30 ---> ee5421befd85 06:27:30 [Warning] One or more build-args [ARCH] were not consumed 06:27:30 Successfully built ee5421befd85 06:27:30 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 06:27:30 provisioning config files... 06:27:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config1220283526351002325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:30 ---> docker-login.sh 06:27:30 nexus3.edgexfoundry.org:10001 06:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:31 Configure a credential helper to remove this warning. See 06:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:31 06:27:31 Login Succeeded 06:27:31 nexus3.edgexfoundry.org:10002 06:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:31 Configure a credential helper to remove this warning. See 06:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:31 06:27:31 Login Succeeded 06:27:31 nexus3.edgexfoundry.org:10003 06:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:32 Configure a credential helper to remove this warning. See 06:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:32 06:27:32 Login Succeeded 06:27:32 nexus3.edgexfoundry.org:10004 06:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:33 Configure a credential helper to remove this warning. See 06:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:33 06:27:33 Login Succeeded 06:27:33 docker.io 06:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:33 Configure a credential helper to remove this warning. See 06:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:33 06:27:33 Login Succeeded 06:27:33 ---> docker-login.sh ends [Pipeline] } 06:27:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:27:33 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 06:27:33 7759c41568adf15208c0dd5cadcdb8f87895acd8 06:27:33 latest 06:27:33 2.0.1-dev.14 06:27:33 7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 06:27:33 main 06:27:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:27:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] isUnix [Pipeline] sh 06:27:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8 06:27:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:27:34 9bfb94a15db2: Preparing 06:27:34 db44604b5955: Preparing 06:27:34 d4134784257a: Preparing 06:27:34 2cd8463f7037: Preparing 06:27:34 62170e181a92: Preparing 06:27:34 62170e181a92: Layer already exists 06:27:34 db44604b5955: Pushed 06:27:34 9bfb94a15db2: Pushed 06:27:35 2cd8463f7037: Pushed 06:27:37 d4134784257a: Pushed 06:27:37 7759c41568adf15208c0dd5cadcdb8f87895acd8: digest: sha256:419a21dc42577e32ac69240dcaf825cddc7bf5ae184c6f8ed98fe9c964a502a9 size: 1365 [Pipeline] isUnix [Pipeline] sh 06:27:38 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:27:38 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 06:27:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:27:38 9bfb94a15db2: Preparing 06:27:38 db44604b5955: Preparing 06:27:38 d4134784257a: Preparing 06:27:38 2cd8463f7037: Preparing 06:27:38 62170e181a92: Preparing 06:27:38 db44604b5955: Layer already exists 06:27:38 62170e181a92: Layer already exists 06:27:38 2cd8463f7037: Layer already exists 06:27:38 9bfb94a15db2: Layer already exists 06:27:38 d4134784257a: Layer already exists 06:27:38 latest: digest: sha256:419a21dc42577e32ac69240dcaf825cddc7bf5ae184c6f8ed98fe9c964a502a9 size: 1365 [Pipeline] isUnix [Pipeline] sh 06:27:39 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh 06:27:39 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.14 06:27:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:27:39 9bfb94a15db2: Preparing 06:27:39 db44604b5955: Preparing 06:27:39 d4134784257a: Preparing 06:27:39 2cd8463f7037: Preparing 06:27:39 62170e181a92: Preparing 06:27:39 62170e181a92: Layer already exists 06:27:39 db44604b5955: Layer already exists 06:27:39 2cd8463f7037: Layer already exists 06:27:39 9bfb94a15db2: Layer already exists 06:27:39 d4134784257a: Layer already exists 06:27:39 2.0.1-dev.14: digest: sha256:419a21dc42577e32ac69240dcaf825cddc7bf5ae184c6f8ed98fe9c964a502a9 size: 1365 [Pipeline] isUnix [Pipeline] sh 06:27:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh 06:27:40 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 06:27:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:27:40 9bfb94a15db2: Preparing 06:27:40 db44604b5955: Preparing 06:27:40 d4134784257a: Preparing 06:27:40 2cd8463f7037: Preparing 06:27:40 62170e181a92: Preparing 06:27:40 d4134784257a: Layer already exists 06:27:40 db44604b5955: Layer already exists 06:27:40 2cd8463f7037: Layer already exists 06:27:40 62170e181a92: Layer already exists 06:27:40 9bfb94a15db2: Layer already exists 06:27:40 7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14: digest: sha256:419a21dc42577e32ac69240dcaf825cddc7bf5ae184c6f8ed98fe9c964a502a9 size: 1365 [Pipeline] isUnix [Pipeline] sh 06:27:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 06:27:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 06:27:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:27:41 9bfb94a15db2: Preparing 06:27:41 db44604b5955: Preparing 06:27:41 d4134784257a: Preparing 06:27:41 2cd8463f7037: Preparing 06:27:41 62170e181a92: Preparing 06:27:41 9bfb94a15db2: Layer already exists 06:27:41 2cd8463f7037: Layer already exists 06:27:41 db44604b5955: Layer already exists 06:27:41 d4134784257a: Layer already exists 06:27:41 62170e181a92: Layer already exists 06:27:41 main: digest: sha256:419a21dc42577e32ac69240dcaf825cddc7bf5ae184c6f8ed98fe9c964a502a9 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:27:41 ===================================================== [Pipeline] echo 06:27:41 taggedImages: 06:27:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8 06:27:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 06:27:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.14 06:27:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 06:27:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:27:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:42 06:27:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:27:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:43 arm64: Pulling from edgex-lftools-log-publisher 06:27:43 448f6bf000e3: Pulling fs layer 06:27:43 f757da607395: Pulling fs layer 06:27:43 05883995daec: Pulling fs layer 06:27:43 8603b9c90790: Pulling fs layer 06:27:43 1560dd03e051: Pulling fs layer 06:27:43 27f5ce0e4adf: Pulling fs layer 06:27:43 c2d8d7efcc4b: Pulling fs layer 06:27:43 8603b9c90790: Waiting 06:27:43 1560dd03e051: Waiting 06:27:43 27f5ce0e4adf: Waiting 06:27:43 c2d8d7efcc4b: Waiting 06:27:43 f757da607395: Verifying Checksum 06:27:43 f757da607395: Download complete 06:27:43 8603b9c90790: Verifying Checksum 06:27:43 8603b9c90790: Download complete 06:27:43 1560dd03e051: Verifying Checksum 06:27:43 1560dd03e051: Download complete 06:27:43 05883995daec: Verifying Checksum 06:27:43 05883995daec: Download complete 06:27:43 27f5ce0e4adf: Verifying Checksum 06:27:43 27f5ce0e4adf: Download complete 06:27:43 448f6bf000e3: Verifying Checksum 06:27:43 448f6bf000e3: Download complete 06:27:46 c2d8d7efcc4b: Verifying Checksum 06:27:46 c2d8d7efcc4b: Download complete 06:27:47 448f6bf000e3: Pull complete 06:27:47 f757da607395: Pull complete 06:27:49 05883995daec: Pull complete 06:27:49 8603b9c90790: Pull complete 06:27:50 1560dd03e051: Pull complete 06:27:50 27f5ce0e4adf: Pull complete 06:28:05 c2d8d7efcc4b: Pull complete 06:28:05 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 06:28:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:28:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:28:06 prd-ubuntu18.04-docker-arm64-4c-16g-786 does not seem to be running inside a container 06:28:06 $ 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/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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 06:28:08 $ docker top 681a3e4de3442107e0fc8f8f3322963e98033da992b3ee2338f5dfe691854da2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:09 ---> job-cost.sh 06:28:09 lf-activate-venv: SKIPPING 06:28:09 INFO: No Stack... 06:28:10 INFO: Retrieving Pricing Info for: v3-standard-4 06:28:10 INFO: Archiving Costs [Pipeline] sh 06:28:11 + cat /w/workspace/device-rest-go/19/archives/cost.csv 06:28:11 + cut -d, -f6 [Pipeline] lock 06:28:11 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] 06:28:11 Resource [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] did not exist. Created. 06:28:11 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:28:12 /w/workspace/device-rest-go/19@tmp/durable-39c6b8d1/script.sh: 1: /w/workspace/device-rest-go/19@tmp/durable-39c6b8d1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:28:12 + echo total: 0.10999999940395355 [Pipeline] stash 06:28:12 Warning: overwriting stash ‘stack-cost’ 06:28:12 Stashed 1 file(s) [Pipeline] } 06:28:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } 06:28:12 $ docker stop --time=1 681a3e4de3442107e0fc8f8f3322963e98033da992b3ee2338f5dfe691854da2 06:28:14 $ docker rm -f 681a3e4de3442107e0fc8f8f3322963e98033da992b3ee2338f5dfe691854da2 [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 06:28:15 provisioning config files... 06:28:15 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6958982861660985579tmp [Pipeline] { [Pipeline] sh 06:28:15 + set +x 06:28:15 + curl -s https://codecov.io/bash 06:28:15 + bash -s -- 06:28:15 06:28:15 _____ _ 06:28:15 / ____| | | 06:28:15 | | ___ __| | ___ ___ _____ __ 06:28:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:28:15 | |___| (_) | (_| | __/ (_| (_) \ V / 06:28:15 \_____\___/ \__,_|\___|\___\___/ \_/ 06:28:15 Bash-1.0.6 06:28:15 06:28:15 06:28:15 ==> git version 2.24.4 found 06:28:15 ==> 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 06:28:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:28:15 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:28:15 ==> Jenkins CI detected. 06:28:15 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 06:28:15 project root: . 06:28:15 --> token set from env 06:28:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:28:15 ==> Running gcov in . (disable via -X gcov) 06:28:15 ==> Python coveragepy not found 06:28:15 ==> Searching for coverage reports in: 06:28:15 + . 06:28:15 -> Found 1 reports 06:28:15 ==> Detecting git/mercurial file structure 06:28:15 ==> Reading reports 06:28:15 + ./coverage.out bytes=9215 06:28:15 ==> Appending adjustments 06:28:15 https://docs.codecov.io/docs/fixing-reports 06:28:15 + Found adjustments 06:28:15 ==> Gzipping contents 06:28:15 4.0K /tmp/codecov.cVR7Ay.gz 06:28:15 ==> Uploading reports 06:28:15 url: https://codecov.io 06:28:15 query: branch=main&commit=7759c41568adf15208c0dd5cadcdb8f87895acd8&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:28:15 -> Pinging Codecov 06:28:15 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=7759c41568adf15208c0dd5cadcdb8f87895acd8&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:28:16 -> Uploading to 06:28:16 https://storage.googleapis.com/codecov/v4/raw/2021-11-16/4E5D53B4F1F92C436F7061BF334D961C/7759c41568adf15208c0dd5cadcdb8f87895acd8/c98e654b-2aeb-46c3-82e5-7f192b511474.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211116T062816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b65c884e2f1908969305199e2add5fd3b8597298e0be89686d9eb51d048f5709 06:28:16 % Total % Received % Xferd Average Speed Time Time Time Current 06:28:16 Dload Upload Total Spent Left Speed 06:28:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1828 0 0 100 1828 0 5627 --:--:-- --:--:-- --:--:-- 5641 06:28:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] } 06:28:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:28:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:28:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:28:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:28:17 06:28:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:28:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:28:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:28:17 188c0c94c7c5: Pulling fs layer 06:28:17 0ef7d3d256c8: Pulling fs layer 06:28:17 de9db76c5a1d: Pulling fs layer 06:28:17 0eba1c9be4d2: Pulling fs layer 06:28:17 0d57e429df01: Pulling fs layer 06:28:17 4e4be7b47b0d: Pulling fs layer 06:28:17 e1f770b5df2f: Pulling fs layer 06:28:17 85a0685a4137: Pulling fs layer 06:28:17 0eba1c9be4d2: Waiting 06:28:17 0d57e429df01: Waiting 06:28:17 4e4be7b47b0d: Waiting 06:28:17 e1f770b5df2f: Waiting 06:28:17 85a0685a4137: Waiting 06:28:17 de9db76c5a1d: Verifying Checksum 06:28:17 de9db76c5a1d: Download complete 06:28:17 0ef7d3d256c8: Verifying Checksum 06:28:17 0ef7d3d256c8: Download complete 06:28:17 0d57e429df01: Verifying Checksum 06:28:17 0d57e429df01: Download complete 06:28:17 4e4be7b47b0d: Verifying Checksum 06:28:17 4e4be7b47b0d: Download complete 06:28:17 188c0c94c7c5: Verifying Checksum 06:28:17 188c0c94c7c5: Download complete 06:28:17 e1f770b5df2f: Verifying Checksum 06:28:17 e1f770b5df2f: Download complete 06:28:17 188c0c94c7c5: Pull complete 06:28:18 0ef7d3d256c8: Pull complete 06:28:18 0eba1c9be4d2: Verifying Checksum 06:28:18 0eba1c9be4d2: Download complete 06:28:18 de9db76c5a1d: Pull complete 06:28:18 85a0685a4137: Verifying Checksum 06:28:18 85a0685a4137: Download complete 06:28:22 0eba1c9be4d2: Pull complete 06:28:22 0d57e429df01: Pull complete 06:28:22 4e4be7b47b0d: Pull complete 06:28:23 e1f770b5df2f: Pull complete 06:28:27 85a0685a4137: Pull complete 06:28:27 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:28:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:28:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:28:27 prd-centos7-docker-4c-2g-785 does not seem to be running inside a container 06:28:27 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:28:30 $ docker top b0ea50a13fca613dc82b349bacf2267da8ad1195ec7f63212723466485cb7b86 -eo pid,comm [Pipeline] { [Pipeline] echo 06:28:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:28:30 + set -o pipefail 06:28:30 + snyk monitor '--org=edgex-jenkins' 06:28:35 06:28:35 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 06:28:35 06:28:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/51c81a7b-fccf-426d-93d3-47a27a92d8e1 06:28:35 06:28:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:28:35 06:28:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:28:35 06:28:35 [Pipeline] } 06:28:35 $ docker stop --time=1 b0ea50a13fca613dc82b349bacf2267da8ad1195ec7f63212723466485cb7b86 06:28:37 $ docker rm -f b0ea50a13fca613dc82b349bacf2267da8ad1195ec7f63212723466485cb7b86 [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 06:28:38 + git log --format=format:%s -1 7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] isUnix [Pipeline] sh 06:28:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:28:38 . [Pipeline] withDockerContainer 06:28:39 prd-centos7-docker-4c-2g-785 does not seem to be running inside a container 06:28:39 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:28:39 $ docker top 29d8780fa96da27c8fbdda2d20a66a6094c15c951c10139cb0e6871b8aa5bb47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:39 [ssh-agent] Looking for ssh-agent implementation... 06:28:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:39 $ docker exec 29d8780fa96da27c8fbdda2d20a66a6094c15c951c10139cb0e6871b8aa5bb47 ssh-agent 06:28:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKFCJbP/agent.14 06:28:39 SSH_AGENT_PID=21 06:28:39 Running ssh-add (command line suppressed) 06:28:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8194935039537904147.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8194935039537904147.key) 06:28:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:40 + git semver tag 06:28:40 # -> Open(): unable to determine branch for HEAD 06:28:40 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 06:28:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 06:28:40 # $SEMVER_REMOTE_NAME = origin 06:28:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:28:40 # $SEMVER_USER_NAME = edgex-jenkins 06:28:40 # $SEMVER_BRANCH = main 06:28:40 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 06:28:40 # 7759c41568adf15208c0dd5cadcdb8f87895acd8 HEAD 06:28:40 # -> Force: false 06:28:40 # ca8dc01cf88f1dbdb7ee32d104c820a967cec8a8 refs/tags/v2.0.1-dev.14 [Pipeline] } 06:28:40 $ docker exec --env ******** --env ******** 29d8780fa96da27c8fbdda2d20a66a6094c15c951c10139cb0e6871b8aa5bb47 ssh-agent -k 06:28:40 unset SSH_AUTH_SOCK; 06:28:40 unset SSH_AGENT_PID; 06:28:40 echo Agent pid 21 killed; 06:28:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:40 + git semver [Pipeline] } 06:28:40 $ docker stop --time=1 29d8780fa96da27c8fbdda2d20a66a6094c15c951c10139cb0e6871b8aa5bb47 06:28:41 $ docker rm -f 29d8780fa96da27c8fbdda2d20a66a6094c15c951c10139cb0e6871b8aa5bb47 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:28:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:42 06:28:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:28:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:42 0.23.1-centos7: Pulling from edgex-lftools 06:28:42 ab5ef0e58194: Pulling fs layer 06:28:42 9712f1f96733: Pulling fs layer 06:28:42 63f879dbbcfc: Pulling fs layer 06:28:42 0d9ebad4ef96: Pulling fs layer 06:28:42 e9a5061849ea: Pulling fs layer 06:28:42 d747dcd14b5f: Pulling fs layer 06:28:42 2de7ff778b66: Pulling fs layer 06:28:42 0d9ebad4ef96: Waiting 06:28:42 e9a5061849ea: Waiting 06:28:42 d747dcd14b5f: Waiting 06:28:42 2de7ff778b66: Waiting 06:28:42 9712f1f96733: Verifying Checksum 06:28:42 9712f1f96733: Download complete 06:28:42 63f879dbbcfc: Verifying Checksum 06:28:42 63f879dbbcfc: Download complete 06:28:43 0d9ebad4ef96: Verifying Checksum 06:28:43 0d9ebad4ef96: Download complete 06:28:43 d747dcd14b5f: Verifying Checksum 06:28:43 d747dcd14b5f: Download complete 06:28:43 e9a5061849ea: Verifying Checksum 06:28:43 e9a5061849ea: Download complete 06:28:43 ab5ef0e58194: Verifying Checksum 06:28:43 ab5ef0e58194: Download complete 06:28:43 2de7ff778b66: Verifying Checksum 06:28:43 2de7ff778b66: Download complete 06:28:46 ab5ef0e58194: Pull complete 06:28:46 9712f1f96733: Pull complete 06:28:47 63f879dbbcfc: Pull complete 06:28:51 0d9ebad4ef96: Pull complete 06:28:51 e9a5061849ea: Pull complete 06:28:51 d747dcd14b5f: Pull complete 06:28:53 2de7ff778b66: Pull complete 06:28:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:28:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:28:53 prd-centos7-docker-4c-2g-785 does not seem to be running inside a container 06:28:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:28:56 $ docker top 0d648b28d74271b6edb63538157d9c65c1869056c892b162c5d559cc6e440672 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:28:56 provisioning config files... 06:28:56 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3461029859892355140tmp 06:28:56 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1554303517036991629tmp 06:28:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2528404185568270398tmp [Pipeline] { [Pipeline] echo 06:28:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:28:57 ---> sigul-configuration.sh 06:28:57 gpg: directory `/root/.gnupg' created 06:28:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:28:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:28:57 gpg: keyring `/root/.gnupg/secring.gpg' created 06:28:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:28:57 gpg: CAST5 encrypted data 06:28:57 gpg: encrypted with 1 passphrase 06:28:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:28:57 + mkdir /home/jenkins 06:28:57 + mkdir /home/jenkins/sigul [Pipeline] sh 06:28:57 + 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 06:28:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:28:58 ---> sigul-install.sh 06:28:58 Sigul already installed; skipping installation. [Pipeline] sh 06:28:58 + git tag --list 06:28:58 v1.0.0 06:28:58 v1.1.0 06:28:58 v1.1.1 06:28:58 v1.1.2 06:28:58 v1.2.0 06:28:58 v1.2.1 06:28:58 v2.0.0 06:28:58 v2.0.1-dev.1 06:28:58 v2.0.1-dev.10 06:28:58 v2.0.1-dev.11 06:28:58 v2.0.1-dev.12 06:28:58 v2.0.1-dev.13 06:28:58 v2.0.1-dev.14 06:28:58 v2.0.1-dev.2 06:28:58 v2.0.1-dev.3 06:28:58 v2.0.1-dev.4 06:28:58 v2.0.1-dev.5 06:28:58 v2.0.1-dev.6 06:28:58 v2.0.1-dev.7 06:28:58 v2.0.1-dev.8 06:28:58 v2.0.1-dev.9 [Pipeline] sh 06:28:58 + lftools sign git-tag v2.0.1-dev.14 06:28:59 Signing Git tag with Sigul... 06:28:59 Signing v2.0.1-dev.14 [Pipeline] echo 06:29:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:29:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:29:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:29:00 $ docker stop --time=1 0d648b28d74271b6edb63538157d9c65c1869056c892b162c5d559cc6e440672 06:29:01 $ docker rm -f 0d648b28d74271b6edb63538157d9c65c1869056c892b162c5d559cc6e440672 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 06:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:29:02 . [Pipeline] withDockerContainer 06:29:02 prd-centos7-docker-4c-2g-785 does not seem to be running inside a container 06:29:02 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:29:02 $ docker top 9d90a4b8c374c7d5cd6f1df71daf580e194911b192a9cd301e209315a59c5f8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:29:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:02 [ssh-agent] Looking for ssh-agent implementation... 06:29:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:02 $ docker exec 9d90a4b8c374c7d5cd6f1df71daf580e194911b192a9cd301e209315a59c5f8c ssh-agent 06:29:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXojONmk/agent.15 06:29:02 SSH_AGENT_PID=22 06:29:03 Running ssh-add (command line suppressed) 06:29:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_299095565476508042.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_299095565476508042.key) 06:29:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:03 + git semver bump pre 06:29:03 # -> Open(): unable to determine branch for HEAD 06:29:03 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 06:29:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 06:29:03 # $SEMVER_REMOTE_NAME = origin 06:29:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:29:03 # $SEMVER_USER_NAME = edgex-jenkins 06:29:03 # $SEMVER_BRANCH = main 06:29:03 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 06:29:03 2.0.1-dev.15 [Pipeline] } 06:29:03 $ docker exec --env ******** --env ******** 9d90a4b8c374c7d5cd6f1df71daf580e194911b192a9cd301e209315a59c5f8c ssh-agent -k 06:29:03 unset SSH_AUTH_SOCK; 06:29:03 unset SSH_AGENT_PID; 06:29:03 echo Agent pid 22 killed; 06:29:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:29:03 + git semver [Pipeline] } 06:29:03 $ docker stop --time=1 9d90a4b8c374c7d5cd6f1df71daf580e194911b192a9cd301e209315a59c5f8c 06:29:05 $ docker rm -f 9d90a4b8c374c7d5cd6f1df71daf580e194911b192a9cd301e209315a59c5f8c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 06:29:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:29:05 . [Pipeline] withDockerContainer 06:29:05 prd-centos7-docker-4c-2g-785 does not seem to be running inside a container 06:29:05 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:29:05 $ docker top 3629f2cc276b60e6ea367f7d0d7aa910827c7c920a8cb335836bd9de8d1f7dfd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:29:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:06 [ssh-agent] Looking for ssh-agent implementation... 06:29:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:06 $ docker exec 3629f2cc276b60e6ea367f7d0d7aa910827c7c920a8cb335836bd9de8d1f7dfd ssh-agent 06:29:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpMDLda/agent.13 06:29:06 SSH_AGENT_PID=20 06:29:06 Running ssh-add (command line suppressed) 06:29:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5460913959108101996.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5460913959108101996.key) 06:29:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:06 + git semver push 06:29:06 # -> Open(): unable to determine branch for HEAD 06:29:06 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 06:29:06 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 06:29:06 # $SEMVER_REMOTE_NAME = origin 06:29:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:29:06 # $SEMVER_USER_NAME = edgex-jenkins 06:29:06 # $SEMVER_BRANCH = main 06:29:06 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 06:29:08 $ docker exec --env ******** --env ******** 3629f2cc276b60e6ea367f7d0d7aa910827c7c920a8cb335836bd9de8d1f7dfd ssh-agent -k 06:29:08 unset SSH_AUTH_SOCK; 06:29:08 unset SSH_AGENT_PID; 06:29:08 echo Agent pid 20 killed; 06:29:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:29:08 + git semver [Pipeline] } 06:29:08 $ docker stop --time=1 3629f2cc276b60e6ea367f7d0d7aa910827c7c920a8cb335836bd9de8d1f7dfd 06:29:09 $ docker rm -f 3629f2cc276b60e6ea367f7d0d7aa910827c7c920a8cb335836bd9de8d1f7dfd [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 06:29:10 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 06:29:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:29:11 ---> package-listing.sh 06:29:11 ++ facter osfamily 06:29:11 ++ tr '[:upper:]' '[:lower:]' 06:29:11 + OS_FAMILY=redhat 06:29:11 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 06:29:11 + START_PACKAGES=/tmp/packages_start.txt 06:29:11 + END_PACKAGES=/tmp/packages_end.txt 06:29:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:29:11 + PACKAGES=/tmp/packages_start.txt 06:29:11 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:29:11 + PACKAGES=/tmp/packages_end.txt 06:29:11 + case "${OS_FAMILY}" in 06:29:11 + rpm -qa 06:29:11 + sort 06:29:12 + '[' -f /tmp/packages_start.txt ']' 06:29:12 + '[' -f /tmp/packages_end.txt ']' 06:29:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:29:12 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:29:12 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 06:29:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 06:29:12 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 06:29:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:29:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:29:13 06:29:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:29:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:29:13 latest: Pulling from edgex-lftools-log-publisher 06:29:13 b4d181a07f80: Pulling fs layer 06:29:13 a1111a8f2ec3: Pulling fs layer 06:29:13 ed53099fbce6: Pulling fs layer 06:29:13 dc539afda2c1: Pulling fs layer 06:29:13 77bc0d833cb6: Pulling fs layer 06:29:13 9065ff56babe: Pulling fs layer 06:29:13 d287ab97295c: Pulling fs layer 06:29:13 dc539afda2c1: Waiting 06:29:13 77bc0d833cb6: Waiting 06:29:13 9065ff56babe: Waiting 06:29:13 d287ab97295c: Waiting 06:29:13 a1111a8f2ec3: Verifying Checksum 06:29:13 a1111a8f2ec3: Download complete 06:29:13 dc539afda2c1: Verifying Checksum 06:29:13 dc539afda2c1: Download complete 06:29:13 ed53099fbce6: Verifying Checksum 06:29:13 ed53099fbce6: Download complete 06:29:13 9065ff56babe: Verifying Checksum 06:29:13 9065ff56babe: Download complete 06:29:13 77bc0d833cb6: Verifying Checksum 06:29:13 77bc0d833cb6: Download complete 06:29:13 b4d181a07f80: Download complete 06:29:14 d287ab97295c: Verifying Checksum 06:29:14 d287ab97295c: Download complete 06:29:15 b4d181a07f80: Pull complete 06:29:15 a1111a8f2ec3: Pull complete 06:29:15 ed53099fbce6: Pull complete 06:29:16 dc539afda2c1: Pull complete 06:29:16 77bc0d833cb6: Pull complete 06:29:16 9065ff56babe: Pull complete 06:29:21 d287ab97295c: Pull complete 06:29:21 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 06:29:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:29:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:29:21 prd-centos7-docker-4c-2g-785 does not seem to be running inside a container 06:29:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:29:24 $ docker top d3e51f3cc44a4c3dc7784cedf28f03f9701d2ac815fbff95bcf84c586a9219f9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:24 + touch /tmp/pre-build-complete [Pipeline] sh 06:29:24 + mkdir -p /var/log/sysstat [Pipeline] sh 06:29:25 + ls /var/log/sa-host 06:29:25 + sadf -c /var/log/sa-host/sa16 06:29:25 file_magic: OK 06:29:25 HZ: Using current value: 100 06:29:25 file_header: OK 06:29:25 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 06:29:25 Statistics: 06:29:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:29:25 File successfully converted to sysstat format version 12.0.3 06:29:25 + sadf -c /var/log/sa-host/sa30 06:29:25 file_magic: OK 06:29:25 HZ: Using current value: 100 06:29:25 file_header: OK 06:29:25 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 06:29:25 Statistics: 06:29:25 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:29:25 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:29:25 provisioning config files... 06:29:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8496660881788457521tmp [Pipeline] { [Pipeline] echo 06:29:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:29:25 ---> create-netrc.sh [Pipeline] } 06:29:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:29:26 ---> python-tools-install.sh [Pipeline] echo 06:29:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:29:26 ---> sudo-logs.sh 06:29:26 Archiving 'sudo' log.. 06:29:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-785.novalocal: Name or service not known 06:29:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-785.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 06:29:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:29:26 ---> job-cost.sh 06:29:26 lf-activate-venv: SKIPPING 06:29:26 DEBUG: total: 0.10999999940395355 06:29:26 INFO: Retrieving Stack Cost... 06:29:26 INFO: Retrieving Pricing Info for: v3-standard-2 06:29:27 INFO: Archiving Costs [Pipeline] echo 06:29:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:29:27 ---> logs-deploy.sh 06:29:27 lf-activate-venv: SKIPPING 06:29:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/19 06:29:27 INFO: archiving workspace using pattern(s): 06:29:28 Archives upload complete. 06:29:28 INFO: archiving logs to Nexus