Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e17efc4e40053c7710c451774e80e9bfae25c24 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-ssh5936995707307652972.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh4354261793143087868.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh6656079407065936243.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh2951945664013474642.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-ssh1733499664604069397.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.17 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-2100 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-ssh3523915636250043679.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 7e17efc4e40053c7710c451774e80e9bfae25c24 (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 7e17efc4e40053c7710c451774e80e9bfae25c24 # timeout=10 Commit message: "Merge pull request #152 from ernestojeda/go-1_17-dockerfile-changes" > git rev-list --no-walk 736f30166781926f3db44e01dabdb26e1e8c7632 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:50:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:50:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:50:25 ========================================================= 20:50:25 EdgeX Global Pipelines Version Info 20:50:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:50:26 ------------------- 20:50:26 stable info: 20:50:26 ------------------- 20:50:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:50:26 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:50:26 Message: update stable to v1.0.219 20:50:27 ------------------- 20:50:27 experimental info: 20:50:27 ------------------- 20:50:27 Commited By: **** collab-it+edgex@linuxfoundation.org 20:50:27 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:50:27 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e17efc [Pipeline] echo 20:50:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:27 provisioning config files... 20:50:27 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5802059839432564248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:28 ---> docker-login.sh 20:50:28 nexus3.edgexfoundry.org:10001 20:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:28 Configure a credential helper to remove this warning. See 20:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:28 20:50:28 Login Succeeded 20:50:28 nexus3.edgexfoundry.org:10002 20:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:28 Configure a credential helper to remove this warning. See 20:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:28 20:50:28 Login Succeeded 20:50:28 nexus3.edgexfoundry.org:10003 20:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:28 Configure a credential helper to remove this warning. See 20:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:28 20:50:28 Login Succeeded 20:50:28 nexus3.edgexfoundry.org:10004 20:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:28 Configure a credential helper to remove this warning. See 20:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:28 20:50:28 Login Succeeded 20:50:28 docker.io 20:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:29 Configure a credential helper to remove this warning. See 20:50:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:29 20:50:29 Login Succeeded 20:50:29 ---> docker-login.sh ends [Pipeline] } 20:50:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:50:29 + git rev-list -1 --merges 7e17efc4e40053c7710c451774e80e9bfae25c24~1..7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] echo 20:50:29 -----------> git rev-list -1 --merges 7e17efc4e40053c7710c451774e80e9bfae25c24~1..7e17efc4e40053c7710c451774e80e9bfae25c24 7e17efc4e40053c7710c451774e80e9bfae25c24 20:50:29 7e17efc4e40053c7710c451774e80e9bfae25c24 [false] [Pipeline] sh 20:50:30 + git log --format=format:%s -1 7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] echo 20:50:30 ========================================================= 20:50:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:50:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:30 + git log --format=format:%s -1 7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] echo 20:50:30 [semverPrep] GIT_COMMIT: 7e17efc4e40053c7710c451774e80e9bfae25c24, Commit Message: Merge pull request #152 from ernestojeda/go-1_17-dockerfile-changes [Pipeline] echo 20:50:30 [semverPrep] This is not a build commit. [Pipeline] sh 20:50:30 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:50:30 + grep -v github /etc/ssh/ssh_known_hosts 20:50:30 + '[' -e /tmp/ssh_known_hosts ']' 20:50:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:50:30 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:50:30 + sudo tee -a /etc/ssh/ssh_known_hosts 20:50:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:50:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:50:31 20:50:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:50:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:50:31 latest: Pulling from edgex-devops/git-semver 20:50:31 a0d0a0d46f8b: Pulling fs layer 20:50:31 3e5f54012d9b: Pulling fs layer 20:50:31 4c7163046ea9: Pulling fs layer 20:50:31 0c2d73faf560: Pulling fs layer 20:50:31 0c2d73faf560: Waiting 20:50:31 3e5f54012d9b: Verifying Checksum 20:50:31 3e5f54012d9b: Download complete 20:50:31 a0d0a0d46f8b: Verifying Checksum 20:50:31 a0d0a0d46f8b: Download complete 20:50:31 0c2d73faf560: Verifying Checksum 20:50:31 0c2d73faf560: Download complete 20:50:31 4c7163046ea9: Verifying Checksum 20:50:31 4c7163046ea9: Download complete 20:50:31 a0d0a0d46f8b: Pull complete 20:50:31 3e5f54012d9b: Pull complete 20:50:32 4c7163046ea9: Pull complete 20:50:32 0c2d73faf560: Pull complete 20:50:32 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:50:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:50:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:50:32 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 20:50:32 $ 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 20:50:33 $ docker top 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:50:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:33 [ssh-agent] Looking for ssh-agent implementation... 20:50:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:33 $ docker exec 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 ssh-agent 20:50:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOPjgBB/agent.13 20:50:33 SSH_AGENT_PID=19 20:50:33 Running ssh-add (command line suppressed) 20:50:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7536634261508951512.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7536634261508951512.key) 20:50:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:33 + git tag --points-at HEAD [Pipeline] } 20:50:33 $ docker exec --env ******** --env ******** 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 ssh-agent -k 20:50:34 unset SSH_AUTH_SOCK; 20:50:34 unset SSH_AGENT_PID; 20:50:34 echo Agent pid 19 killed; 20:50:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:50:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:34 [ssh-agent] Looking for ssh-agent implementation... 20:50:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:34 $ docker exec 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 ssh-agent 20:50:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXchiHpN/agent.51 20:50:34 SSH_AGENT_PID=58 20:50:34 Running ssh-add (command line suppressed) 20:50:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3536534447462067675.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3536534447462067675.key) 20:50:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:34 + git semver init 20:50:34 # -> Open(): unable to determine branch for HEAD 20:50:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:50:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:50:34 # $SEMVER_REMOTE_NAME = origin 20:50:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:50:34 # $SEMVER_USER_NAME = edgex-jenkins 20:50:34 # $SEMVER_BRANCH = main 20:50:34 # $SEMVER_TEMP = /tmp/semver-719341042 20:50:34 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:50:36 # '/tmp/semver-719341042' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 20:50:36 # -> Force: false 20:50:36 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 20:50:36 $ docker exec --env ******** --env ******** 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 ssh-agent -k 20:50:36 unset SSH_AUTH_SOCK; 20:50:36 unset SSH_AGENT_PID; 20:50:36 echo Agent pid 58 killed; 20:50:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:50:36 + git semver [Pipeline] } 20:50:36 $ docker stop --time=1 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 20:50:37 $ docker rm -f 94965e35a98602aa1f3d337b573e31981092962df7fceb7f447c84cc649ed456 [Pipeline] // withDockerContainer [Pipeline] sh 20:50:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:50:38 Stashed 1 file(s) [Pipeline] echo 20:50:38 [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:38 provisioning config files... 20:50:38 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4290240713945734064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:38 ---> docker-login.sh 20:50:38 nexus3.edgexfoundry.org:10001 20:50:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:38 Configure a credential helper to remove this warning. See 20:50:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:38 20:50:38 Login Succeeded 20:50:38 nexus3.edgexfoundry.org:10002 20:50:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:38 Configure a credential helper to remove this warning. See 20:50:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:38 20:50:38 Login Succeeded 20:50:38 nexus3.edgexfoundry.org:10003 20:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:39 Configure a credential helper to remove this warning. See 20:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:39 20:50:39 Login Succeeded 20:50:39 nexus3.edgexfoundry.org:10004 20:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:39 Configure a credential helper to remove this warning. See 20:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:39 20:50:39 Login Succeeded 20:50:39 docker.io 20:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:39 Configure a credential helper to remove this warning. See 20:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:39 20:50:39 Login Succeeded 20:50:39 ---> docker-login.sh ends [Pipeline] } 20:50:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:50:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:39 ========================================================= 20:50:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:50:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:50:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 20:50:40 Sending build context to Docker daemon 10.53MB 20:50:40 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:50:40 Step 2/12 : FROM ${BASE} AS builder 20:50:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:50:40 59bf1c3509f3: Pulling fs layer 20:50:40 666ba61612fd: Pulling fs layer 20:50:40 8ed8ca486205: Pulling fs layer 20:50:40 4fe6c5a15a65: Pulling fs layer 20:50:40 22a0e8bec74d: Pulling fs layer 20:50:40 f965cba54748: Pulling fs layer 20:50:40 861ffc35075e: Pulling fs layer 20:50:40 4b385c91608e: Pulling fs layer 20:50:40 560528eb2ebb: Pulling fs layer 20:50:40 4fe6c5a15a65: Waiting 20:50:40 22a0e8bec74d: Waiting 20:50:40 f965cba54748: Waiting 20:50:40 861ffc35075e: Waiting 20:50:40 4b385c91608e: Waiting 20:50:40 560528eb2ebb: Waiting 20:50:40 8ed8ca486205: Verifying Checksum 20:50:40 8ed8ca486205: Download complete 20:50:40 666ba61612fd: Download complete 20:50:40 22a0e8bec74d: Verifying Checksum 20:50:40 22a0e8bec74d: Download complete 20:50:40 f965cba54748: Verifying Checksum 20:50:40 f965cba54748: Download complete 20:50:40 59bf1c3509f3: Verifying Checksum 20:50:40 59bf1c3509f3: Download complete 20:50:40 861ffc35075e: Verifying Checksum 20:50:40 861ffc35075e: Download complete 20:50:40 4b385c91608e: Verifying Checksum 20:50:40 4b385c91608e: Download complete 20:50:40 59bf1c3509f3: Pull complete 20:50:40 4fe6c5a15a65: Verifying Checksum 20:50:40 4fe6c5a15a65: Download complete 20:50:40 560528eb2ebb: Verifying Checksum 20:50:40 560528eb2ebb: Download complete 20:50:40 666ba61612fd: Pull complete 20:50:41 8ed8ca486205: Pull complete 20:50:45 4fe6c5a15a65: Pull complete 20:50:45 22a0e8bec74d: Pull complete 20:50:45 f965cba54748: Pull complete 20:50:45 861ffc35075e: Pull complete 20:50:45 4b385c91608e: Pull complete 20:50:47 560528eb2ebb: Pull complete 20:50:47 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 20:50:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:50:47 ---> dd4a08f94e63 20:50:47 Step 3/12 : ARG MAKE='make build' 20:50:52 ---> Running in 01c7ae9ad6a6 20:50:52 Removing intermediate container 01c7ae9ad6a6 20:50:52 ---> 93f551fec3c4 20:50:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:50:52 ---> Running in 5c0049c459da 20:50:52 Removing intermediate container 5c0049c459da 20:50:52 ---> bab2e21cb753 20:50:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:50:52 ---> Running in 83db7ef09f54 20:50:52 Removing intermediate container 83db7ef09f54 20:50:52 ---> 87abac39a7b4 20:50:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:50:52 ---> Running in cc04edadd070 20:50:52 Removing intermediate container cc04edadd070 20:50:52 ---> 7d511927b41b 20:50:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:52 ---> Running in ffae765c70d4 20:50:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:50:53 Still waiting to schedule task 20:50:53 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:50:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:50:53 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:50:54 (2/4) Installing libedit (20210910.3.1-r0) 20:50:54 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:50:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:50:54 Executing busybox-1.34.1-r3.trigger 20:50:54 OK: 224 MiB in 56 packages 20:50:54 Removing intermediate container ffae765c70d4 20:50:54 ---> 21fa00b16511 20:50:54 Step 8/12 : WORKDIR /device-rest-go 20:50:54 ---> Running in 8caa9020c2d7 20:50:54 Removing intermediate container 8caa9020c2d7 20:50:54 ---> 6ed00bf6e07e 20:50:54 Step 9/12 : COPY go.mod vendor* ./ 20:50:54 ---> dfa7628a0976 20:50:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:50:54 ---> Running in 5ce423bb4f63 20:51:27 Removing intermediate container 5ce423bb4f63 20:51:27 ---> 3dad5230ef13 20:51:27 Step 11/12 : COPY . . 20:51:27 ---> 1b741561bab7 20:51:27 Step 12/12 : RUN $MAKE 20:51:27 ---> Running in 200f34db7add 20:51:27 noop 20:51:27 Removing intermediate container 200f34db7add 20:51:27 ---> 86f8d9cbf396 20:51:27 Successfully built 86f8d9cbf396 20:51:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:51:27 + docker inspect -f . ci-base-image-x86_64 20:51:27 . [Pipeline] withDockerContainer 20:51:27 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 20:51:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:51:27 $ docker top 526f4efad80c8d3c05ee7ac70c904553d7949eb1706bab0413f360185bc475fa -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:28 + go version 20:51:28 go version go1.17.6 linux/amd64 [Pipeline] } 20:51:28 $ docker stop --time=1 526f4efad80c8d3c05ee7ac70c904553d7949eb1706bab0413f360185bc475fa 20:51:29 $ docker rm -f 526f4efad80c8d3c05ee7ac70c904553d7949eb1706bab0413f360185bc475fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:51:29 + docker inspect -f . ci-base-image-x86_64 20:51:29 . [Pipeline] withDockerContainer 20:51:29 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 20:51:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:51:30 $ docker top 291a7c29f60f37c8667a470855bb961bc0f7be20142b8c61def502467e401177 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:51:30 + make test 20:51:30 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:51:30 ? github.com/edgexfoundry/device-rest-go [no test files] 20:51:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:51:45 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements 20:51:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:51:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:51:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:51:51 ./bin/test-attribution-txt.sh [Pipeline] echo 20:51:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:51:51 $ docker stop --time=1 291a7c29f60f37c8667a470855bb961bc0f7be20142b8c61def502467e401177 20:51:52 $ docker rm -f 291a7c29f60f37c8667a470855bb961bc0f7be20142b8c61def502467e401177 [Pipeline] // withDockerContainer [Pipeline] sh 20:51:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:51:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:51:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:51:54 + ls -al . 20:51:54 total 148 20:51:54 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 20:51 . 20:51:54 drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 20:50 .. 20:51:54 -rw-rw-r--. 1 jenkins jenkins 7095 Jan 19 20:50 Attribution.txt 20:51:54 drwxrwxr-x. 2 jenkins jenkins 37 Jan 19 20:50 bin 20:51:54 -rw-rw-r--. 1 jenkins jenkins 7459 Jan 19 20:50 CHANGELOG.md 20:51:54 drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 20:50 cmd 20:51:54 -rw-r--r--. 1 jenkins jenkins 9215 Jan 19 20:51 coverage.out 20:51:54 -rw-rw-r--. 1 jenkins jenkins 1672 Jan 19 20:50 Dockerfile 20:51:54 -rw-rw-r--. 1 jenkins jenkins 151 Jan 19 20:50 .dockerignore 20:51:54 drwxrwxr-x. 2 jenkins jenkins 76 Jan 19 20:50 driver 20:51:54 drwxrwxr-x. 8 jenkins jenkins 162 Jan 19 20:50 .git 20:51:54 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 20:50 .github 20:51:54 -rw-rw-r--. 1 jenkins jenkins 329 Jan 19 20:50 .gitignore 20:51:54 -rw-rw-r--. 1 jenkins jenkins 277 Jan 19 20:50 go.mod 20:51:54 -rw-rw-r--. 1 jenkins jenkins 49330 Jan 19 20:50 go.sum 20:51:54 -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 20:50 GOVERNANCE.md 20:51:54 -rw-rw-r--. 1 jenkins jenkins 680 Jan 19 20:50 Jenkinsfile 20:51:54 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 20:50 LICENSE 20:51:54 -rw-rw-r--. 1 jenkins jenkins 1078 Jan 19 20:50 Makefile 20:51:54 -rw-rw-r--. 1 jenkins jenkins 620 Jan 19 20:50 OWNERS.md 20:51:54 -rw-rw-r--. 1 jenkins jenkins 8246 Jan 19 20:50 README.md 20:51:54 drwx------. 3 jenkins jenkins 45 Jan 19 20:50 .semver 20:51:54 drwxrwxr-x. 3 jenkins jenkins 58 Jan 19 20:50 snap 20:51:54 -rw-rw-r--. 1 jenkins jenkins 11 Jan 19 20:50 VERSION 20:51:54 -rw-rw-r--. 1 jenkins jenkins 713 Jan 19 20:50 version.go [Pipeline] isUnix [Pipeline] sh 20:51:54 + 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=7e17efc4e40053c7710c451774e80e9bfae25c24 --label arch=amd64 --label version=2.2.0-dev.4 . 20:51:54 Sending build context to Docker daemon 10.54MB 20:51:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:51:54 Step 2/25 : FROM ${BASE} AS builder 20:51:54 ---> 86f8d9cbf396 20:51:54 Step 3/25 : ARG MAKE='make build' 20:51:54 ---> Running in 5adcc2f9aea8 20:51:54 Removing intermediate container 5adcc2f9aea8 20:51:54 ---> a489f298eadc 20:51:54 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:51:54 ---> Running in 838aaa3c154c 20:51:54 Removing intermediate container 838aaa3c154c 20:51:54 ---> ac4ab0cb7eb1 20:51:54 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:51:54 ---> Running in dd3a11fbc4bf 20:51:55 Removing intermediate container dd3a11fbc4bf 20:51:55 ---> f0706f6429d2 20:51:55 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:51:55 ---> Running in 6b44a003412e 20:51:55 Removing intermediate container 6b44a003412e 20:51:55 ---> 6bb8b4a0f605 20:51:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:51:55 ---> Running in 3294e7d1f4cd 20:51:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:51:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:51:56 OK: 224 MiB in 56 packages 20:51:57 Removing intermediate container 3294e7d1f4cd 20:51:57 ---> 29d9d70a8afb 20:51:57 Step 8/25 : WORKDIR /device-rest-go 20:51:57 ---> Running in 499c1a911845 20:51:57 Removing intermediate container 499c1a911845 20:51:57 ---> c6d060bed3bd 20:51:57 Step 9/25 : COPY go.mod vendor* ./ 20:51:57 ---> 8cc84de4a35d 20:51:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:57 ---> Running in ea51ffa5b129 20:51:58 Removing intermediate container ea51ffa5b129 20:51:58 ---> ec68b76ecf2b 20:51:58 Step 11/25 : COPY . . 20:51:58 ---> 17a2e1852225 20:51:58 Step 12/25 : RUN $MAKE 20:51:58 ---> Running in c39ce45d371d 20:51:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.4" -o cmd/device-rest ./cmd 20:52:10 Removing intermediate container c39ce45d371d 20:52:10 ---> 4915749beb68 20:52:10 Step 13/25 : FROM alpine:3.14 20:52:10 3.14: Pulling from library/alpine 20:52:10 97518928ae5f: Pulling fs layer 20:52:11 97518928ae5f: Verifying Checksum 20:52:11 97518928ae5f: Download complete 20:52:11 97518928ae5f: Pull complete 20:52:11 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:52:11 Status: Downloaded newer image for alpine:3.14 20:52:11 ---> 0a97eee8041e 20:52:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:52:11 ---> Running in d8520ecaef7b 20:52:11 Removing intermediate container d8520ecaef7b 20:52:11 ---> 7ddeec184806 20:52:11 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:52:11 ---> Running in 261253b95504 20:52:11 Removing intermediate container 261253b95504 20:52:11 ---> ee4afcdecdf3 20:52:11 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:52:11 ---> Running in 5042206484cd 20:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:52:12 (1/6) Installing dumb-init (1.2.5-r1) 20:52:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:52:12 (3/6) Installing libsodium (1.0.18-r0) 20:52:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:52:12 (5/6) Installing libzmq (4.3.4-r0) 20:52:12 (6/6) Installing zeromq (4.3.4-r0) 20:52:12 Executing busybox-1.33.1-r6.trigger 20:52:12 OK: 8 MiB in 20 packages 20:52:12 Removing intermediate container 5042206484cd 20:52:12 ---> 729e7ec95e13 20:52:12 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:52:12 ---> 1f67eee3131f 20:52:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:52:12 ---> 627fcd7873d9 20:52:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:52:12 ---> bb99b7a752e5 20:52:12 Step 20/25 : EXPOSE 59986 20:52:13 ---> Running in 50f7d8d0fab3 20:52:13 Removing intermediate container 50f7d8d0fab3 20:52:13 ---> 5fdda73281cd 20:52:13 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:52:13 ---> Running in d9a8ecf9592e 20:52:13 Removing intermediate container d9a8ecf9592e 20:52:13 ---> 10b382aeba70 20:52:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:52:13 ---> Running in aac12ccba328 20:52:13 Removing intermediate container aac12ccba328 20:52:13 ---> 2b8a4b21f729 20:52:13 Step 23/25 : LABEL arch=amd64 20:52:13 ---> Running in c29d70a5233c 20:52:13 Removing intermediate container c29d70a5233c 20:52:13 ---> 78711ec579bf 20:52:13 Step 24/25 : LABEL git_sha=7e17efc4e40053c7710c451774e80e9bfae25c24 20:52:13 ---> Running in 178b562864bd 20:52:13 Removing intermediate container 178b562864bd 20:52:13 ---> fc826aea95ad 20:52:13 Step 25/25 : LABEL version=2.2.0-dev.4 20:52:13 ---> Running in 15a05100d4fe 20:52:13 Removing intermediate container 15a05100d4fe 20:52:13 ---> 6069489f7610 20:52:13 [Warning] One or more build-args [ARCH] were not consumed 20:52:13 Successfully built 6069489f7610 20:52:13 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:13 provisioning config files... 20:52:13 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1694975977400608608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:14 ---> docker-login.sh 20:52:14 nexus3.edgexfoundry.org:10001 20:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:14 Configure a credential helper to remove this warning. See 20:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:14 20:52:14 Login Succeeded 20:52:14 nexus3.edgexfoundry.org:10002 20:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:14 Configure a credential helper to remove this warning. See 20:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:14 20:52:14 Login Succeeded 20:52:14 nexus3.edgexfoundry.org:10003 20:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:14 Configure a credential helper to remove this warning. See 20:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:14 20:52:14 Login Succeeded 20:52:14 nexus3.edgexfoundry.org:10004 20:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:14 Configure a credential helper to remove this warning. See 20:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:14 20:52:14 Login Succeeded 20:52:14 docker.io 20:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:14 Configure a credential helper to remove this warning. See 20:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:14 20:52:14 Login Succeeded 20:52:14 ---> docker-login.sh ends [Pipeline] } 20:52:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:15 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:52:15 7e17efc4e40053c7710c451774e80e9bfae25c24 20:52:15 latest 20:52:15 2.2.0-dev.4 20:52:15 7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 20:52:15 main 20:52:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:52:15 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] isUnix [Pipeline] sh 20:52:15 + docker push nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24 20:52:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:52:15 2b2036e3abdb: Preparing 20:52:15 526ed5dfed46: Preparing 20:52:15 fa39e7eba1cc: Preparing 20:52:15 9508a223cc09: Preparing 20:52:15 1a058d5342cc: Preparing 20:52:15 1a058d5342cc: Layer already exists 20:52:15 2b2036e3abdb: Pushed 20:52:15 526ed5dfed46: Pushed 20:52:15 9508a223cc09: Pushed 20:52:16 fa39e7eba1cc: Pushed 20:52:16 7e17efc4e40053c7710c451774e80e9bfae25c24: digest: sha256:f6659288ce0d7256582b40427134a77d4bfdb912cd845ac4cab8eb76dee48f79 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:52:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 20:52:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:52:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:52:17 2b2036e3abdb: Preparing 20:52:17 526ed5dfed46: Preparing 20:52:17 fa39e7eba1cc: Preparing 20:52:17 9508a223cc09: Preparing 20:52:17 1a058d5342cc: Preparing 20:52:17 2b2036e3abdb: Layer already exists 20:52:17 fa39e7eba1cc: Layer already exists 20:52:17 1a058d5342cc: Layer already exists 20:52:17 9508a223cc09: Layer already exists 20:52:17 526ed5dfed46: Layer already exists 20:52:17 latest: digest: sha256:f6659288ce0d7256582b40427134a77d4bfdb912cd845ac4cab8eb76dee48f79 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:52:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 20:52:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.4 20:52:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:52:18 2b2036e3abdb: Preparing 20:52:18 526ed5dfed46: Preparing 20:52:18 fa39e7eba1cc: Preparing 20:52:18 9508a223cc09: Preparing 20:52:18 1a058d5342cc: Preparing 20:52:18 9508a223cc09: Layer already exists 20:52:18 fa39e7eba1cc: Layer already exists 20:52:18 1a058d5342cc: Layer already exists 20:52:18 2b2036e3abdb: Layer already exists 20:52:18 526ed5dfed46: Layer already exists 20:52:18 2.2.0-dev.4: digest: sha256:f6659288ce0d7256582b40427134a77d4bfdb912cd845ac4cab8eb76dee48f79 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:52:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 20:52:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 20:52:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:52:18 2b2036e3abdb: Preparing 20:52:18 526ed5dfed46: Preparing 20:52:18 fa39e7eba1cc: Preparing 20:52:18 9508a223cc09: Preparing 20:52:18 1a058d5342cc: Preparing 20:52:18 2b2036e3abdb: Layer already exists 20:52:18 526ed5dfed46: Layer already exists 20:52:18 9508a223cc09: Layer already exists 20:52:18 fa39e7eba1cc: Layer already exists 20:52:18 1a058d5342cc: Layer already exists 20:52:18 7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4: digest: sha256:f6659288ce0d7256582b40427134a77d4bfdb912cd845ac4cab8eb76dee48f79 size: 1366 [Pipeline] isUnix [Pipeline] sh 20:52:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2101 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:52:18 Running in /w/workspace/device-rest-go/24 [Pipeline] { [Pipeline] checkout 20:52:19 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 20:52:19 The recommended git tool is: git 20:52:19 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:52:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:52:19 2b2036e3abdb: Preparing 20:52:19 526ed5dfed46: Preparing 20:52:19 fa39e7eba1cc: Preparing 20:52:19 9508a223cc09: Preparing 20:52:19 1a058d5342cc: Preparing 20:52:19 2b2036e3abdb: Layer already exists 20:52:19 526ed5dfed46: Layer already exists 20:52:19 1a058d5342cc: Layer already exists 20:52:19 fa39e7eba1cc: Layer already exists 20:52:19 9508a223cc09: Layer already exists 20:52:19 main: digest: sha256:f6659288ce0d7256582b40427134a77d4bfdb912cd845ac4cab8eb76dee48f79 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:19 ===================================================== [Pipeline] echo 20:52:19 taggedImages: 20:52:19 - nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24 20:52:19 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:52:19 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.4 20:52:19 - nexus3.edgexfoundry.org:10004/device-rest:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 20:52:19 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:52:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:19 20:52:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:52:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:20 latest: Pulling from edgex-lftools-log-publisher 20:52:20 b4d181a07f80: Pulling fs layer 20:52:20 a1111a8f2ec3: Pulling fs layer 20:52:20 ed53099fbce6: Pulling fs layer 20:52:20 dc539afda2c1: Pulling fs layer 20:52:20 77bc0d833cb6: Pulling fs layer 20:52:20 9065ff56babe: Pulling fs layer 20:52:20 d287ab97295c: Pulling fs layer 20:52:20 dc539afda2c1: Waiting 20:52:20 77bc0d833cb6: Waiting 20:52:20 9065ff56babe: Waiting 20:52:20 d287ab97295c: Waiting 20:52:20 a1111a8f2ec3: Verifying Checksum 20:52:20 a1111a8f2ec3: Download complete 20:52:20 dc539afda2c1: Verifying Checksum 20:52:20 dc539afda2c1: Download complete 20:52:20 ed53099fbce6: Verifying Checksum 20:52:20 ed53099fbce6: Download complete 20:52:20 9065ff56babe: Verifying Checksum 20:52:20 9065ff56babe: Download complete 20:52:20 77bc0d833cb6: Verifying Checksum 20:52:20 77bc0d833cb6: Download complete 20:52:20 b4d181a07f80: Verifying Checksum 20:52:20 b4d181a07f80: Download complete 20:52:20 d287ab97295c: Verifying Checksum 20:52:20 d287ab97295c: Download complete 20:52:21 b4d181a07f80: Pull complete 20:52:21 a1111a8f2ec3: Pull complete 20:52:22 ed53099fbce6: Pull complete 20:52:22 dc539afda2c1: Pull complete 20:52:22 77bc0d833cb6: Pull complete 20:52:22 9065ff56babe: Pull complete 20:52:23 using credential edgex-jenkins-ssh 20:52:23 Cloning the remote Git repository 20:52:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:52:23 > git init /w/workspace/device-rest-go/24 # timeout=10 20:52:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:52:23 > git --version # timeout=10 20:52:23 > git --version # 'git version 2.17.1' 20:52:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:25 Avoid second fetch 20:52:25 Checking out Revision 7e17efc4e40053c7710c451774e80e9bfae25c24 (main) 20:52:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:52:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:25 > git config core.sparsecheckout # timeout=10 20:52:25 > git checkout -f 7e17efc4e40053c7710c451774e80e9bfae25c24 # timeout=10 20:52:28 d287ab97295c: Pull complete 20:52:28 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:52:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:52:28 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 20:52:28 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:52:30 Commit message: "Merge pull request #152 from ernestojeda/go-1_17-dockerfile-changes" 20:52:30 20:52:30 GitHub has been notified of this commit’s build result 20:52:30 20:52:31 $ docker top 4cb9c81471971dd629ac51b19ef5179596224d9ce5af6da803823ac9d47915c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:31 ---> job-cost.sh 20:52:31 lf-activate-venv: SKIPPING 20:52:31 INFO: No Stack... 20:52:31 INFO: Retrieving Pricing Info for: v3-standard-2 20:52:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:52:31 % Total % Received % Xferd Average Speed Time Time Time Current 20:52:31 Dload Upload Total Spent Left Speed 20:52:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 74484 0 --:--:-- --:--:-- --:--:-- 74955 20:52:32 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 20:52:32 + cut -d, -f6 20:52:32 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 20:52:32 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] 20:52:32 Resource [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] did not exist. Created. 20:52:32 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:52:32 + echo total: 0.05999999865889549 [Pipeline] stash 20:52:32 Stashed 1 file(s) [Pipeline] } 20:52:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:32 $ docker stop --time=1 4cb9c81471971dd629ac51b19ef5179596224d9ce5af6da803823ac9d47915c8 20:52:32 + + sudo tee /etc/docker/daemon.new 20:52:32 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:52:32 { 20:52:32 "registry-mirrors": [ 20:52:32 "https://nexus3.edgexfoundry.org:10001" 20:52:32 ], 20:52:32 "bip": "10.250.0.254/24", 20:52:32 "hosts": [ 20:52:32 "tcp://0.0.0.0:5555", 20:52:32 "unix:///var/run/docker.sock" 20:52:32 ], 20:52:32 "mtu": 1458, 20:52:32 "selinux-enabled": true, 20:52:32 "seccomp-profile": "/etc/docker/seccomp.json" 20:52:32 } 20:52:34 $ docker rm -f 4cb9c81471971dd629ac51b19ef5179596224d9ce5af6da803823ac9d47915c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:52:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:52:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:53 provisioning config files... 20:52:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/24@tmp/config7874848726860348725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:53 ---> docker-login.sh 20:52:53 nexus3.edgexfoundry.org:10001 20:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:54 Configure a credential helper to remove this warning. See 20:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:54 20:52:54 Login Succeeded 20:52:54 nexus3.edgexfoundry.org:10002 20:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:54 Configure a credential helper to remove this warning. See 20:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:54 20:52:54 Login Succeeded 20:52:54 nexus3.edgexfoundry.org:10003 20:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:54 Configure a credential helper to remove this warning. See 20:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:54 20:52:54 Login Succeeded 20:52:54 nexus3.edgexfoundry.org:10004 20:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:55 Configure a credential helper to remove this warning. See 20:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:55 20:52:55 Login Succeeded 20:52:55 docker.io 20:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:56 Configure a credential helper to remove this warning. See 20:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:56 20:52:56 Login Succeeded 20:52:56 ---> docker-login.sh ends [Pipeline] } 20:52:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:52:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:56 ========================================================= 20:52:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:52:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:52:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:52:56 Sending build context to Docker daemon 121.9kB 20:52:57 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:52:57 Step 2/12 : FROM ${BASE} AS builder 20:52:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:52:57 9b3977197b4f: Pulling fs layer 20:52:57 1a89e8eeedd5: Pulling fs layer 20:52:57 94645a83ff95: Pulling fs layer 20:52:57 3f3a8bcf1eab: Pulling fs layer 20:52:57 0c92f367c5e7: Pulling fs layer 20:52:57 4b8299f9d1f4: Pulling fs layer 20:52:57 9a6b49a46696: Pulling fs layer 20:52:57 cf05db05a679: Pulling fs layer 20:52:57 4b8299f9d1f4: Waiting 20:52:57 9a6b49a46696: Waiting 20:52:57 3f3a8bcf1eab: Waiting 20:52:57 cf05db05a679: Waiting 20:52:57 0c92f367c5e7: Waiting 20:52:57 94645a83ff95: Verifying Checksum 20:52:57 94645a83ff95: Download complete 20:52:57 1a89e8eeedd5: Verifying Checksum 20:52:57 1a89e8eeedd5: Download complete 20:52:57 0c92f367c5e7: Download complete 20:52:57 4b8299f9d1f4: Verifying Checksum 20:52:57 4b8299f9d1f4: Download complete 20:52:57 9b3977197b4f: Verifying Checksum 20:52:57 9b3977197b4f: Download complete 20:52:57 9a6b49a46696: Download complete 20:52:58 9b3977197b4f: Pull complete 20:52:58 1a89e8eeedd5: Pull complete 20:52:58 94645a83ff95: Pull complete 20:52:59 cf05db05a679: Verifying Checksum 20:52:59 cf05db05a679: Download complete 20:52:59 3f3a8bcf1eab: Verifying Checksum 20:52:59 3f3a8bcf1eab: Download complete 20:53:12 3f3a8bcf1eab: Pull complete 20:53:12 0c92f367c5e7: Pull complete 20:53:12 4b8299f9d1f4: Pull complete 20:53:12 9a6b49a46696: Pull complete 20:53:17 cf05db05a679: Pull complete 20:53:17 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 20:53:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:53:17 ---> 0ccda1f7e2ee 20:53:17 Step 3/12 : ARG MAKE='make build' 20:53:19 ---> Running in 7d737cb1bf12 20:53:19 Removing intermediate container 7d737cb1bf12 20:53:19 ---> 45534f62997f 20:53:19 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:53:19 ---> Running in 4686623377e5 20:53:20 Removing intermediate container 4686623377e5 20:53:20 ---> 56dd1d4e5af8 20:53:20 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:53:20 ---> Running in e9155cdd3c28 20:53:20 Removing intermediate container e9155cdd3c28 20:53:20 ---> 8aa250cc5d8c 20:53:20 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:53:20 ---> Running in eef40f08cff0 20:53:22 Removing intermediate container eef40f08cff0 20:53:22 ---> ea2a202744aa 20:53:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:22 ---> Running in 15e5348d6bc7 20:53:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:53:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:53:25 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:53:25 (2/4) Installing libedit (20210910.3.1-r0) 20:53:25 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:53:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:53:25 Executing busybox-1.34.1-r3.trigger 20:53:25 OK: 224 MiB in 56 packages 20:53:26 Removing intermediate container 15e5348d6bc7 20:53:26 ---> 57b4c9e9082b 20:53:26 Step 8/12 : WORKDIR /device-rest-go 20:53:26 ---> Running in e120f7694379 20:53:26 Removing intermediate container e120f7694379 20:53:26 ---> 8a573b506f5d 20:53:26 Step 9/12 : COPY go.mod vendor* ./ 20:53:27 ---> 52a58ddfb5d1 20:53:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:27 ---> Running in bff250f692ed 20:54:35 Removing intermediate container bff250f692ed 20:54:35 ---> 068617c0b3cd 20:54:35 Step 11/12 : COPY . . 20:54:35 ---> 3bcedc817ea8 20:54:35 Step 12/12 : RUN $MAKE 20:54:35 ---> Running in 8a103e5b9a7e 20:54:36 noop 20:54:37 Removing intermediate container 8a103e5b9a7e 20:54:37 ---> ffcb73a8c86a 20:54:37 Successfully built ffcb73a8c86a 20:54:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:54:38 + docker inspect -f . ci-base-image-arm64 20:54:38 . [Pipeline] withDockerContainer 20:54:38 prd-ubuntu18.04-docker-arm64-4c-16g-2101 does not seem to be running inside a container 20:54:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/24 -v /w/workspace/device-rest-go/24:/w/workspace/device-rest-go/24:rw,z -v /w/workspace/device-rest-go/24@tmp:/w/workspace/device-rest-go/24@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-arm64 cat 20:54:39 $ docker top 0a367575dc939071e9f5971afb20876528636846a0f12b1acfc57f2750c879e9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:40 + go version 20:54:40 go version go1.17.6 linux/arm64 [Pipeline] } 20:54:40 $ docker stop --time=1 0a367575dc939071e9f5971afb20876528636846a0f12b1acfc57f2750c879e9 20:54:42 $ docker rm -f 0a367575dc939071e9f5971afb20876528636846a0f12b1acfc57f2750c879e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:54:43 + docker inspect -f . ci-base-image-arm64 20:54:43 . [Pipeline] withDockerContainer 20:54:43 prd-ubuntu18.04-docker-arm64-4c-16g-2101 does not seem to be running inside a container 20:54:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/24 -v /w/workspace/device-rest-go/24:/w/workspace/device-rest-go/24:rw,z -v /w/workspace/device-rest-go/24@tmp:/w/workspace/device-rest-go/24@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-arm64 cat 20:54:44 $ docker top d47c0bf7b21fb108b7eea79c5379d3fd0b17528d40d698b72ca937e851036000 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:54:45 + make test 20:54:45 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:54:47 ? github.com/edgexfoundry/device-rest-go [no test files] 20:55:34 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:55:38 ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.0% of statements 20:55:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:56:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:56:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:56:00 ./bin/test-attribution-txt.sh [Pipeline] echo 20:56:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:56:00 $ docker stop --time=1 d47c0bf7b21fb108b7eea79c5379d3fd0b17528d40d698b72ca937e851036000 20:56:02 $ docker rm -f d47c0bf7b21fb108b7eea79c5379d3fd0b17528d40d698b72ca937e851036000 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:56:03 Warning: overwriting stash ‘coverage-report’ 20:56:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:56:04 + ls -al . 20:56:04 total 176 20:56:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:55 . 20:56:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:52 .. 20:56:04 -rw-rw-r-- 1 jenkins jenkins 151 Jan 19 20:52 .dockerignore 20:56:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:52 .git 20:56:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:52 .github 20:56:04 -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 20:52 .gitignore 20:56:04 -rw-rw-r-- 1 jenkins jenkins 7095 Jan 19 20:52 Attribution.txt 20:56:04 -rw-rw-r-- 1 jenkins jenkins 7459 Jan 19 20:52 CHANGELOG.md 20:56:04 -rw-rw-r-- 1 jenkins jenkins 1672 Jan 19 20:52 Dockerfile 20:56:04 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 20:52 GOVERNANCE.md 20:56:04 -rw-rw-r-- 1 jenkins jenkins 680 Jan 19 20:52 Jenkinsfile 20:56:04 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 20:52 LICENSE 20:56:04 -rw-rw-r-- 1 jenkins jenkins 1078 Jan 19 20:52 Makefile 20:56:04 -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 20:52 OWNERS.md 20:56:04 -rw-rw-r-- 1 jenkins jenkins 8246 Jan 19 20:52 README.md 20:56:04 -rw-rw-r-- 1 jenkins jenkins 11 Jan 19 20:50 VERSION 20:56:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:52 bin 20:56:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:52 cmd 20:56:04 -rw-r--r-- 1 jenkins jenkins 9215 Jan 19 20:55 coverage.out 20:56:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:52 driver 20:56:04 -rw-rw-r-- 1 jenkins jenkins 277 Jan 19 20:52 go.mod 20:56:04 -rw-rw-r-- 1 jenkins jenkins 49330 Jan 19 20:52 go.sum 20:56:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:52 snap 20:56:04 -rw-rw-r-- 1 jenkins jenkins 713 Jan 19 20:52 version.go [Pipeline] isUnix [Pipeline] sh 20:56:04 + 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=7e17efc4e40053c7710c451774e80e9bfae25c24 --label arch=arm64 --label version=2.2.0-dev.4 . 20:56:04 Sending build context to Docker daemon 131.6kB 20:56:05 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:56:05 Step 2/25 : FROM ${BASE} AS builder 20:56:05 ---> ffcb73a8c86a 20:56:05 Step 3/25 : ARG MAKE='make build' 20:56:05 ---> Running in d3b356482ea6 20:56:05 Removing intermediate container d3b356482ea6 20:56:05 ---> b5a9fc465d25 20:56:05 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:56:06 ---> Running in e3ba6d67a93e 20:56:06 Removing intermediate container e3ba6d67a93e 20:56:06 ---> 718331dd0e64 20:56:06 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:56:06 ---> Running in 90ee619ad038 20:56:06 Removing intermediate container 90ee619ad038 20:56:06 ---> cbfa9f4670c9 20:56:06 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:56:06 ---> Running in fc63411332af 20:56:09 Removing intermediate container fc63411332af 20:56:09 ---> a5651708cecd 20:56:09 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:09 ---> Running in e84530ae60b6 20:56:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:56:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:56:11 OK: 224 MiB in 56 packages 20:56:12 Removing intermediate container e84530ae60b6 20:56:12 ---> 8e2c8ddf7852 20:56:12 Step 8/25 : WORKDIR /device-rest-go 20:56:12 ---> Running in b83189b62c9e 20:56:13 Removing intermediate container b83189b62c9e 20:56:13 ---> a7a6112bca72 20:56:13 Step 9/25 : COPY go.mod vendor* ./ 20:56:13 ---> 7271a7eaf95f 20:56:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:13 ---> Running in 5ea8c0669631 20:56:15 Removing intermediate container 5ea8c0669631 20:56:15 ---> 8c68260cff64 20:56:15 Step 11/25 : COPY . . 20:56:16 ---> 993f0c09b023 20:56:16 Step 12/25 : RUN $MAKE 20:56:16 ---> Running in 56b79a632f07 20:56:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.4" -o cmd/device-rest ./cmd 20:57:04 Removing intermediate container 56b79a632f07 20:57:04 ---> 2a407d487aea 20:57:04 Step 13/25 : FROM alpine:3.14 20:57:04 3.14: Pulling from library/alpine 20:57:04 be307f383ecc: Pulling fs layer 20:57:04 be307f383ecc: Download complete 20:57:04 be307f383ecc: Pull complete 20:57:04 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:57:04 Status: Downloaded newer image for alpine:3.14 20:57:04 ---> 5b8b7b635229 20:57:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:57:04 ---> Running in 81b22fa436a1 20:57:04 Removing intermediate container 81b22fa436a1 20:57:04 ---> c045d77947eb 20:57:04 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:57:04 ---> Running in c09187679611 20:57:04 Removing intermediate container c09187679611 20:57:04 ---> 1cac684d7cb0 20:57:04 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:57:04 ---> Running in 50a0cc2d3b05 20:57:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:57:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:57:04 (1/6) Installing dumb-init (1.2.5-r1) 20:57:04 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:57:04 (3/6) Installing libsodium (1.0.18-r0) 20:57:04 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:57:04 (5/6) Installing libzmq (4.3.4-r0) 20:57:04 (6/6) Installing zeromq (4.3.4-r0) 20:57:04 Executing busybox-1.33.1-r6.trigger 20:57:04 OK: 8 MiB in 20 packages 20:57:04 Removing intermediate container 50a0cc2d3b05 20:57:04 ---> efabc46b96a0 20:57:04 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:57:04 ---> ea79d4fd43fc 20:57:04 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:57:04 ---> 063e227ca671 20:57:04 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:57:05 ---> 22c1c27df840 20:57:05 Step 20/25 : EXPOSE 59986 20:57:05 ---> Running in d22e5b6a7652 20:57:05 Removing intermediate container d22e5b6a7652 20:57:05 ---> 9c06d396f0b4 20:57:05 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:57:05 ---> Running in 2e013b8dd30b 20:57:06 Removing intermediate container 2e013b8dd30b 20:57:06 ---> 51c52d09ed04 20:57:06 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:57:06 ---> Running in e482a3afa7bd 20:57:06 Removing intermediate container e482a3afa7bd 20:57:06 ---> 57d533dc4c52 20:57:06 Step 23/25 : LABEL arch=arm64 20:57:06 ---> Running in 9e42d275db77 20:57:06 Removing intermediate container 9e42d275db77 20:57:06 ---> 9423283eb46c 20:57:06 Step 24/25 : LABEL git_sha=7e17efc4e40053c7710c451774e80e9bfae25c24 20:57:07 ---> Running in 9ae418009f30 20:57:07 Removing intermediate container 9ae418009f30 20:57:07 ---> 2480809f71ca 20:57:07 Step 25/25 : LABEL version=2.2.0-dev.4 20:57:07 ---> Running in 06016b47798a 20:57:08 Removing intermediate container 06016b47798a 20:57:08 ---> 6d93fef05789 20:57:08 [Warning] One or more build-args [ARCH] were not consumed 20:57:08 Successfully built 6d93fef05789 20:57:08 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:08 provisioning config files... 20:57:08 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/24@tmp/config2268806341486789922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:08 ---> docker-login.sh 20:57:08 nexus3.edgexfoundry.org:10001 20:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:08 Configure a credential helper to remove this warning. See 20:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:08 20:57:08 Login Succeeded 20:57:08 nexus3.edgexfoundry.org:10002 20:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:09 Configure a credential helper to remove this warning. See 20:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:09 20:57:09 Login Succeeded 20:57:09 nexus3.edgexfoundry.org:10003 20:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:09 Configure a credential helper to remove this warning. See 20:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:09 20:57:09 Login Succeeded 20:57:09 nexus3.edgexfoundry.org:10004 20:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:10 Configure a credential helper to remove this warning. See 20:57:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:10 20:57:10 Login Succeeded 20:57:10 docker.io 20:57:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:10 Configure a credential helper to remove this warning. See 20:57:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:10 20:57:10 Login Succeeded 20:57:10 ---> docker-login.sh ends [Pipeline] } 20:57:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:57:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:10 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:57:10 7e17efc4e40053c7710c451774e80e9bfae25c24 20:57:10 latest 20:57:10 2.2.0-dev.4 20:57:10 7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 20:57:10 main 20:57:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:57:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] isUnix [Pipeline] sh 20:57:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24 20:57:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:57:11 b5997848b008: Preparing 20:57:11 fd3b14cb0008: Preparing 20:57:11 e2d614d25ee4: Preparing 20:57:11 df598be08ad7: Preparing 20:57:11 62170e181a92: Preparing 20:57:11 62170e181a92: Layer already exists 20:57:11 b5997848b008: Pushed 20:57:11 fd3b14cb0008: Pushed 20:57:12 df598be08ad7: Pushed 20:57:14 e2d614d25ee4: Pushed 20:57:14 7e17efc4e40053c7710c451774e80e9bfae25c24: digest: sha256:c088d3298e587cdc257b5d24c05d63ed4cc228b534567c3204945a9fe8cf68cb size: 1365 [Pipeline] isUnix [Pipeline] sh 20:57:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:57:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:57:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:57:15 b5997848b008: Preparing 20:57:15 fd3b14cb0008: Preparing 20:57:15 e2d614d25ee4: Preparing 20:57:15 df598be08ad7: Preparing 20:57:15 62170e181a92: Preparing 20:57:15 df598be08ad7: Layer already exists 20:57:15 62170e181a92: Layer already exists 20:57:15 e2d614d25ee4: Layer already exists 20:57:15 b5997848b008: Layer already exists 20:57:15 fd3b14cb0008: Layer already exists 20:57:15 latest: digest: sha256:c088d3298e587cdc257b5d24c05d63ed4cc228b534567c3204945a9fe8cf68cb size: 1365 [Pipeline] isUnix [Pipeline] sh 20:57:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 20:57:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.4 20:57:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:57:16 b5997848b008: Preparing 20:57:16 fd3b14cb0008: Preparing 20:57:16 e2d614d25ee4: Preparing 20:57:16 df598be08ad7: Preparing 20:57:16 62170e181a92: Preparing 20:57:16 b5997848b008: Layer already exists 20:57:16 fd3b14cb0008: Layer already exists 20:57:16 62170e181a92: Layer already exists 20:57:16 df598be08ad7: Layer already exists 20:57:16 e2d614d25ee4: Layer already exists 20:57:16 2.2.0-dev.4: digest: sha256:c088d3298e587cdc257b5d24c05d63ed4cc228b534567c3204945a9fe8cf68cb size: 1365 [Pipeline] isUnix [Pipeline] sh 20:57:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 20:57:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 20:57:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:57:17 b5997848b008: Preparing 20:57:17 fd3b14cb0008: Preparing 20:57:17 e2d614d25ee4: Preparing 20:57:17 df598be08ad7: Preparing 20:57:17 62170e181a92: Preparing 20:57:17 e2d614d25ee4: Layer already exists 20:57:17 b5997848b008: Layer already exists 20:57:17 df598be08ad7: Layer already exists 20:57:17 fd3b14cb0008: Layer already exists 20:57:17 62170e181a92: Layer already exists 20:57:17 7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4: digest: sha256:c088d3298e587cdc257b5d24c05d63ed4cc228b534567c3204945a9fe8cf68cb size: 1365 [Pipeline] isUnix [Pipeline] sh 20:57:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 20:57:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:57:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:57:18 b5997848b008: Preparing 20:57:18 fd3b14cb0008: Preparing 20:57:18 e2d614d25ee4: Preparing 20:57:18 df598be08ad7: Preparing 20:57:18 62170e181a92: Preparing 20:57:18 e2d614d25ee4: Layer already exists 20:57:18 df598be08ad7: Layer already exists 20:57:18 62170e181a92: Layer already exists 20:57:18 b5997848b008: Layer already exists 20:57:18 fd3b14cb0008: Layer already exists 20:57:18 main: digest: sha256:c088d3298e587cdc257b5d24c05d63ed4cc228b534567c3204945a9fe8cf68cb size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:57:18 ===================================================== [Pipeline] echo 20:57:18 taggedImages: 20:57:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24 20:57:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:57:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.4 20:57:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7e17efc4e40053c7710c451774e80e9bfae25c24-2.2.0-dev.4 20:57:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:57:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:18 20:57:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:57:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:19 arm64: Pulling from edgex-lftools-log-publisher 20:57:19 448f6bf000e3: Pulling fs layer 20:57:19 f757da607395: Pulling fs layer 20:57:19 05883995daec: Pulling fs layer 20:57:19 8603b9c90790: Pulling fs layer 20:57:19 1560dd03e051: Pulling fs layer 20:57:19 27f5ce0e4adf: Pulling fs layer 20:57:19 c2d8d7efcc4b: Pulling fs layer 20:57:19 1560dd03e051: Waiting 20:57:19 27f5ce0e4adf: Waiting 20:57:19 c2d8d7efcc4b: Waiting 20:57:19 8603b9c90790: Waiting 20:57:19 f757da607395: Verifying Checksum 20:57:19 f757da607395: Download complete 20:57:19 8603b9c90790: Download complete 20:57:19 1560dd03e051: Verifying Checksum 20:57:19 1560dd03e051: Download complete 20:57:19 27f5ce0e4adf: Verifying Checksum 20:57:19 27f5ce0e4adf: Download complete 20:57:19 05883995daec: Verifying Checksum 20:57:19 05883995daec: Download complete 20:57:19 448f6bf000e3: Verifying Checksum 20:57:19 448f6bf000e3: Download complete 20:57:22 c2d8d7efcc4b: Verifying Checksum 20:57:23 448f6bf000e3: Pull complete 20:57:23 f757da607395: Pull complete 20:57:25 05883995daec: Pull complete 20:57:25 8603b9c90790: Pull complete 20:57:25 1560dd03e051: Pull complete 20:57:26 27f5ce0e4adf: Pull complete 20:57:41 c2d8d7efcc4b: Pull complete 20:57:41 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:57:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:57:41 prd-ubuntu18.04-docker-arm64-4c-16g-2101 does not seem to be running inside a container 20:57:41 $ 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/24 -v /w/workspace/device-rest-go/24:/w/workspace/device-rest-go/24:rw,z -v /w/workspace/device-rest-go/24@tmp:/w/workspace/device-rest-go/24@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:arm64 cat 20:57:44 $ docker top 1f1dc580d3684bf628d568b1634cd6192cb95533716e50de49209b91a7733f35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:45 ---> job-cost.sh 20:57:45 lf-activate-venv: SKIPPING 20:57:45 INFO: No Stack... 20:57:45 INFO: Retrieving Pricing Info for: v3-standard-4 20:57:45 INFO: Archiving Costs [Pipeline] sh 20:57:46 + cat /w/workspace/device-rest-go/24/archives/cost.csv 20:57:46 + cut -d, -f6 [Pipeline] lock 20:57:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] 20:57:46 Resource [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] did not exist. Created. 20:57:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:57:47 /w/workspace/device-rest-go/24@tmp/durable-8adaded9/script.sh: 1: /w/workspace/device-rest-go/24@tmp/durable-8adaded9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:57:48 + echo total: 0.10999999940395355 [Pipeline] stash 20:57:48 Warning: overwriting stash ‘stack-cost’ 20:57:48 Stashed 1 file(s) [Pipeline] } 20:57:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 20:57:48 $ docker stop --time=1 1f1dc580d3684bf628d568b1634cd6192cb95533716e50de49209b91a7733f35 20:57:49 $ docker rm -f 1f1dc580d3684bf628d568b1634cd6192cb95533716e50de49209b91a7733f35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:57:50 provisioning config files... 20:57:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5402358234548072206tmp [Pipeline] { [Pipeline] sh 20:57:50 + set +x 20:57:50 + curl -s https://codecov.io/bash 20:57:50 + bash -s -- 20:57:52 20:57:52 _____ _ 20:57:52 / ____| | | 20:57:52 | | ___ __| | ___ ___ _____ __ 20:57:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:57:52 | |___| (_) | (_| | __/ (_| (_) \ V / 20:57:52 \_____\___/ \__,_|\___|\___\___/ \_/ 20:57:52 Bash-1.0.6 20:57:52 20:57:52 20:57:52 ==> git version 2.24.4 found 20:57:52 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:57:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:57:52 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:57:52 ==> Jenkins CI detected. 20:57:52 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:57:52 project root: . 20:57:52 --> token set from env 20:57:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:57:52 ==> Running gcov in . (disable via -X gcov) 20:57:52 ==> Python coveragepy not found 20:57:52 ==> Searching for coverage reports in: 20:57:52 + . 20:57:52 -> Found 1 reports 20:57:52 ==> Detecting git/mercurial file structure 20:57:52 ==> Reading reports 20:57:52 + ./coverage.out bytes=9215 20:57:52 ==> Appending adjustments 20:57:52 https://docs.codecov.io/docs/fixing-reports 20:57:52 + Found adjustments 20:57:52 ==> Gzipping contents 20:57:52 4.0K /tmp/codecov.cNvS7x.gz 20:57:52 ==> Uploading reports 20:57:52 url: https://codecov.io 20:57:52 query: branch=main&commit=7e17efc4e40053c7710c451774e80e9bfae25c24&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:57:52 -> Pinging Codecov 20:57:52 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=7e17efc4e40053c7710c451774e80e9bfae25c24&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:57:52 -> Uploading to 20:57:52 https://storage.googleapis.com/codecov/v4/raw/2022-01-19/4E5D53B4F1F92C436F7061BF334D961C/7e17efc4e40053c7710c451774e80e9bfae25c24/d0246431-b992-4a1c-8ace-5832614ecf24.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T205752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e0fd1683103a47e67f419df290ed54b97a366d9601cd9a928bd6968dca790666 20:57:52 % Total % Received % Xferd Average Speed Time Time Time Current 20:57:52 Dload Upload Total Spent Left Speed 20:57:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 6497 --:--:-- --:--:-- --:--:-- 6492 20:57:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] } 20:57:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:57:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:57:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:57:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:57:53 20:57:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:57:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:57:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:57:53 188c0c94c7c5: Pulling fs layer 20:57:53 0ef7d3d256c8: Pulling fs layer 20:57:53 de9db76c5a1d: Pulling fs layer 20:57:53 0eba1c9be4d2: Pulling fs layer 20:57:53 0d57e429df01: Pulling fs layer 20:57:53 4e4be7b47b0d: Pulling fs layer 20:57:53 e1f770b5df2f: Pulling fs layer 20:57:53 85a0685a4137: Pulling fs layer 20:57:53 4e4be7b47b0d: Waiting 20:57:53 0eba1c9be4d2: Waiting 20:57:53 0d57e429df01: Waiting 20:57:53 e1f770b5df2f: Waiting 20:57:53 85a0685a4137: Waiting 20:57:53 de9db76c5a1d: Verifying Checksum 20:57:53 de9db76c5a1d: Download complete 20:57:53 0ef7d3d256c8: Verifying Checksum 20:57:53 0ef7d3d256c8: Download complete 20:57:53 0d57e429df01: Verifying Checksum 20:57:53 0d57e429df01: Download complete 20:57:53 188c0c94c7c5: Verifying Checksum 20:57:53 188c0c94c7c5: Download complete 20:57:53 4e4be7b47b0d: Verifying Checksum 20:57:53 4e4be7b47b0d: Download complete 20:57:53 188c0c94c7c5: Pull complete 20:57:54 0ef7d3d256c8: Pull complete 20:57:54 0eba1c9be4d2: Verifying Checksum 20:57:54 0eba1c9be4d2: Download complete 20:57:54 de9db76c5a1d: Pull complete 20:57:54 e1f770b5df2f: Verifying Checksum 20:57:54 e1f770b5df2f: Download complete 20:57:54 85a0685a4137: Verifying Checksum 20:57:54 85a0685a4137: Download complete 20:57:57 0eba1c9be4d2: Pull complete 20:57:57 0d57e429df01: Pull complete 20:57:58 4e4be7b47b0d: Pull complete 20:57:58 e1f770b5df2f: Pull complete 20:58:01 85a0685a4137: Pull complete 20:58:01 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:58:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:58:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:58:01 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 20:58:01 $ 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 20:58:03 $ docker top e2ee5a1f3776dc289b068fc6ca6cb03c5680c23c26cf3b5affaa14e63687eec8 -eo pid,comm [Pipeline] { [Pipeline] echo 20:58:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:58:04 + set -o pipefail 20:58:04 + snyk monitor '--org=edgex-jenkins' 20:58:08 20:58:08 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:58:08 20:58:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/fcfbe26a-972e-4506-8a06-c5b752375e29 20:58:08 20:58:08 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:58:08 20:58:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:58:08 20:58:08 [Pipeline] } 20:58:08 $ docker stop --time=1 e2ee5a1f3776dc289b068fc6ca6cb03c5680c23c26cf3b5affaa14e63687eec8 20:58:10 $ docker rm -f e2ee5a1f3776dc289b068fc6ca6cb03c5680c23c26cf3b5affaa14e63687eec8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:11 + git log --format=format:%s -1 7e17efc4e40053c7710c451774e80e9bfae25c24 [Pipeline] sh 20:58:11 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:58:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:58:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:58:11 . [Pipeline] withDockerContainer 20:58:11 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 20:58:11 $ 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 20:58:12 $ docker top 8d00664e22885dd99098a0256c51fa2ddd14a549db97c7fceecfff3ec2d0b761 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:12 [ssh-agent] Looking for ssh-agent implementation... 20:58:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:12 $ docker exec 8d00664e22885dd99098a0256c51fa2ddd14a549db97c7fceecfff3ec2d0b761 ssh-agent 20:58:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlJCAGP/agent.14 20:58:12 SSH_AGENT_PID=22 20:58:12 Running ssh-add (command line suppressed) 20:58:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4624243202447421308.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4624243202447421308.key) 20:58:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:12 + git semver tag 20:58:12 # -> Open(): unable to determine branch for HEAD 20:58:12 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:58:12 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:58:12 # $SEMVER_REMOTE_NAME = origin 20:58:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:58:12 # $SEMVER_USER_NAME = edgex-jenkins 20:58:12 # $SEMVER_BRANCH = main 20:58:12 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:58:12 # 7e17efc4e40053c7710c451774e80e9bfae25c24 HEAD 20:58:12 # -> Force: false 20:58:12 # 1ce1037c3f5f34b11881b328526308cbdf2ccc70 refs/tags/v2.2.0-dev.4 [Pipeline] } 20:58:12 $ docker exec --env ******** --env ******** 8d00664e22885dd99098a0256c51fa2ddd14a549db97c7fceecfff3ec2d0b761 ssh-agent -k 20:58:12 unset SSH_AUTH_SOCK; 20:58:12 unset SSH_AGENT_PID; 20:58:12 echo Agent pid 22 killed; 20:58:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:13 + git semver [Pipeline] } 20:58:13 $ docker stop --time=1 8d00664e22885dd99098a0256c51fa2ddd14a549db97c7fceecfff3ec2d0b761 20:58:14 $ docker rm -f 8d00664e22885dd99098a0256c51fa2ddd14a549db97c7fceecfff3ec2d0b761 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:58:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:58:14 20:58:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:58:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:58:15 0.23.1-centos7: Pulling from edgex-lftools 20:58:15 ab5ef0e58194: Pulling fs layer 20:58:15 9712f1f96733: Pulling fs layer 20:58:15 63f879dbbcfc: Pulling fs layer 20:58:15 0d9ebad4ef96: Pulling fs layer 20:58:15 e9a5061849ea: Pulling fs layer 20:58:15 d747dcd14b5f: Pulling fs layer 20:58:15 2de7ff778b66: Pulling fs layer 20:58:15 0d9ebad4ef96: Waiting 20:58:15 e9a5061849ea: Waiting 20:58:15 d747dcd14b5f: Waiting 20:58:15 2de7ff778b66: Waiting 20:58:15 9712f1f96733: Verifying Checksum 20:58:15 9712f1f96733: Download complete 20:58:15 63f879dbbcfc: Verifying Checksum 20:58:15 63f879dbbcfc: Download complete 20:58:15 ab5ef0e58194: Verifying Checksum 20:58:15 ab5ef0e58194: Download complete 20:58:15 d747dcd14b5f: Verifying Checksum 20:58:15 d747dcd14b5f: Download complete 20:58:15 e9a5061849ea: Verifying Checksum 20:58:15 e9a5061849ea: Download complete 20:58:15 0d9ebad4ef96: Verifying Checksum 20:58:15 0d9ebad4ef96: Download complete 20:58:15 2de7ff778b66: Verifying Checksum 20:58:15 2de7ff778b66: Download complete 20:58:18 ab5ef0e58194: Pull complete 20:58:18 9712f1f96733: Pull complete 20:58:19 63f879dbbcfc: Pull complete 20:58:23 0d9ebad4ef96: Pull complete 20:58:23 e9a5061849ea: Pull complete 20:58:23 d747dcd14b5f: Pull complete 20:58:25 2de7ff778b66: Pull complete 20:58:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:58:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:58:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:58:25 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 20:58:25 $ 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 20:58:28 $ docker top 1abf5c51a7a57e6b65a23205e55e25397d178d7a0981aea0d91dcf8a4737c2e2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:58:28 provisioning config files... 20:58:28 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2014147242945974328tmp 20:58:28 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5683946898446984708tmp 20:58:28 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4160939839410092493tmp [Pipeline] { [Pipeline] echo 20:58:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:58:28 ---> sigul-configuration.sh 20:58:28 gpg: directory `/root/.gnupg' created 20:58:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:58:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:58:28 gpg: keyring `/root/.gnupg/secring.gpg' created 20:58:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:58:28 gpg: CAST5 encrypted data 20:58:28 gpg: encrypted with 1 passphrase 20:58:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:58:28 + mkdir /home/jenkins 20:58:28 + mkdir /home/jenkins/sigul [Pipeline] sh 20:58:29 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:58:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:58:29 ---> sigul-install.sh 20:58:29 Sigul already installed; skipping installation. [Pipeline] sh 20:58:29 + git tag --list 20:58:29 v1.0.0 20:58:29 v1.1.0 20:58:29 v1.1.1 20:58:29 v1.1.2 20:58:29 v1.2.0 20:58:29 v1.2.1 20:58:29 v2.0.0 20:58:29 v2.0.1-dev.1 20:58:29 v2.0.1-dev.10 20:58:29 v2.0.1-dev.11 20:58:29 v2.0.1-dev.12 20:58:29 v2.0.1-dev.13 20:58:29 v2.0.1-dev.14 20:58:29 v2.0.1-dev.2 20:58:29 v2.0.1-dev.3 20:58:29 v2.0.1-dev.4 20:58:29 v2.0.1-dev.5 20:58:29 v2.0.1-dev.6 20:58:29 v2.0.1-dev.7 20:58:29 v2.0.1-dev.8 20:58:29 v2.0.1-dev.9 20:58:29 v2.1.0 20:58:29 v2.2.0-dev.1 20:58:29 v2.2.0-dev.2 20:58:29 v2.2.0-dev.3 20:58:29 v2.2.0-dev.4 [Pipeline] sh 20:58:30 + lftools sign git-tag v2.2.0-dev.4 20:58:30 Signing Git tag with Sigul... 20:58:30 Signing v2.2.0-dev.4 [Pipeline] echo 20:58:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:58:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:58:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:58:31 $ docker stop --time=1 1abf5c51a7a57e6b65a23205e55e25397d178d7a0981aea0d91dcf8a4737c2e2 20:58:32 $ docker rm -f 1abf5c51a7a57e6b65a23205e55e25397d178d7a0981aea0d91dcf8a4737c2e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:58:32 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:58:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:58:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:58:33 . [Pipeline] withDockerContainer 20:58:33 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 20:58:33 $ 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 20:58:33 $ docker top 4885ba6c9a4bd058d4aca2af90ef6e4b5b5e18f82b89aa1efd11807314aa28d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:33 [ssh-agent] Looking for ssh-agent implementation... 20:58:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:33 $ docker exec 4885ba6c9a4bd058d4aca2af90ef6e4b5b5e18f82b89aa1efd11807314aa28d3 ssh-agent 20:58:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGbDocI/agent.13 20:58:33 SSH_AGENT_PID=19 20:58:33 Running ssh-add (command line suppressed) 20:58:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7217456780630971409.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7217456780630971409.key) 20:58:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:34 + git semver bump pre 20:58:34 # -> Open(): unable to determine branch for HEAD 20:58:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:58:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:58:34 # $SEMVER_REMOTE_NAME = origin 20:58:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:58:34 # $SEMVER_USER_NAME = edgex-jenkins 20:58:34 # $SEMVER_BRANCH = main 20:58:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:58:34 2.2.0-dev.5 [Pipeline] } 20:58:34 $ docker exec --env ******** --env ******** 4885ba6c9a4bd058d4aca2af90ef6e4b5b5e18f82b89aa1efd11807314aa28d3 ssh-agent -k 20:58:34 unset SSH_AUTH_SOCK; 20:58:34 unset SSH_AGENT_PID; 20:58:34 echo Agent pid 19 killed; 20:58:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:34 + git semver [Pipeline] } 20:58:34 $ docker stop --time=1 4885ba6c9a4bd058d4aca2af90ef6e4b5b5e18f82b89aa1efd11807314aa28d3 20:58:35 $ docker rm -f 4885ba6c9a4bd058d4aca2af90ef6e4b5b5e18f82b89aa1efd11807314aa28d3 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:36 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:58:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:58:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:58:36 . [Pipeline] withDockerContainer 20:58:36 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 20:58:36 $ 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 20:58:36 $ docker top ab52b9a480650dd8ff9082290bd838441cadd03d37a43f9072e2b2797c4d775d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:37 [ssh-agent] Looking for ssh-agent implementation... 20:58:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:37 $ docker exec ab52b9a480650dd8ff9082290bd838441cadd03d37a43f9072e2b2797c4d775d ssh-agent 20:58:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnjpejd/agent.15 20:58:37 SSH_AGENT_PID=21 20:58:37 Running ssh-add (command line suppressed) 20:58:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6072128033224473185.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6072128033224473185.key) 20:58:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:37 + git semver push 20:58:37 # -> Open(): unable to determine branch for HEAD 20:58:37 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:58:37 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:58:37 # $SEMVER_REMOTE_NAME = origin 20:58:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:58:37 # $SEMVER_USER_NAME = edgex-jenkins 20:58:37 # $SEMVER_BRANCH = main 20:58:37 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 20:58:39 $ docker exec --env ******** --env ******** ab52b9a480650dd8ff9082290bd838441cadd03d37a43f9072e2b2797c4d775d ssh-agent -k 20:58:39 unset SSH_AUTH_SOCK; 20:58:39 unset SSH_AGENT_PID; 20:58:39 echo Agent pid 21 killed; 20:58:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:39 + git semver [Pipeline] } 20:58:39 $ docker stop --time=1 ab52b9a480650dd8ff9082290bd838441cadd03d37a43f9072e2b2797c4d775d 20:58:41 $ docker rm -f ab52b9a480650dd8ff9082290bd838441cadd03d37a43f9072e2b2797c4d775d [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 20:58:41 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' 20:58:41 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:58:41 total 8 20:58:41 drwxr-xr-x. 3 root root 34 Jan 19 20:52 . 20:58:41 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 20:58 .. 20:58:41 drwxr-xr-x. 2 root root 6 Jan 19 20:52 cost 20:58:41 -rw-r--r--. 1 root root 84 Jan 19 20:52 cost.csv 20:58:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:58:41 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:58:41 total 8 20:58:41 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 20:52 . 20:58:41 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 20:58 .. 20:58:41 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 20:52 cost 20:58:41 -rw-r--r--. 1 jenkins jenkins 84 Jan 19 20:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:58:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:58:42 ---> package-listing.sh 20:58:42 ++ facter osfamily 20:58:42 ++ tr '[:upper:]' '[:lower:]' 20:58:42 + OS_FAMILY=redhat 20:58:42 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:58:42 + START_PACKAGES=/tmp/packages_start.txt 20:58:42 + END_PACKAGES=/tmp/packages_end.txt 20:58:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:58:42 + PACKAGES=/tmp/packages_start.txt 20:58:42 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:58:42 + PACKAGES=/tmp/packages_end.txt 20:58:42 + case "${OS_FAMILY}" in 20:58:42 + rpm -qa 20:58:42 + sort 20:58:43 + '[' -f /tmp/packages_start.txt ']' 20:58:43 + '[' -f /tmp/packages_end.txt ']' 20:58:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:58:43 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:58:43 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:58:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:58:43 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:58:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:58:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:44 . [Pipeline] withDockerContainer 20:58:44 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 20:58:44 $ 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 20:58:44 $ docker top eb020c4c47fe71a8cb962b51637a8f0de20966f92d37d0bd99a4ae7ca3aff029 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:44 + touch /tmp/pre-build-complete [Pipeline] sh 20:58:45 + mkdir -p /var/log/sysstat [Pipeline] sh 20:58:45 + ls /var/log/sa-host 20:58:45 + sadf -c /var/log/sa-host/sa17 20:58:45 file_magic: OK 20:58:45 HZ: Using current value: 100 20:58:45 file_header: OK 20:58:45 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:58:45 Statistics: 20:58:45 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:58:45 File successfully converted to sysstat format version 12.0.3 20:58:45 + sadf -c /var/log/sa-host/sa19 20:58:45 file_magic: OK 20:58:45 HZ: Using current value: 100 20:58:45 file_header: OK 20:58:45 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:58:45 Statistics: 20:58:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:58:45 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:45 provisioning config files... 20:58:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6323354651838270365tmp [Pipeline] { [Pipeline] echo 20:58:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:58:46 ---> create-netrc.sh [Pipeline] } 20:58:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:58:46 ---> python-tools-install.sh [Pipeline] echo 20:58:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:58:46 ---> sudo-logs.sh 20:58:46 Archiving 'sudo' log.. 20:58:47 sudo: unable to resolve host prd-centos7-docker-4c-2g-2100.novalocal: Name or service not known 20:58:47 sudo: unable to resolve host prd-centos7-docker-4c-2g-2100.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:58:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:58:47 ---> job-cost.sh 20:58:47 lf-activate-venv: SKIPPING 20:58:47 DEBUG: total: 0.05999999865889549 20:58:47 INFO: Retrieving Stack Cost... 20:58:47 INFO: Retrieving Pricing Info for: v3-standard-2 20:58:48 INFO: Archiving Costs [Pipeline] echo 20:58:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:58:48 ---> logs-deploy.sh 20:58:48 lf-activate-venv: SKIPPING 20:58:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/24 20:58:48 INFO: archiving workspace using pattern(s): 20:58:48 Archives upload complete. 20:58:49 INFO: archiving logs to Nexus