Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f9dabbcd23e32bae175015e2a15c1f428ed019f 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-ssh5173920866617093771.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1857048204167494179.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13573348731971068188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10205879459608558604.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-ssh15075046063565473909.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26’ Running on prd-centos7-docker-4c-2g-30 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-ssh8658492636260361622.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 8f9dabbcd23e32bae175015e2a15c1f428ed019f (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 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 Commit message: "Merge pull request #147 from lenny-intel/no-win-zmq" > git rev-list --no-walk 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:25:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:25:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:25:37 ========================================================= 04:25:37 EdgeX Global Pipelines Version Info 04:25:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:25:38 ------------------- 04:25:38 stable info: 04:25:38 ------------------- 04:25:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:25:38 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:25:38 Message: update stable to v1.0.217 04:25:39 ------------------- 04:25:39 experimental info: 04:25:39 ------------------- 04:25:39 Commited By: **** collab-it+edgex@linuxfoundation.org 04:25:39 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:25:39 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f9dabb [Pipeline] echo 04:25:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:39 provisioning config files... 04:25:39 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8104210748206432800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:40 ---> docker-login.sh 04:25:40 nexus3.edgexfoundry.org:10001 04:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:40 Configure a credential helper to remove this warning. See 04:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:40 04:25:40 Login Succeeded 04:25:40 nexus3.edgexfoundry.org:10002 04:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:40 Configure a credential helper to remove this warning. See 04:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:40 04:25:40 Login Succeeded 04:25:40 nexus3.edgexfoundry.org:10003 04:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:40 Configure a credential helper to remove this warning. See 04:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:40 04:25:40 Login Succeeded 04:25:40 nexus3.edgexfoundry.org:10004 04:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:40 Configure a credential helper to remove this warning. See 04:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:40 04:25:40 Login Succeeded 04:25:40 docker.io 04:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:41 Configure a credential helper to remove this warning. See 04:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:41 04:25:41 Login Succeeded 04:25:41 ---> docker-login.sh ends [Pipeline] } 04:25:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:25:41 + git rev-list -1 --merges 8f9dabbcd23e32bae175015e2a15c1f428ed019f~1..8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] echo 04:25:41 -----------> git rev-list -1 --merges 8f9dabbcd23e32bae175015e2a15c1f428ed019f~1..8f9dabbcd23e32bae175015e2a15c1f428ed019f 8f9dabbcd23e32bae175015e2a15c1f428ed019f 04:25:41 8f9dabbcd23e32bae175015e2a15c1f428ed019f [false] [Pipeline] sh 04:25:42 + git log --format=format:%s -1 8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] echo 04:25:42 ========================================================= 04:25:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:25:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:25:42 + git log --format=format:%s -1 8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] echo 04:25:42 [semverPrep] GIT_COMMIT: 8f9dabbcd23e32bae175015e2a15c1f428ed019f, Commit Message: Merge pull request #147 from lenny-intel/no-win-zmq [Pipeline] echo 04:25:42 [semverPrep] This is not a build commit. [Pipeline] sh 04:25:42 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:25:42 + grep -v github /etc/ssh/ssh_known_hosts 04:25:42 + '[' -e /tmp/ssh_known_hosts ']' 04:25:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:25:42 + sudo tee -a /etc/ssh/ssh_known_hosts 04:25:42 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:25:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:25:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:25:43 04:25:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:25:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:25:43 latest: Pulling from edgex-devops/git-semver 04:25:43 a0d0a0d46f8b: Pulling fs layer 04:25:43 3e5f54012d9b: Pulling fs layer 04:25:43 4c7163046ea9: Pulling fs layer 04:25:43 0c2d73faf560: Pulling fs layer 04:25:43 0c2d73faf560: Waiting 04:25:43 3e5f54012d9b: Verifying Checksum 04:25:43 3e5f54012d9b: Download complete 04:25:43 a0d0a0d46f8b: Verifying Checksum 04:25:43 a0d0a0d46f8b: Download complete 04:25:43 4c7163046ea9: Verifying Checksum 04:25:43 4c7163046ea9: Download complete 04:25:43 0c2d73faf560: Verifying Checksum 04:25:43 0c2d73faf560: Download complete 04:25:43 a0d0a0d46f8b: Pull complete 04:25:43 3e5f54012d9b: Pull complete 04:25:44 4c7163046ea9: Pull complete 04:25:44 0c2d73faf560: Pull complete 04:25:44 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:25:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:25:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:25:44 prd-centos7-docker-4c-2g-30 does not seem to be running inside a container 04:25:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:25:45 $ docker top 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:25:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:25:45 [ssh-agent] Looking for ssh-agent implementation... 04:25:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:25:45 $ docker exec 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b ssh-agent 04:25:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFdJHal/agent.13 04:25:45 SSH_AGENT_PID=19 04:25:45 Running ssh-add (command line suppressed) 04:25:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5830523126000522797.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5830523126000522797.key) 04:25:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:25:46 + git tag --points-at HEAD [Pipeline] } 04:25:46 $ docker exec --env ******** --env ******** 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b ssh-agent -k 04:25:46 unset SSH_AUTH_SOCK; 04:25:46 unset SSH_AGENT_PID; 04:25:46 echo Agent pid 19 killed; 04:25:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:25:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:25:46 [ssh-agent] Looking for ssh-agent implementation... 04:25:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:25:46 $ docker exec 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b ssh-agent 04:25:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMolbIj/agent.53 04:25:46 SSH_AGENT_PID=60 04:25:46 Running ssh-add (command line suppressed) 04:25:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6049298413918894032.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6049298413918894032.key) 04:25:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:25:46 + git semver init 04:25:46 # -> Open(): unable to determine branch for HEAD 04:25:46 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 04:25:46 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 04:25:46 # $SEMVER_REMOTE_NAME = origin 04:25:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:25:46 # $SEMVER_USER_NAME = edgex-jenkins 04:25:46 # $SEMVER_BRANCH = main 04:25:46 # $SEMVER_TEMP = /tmp/semver-735074202 04:25:46 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 04:25:54 # '/tmp/semver-735074202' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 04:25:54 # -> Force: false 04:25:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 04:25:54 $ docker exec --env ******** --env ******** 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b ssh-agent -k 04:25:55 unset SSH_AUTH_SOCK; 04:25:55 unset SSH_AGENT_PID; 04:25:55 echo Agent pid 60 killed; 04:25:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:25:55 + git semver [Pipeline] } 04:25:55 $ docker stop --time=1 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b 04:25:56 $ docker rm -f 5a1ad7fed6a2570e3c762e0d540400852247021edaae287c8fbe08660f44777b [Pipeline] // withDockerContainer [Pipeline] sh 04:25:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:25:57 Stashed 1 file(s) [Pipeline] echo 04:25:57 [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 04:26:12 Still waiting to schedule task 04:26:12 ‘prd-centos7-docker-4c-2g-32’ is offline 04:26:12 Still waiting to schedule task 04:26:12 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-27’ 04:26:46 Running on prd-centos7-docker-4c-2g-33 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 04:26:46 Running in /w/workspace/device-rest-go/21 [Pipeline] { [Pipeline] checkout 04:26:46 The recommended git tool is: git 04:26:48 using credential edgex-jenkins-ssh 04:26:48 Cloning the remote Git repository 04:26:47 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 04:26:47 > git init /w/workspace/device-rest-go/21 # timeout=10 04:26:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:26:47 > git --version # timeout=10 04:26:47 > git --version # 'git version 2.24.4' 04:26:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:47 [INFO] Currently running in a labeled security context 04:26:47 [INFO] Currently SELinux is 'enforcing' on the host 04:26:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/21@tmp/jenkins-gitclient-ssh4984832550315462588.key 04:26:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:55 Avoid second fetch 04:26:55 Checking out Revision 8f9dabbcd23e32bae175015e2a15c1f428ed019f (main) 04:26:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:26:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:54 > git config core.sparsecheckout # timeout=10 04:26:54 > git checkout -f 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 04:26:58 Commit message: "Merge pull request #147 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:58 provisioning config files... 04:26:58 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config6470893386659092715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:59 ---> docker-login.sh 04:26:59 nexus3.edgexfoundry.org:10001 04:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:59 Configure a credential helper to remove this warning. See 04:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:59 04:26:59 Login Succeeded 04:26:59 nexus3.edgexfoundry.org:10002 04:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:59 Configure a credential helper to remove this warning. See 04:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:59 04:26:59 Login Succeeded 04:26:59 nexus3.edgexfoundry.org:10003 04:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:59 Configure a credential helper to remove this warning. See 04:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:59 04:26:59 Login Succeeded 04:26:59 nexus3.edgexfoundry.org:10004 04:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:59 Configure a credential helper to remove this warning. See 04:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:59 04:26:59 Login Succeeded 04:26:59 docker.io 04:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:59 Configure a credential helper to remove this warning. See 04:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:59 04:26:59 Login Succeeded 04:26:59 ---> docker-login.sh ends [Pipeline] } 04:27:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:27:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:00 ========================================================= 04:27:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:27:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:27:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 04:27:00 Sending build context to Docker daemon 121.9kB 04:27:00 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 04:27:00 Step 2/11 : FROM ${BASE} AS builder 04:27:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:27:00 a0d0a0d46f8b: Pulling fs layer 04:27:00 31adcdaf11c8: Pulling fs layer 04:27:00 b8b176561691: Pulling fs layer 04:27:00 4527c011a84f: Pulling fs layer 04:27:00 5d74067f8e1e: Pulling fs layer 04:27:00 e0aca202a116: Pulling fs layer 04:27:00 3a43be97a3b4: Pulling fs layer 04:27:00 34cad66bf833: Pulling fs layer 04:27:00 b4e3c513aaa6: Pulling fs layer 04:27:00 4527c011a84f: Waiting 04:27:00 5d74067f8e1e: Waiting 04:27:00 e0aca202a116: Waiting 04:27:00 3a43be97a3b4: Waiting 04:27:00 34cad66bf833: Waiting 04:27:00 b4e3c513aaa6: Waiting 04:27:00 b8b176561691: Verifying Checksum 04:27:00 b8b176561691: Download complete 04:27:00 31adcdaf11c8: Verifying Checksum 04:27:00 31adcdaf11c8: Download complete 04:27:00 5d74067f8e1e: Verifying Checksum 04:27:00 5d74067f8e1e: Download complete 04:27:00 e0aca202a116: Verifying Checksum 04:27:00 e0aca202a116: Download complete 04:27:00 3a43be97a3b4: Verifying Checksum 04:27:00 3a43be97a3b4: Download complete 04:27:00 a0d0a0d46f8b: Verifying Checksum 04:27:00 a0d0a0d46f8b: Download complete 04:27:00 34cad66bf833: Verifying Checksum 04:27:00 34cad66bf833: Download complete 04:27:01 a0d0a0d46f8b: Pull complete 04:27:01 4527c011a84f: Verifying Checksum 04:27:01 4527c011a84f: Download complete 04:27:01 31adcdaf11c8: Pull complete 04:27:01 b4e3c513aaa6: Verifying Checksum 04:27:01 b4e3c513aaa6: Download complete 04:27:01 b8b176561691: Pull complete 04:27:05 4527c011a84f: Pull complete 04:27:05 5d74067f8e1e: Pull complete 04:27:05 e0aca202a116: Pull complete 04:27:05 3a43be97a3b4: Pull complete 04:27:05 34cad66bf833: Pull complete 04:27:08 b4e3c513aaa6: Pull complete 04:27:08 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:27:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:27:08 ---> 9f6097aaca64 04:27:08 Step 3/11 : ARG MAKE='make build' 04:27:10 ---> Running in 3c027b590811 04:27:10 Removing intermediate container 3c027b590811 04:27:10 ---> 1bb8da76dedf 04:27:10 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:27:10 ---> Running in 0608e721a9b3 04:27:10 Removing intermediate container 0608e721a9b3 04:27:10 ---> b017e4b59000 04:27:10 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 04:27:10 ---> Running in 4520a3f6ef99 04:27:10 Removing intermediate container 4520a3f6ef99 04:27:10 ---> 03d94b3df0fb 04:27:10 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:27:10 ---> Running in 2c826b9f3aa5 04:27:10 Removing intermediate container 2c826b9f3aa5 04:27:10 ---> 5af54bd08bc5 04:27:10 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:27:10 ---> Running in 63efedd9b8e8 04:27:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:27:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:27:12 (1/4) Installing openssh-keygen (8.6_p1-r3) 04:27:12 (2/4) Installing libedit (20210216.3.1-r0) 04:27:12 (3/4) Installing openssh-client-common (8.6_p1-r3) 04:27:12 (4/4) Installing openssh-client-default (8.6_p1-r3) 04:27:12 Executing busybox-1.33.1-r3.trigger 04:27:12 OK: 224 MiB in 56 packages 04:27:12 Removing intermediate container 63efedd9b8e8 04:27:12 ---> 728c617fd5ae 04:27:12 Step 8/11 : WORKDIR /device-rest-go 04:27:12 ---> Running in 914888b5f07c 04:27:13 Removing intermediate container 914888b5f07c 04:27:13 ---> eb66864e7362 04:27:13 Step 9/11 : COPY . . 04:27:13 ---> 505a89af3c3d 04:27:13 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:13 ---> Running in d09b3f30aacb 04:27:51 Removing intermediate container d09b3f30aacb 04:27:51 ---> ec8570edb1e8 04:27:51 Step 11/11 : RUN $MAKE 04:27:51 ---> Running in 41d4f531cc14 04:27:51 noop 04:27:51 Removing intermediate container 41d4f531cc14 04:27:51 ---> fe5ebc56e90e 04:27:51 Successfully built fe5ebc56e90e 04:27:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:27:52 + docker inspect -f . ci-base-image-x86_64 04:27:52 . [Pipeline] withDockerContainer 04:27:52 prd-centos7-docker-4c-2g-33 does not seem to be running inside a container 04:27:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:27:52 $ docker top 47c8da58260b06da92fa5abb1009edb1fcc670c2fd3e868f4a729338643fb220 -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:53 + go version 04:27:53 go version go1.16.8 linux/amd64 [Pipeline] } 04:27:53 $ docker stop --time=1 47c8da58260b06da92fa5abb1009edb1fcc670c2fd3e868f4a729338643fb220 04:27:54 $ docker rm -f 47c8da58260b06da92fa5abb1009edb1fcc670c2fd3e868f4a729338643fb220 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:27:54 + docker inspect -f . ci-base-image-x86_64 04:27:54 . [Pipeline] withDockerContainer 04:27:54 prd-centos7-docker-4c-2g-33 does not seem to be running inside a container 04:27:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:27:55 $ docker top 91944532b5979d110434a7d35ba6aa554e0922cd64dbdc28b498c69d32392293 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:27:55 + make test 04:27:55 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:27:56 ? github.com/edgexfoundry/device-rest-go [no test files] 04:28:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:28:11 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements 04:28:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:28:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:28:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:28:17 ./bin/test-attribution-txt.sh [Pipeline] echo 04:28:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:28:18 $ docker stop --time=1 91944532b5979d110434a7d35ba6aa554e0922cd64dbdc28b498c69d32392293 04:28:19 $ docker rm -f 91944532b5979d110434a7d35ba6aa554e0922cd64dbdc28b498c69d32392293 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:28:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:24 + ls -al . 04:28:24 total 148 04:28:24 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 1 04:28 . 04:28:24 drwxrwxr-x. 4 jenkins jenkins 30 Dec 1 04:26 .. 04:28:24 -rw-rw-r--. 1 jenkins jenkins 7095 Dec 1 04:26 Attribution.txt 04:28:24 drwxrwxr-x. 2 jenkins jenkins 37 Dec 1 04:26 bin 04:28:24 -rw-rw-r--. 1 jenkins jenkins 7459 Dec 1 04:26 CHANGELOG.md 04:28:24 drwxrwxr-x. 3 jenkins jenkins 32 Dec 1 04:26 cmd 04:28:24 -rw-r--r--. 1 jenkins jenkins 9215 Dec 1 04:28 coverage.out 04:28:24 -rw-rw-r--. 1 jenkins jenkins 1649 Dec 1 04:26 Dockerfile 04:28:24 -rw-rw-r--. 1 jenkins jenkins 151 Dec 1 04:26 .dockerignore 04:28:24 drwxrwxr-x. 2 jenkins jenkins 76 Dec 1 04:26 driver 04:28:24 drwxrwxr-x. 8 jenkins jenkins 162 Dec 1 04:26 .git 04:28:24 drwxrwxr-x. 2 jenkins jenkins 103 Dec 1 04:26 .github 04:28:24 -rw-rw-r--. 1 jenkins jenkins 329 Dec 1 04:26 .gitignore 04:28:24 -rw-rw-r--. 1 jenkins jenkins 277 Dec 1 04:26 go.mod 04:28:24 -rw-rw-r--. 1 jenkins jenkins 49330 Dec 1 04:26 go.sum 04:28:24 -rw-rw-r--. 1 jenkins jenkins 677 Dec 1 04:26 GOVERNANCE.md 04:28:24 -rw-rw-r--. 1 jenkins jenkins 680 Dec 1 04:26 Jenkinsfile 04:28:24 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 1 04:26 LICENSE 04:28:24 -rw-rw-r--. 1 jenkins jenkins 1078 Dec 1 04:26 Makefile 04:28:24 -rw-rw-r--. 1 jenkins jenkins 620 Dec 1 04:26 OWNERS.md 04:28:24 -rw-rw-r--. 1 jenkins jenkins 8246 Dec 1 04:26 README.md 04:28:24 drwxrwxr-x. 3 jenkins jenkins 58 Dec 1 04:26 snap 04:28:24 -rw-rw-r--. 1 jenkins jenkins 11 Dec 1 04:25 VERSION 04:28:24 -rw-rw-r--. 1 jenkins jenkins 713 Dec 1 04:26 version.go [Pipeline] isUnix [Pipeline] sh 04:28:24 + 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=8f9dabbcd23e32bae175015e2a15c1f428ed019f --label arch=amd64 --label version=2.2.0-dev.1 . 04:28:24 Sending build context to Docker daemon 131.6kB 04:28:24 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:28:24 Step 2/24 : FROM ${BASE} AS builder 04:28:24 ---> fe5ebc56e90e 04:28:24 Step 3/24 : ARG MAKE='make build' 04:28:24 ---> Running in 2ab86650f2c6 04:28:24 Removing intermediate container 2ab86650f2c6 04:28:24 ---> 888139cc057c 04:28:24 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:28:24 ---> Running in bdd7e835e5d8 04:28:25 Removing intermediate container bdd7e835e5d8 04:28:25 ---> dd2c6962967f 04:28:25 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 04:28:25 ---> Running in c68d8ecb9663 04:28:25 Removing intermediate container c68d8ecb9663 04:28:25 ---> 98ff60528565 04:28:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:28:25 ---> Running in fc2bda53e14a 04:28:25 Removing intermediate container fc2bda53e14a 04:28:25 ---> fd81e937ed76 04:28:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:28:25 ---> Running in e6ef3ce99efb 04:28:26 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:28:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:28:27 OK: 224 MiB in 56 packages 04:28:27 Removing intermediate container e6ef3ce99efb 04:28:27 ---> 60fdc259bb8f 04:28:27 Step 8/24 : WORKDIR /device-rest-go 04:28:27 ---> Running in 0f88190d1ba9 04:28:27 Removing intermediate container 0f88190d1ba9 04:28:27 ---> 622f797f0f36 04:28:27 Step 9/24 : COPY . . 04:28:27 ---> 918c8ee8e79c 04:28:27 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:27 ---> Running in 603b9a4d05be 04:28:28 Removing intermediate container 603b9a4d05be 04:28:28 ---> 58e1de74e710 04:28:28 Step 11/24 : RUN $MAKE 04:28:28 ---> Running in ad080f923d5a 04:28:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.1" -o cmd/device-rest ./cmd 04:28:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-35 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 04:28:31 Running in /w/workspace/device-rest-go/21 [Pipeline] { [Pipeline] checkout 04:28:31 The recommended git tool is: git 04:28:36 using credential edgex-jenkins-ssh 04:28:36 Cloning the remote Git repository 04:28:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 04:28:36 > git init /w/workspace/device-rest-go/21 # timeout=10 04:28:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:28:37 > git --version # timeout=10 04:28:37 > git --version # 'git version 2.17.1' 04:28:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:28:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:28:40 Removing intermediate container ad080f923d5a 04:28:40 ---> 838a819ba538 04:28:40 Step 12/24 : FROM alpine:3.14 04:28:40 3.14: Pulling from library/alpine 04:28:40 97518928ae5f: Pulling fs layer 04:28:40 97518928ae5f: Verifying Checksum 04:28:40 97518928ae5f: Download complete 04:28:40 97518928ae5f: Pull complete 04:28:40 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:28:40 Status: Downloaded newer image for alpine:3.14 04:28:40 ---> 0a97eee8041e 04:28:40 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 04:28:40 ---> Running in 4503ab70aae8 04:28:40 Removing intermediate container 4503ab70aae8 04:28:40 ---> b0800bb48543 04:28:40 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 04:28:41 ---> Running in b67a0da71f74 04:28:41 Removing intermediate container b67a0da71f74 04:28:41 ---> feb226d71d7a 04:28:41 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 04:28:41 ---> Running in c8ccc8e4234e 04:28:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:28:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:28:41 (1/6) Installing dumb-init (1.2.5-r1) 04:28:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:28:41 (3/6) Installing libsodium (1.0.18-r0) 04:28:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:28:41 (5/6) Installing libzmq (4.3.4-r0) 04:28:41 (6/6) Installing zeromq (4.3.4-r0) 04:28:41 Executing busybox-1.33.1-r6.trigger 04:28:41 OK: 8 MiB in 20 packages 04:28:42 Removing intermediate container c8ccc8e4234e 04:28:42 ---> a30ebab3cff0 04:28:42 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 04:28:42 ---> 4681d46a6fad 04:28:42 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 04:28:42 ---> c6ca61f13679 04:28:42 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 04:28:42 ---> a9fef45c072a 04:28:42 Step 19/24 : EXPOSE 59986 04:28:42 ---> Running in f5f1ec1b23ab 04:28:42 Removing intermediate container f5f1ec1b23ab 04:28:42 ---> 19364628341f 04:28:42 Step 20/24 : ENTRYPOINT ["/device-rest"] 04:28:42 ---> Running in c9f339a12d21 04:28:42 Removing intermediate container c9f339a12d21 04:28:42 ---> 65ac456b506a 04:28:42 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:28:42 ---> Running in 29909c05fa5e 04:28:43 Removing intermediate container 29909c05fa5e 04:28:43 ---> f859c8cdea5f 04:28:43 Step 22/24 : LABEL arch=amd64 04:28:43 ---> Running in 50288b8d0d15 04:28:43 Removing intermediate container 50288b8d0d15 04:28:43 ---> ee10778a6f91 04:28:43 Step 23/24 : LABEL git_sha=8f9dabbcd23e32bae175015e2a15c1f428ed019f 04:28:43 ---> Running in 9ed70476ad56 04:28:43 Removing intermediate container 9ed70476ad56 04:28:43 ---> 8a65cc28977f 04:28:43 Step 24/24 : LABEL version=2.2.0-dev.1 04:28:43 ---> Running in 05fb0b816c76 04:28:43 Removing intermediate container 05fb0b816c76 04:28:43 ---> 08bb2eabd4dd 04:28:43 [Warning] One or more build-args [ARCH] were not consumed 04:28:43 Successfully built 08bb2eabd4dd 04:28:43 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:43 provisioning config files... 04:28:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config896502668147314464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:43 ---> docker-login.sh 04:28:43 nexus3.edgexfoundry.org:10001 04:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:43 Configure a credential helper to remove this warning. See 04:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:43 04:28:43 Login Succeeded 04:28:43 nexus3.edgexfoundry.org:10002 04:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:44 Configure a credential helper to remove this warning. See 04:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:44 04:28:44 Login Succeeded 04:28:44 nexus3.edgexfoundry.org:10003 04:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:44 Configure a credential helper to remove this warning. See 04:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:44 04:28:44 Login Succeeded 04:28:44 nexus3.edgexfoundry.org:10004 04:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:44 Configure a credential helper to remove this warning. See 04:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:44 04:28:44 Login Succeeded 04:28:44 docker.io 04:28:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:44 Configure a credential helper to remove this warning. See 04:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:44 04:28:44 Login Succeeded 04:28:44 ---> docker-login.sh ends [Pipeline] } 04:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:44 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 04:28:44 8f9dabbcd23e32bae175015e2a15c1f428ed019f 04:28:44 latest 04:28:44 2.2.0-dev.1 04:28:44 8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 04:28:44 main 04:28:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:28:44 Avoid second fetch 04:28:44 Checking out Revision 8f9dabbcd23e32bae175015e2a15c1f428ed019f (main) 04:28:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] isUnix [Pipeline] sh 04:28:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f 04:28:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:28:45 7d6eaa77e973: Preparing 04:28:45 53bf656549fa: Preparing 04:28:45 79aa57f73b70: Preparing 04:28:45 0954c5ba0863: Preparing 04:28:45 1a058d5342cc: Preparing 04:28:45 1a058d5342cc: Layer already exists 04:28:45 53bf656549fa: Pushed 04:28:45 7d6eaa77e973: Pushed 04:28:45 0954c5ba0863: Pushed 04:28:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:28:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:28:44 > git config core.sparsecheckout # timeout=10 04:28:44 > git checkout -f 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 04:28:46 79aa57f73b70: Pushed 04:28:46 8f9dabbcd23e32bae175015e2a15c1f428ed019f: digest: sha256:c530880db2742291ac52ad568bc00349b0621f381500e3d593dda8240f152c33 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:28:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 04:28:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 04:28:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:28:47 7d6eaa77e973: Preparing 04:28:47 53bf656549fa: Preparing 04:28:47 79aa57f73b70: Preparing 04:28:47 0954c5ba0863: Preparing 04:28:47 1a058d5342cc: Preparing 04:28:47 53bf656549fa: Layer already exists 04:28:47 7d6eaa77e973: Layer already exists 04:28:47 1a058d5342cc: Layer already exists 04:28:47 79aa57f73b70: Layer already exists 04:28:47 0954c5ba0863: Layer already exists 04:28:47 latest: digest: sha256:c530880db2742291ac52ad568bc00349b0621f381500e3d593dda8240f152c33 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:28:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 04:28:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.1 04:28:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:28:47 7d6eaa77e973: Preparing 04:28:47 53bf656549fa: Preparing 04:28:47 79aa57f73b70: Preparing 04:28:47 0954c5ba0863: Preparing 04:28:47 1a058d5342cc: Preparing 04:28:47 0954c5ba0863: Layer already exists 04:28:47 79aa57f73b70: Layer already exists 04:28:47 1a058d5342cc: Layer already exists 04:28:47 7d6eaa77e973: Layer already exists 04:28:47 53bf656549fa: Layer already exists 04:28:47 2.2.0-dev.1: digest: sha256:c530880db2742291ac52ad568bc00349b0621f381500e3d593dda8240f152c33 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:28:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 04:28:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 04:28:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:28:48 7d6eaa77e973: Preparing 04:28:48 53bf656549fa: Preparing 04:28:48 79aa57f73b70: Preparing 04:28:48 0954c5ba0863: Preparing 04:28:48 1a058d5342cc: Preparing 04:28:48 7d6eaa77e973: Layer already exists 04:28:48 0954c5ba0863: Layer already exists 04:28:48 79aa57f73b70: Layer already exists 04:28:48 53bf656549fa: Layer already exists 04:28:48 1a058d5342cc: Layer already exists 04:28:48 8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1: digest: sha256:c530880db2742291ac52ad568bc00349b0621f381500e3d593dda8240f152c33 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:28:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 04:28:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 04:28:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:28:49 7d6eaa77e973: Preparing 04:28:49 53bf656549fa: Preparing 04:28:49 79aa57f73b70: Preparing 04:28:49 0954c5ba0863: Preparing 04:28:49 1a058d5342cc: Preparing 04:28:49 1a058d5342cc: Layer already exists 04:28:49 0954c5ba0863: Layer already exists 04:28:49 53bf656549fa: Layer already exists 04:28:49 7d6eaa77e973: Layer already exists 04:28:49 79aa57f73b70: Layer already exists 04:28:49 main: digest: sha256:c530880db2742291ac52ad568bc00349b0621f381500e3d593dda8240f152c33 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:28:49 ===================================================== [Pipeline] echo 04:28:49 taggedImages: 04:28:49 - nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f 04:28:49 - nexus3.edgexfoundry.org:10004/device-rest:latest 04:28:49 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.1 04:28:49 - nexus3.edgexfoundry.org:10004/device-rest:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 04:28:49 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script 04:28:49 Commit message: "Merge pull request #147 from lenny-intel/no-win-zmq" [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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:28:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:49 04:28:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:28:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:50 latest: Pulling from edgex-lftools-log-publisher 04:28:50 b4d181a07f80: Pulling fs layer 04:28:50 a1111a8f2ec3: Pulling fs layer 04:28:50 ed53099fbce6: Pulling fs layer 04:28:50 dc539afda2c1: Pulling fs layer 04:28:50 77bc0d833cb6: Pulling fs layer 04:28:50 9065ff56babe: Pulling fs layer 04:28:50 d287ab97295c: Pulling fs layer 04:28:50 77bc0d833cb6: Waiting 04:28:50 9065ff56babe: Waiting 04:28:50 d287ab97295c: Waiting 04:28:50 dc539afda2c1: Waiting 04:28:50 a1111a8f2ec3: Verifying Checksum 04:28:50 a1111a8f2ec3: Download complete 04:28:50 dc539afda2c1: Verifying Checksum 04:28:50 dc539afda2c1: Download complete 04:28:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:28:50 % Total % Received % Xferd Average Speed Time Time Time Current 04:28:50 Dload Upload Total Spent Left Speed 04:28:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 75312 0 --:--:-- --:--:-- --:--:-- 75312 [Pipeline] sh 04:28:50 ed53099fbce6: Verifying Checksum 04:28:50 ed53099fbce6: Download complete 04:28:50 9065ff56babe: Verifying Checksum 04:28:50 9065ff56babe: Download complete 04:28:50 b4d181a07f80: Verifying Checksum 04:28:50 b4d181a07f80: Download complete 04:28:50 77bc0d833cb6: Verifying Checksum 04:28:50 77bc0d833cb6: Download complete 04:28:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:28:50 d287ab97295c: Verifying Checksum 04:28:50 d287ab97295c: Download complete 04:28:50 + sudo tee /etc/docker/daemon.new 04:28:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:28:50 { 04:28:50 "registry-mirrors": [ 04:28:50 "https://nexus3.edgexfoundry.org:10001" 04:28:50 ], 04:28:50 "bip": "10.250.0.254/24", 04:28:50 "hosts": [ 04:28:50 "tcp://0.0.0.0:5555", 04:28:50 "unix:///var/run/docker.sock" 04:28:50 ], 04:28:50 "mtu": 1458, 04:28:50 "selinux-enabled": true, 04:28:50 "seccomp-profile": "/etc/docker/seccomp.json" 04:28:50 } [Pipeline] sh 04:28:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:28:51 + sudo service docker restart 04:28:51 b4d181a07f80: Pull complete 04:28:51 a1111a8f2ec3: Pull complete 04:28:52 ed53099fbce6: Pull complete 04:28:52 dc539afda2c1: Pull complete 04:28:53 77bc0d833cb6: Pull complete 04:28:53 9065ff56babe: Pull complete 04:28:58 d287ab97295c: Pull complete 04:28:58 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:28:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:28:58 prd-centos7-docker-4c-2g-33 does not seem to be running inside a container 04:28:58 $ 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/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:29:00 $ docker top 72f187b492bf76439d52830ea374030191d13cca801ededfd044f82b31283552 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:01 ---> job-cost.sh 04:29:01 lf-activate-venv: SKIPPING 04:29:01 INFO: No Stack... 04:29:01 INFO: Retrieving Pricing Info for: v3-standard-2 04:29:01 INFO: Archiving Costs [Pipeline] sh 04:29:02 + cat /w/workspace/device-rest-go/21/archives/cost.csv 04:29:02 + cut -d, -f6 [Pipeline] lock 04:29:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] 04:29:02 Resource [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] did not exist. Created. 04:29:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:02 + echo total: 0.05999999865889549 [Pipeline] stash 04:29:02 Stashed 1 file(s) [Pipeline] } 04:29:02 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:02 $ docker stop --time=1 72f187b492bf76439d52830ea374030191d13cca801ededfd044f82b31283552 04:29:03 $ docker rm -f 72f187b492bf76439d52830ea374030191d13cca801ededfd044f82b31283552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:10 provisioning config files... 04:29:10 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config9209082194107660875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:10 ---> docker-login.sh 04:29:10 nexus3.edgexfoundry.org:10001 04:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:11 Configure a credential helper to remove this warning. See 04:29:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:11 04:29:11 Login Succeeded 04:29:11 nexus3.edgexfoundry.org:10002 04:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:11 Configure a credential helper to remove this warning. See 04:29:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:11 04:29:11 Login Succeeded 04:29:11 nexus3.edgexfoundry.org:10003 04:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:12 Configure a credential helper to remove this warning. See 04:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:12 04:29:12 Login Succeeded 04:29:12 nexus3.edgexfoundry.org:10004 04:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:12 Configure a credential helper to remove this warning. See 04:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:12 04:29:12 Login Succeeded 04:29:12 docker.io 04:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:13 Configure a credential helper to remove this warning. See 04:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:13 04:29:13 Login Succeeded 04:29:13 ---> docker-login.sh ends [Pipeline] } 04:29:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:29:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:29:14 ========================================================= 04:29:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:29:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:29:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 04:29:14 Sending build context to Docker daemon 121.9kB 04:29:14 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 04:29:14 Step 2/11 : FROM ${BASE} AS builder 04:29:15 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:29:15 552d1f2373af: Pulling fs layer 04:29:15 ea3f2d53f512: Pulling fs layer 04:29:15 9e70ebbbe112: Pulling fs layer 04:29:15 7a9cfe048b4a: Pulling fs layer 04:29:15 72dc09318566: Pulling fs layer 04:29:15 f4f7b4309257: Pulling fs layer 04:29:15 0ac9a79272e3: Pulling fs layer 04:29:15 b78e95d17946: Pulling fs layer 04:29:15 f4f7b4309257: Waiting 04:29:15 0ac9a79272e3: Waiting 04:29:15 7a9cfe048b4a: Waiting 04:29:15 b78e95d17946: Waiting 04:29:15 72dc09318566: Waiting 04:29:15 9e70ebbbe112: Verifying Checksum 04:29:15 ea3f2d53f512: Download complete 04:29:15 72dc09318566: Verifying Checksum 04:29:15 72dc09318566: Download complete 04:29:15 f4f7b4309257: Verifying Checksum 04:29:15 f4f7b4309257: Download complete 04:29:15 552d1f2373af: Verifying Checksum 04:29:15 552d1f2373af: Download complete 04:29:15 0ac9a79272e3: Verifying Checksum 04:29:15 0ac9a79272e3: Download complete 04:29:16 552d1f2373af: Pull complete 04:29:16 ea3f2d53f512: Pull complete 04:29:17 9e70ebbbe112: Pull complete 04:29:17 b78e95d17946: Verifying Checksum 04:29:17 b78e95d17946: Download complete 04:29:18 7a9cfe048b4a: Verifying Checksum 04:29:18 7a9cfe048b4a: Download complete 04:29:30 7a9cfe048b4a: Pull complete 04:29:30 72dc09318566: Pull complete 04:29:30 f4f7b4309257: Pull complete 04:29:30 0ac9a79272e3: Pull complete 04:29:35 b78e95d17946: Pull complete 04:29:35 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:29:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:29:35 ---> 8b459fc5aaf0 04:29:35 Step 3/11 : ARG MAKE='make build' 04:29:37 ---> Running in 8c79a343a493 04:29:37 Removing intermediate container 8c79a343a493 04:29:37 ---> 7a176d26ac40 04:29:37 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:29:37 ---> Running in 86fb23e3009d 04:29:37 Removing intermediate container 86fb23e3009d 04:29:37 ---> ec7a4ad54372 04:29:37 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 04:29:38 ---> Running in c4e9362780eb 04:29:38 Removing intermediate container c4e9362780eb 04:29:38 ---> 21ae1dadabbd 04:29:38 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:29:38 ---> Running in d8d31530f501 04:29:40 Removing intermediate container d8d31530f501 04:29:40 ---> 556a84524c7a 04:29:40 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:29:40 ---> Running in 07f96361ea06 04:29:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:29:42 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:29:43 (1/4) Installing openssh-keygen (8.6_p1-r3) 04:29:43 (2/4) Installing libedit (20210216.3.1-r0) 04:29:43 (3/4) Installing openssh-client-common (8.6_p1-r3) 04:29:43 (4/4) Installing openssh-client-default (8.6_p1-r3) 04:29:44 Executing busybox-1.33.1-r3.trigger 04:29:44 OK: 223 MiB in 56 packages 04:29:45 Removing intermediate container 07f96361ea06 04:29:45 ---> 04f001d6bb9b 04:29:45 Step 8/11 : WORKDIR /device-rest-go 04:29:45 ---> Running in c1f8854e663f 04:29:45 Removing intermediate container c1f8854e663f 04:29:45 ---> 82f009465f57 04:29:45 Step 9/11 : COPY . . 04:29:46 ---> c00770ef0c91 04:29:46 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:29:46 ---> Running in 6d344ccab47f 04:31:08 Removing intermediate container 6d344ccab47f 04:31:08 ---> a30ff3c4cfd0 04:31:08 Step 11/11 : RUN $MAKE 04:31:08 ---> Running in d8e1549f7eb8 04:31:08 noop 04:31:08 Removing intermediate container d8e1549f7eb8 04:31:08 ---> 47bc7b6e5a88 04:31:08 Successfully built 47bc7b6e5a88 04:31:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:31:08 + docker inspect -f . ci-base-image-arm64 04:31:08 . [Pipeline] withDockerContainer 04:31:09 prd-ubuntu18.04-docker-arm64-4c-16g-35 does not seem to be running inside a container 04:31:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:31:10 $ docker top a89a42170bef77e7e7efc4cd6d56b62f61b08f84327ca8ccc27872d71b0d534b -eo pid,comm [Pipeline] { [Pipeline] sh 04:31:11 + go version 04:31:11 go version go1.16.8 linux/arm64 [Pipeline] } 04:31:11 $ docker stop --time=1 a89a42170bef77e7e7efc4cd6d56b62f61b08f84327ca8ccc27872d71b0d534b 04:31:13 $ docker rm -f a89a42170bef77e7e7efc4cd6d56b62f61b08f84327ca8ccc27872d71b0d534b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:31:14 + docker inspect -f . ci-base-image-arm64 04:31:14 . [Pipeline] withDockerContainer 04:31:14 prd-ubuntu18.04-docker-arm64-4c-16g-35 does not seem to be running inside a container 04:31:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:31:15 $ docker top 1883ed0c2bb8335b2869ea23a320a7055f02293b275176be7828aac257fcc256 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:31:16 + make test 04:31:16 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:31:18 ? github.com/edgexfoundry/device-rest-go [no test files] 04:32:26 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:32:26 ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 56.0% of statements 04:32:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:32:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:32:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:32:48 ./bin/test-attribution-txt.sh [Pipeline] echo 04:32:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:32:48 $ docker stop --time=1 1883ed0c2bb8335b2869ea23a320a7055f02293b275176be7828aac257fcc256 04:32:50 $ docker rm -f 1883ed0c2bb8335b2869ea23a320a7055f02293b275176be7828aac257fcc256 [Pipeline] // withDockerContainer [Pipeline] sh 04:32:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:32:51 Warning: overwriting stash ‘coverage-report’ 04:32:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:32:52 + ls -al . 04:32:52 total 176 04:32:52 drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 04:32 . 04:32:52 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 04:28 .. 04:32:52 -rw-rw-r-- 1 jenkins jenkins 151 Dec 1 04:28 .dockerignore 04:32:52 drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 04:28 .git 04:32:52 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 04:28 .github 04:32:52 -rw-rw-r-- 1 jenkins jenkins 329 Dec 1 04:28 .gitignore 04:32:52 -rw-rw-r-- 1 jenkins jenkins 7095 Dec 1 04:28 Attribution.txt 04:32:52 -rw-rw-r-- 1 jenkins jenkins 7459 Dec 1 04:28 CHANGELOG.md 04:32:52 -rw-rw-r-- 1 jenkins jenkins 1649 Dec 1 04:28 Dockerfile 04:32:52 -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 04:28 GOVERNANCE.md 04:32:52 -rw-rw-r-- 1 jenkins jenkins 680 Dec 1 04:28 Jenkinsfile 04:32:52 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 1 04:28 LICENSE 04:32:52 -rw-rw-r-- 1 jenkins jenkins 1078 Dec 1 04:28 Makefile 04:32:52 -rw-rw-r-- 1 jenkins jenkins 620 Dec 1 04:28 OWNERS.md 04:32:52 -rw-rw-r-- 1 jenkins jenkins 8246 Dec 1 04:28 README.md 04:32:52 -rw-rw-r-- 1 jenkins jenkins 11 Dec 1 04:25 VERSION 04:32:52 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 04:28 bin 04:32:52 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 04:28 cmd 04:32:52 -rw-r--r-- 1 jenkins jenkins 9215 Dec 1 04:32 coverage.out 04:32:52 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 04:28 driver 04:32:52 -rw-rw-r-- 1 jenkins jenkins 277 Dec 1 04:28 go.mod 04:32:52 -rw-rw-r-- 1 jenkins jenkins 49330 Dec 1 04:28 go.sum 04:32:52 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 04:28 snap 04:32:52 -rw-rw-r-- 1 jenkins jenkins 713 Dec 1 04:28 version.go [Pipeline] isUnix [Pipeline] sh 04:32:53 + 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=8f9dabbcd23e32bae175015e2a15c1f428ed019f --label arch=arm64 --label version=2.2.0-dev.1 . 04:32:53 Sending build context to Docker daemon 131.6kB 04:32:53 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:32:53 Step 2/24 : FROM ${BASE} AS builder 04:32:53 ---> 47bc7b6e5a88 04:32:53 Step 3/24 : ARG MAKE='make build' 04:32:53 ---> Running in 7b25c011597e 04:32:54 Removing intermediate container 7b25c011597e 04:32:54 ---> 642fbbe6aa9c 04:32:54 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:32:54 ---> Running in ca8bab8c1edb 04:32:54 Removing intermediate container ca8bab8c1edb 04:32:54 ---> 58a98e24278f 04:32:54 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 04:32:54 ---> Running in 15ba1d5eab13 04:32:55 Removing intermediate container 15ba1d5eab13 04:32:55 ---> abb3fdf98837 04:32:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:32:55 ---> Running in 990cd156548f 04:32:57 Removing intermediate container 990cd156548f 04:32:57 ---> 64da527031d0 04:32:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:32:57 ---> Running in ccf13daf2d0b 04:32:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:32:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:33:00 OK: 223 MiB in 56 packages 04:33:01 Removing intermediate container ccf13daf2d0b 04:33:01 ---> 87a945e9365e 04:33:01 Step 8/24 : WORKDIR /device-rest-go 04:33:01 ---> Running in d28a444a0215 04:33:01 Removing intermediate container d28a444a0215 04:33:01 ---> 9047a49e8f8c 04:33:01 Step 9/24 : COPY . . 04:33:02 ---> 47f0fa416dbf 04:33:02 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:02 ---> Running in 0d89cf231b1e 04:33:05 Removing intermediate container 0d89cf231b1e 04:33:05 ---> 628fba251535 04:33:05 Step 11/24 : RUN $MAKE 04:33:05 ---> Running in 44d8348022b5 04:33:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.1" -o cmd/device-rest ./cmd 04:33:53 Removing intermediate container 44d8348022b5 04:33:53 ---> bc3a7ed9632f 04:33:53 Step 12/24 : FROM alpine:3.14 04:33:53 3.14: Pulling from library/alpine 04:33:53 be307f383ecc: Pulling fs layer 04:33:53 be307f383ecc: Verifying Checksum 04:33:53 be307f383ecc: Download complete 04:33:53 be307f383ecc: Pull complete 04:33:53 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:33:53 Status: Downloaded newer image for alpine:3.14 04:33:53 ---> 5b8b7b635229 04:33:53 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 04:33:53 ---> Running in fe664cda55ae 04:33:53 Removing intermediate container fe664cda55ae 04:33:53 ---> 9aa734db65be 04:33:53 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 04:33:53 ---> Running in 4284cf53c9d5 04:33:53 Removing intermediate container 4284cf53c9d5 04:33:53 ---> 916cafa8277f 04:33:53 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 04:33:53 ---> Running in 8149a4ec778d 04:33:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:33:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:33:53 (1/6) Installing dumb-init (1.2.5-r1) 04:33:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:33:53 (3/6) Installing libsodium (1.0.18-r0) 04:33:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:33:53 (5/6) Installing libzmq (4.3.4-r0) 04:33:53 (6/6) Installing zeromq (4.3.4-r0) 04:33:53 Executing busybox-1.33.1-r6.trigger 04:33:53 OK: 8 MiB in 20 packages 04:33:53 Removing intermediate container 8149a4ec778d 04:33:53 ---> d3b803536b29 04:33:53 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 04:33:53 ---> 85537900cd28 04:33:53 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 04:33:53 ---> 42dbb5b2f5b7 04:33:53 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 04:33:54 ---> c159a3e37c56 04:33:54 Step 19/24 : EXPOSE 59986 04:33:54 ---> Running in a12aabe2a41a 04:33:54 Removing intermediate container a12aabe2a41a 04:33:54 ---> 2464d5139f50 04:33:54 Step 20/24 : ENTRYPOINT ["/device-rest"] 04:33:54 ---> Running in 635c129c6c33 04:33:55 Removing intermediate container 635c129c6c33 04:33:55 ---> 5536c2005abb 04:33:55 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:33:55 ---> Running in 13e2685c595f 04:33:55 Removing intermediate container 13e2685c595f 04:33:55 ---> b062ba6ad2dc 04:33:55 Step 22/24 : LABEL arch=arm64 04:33:55 ---> Running in a34786ed4726 04:33:56 Removing intermediate container a34786ed4726 04:33:56 ---> e800eebb01a1 04:33:56 Step 23/24 : LABEL git_sha=8f9dabbcd23e32bae175015e2a15c1f428ed019f 04:33:56 ---> Running in 6e6ccebe9da1 04:33:56 Removing intermediate container 6e6ccebe9da1 04:33:56 ---> a34468d666c0 04:33:56 Step 24/24 : LABEL version=2.2.0-dev.1 04:33:56 ---> Running in 1afc70c49269 04:33:57 Removing intermediate container 1afc70c49269 04:33:57 ---> 2a0e220a65f6 04:33:57 [Warning] One or more build-args [ARCH] were not consumed 04:33:57 Successfully built 2a0e220a65f6 04:33:57 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 04:33:57 provisioning config files... 04:33:57 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/21@tmp/config7345549898876142479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:57 ---> docker-login.sh 04:33:57 nexus3.edgexfoundry.org:10001 04:33:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:57 Configure a credential helper to remove this warning. See 04:33:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:57 04:33:57 Login Succeeded 04:33:57 nexus3.edgexfoundry.org:10002 04:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:58 Configure a credential helper to remove this warning. See 04:33:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:58 04:33:58 Login Succeeded 04:33:58 nexus3.edgexfoundry.org:10003 04:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:58 Configure a credential helper to remove this warning. See 04:33:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:58 04:33:58 Login Succeeded 04:33:58 nexus3.edgexfoundry.org:10004 04:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:59 Configure a credential helper to remove this warning. See 04:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:59 04:33:59 Login Succeeded 04:33:59 docker.io 04:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:00 Configure a credential helper to remove this warning. See 04:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:00 04:34:00 Login Succeeded 04:34:00 ---> docker-login.sh ends [Pipeline] } 04:34:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:34:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:34:00 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 04:34:00 8f9dabbcd23e32bae175015e2a15c1f428ed019f 04:34:00 latest 04:34:00 2.2.0-dev.1 04:34:00 8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 04:34:00 main 04:34:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:34:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] isUnix [Pipeline] sh 04:34:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f 04:34:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:34:00 52f5dd487a79: Preparing 04:34:00 f063872ba9a9: Preparing 04:34:00 0b88c54bd0ed: Preparing 04:34:00 d169a51bb13b: Preparing 04:34:00 62170e181a92: Preparing 04:34:00 62170e181a92: Layer already exists 04:34:01 52f5dd487a79: Pushed 04:34:01 f063872ba9a9: Pushed 04:34:01 d169a51bb13b: Pushed 04:34:04 0b88c54bd0ed: Pushed 04:34:04 8f9dabbcd23e32bae175015e2a15c1f428ed019f: digest: sha256:c2fe36202a9cbd8197aa03c63475357428991bbf962b4285e3b945feed336e3b size: 1365 [Pipeline] isUnix [Pipeline] sh 04:34:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:34:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:34:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:34:05 52f5dd487a79: Preparing 04:34:05 f063872ba9a9: Preparing 04:34:05 0b88c54bd0ed: Preparing 04:34:05 d169a51bb13b: Preparing 04:34:05 62170e181a92: Preparing 04:34:05 d169a51bb13b: Layer already exists 04:34:05 62170e181a92: Layer already exists 04:34:05 0b88c54bd0ed: Layer already exists 04:34:05 52f5dd487a79: Layer already exists 04:34:05 f063872ba9a9: Layer already exists 04:34:05 latest: digest: sha256:c2fe36202a9cbd8197aa03c63475357428991bbf962b4285e3b945feed336e3b size: 1365 [Pipeline] isUnix [Pipeline] sh 04:34:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 04:34:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.1 04:34:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:34:06 52f5dd487a79: Preparing 04:34:06 f063872ba9a9: Preparing 04:34:06 0b88c54bd0ed: Preparing 04:34:06 d169a51bb13b: Preparing 04:34:06 62170e181a92: Preparing 04:34:06 d169a51bb13b: Layer already exists 04:34:06 52f5dd487a79: Layer already exists 04:34:06 0b88c54bd0ed: Layer already exists 04:34:06 f063872ba9a9: Layer already exists 04:34:06 62170e181a92: Layer already exists 04:34:06 2.2.0-dev.1: digest: sha256:c2fe36202a9cbd8197aa03c63475357428991bbf962b4285e3b945feed336e3b size: 1365 [Pipeline] isUnix [Pipeline] sh 04:34:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 04:34:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 04:34:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:34:06 52f5dd487a79: Preparing 04:34:06 f063872ba9a9: Preparing 04:34:06 0b88c54bd0ed: Preparing 04:34:06 d169a51bb13b: Preparing 04:34:06 62170e181a92: Preparing 04:34:06 62170e181a92: Layer already exists 04:34:06 52f5dd487a79: Layer already exists 04:34:06 f063872ba9a9: Layer already exists 04:34:06 0b88c54bd0ed: Layer already exists 04:34:06 d169a51bb13b: Layer already exists 04:34:07 8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1: digest: sha256:c2fe36202a9cbd8197aa03c63475357428991bbf962b4285e3b945feed336e3b size: 1365 [Pipeline] isUnix [Pipeline] sh 04:34:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 04:34:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 04:34:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:34:07 52f5dd487a79: Preparing 04:34:07 f063872ba9a9: Preparing 04:34:07 0b88c54bd0ed: Preparing 04:34:07 d169a51bb13b: Preparing 04:34:07 62170e181a92: Preparing 04:34:07 f063872ba9a9: Layer already exists 04:34:07 d169a51bb13b: Layer already exists 04:34:07 52f5dd487a79: Layer already exists 04:34:07 62170e181a92: Layer already exists 04:34:07 0b88c54bd0ed: Layer already exists 04:34:08 main: digest: sha256:c2fe36202a9cbd8197aa03c63475357428991bbf962b4285e3b945feed336e3b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:34:08 ===================================================== [Pipeline] echo 04:34:08 taggedImages: 04:34:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f 04:34:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:34:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.1 04:34:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:8f9dabbcd23e32bae175015e2a15c1f428ed019f-2.2.0-dev.1 04:34:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:34:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:08 04:34:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:34:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:09 arm64: Pulling from edgex-lftools-log-publisher 04:34:09 448f6bf000e3: Pulling fs layer 04:34:09 f757da607395: Pulling fs layer 04:34:09 05883995daec: Pulling fs layer 04:34:09 8603b9c90790: Pulling fs layer 04:34:09 1560dd03e051: Pulling fs layer 04:34:09 27f5ce0e4adf: Pulling fs layer 04:34:09 c2d8d7efcc4b: Pulling fs layer 04:34:09 8603b9c90790: Waiting 04:34:09 1560dd03e051: Waiting 04:34:09 27f5ce0e4adf: Waiting 04:34:09 c2d8d7efcc4b: Waiting 04:34:09 f757da607395: Verifying Checksum 04:34:09 f757da607395: Download complete 04:34:09 8603b9c90790: Verifying Checksum 04:34:09 8603b9c90790: Download complete 04:34:09 1560dd03e051: Verifying Checksum 04:34:09 1560dd03e051: Download complete 04:34:09 27f5ce0e4adf: Verifying Checksum 04:34:09 27f5ce0e4adf: Download complete 04:34:09 05883995daec: Verifying Checksum 04:34:09 05883995daec: Download complete 04:34:09 448f6bf000e3: Download complete 04:34:12 c2d8d7efcc4b: Verifying Checksum 04:34:12 c2d8d7efcc4b: Download complete 04:34:13 448f6bf000e3: Pull complete 04:34:14 f757da607395: Pull complete 04:34:15 05883995daec: Pull complete 04:34:15 8603b9c90790: Pull complete 04:34:16 1560dd03e051: Pull complete 04:34:17 27f5ce0e4adf: Pull complete 04:34:32 c2d8d7efcc4b: Pull complete 04:34:32 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:34:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:34:32 prd-ubuntu18.04-docker-arm64-4c-16g-35 does not seem to be running inside a container 04:34:32 $ 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/21 -v /w/workspace/device-rest-go/21:/w/workspace/device-rest-go/21:rw,z -v /w/workspace/device-rest-go/21@tmp:/w/workspace/device-rest-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:34:35 $ docker top c3082182448f044dc28ac5b7d90ec1383935b2f85ebe9d894f549c76e435376f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:36 ---> job-cost.sh 04:34:36 lf-activate-venv: SKIPPING 04:34:36 INFO: No Stack... 04:34:36 INFO: Retrieving Pricing Info for: v3-standard-4 04:34:37 INFO: Archiving Costs [Pipeline] sh 04:34:37 + cut -d, -f6 04:34:37 + cat /w/workspace/device-rest-go/21/archives/cost.csv [Pipeline] lock 04:34:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] 04:34:38 Resource [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] did not exist. Created. 04:34:38 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:34:38 /w/workspace/device-rest-go/21@tmp/durable-2d3f85a3/script.sh: 1: /w/workspace/device-rest-go/21@tmp/durable-2d3f85a3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:34:39 + echo total: 0.10999999940395355 [Pipeline] stash 04:34:39 Warning: overwriting stash ‘stack-cost’ 04:34:39 Stashed 1 file(s) [Pipeline] } 04:34:39 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 04:34:39 $ docker stop --time=1 c3082182448f044dc28ac5b7d90ec1383935b2f85ebe9d894f549c76e435376f 04:34:41 $ docker rm -f c3082182448f044dc28ac5b7d90ec1383935b2f85ebe9d894f549c76e435376f [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 04:34:41 provisioning config files... 04:34:41 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3453747460261130257tmp [Pipeline] { [Pipeline] sh 04:34:41 + set +x 04:34:41 + curl -s https://codecov.io/bash 04:34:41 + bash -s -- 04:34:41 04:34:41 _____ _ 04:34:41 / ____| | | 04:34:41 | | ___ __| | ___ ___ _____ __ 04:34:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:34:41 | |___| (_) | (_| | __/ (_| (_) \ V / 04:34:41 \_____\___/ \__,_|\___|\___\___/ \_/ 04:34:41 Bash-1.0.6 04:34:41 04:34:41 04:34:41 ==> git version 2.24.4 found 04:34:41 ==> 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 04:34:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:34:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:34:41 ==> Jenkins CI detected. 04:34:41 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 04:34:41 project root: . 04:34:41 --> token set from env 04:34:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:34:41 ==> Running gcov in . (disable via -X gcov) 04:34:41 ==> Python coveragepy not found 04:34:41 ==> Searching for coverage reports in: 04:34:41 + . 04:34:41 -> Found 1 reports 04:34:41 ==> Detecting git/mercurial file structure 04:34:42 ==> Reading reports 04:34:42 + ./coverage.out bytes=9215 04:34:42 ==> Appending adjustments 04:34:42 https://docs.codecov.io/docs/fixing-reports 04:34:42 + Found adjustments 04:34:42 ==> Gzipping contents 04:34:42 4.0K /tmp/codecov.ulXBjK.gz 04:34:42 ==> Uploading reports 04:34:42 url: https://codecov.io 04:34:42 query: branch=main&commit=8f9dabbcd23e32bae175015e2a15c1f428ed019f&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:34:42 -> Pinging Codecov 04:34:42 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=8f9dabbcd23e32bae175015e2a15c1f428ed019f&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:34:42 -> Uploading to 04:34:42 https://storage.googleapis.com/codecov/v4/raw/2021-12-01/4E5D53B4F1F92C436F7061BF334D961C/8f9dabbcd23e32bae175015e2a15c1f428ed019f/922b1804-4b01-42ae-8520-4ed2d7bb9d67.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211201T043442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a481c55095d87d29690da5e8807631e4f9ea8cef4a168fa7a8ff2ef4f380b11a 04:34:42 % Total % Received % Xferd Average Speed Time Time Time Current 04:34:42 Dload Upload Total Spent Left Speed 04:34:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5968 --:--:-- --:--:-- --:--:-- 5976 04:34:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] } 04:34:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:34:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:34:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:34:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:34:43 04:34:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:34:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:34:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:34:43 188c0c94c7c5: Pulling fs layer 04:34:43 0ef7d3d256c8: Pulling fs layer 04:34:43 de9db76c5a1d: Pulling fs layer 04:34:43 0eba1c9be4d2: Pulling fs layer 04:34:43 0d57e429df01: Pulling fs layer 04:34:43 4e4be7b47b0d: Pulling fs layer 04:34:43 e1f770b5df2f: Pulling fs layer 04:34:43 85a0685a4137: Pulling fs layer 04:34:43 0eba1c9be4d2: Waiting 04:34:43 0d57e429df01: Waiting 04:34:43 85a0685a4137: Waiting 04:34:43 4e4be7b47b0d: Waiting 04:34:43 e1f770b5df2f: Waiting 04:34:43 de9db76c5a1d: Download complete 04:34:43 0ef7d3d256c8: Verifying Checksum 04:34:43 0ef7d3d256c8: Download complete 04:34:43 0d57e429df01: Verifying Checksum 04:34:43 0d57e429df01: Download complete 04:34:43 188c0c94c7c5: Verifying Checksum 04:34:43 188c0c94c7c5: Download complete 04:34:43 4e4be7b47b0d: Verifying Checksum 04:34:43 4e4be7b47b0d: Download complete 04:34:43 e1f770b5df2f: Verifying Checksum 04:34:43 e1f770b5df2f: Download complete 04:34:44 0eba1c9be4d2: Verifying Checksum 04:34:44 0eba1c9be4d2: Download complete 04:34:44 188c0c94c7c5: Pull complete 04:34:44 85a0685a4137: Verifying Checksum 04:34:44 85a0685a4137: Download complete 04:34:44 0ef7d3d256c8: Pull complete 04:34:44 de9db76c5a1d: Pull complete 04:34:48 0eba1c9be4d2: Pull complete 04:34:48 0d57e429df01: Pull complete 04:34:48 4e4be7b47b0d: Pull complete 04:34:48 e1f770b5df2f: Pull complete 04:34:53 85a0685a4137: Pull complete 04:34:53 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:34:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:34:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:34:53 prd-centos7-docker-4c-2g-30 does not seem to be running inside a container 04:34:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:34:55 $ docker top 23bc953af755a5b9a9c0037ea4152d8eb4a6fd58f4699f5b5b2893211571bf62 -eo pid,comm [Pipeline] { [Pipeline] echo 04:34:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:34:55 + set -o pipefail 04:34:55 + snyk monitor '--org=edgex-jenkins' 04:35:00 04:35:00 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 04:35:00 04:35:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/3dba02d1-9b17-40a5-8b0d-b4b71c98f3c9 04:35:00 04:35:00 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:35:00 04:35:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:35:00 04:35:00 [Pipeline] } 04:35:00 $ docker stop --time=1 23bc953af755a5b9a9c0037ea4152d8eb4a6fd58f4699f5b5b2893211571bf62 04:35:02 $ docker rm -f 23bc953af755a5b9a9c0037ea4152d8eb4a6fd58f4699f5b5b2893211571bf62 [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 04:35:03 + git log --format=format:%s -1 8f9dabbcd23e32bae175015e2a15c1f428ed019f [Pipeline] sh 04:35:04 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:35:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:35:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:35:04 . [Pipeline] withDockerContainer 04:35:04 prd-centos7-docker-4c-2g-30 does not seem to be running inside a container 04:35:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:35:04 $ docker top 74829ef4e703193b2f1dc54c544503c7bd8fc3d6e156a9d235a66a4c46813f95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:35:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:35:04 [ssh-agent] Looking for ssh-agent implementation... 04:35:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:35:04 $ docker exec 74829ef4e703193b2f1dc54c544503c7bd8fc3d6e156a9d235a66a4c46813f95 ssh-agent 04:35:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJMOmKK/agent.13 04:35:05 SSH_AGENT_PID=20 04:35:05 Running ssh-add (command line suppressed) 04:35:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8528564264898943943.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8528564264898943943.key) 04:35:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:35:05 + git semver tag 04:35:05 # -> Open(): unable to determine branch for HEAD 04:35:05 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 04:35:05 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 04:35:05 # $SEMVER_REMOTE_NAME = origin 04:35:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:35:05 # $SEMVER_USER_NAME = edgex-jenkins 04:35:05 # $SEMVER_BRANCH = main 04:35:05 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 04:35:05 # 8f9dabbcd23e32bae175015e2a15c1f428ed019f HEAD 04:35:05 # -> Force: false 04:35:05 # 52d27dbb9421d37d36ba5647ebd07514382b6205 refs/tags/v2.2.0-dev.1 [Pipeline] } 04:35:05 $ docker exec --env ******** --env ******** 74829ef4e703193b2f1dc54c544503c7bd8fc3d6e156a9d235a66a4c46813f95 ssh-agent -k 04:35:05 unset SSH_AUTH_SOCK; 04:35:05 unset SSH_AGENT_PID; 04:35:05 echo Agent pid 20 killed; 04:35:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:35:05 + git semver [Pipeline] } 04:35:05 $ docker stop --time=1 74829ef4e703193b2f1dc54c544503c7bd8fc3d6e156a9d235a66a4c46813f95 04:35:07 $ docker rm -f 74829ef4e703193b2f1dc54c544503c7bd8fc3d6e156a9d235a66a4c46813f95 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:35:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:35:07 04:35:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:35:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:35:07 0.23.1-centos7: Pulling from edgex-lftools 04:35:07 ab5ef0e58194: Pulling fs layer 04:35:07 9712f1f96733: Pulling fs layer 04:35:07 63f879dbbcfc: Pulling fs layer 04:35:07 0d9ebad4ef96: Pulling fs layer 04:35:07 e9a5061849ea: Pulling fs layer 04:35:07 d747dcd14b5f: Pulling fs layer 04:35:07 2de7ff778b66: Pulling fs layer 04:35:07 e9a5061849ea: Waiting 04:35:07 d747dcd14b5f: Waiting 04:35:07 2de7ff778b66: Waiting 04:35:07 0d9ebad4ef96: Waiting 04:35:07 9712f1f96733: Download complete 04:35:08 63f879dbbcfc: Verifying Checksum 04:35:08 63f879dbbcfc: Download complete 04:35:08 0d9ebad4ef96: Verifying Checksum 04:35:08 0d9ebad4ef96: Download complete 04:35:08 d747dcd14b5f: Verifying Checksum 04:35:08 d747dcd14b5f: Download complete 04:35:08 e9a5061849ea: Verifying Checksum 04:35:08 e9a5061849ea: Download complete 04:35:08 2de7ff778b66: Verifying Checksum 04:35:08 2de7ff778b66: Download complete 04:35:08 ab5ef0e58194: Verifying Checksum 04:35:08 ab5ef0e58194: Download complete 04:35:11 ab5ef0e58194: Pull complete 04:35:11 9712f1f96733: Pull complete 04:35:11 63f879dbbcfc: Pull complete 04:35:16 0d9ebad4ef96: Pull complete 04:35:16 e9a5061849ea: Pull complete 04:35:16 d747dcd14b5f: Pull complete 04:35:17 2de7ff778b66: Pull complete 04:35:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:35:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:35:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:35:17 prd-centos7-docker-4c-2g-30 does not seem to be running inside a container 04:35:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:35:21 $ docker top 501466c73384d16751792799bbb63900f18cfeaba7e621d5d373d34bcf94c45a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:35:21 provisioning config files... 04:35:21 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8015148057165876854tmp 04:35:21 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config324720918666287795tmp 04:35:21 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2221780814928040011tmp [Pipeline] { [Pipeline] echo 04:35:21 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:35:21 ---> sigul-configuration.sh 04:35:21 gpg: directory `/root/.gnupg' created 04:35:21 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:35:21 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:35:21 gpg: keyring `/root/.gnupg/secring.gpg' created 04:35:21 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:35:21 gpg: CAST5 encrypted data 04:35:21 gpg: encrypted with 1 passphrase 04:35:21 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:35:22 + mkdir /home/jenkins 04:35:22 + mkdir /home/jenkins/sigul [Pipeline] sh 04:35:22 + 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 04:35:22 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:35:22 ---> sigul-install.sh 04:35:22 Sigul already installed; skipping installation. [Pipeline] sh 04:35:22 + git tag --list 04:35:22 v1.0.0 04:35:22 v1.1.0 04:35:22 v1.1.1 04:35:22 v1.1.2 04:35:22 v1.2.0 04:35:22 v1.2.1 04:35:22 v2.0.0 04:35:22 v2.0.1-dev.1 04:35:22 v2.0.1-dev.10 04:35:22 v2.0.1-dev.11 04:35:22 v2.0.1-dev.12 04:35:22 v2.0.1-dev.13 04:35:22 v2.0.1-dev.14 04:35:22 v2.0.1-dev.2 04:35:22 v2.0.1-dev.3 04:35:22 v2.0.1-dev.4 04:35:22 v2.0.1-dev.5 04:35:22 v2.0.1-dev.6 04:35:22 v2.0.1-dev.7 04:35:22 v2.0.1-dev.8 04:35:22 v2.0.1-dev.9 04:35:22 v2.1.0 04:35:22 v2.2.0-dev.1 [Pipeline] sh 04:35:23 + lftools sign git-tag v2.2.0-dev.1 04:35:23 Signing Git tag with Sigul... 04:35:23 Signing v2.2.0-dev.1 [Pipeline] echo 04:35:24 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:35:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:35:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:35:25 $ docker stop --time=1 501466c73384d16751792799bbb63900f18cfeaba7e621d5d373d34bcf94c45a 04:35:26 $ docker rm -f 501466c73384d16751792799bbb63900f18cfeaba7e621d5d373d34bcf94c45a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:35:26 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:35:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:35:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:35:27 . [Pipeline] withDockerContainer 04:35:27 prd-centos7-docker-4c-2g-30 does not seem to be running inside a container 04:35:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:35:27 $ docker top e879aba718d0564404df617b708e3c16ea674d33ad94111cf0d023126f1c2567 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:35:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:35:27 [ssh-agent] Looking for ssh-agent implementation... 04:35:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:35:27 $ docker exec e879aba718d0564404df617b708e3c16ea674d33ad94111cf0d023126f1c2567 ssh-agent 04:35:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEDkiKp/agent.13 04:35:27 SSH_AGENT_PID=20 04:35:28 Running ssh-add (command line suppressed) 04:35:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7252796420741517403.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7252796420741517403.key) 04:35:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:35:28 + git semver bump pre 04:35:28 # -> Open(): unable to determine branch for HEAD 04:35:28 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 04:35:28 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 04:35:28 # $SEMVER_REMOTE_NAME = origin 04:35:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:35:28 # $SEMVER_USER_NAME = edgex-jenkins 04:35:28 # $SEMVER_BRANCH = main 04:35:28 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 04:35:28 2.2.0-dev.2 [Pipeline] } 04:35:28 $ docker exec --env ******** --env ******** e879aba718d0564404df617b708e3c16ea674d33ad94111cf0d023126f1c2567 ssh-agent -k 04:35:28 unset SSH_AUTH_SOCK; 04:35:28 unset SSH_AGENT_PID; 04:35:28 echo Agent pid 20 killed; 04:35:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:35:29 + git semver [Pipeline] } 04:35:29 $ docker stop --time=1 e879aba718d0564404df617b708e3c16ea674d33ad94111cf0d023126f1c2567 04:35:30 $ docker rm -f e879aba718d0564404df617b708e3c16ea674d33ad94111cf0d023126f1c2567 [Pipeline] // withDockerContainer [Pipeline] sh 04:35:30 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:35:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:35:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:35:31 . [Pipeline] withDockerContainer 04:35:31 prd-centos7-docker-4c-2g-30 does not seem to be running inside a container 04:35:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:35:31 $ docker top aa524345ff8466502dcc0cad1427824980b6195b73fc272a607bc03e822f8f98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:35:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:35:31 [ssh-agent] Looking for ssh-agent implementation... 04:35:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:35:31 $ docker exec aa524345ff8466502dcc0cad1427824980b6195b73fc272a607bc03e822f8f98 ssh-agent 04:35:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjDhaPh/agent.13 04:35:31 SSH_AGENT_PID=19 04:35:31 Running ssh-add (command line suppressed) 04:35:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1338279953041107164.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1338279953041107164.key) 04:35:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:35:32 + git semver push 04:35:32 # -> Open(): unable to determine branch for HEAD 04:35:32 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 04:35:32 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 04:35:32 # $SEMVER_REMOTE_NAME = origin 04:35:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:35:32 # $SEMVER_USER_NAME = edgex-jenkins 04:35:32 # $SEMVER_BRANCH = main 04:35:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 04:35:34 $ docker exec --env ******** --env ******** aa524345ff8466502dcc0cad1427824980b6195b73fc272a607bc03e822f8f98 ssh-agent -k 04:35:34 unset SSH_AUTH_SOCK; 04:35:34 unset SSH_AGENT_PID; 04:35:34 echo Agent pid 19 killed; 04:35:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:35:34 + git semver [Pipeline] } 04:35:34 $ docker stop --time=1 aa524345ff8466502dcc0cad1427824980b6195b73fc272a607bc03e822f8f98 04:35:35 $ docker rm -f aa524345ff8466502dcc0cad1427824980b6195b73fc272a607bc03e822f8f98 [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 04:35:36 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:35:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:35:37 ---> package-listing.sh 04:35:37 ++ facter osfamily 04:35:37 ++ tr '[:upper:]' '[:lower:]' 04:35:37 + OS_FAMILY=redhat 04:35:37 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 04:35:37 + START_PACKAGES=/tmp/packages_start.txt 04:35:37 + END_PACKAGES=/tmp/packages_end.txt 04:35:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:35:37 + PACKAGES=/tmp/packages_start.txt 04:35:37 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:35:37 + PACKAGES=/tmp/packages_end.txt 04:35:37 + case "${OS_FAMILY}" in 04:35:37 + rpm -qa 04:35:37 + sort 04:35:38 + '[' -f /tmp/packages_start.txt ']' 04:35:38 + '[' -f /tmp/packages_end.txt ']' 04:35:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:35:38 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:35:38 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 04:35:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 04:35:38 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 04:35:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:35:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:39 04:35:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:35:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:39 latest: Pulling from edgex-lftools-log-publisher 04:35:39 b4d181a07f80: Pulling fs layer 04:35:39 a1111a8f2ec3: Pulling fs layer 04:35:39 ed53099fbce6: Pulling fs layer 04:35:39 dc539afda2c1: Pulling fs layer 04:35:39 77bc0d833cb6: Pulling fs layer 04:35:39 9065ff56babe: Pulling fs layer 04:35:39 d287ab97295c: Pulling fs layer 04:35:39 dc539afda2c1: Waiting 04:35:39 77bc0d833cb6: Waiting 04:35:39 9065ff56babe: Waiting 04:35:39 d287ab97295c: Waiting 04:35:39 a1111a8f2ec3: Verifying Checksum 04:35:39 a1111a8f2ec3: Download complete 04:35:39 dc539afda2c1: Verifying Checksum 04:35:39 dc539afda2c1: Download complete 04:35:39 ed53099fbce6: Verifying Checksum 04:35:39 ed53099fbce6: Download complete 04:35:39 9065ff56babe: Verifying Checksum 04:35:39 9065ff56babe: Download complete 04:35:39 77bc0d833cb6: Verifying Checksum 04:35:39 77bc0d833cb6: Download complete 04:35:39 b4d181a07f80: Verifying Checksum 04:35:39 b4d181a07f80: Download complete 04:35:40 d287ab97295c: Verifying Checksum 04:35:40 d287ab97295c: Download complete 04:35:41 b4d181a07f80: Pull complete 04:35:41 a1111a8f2ec3: Pull complete 04:35:42 ed53099fbce6: Pull complete 04:35:42 dc539afda2c1: Pull complete 04:35:42 77bc0d833cb6: Pull complete 04:35:42 9065ff56babe: Pull complete 04:35:47 d287ab97295c: Pull complete 04:35:47 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:35:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:35:47 prd-centos7-docker-4c-2g-30 does not seem to be running inside a container 04:35:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:35:50 $ docker top f1c8f6188c8b1c65a18301d6159f9165034861a66b9e83c884ac3a9e838c83de -eo pid,comm [Pipeline] { [Pipeline] sh 04:35:50 + touch /tmp/pre-build-complete [Pipeline] sh 04:35:50 + mkdir -p /var/log/sysstat [Pipeline] sh 04:35:51 + ls /var/log/sa-host 04:35:51 + sadf -c /var/log/sa-host/sa01 04:35:51 file_magic: OK 04:35:51 HZ: Using current value: 100 04:35:51 file_header: OK 04:35:51 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 04:35:51 Statistics: 04:35:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:35:51 File successfully converted to sysstat format version 12.0.3 04:35:51 + sadf -c /var/log/sa-host/sa17 04:35:51 file_magic: OK 04:35:51 HZ: Using current value: 100 04:35:51 file_header: OK 04:35:51 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 04:35:51 Statistics: 04:35:51 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:35:51 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:35:51 provisioning config files... 04:35:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1428162193720540432tmp [Pipeline] { [Pipeline] echo 04:35:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:35:51 ---> create-netrc.sh [Pipeline] } 04:35:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:35:51 ---> python-tools-install.sh [Pipeline] echo 04:35:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:35:52 ---> sudo-logs.sh 04:35:52 Archiving 'sudo' log.. 04:35:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-30.novalocal: Name or service not known 04:35:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-30.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:35:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:35:52 ---> job-cost.sh 04:35:52 lf-activate-venv: SKIPPING 04:35:52 DEBUG: total: 0.10999999940395355 04:35:52 INFO: Retrieving Stack Cost... 04:35:53 INFO: Retrieving Pricing Info for: v3-standard-2 04:35:53 INFO: Archiving Costs [Pipeline] echo 04:35:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:35:54 ---> logs-deploy.sh 04:35:54 lf-activate-venv: SKIPPING 04:35:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/21 04:35:54 INFO: archiving workspace using pattern(s): 04:35:54 Archives upload complete. 04:35:54 INFO: archiving logs to Nexus