Started by upstream project "edgexfoundry/cd-management/release-lts" build number 24 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e1fcaedc117190cf91a20be56ea49244ed6da75f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6010987033836591614.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c08e7f8731fc7e59a0f5fb348e3763e45cee7116 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-ssh5028730856264576237.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 c08e7f8731fc7e59a0f5fb348e3763e45cee7116 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/jakarta/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/jakarta/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1398284403486318863.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c08e7f8731fc7e59a0f5fb348e3763e45cee7116 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c08e7f8731fc7e59a0f5fb348e3763e45cee7116 # timeout=10 Commit message: "Merge pull request #367 from ernestojeda/semver-ssh-key" > 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-ssh1937251461343892616.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/jakarta/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/jakarta/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6344207622446953743.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1192 in /w/workspace/exfoundry_device-rest-go_jakarta [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/exfoundry_device-rest-go_jakarta # 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/exfoundry_device-rest-go_jakarta@tmp/jenkins-gitclient-ssh3749684907010735166.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 e1fcaedc117190cf91a20be56ea49244ed6da75f (jakarta) > 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 e1fcaedc117190cf91a20be56ea49244ed6da75f # timeout=10 Commit message: "ci(lts-release): LTS release v2.1.0 @77c54d9" > git rev-list --no-walk e1fcaedc117190cf91a20be56ea49244ed6da75f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:49:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:49:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:49:23 ========================================================= 01:49:23 EdgeX Global Pipelines Version Info 01:49:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:49:26 ------------------- 01:49:26 stable info: 01:49:26 ------------------- 01:49:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:49:26 Commit SHA: c08e7f8731fc7e59a0f5fb348e3763e45cee7116 01:49:26 Message: update stable to v2.0.216 01:49:26 ------------------- 01:49:26 experimental info: 01:49:26 ------------------- 01:49:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:49:26 Commit SHA: c08e7f8731fc7e59a0f5fb348e3763e45cee7116 01:49:26 Message: experimental @2.0.216 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:49:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1fcaedc117190cf91a20be56ea49244ed6da75f [Pipeline] echo 01:49:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1fcaed [Pipeline] echo 01:49:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:30 provisioning config files... 01:49:30 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config3281221254868249528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:30 ---> docker-login.sh 01:49:30 nexus3.edgexfoundry.org:10001 01:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:30 Configure a credential helper to remove this warning. See 01:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:30 01:49:30 Login Succeeded 01:49:30 nexus3.edgexfoundry.org:10002 01:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:30 Configure a credential helper to remove this warning. See 01:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:30 01:49:30 Login Succeeded 01:49:30 nexus3.edgexfoundry.org:10003 01:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:30 Configure a credential helper to remove this warning. See 01:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:30 01:49:30 Login Succeeded 01:49:30 nexus3.edgexfoundry.org:10004 01:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:30 Configure a credential helper to remove this warning. See 01:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:30 01:49:30 Login Succeeded 01:49:30 docker.io 01:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:31 Configure a credential helper to remove this warning. See 01:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:31 01:49:31 Login Succeeded 01:49:31 ---> docker-login.sh ends [Pipeline] } 01:49:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:49:32 + git rev-list -1 --merges e1fcaedc117190cf91a20be56ea49244ed6da75f~1..e1fcaedc117190cf91a20be56ea49244ed6da75f [Pipeline] echo 01:49:32 -----------> git rev-list -1 --merges e1fcaedc117190cf91a20be56ea49244ed6da75f~1..e1fcaedc117190cf91a20be56ea49244ed6da75f e1fcaedc117190cf91a20be56ea49244ed6da75f [false] [Pipeline] sh 01:49:32 + git log --format=format:%s -1 e1fcaedc117190cf91a20be56ea49244ed6da75f [Pipeline] echo 01:49:32 ========================================================= 01:49:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 01:49:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:49:33 + git log --format=format:%s -1 e1fcaedc117190cf91a20be56ea49244ed6da75f [Pipeline] echo 01:49:33 [semverPrep] GIT_COMMIT: e1fcaedc117190cf91a20be56ea49244ed6da75f, Commit Message: ci(lts-release): LTS release v2.1.0 @77c54d9 [Pipeline] echo 01:49:33 [semverPrep] This is not a build commit. [Pipeline] sh 01:49:34 + grep -v github /etc/ssh/ssh_known_hosts [Pipeline] sh 01:49:34 + sudo mv /tmp/known_hosts /etc/ssh/ssh_known_hosts [Pipeline] sh 01:49:35 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 01:49:35 + sudo tee -a /etc/ssh/ssh_known_hosts 01:49:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:49:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:49:35 01:49:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:49:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:49:35 latest: Pulling from edgex-devops/git-semver 01:49:35 a0d0a0d46f8b: Pulling fs layer 01:49:35 3e5f54012d9b: Pulling fs layer 01:49:35 4c7163046ea9: Pulling fs layer 01:49:35 0c2d73faf560: Pulling fs layer 01:49:35 0c2d73faf560: Waiting 01:49:35 3e5f54012d9b: Download complete 01:49:35 a0d0a0d46f8b: Verifying Checksum 01:49:35 a0d0a0d46f8b: Download complete 01:49:35 0c2d73faf560: Verifying Checksum 01:49:35 0c2d73faf560: Download complete 01:49:35 4c7163046ea9: Verifying Checksum 01:49:35 4c7163046ea9: Download complete 01:49:36 a0d0a0d46f8b: Pull complete 01:49:36 3e5f54012d9b: Pull complete 01:49:36 4c7163046ea9: Pull complete 01:49:36 0c2d73faf560: Pull complete 01:49:36 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:49:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:49:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:49:36 prd-centos7-docker-4c-2g-1192 does not seem to be running inside a container 01:49:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:49:37 $ docker top b5b2a5aa5bd046615c4cd84cfaa3f628f30031748af6cabe80438a1da26c7d1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:37 [ssh-agent] Looking for ssh-agent implementation... 01:49:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:37 $ docker exec b5b2a5aa5bd046615c4cd84cfaa3f628f30031748af6cabe80438a1da26c7d1a ssh-agent 01:49:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfMhega/agent.14 01:49:37 SSH_AGENT_PID=20 01:49:37 Running ssh-add (command line suppressed) 01:49:37 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_8449857415618199359.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_8449857415618199359.key) 01:49:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:38 + git tag --points-at e1fcaedc117190cf91a20be56ea49244ed6da75f [Pipeline] } 01:49:38 $ docker exec --env ******** --env ******** b5b2a5aa5bd046615c4cd84cfaa3f628f30031748af6cabe80438a1da26c7d1a ssh-agent -k 01:49:39 unset SSH_AUTH_SOCK; 01:49:39 unset SSH_AGENT_PID; 01:49:39 echo Agent pid 20 killed; 01:49:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:49:39 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.1.0' [Pipeline] sshagent 01:49:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:39 [ssh-agent] Looking for ssh-agent implementation... 01:49:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:39 $ docker exec b5b2a5aa5bd046615c4cd84cfaa3f628f30031748af6cabe80438a1da26c7d1a ssh-agent 01:49:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmjLOnH/agent.53 01:49:39 SSH_AGENT_PID=59 01:49:39 Running ssh-add (command line suppressed) 01:49:39 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2438301822908161797.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2438301822908161797.key) 01:49:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:39 + git semver init 01:49:39 # -> Open(): unable to determine branch for HEAD 01:49:39 # $GIT_DIR = /w/workspace/exfoundry_device-rest-go_jakarta/.git 01:49:39 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-rest-go_jakarta 01:49:39 # $SEMVER_REMOTE_NAME = origin 01:49:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:49:39 # $SEMVER_USER_NAME = edgex-jenkins 01:49:39 # $SEMVER_BRANCH = jakarta 01:49:39 # $SEMVER_TEMP = /tmp/semver-020808391 01:49:39 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 01:49:41 # '/tmp/semver-020808391' -> '/w/workspace/exfoundry_device-rest-go_jakarta/.semver' 01:49:41 # -> Force: false 01:49:41 # $SEMVER_DIR = /w/workspace/exfoundry_device-rest-go_jakarta/.semver [Pipeline] } 01:49:41 $ docker exec --env ******** --env ******** b5b2a5aa5bd046615c4cd84cfaa3f628f30031748af6cabe80438a1da26c7d1a ssh-agent -k 01:49:41 unset SSH_AUTH_SOCK; 01:49:41 unset SSH_AGENT_PID; 01:49:41 echo Agent pid 59 killed; 01:49:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:41 + git semver [Pipeline] } 01:49:41 $ docker stop --time=1 b5b2a5aa5bd046615c4cd84cfaa3f628f30031748af6cabe80438a1da26c7d1a 01:49:42 $ docker rm -f b5b2a5aa5bd046615c4cd84cfaa3f628f30031748af6cabe80438a1da26c7d1a [Pipeline] // withDockerContainer [Pipeline] sh 01:49:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:49:44 Stashed 1 file(s) [Pipeline] echo 01:49:44 [edgeXSemver]: initialized semver on version 2.1.0 [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 01:49:59 Still waiting to schedule task 01:49:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:49:59 Still waiting to schedule task 01:49:59 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1190’ 01:51:59 Running on prd-centos7-docker-4c-2g-1193 in /w/workspace/exfoundry_device-rest-go_jakarta [Pipeline] { [Pipeline] ws 01:51:59 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 01:51:59 The recommended git tool is: git 01:52:04 using credential edgex-jenkins-ssh 01:52:04 Cloning the remote Git repository 01:52:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:52:03 > git init /w/workspace/device-rest-go/4 # timeout=10 01:52:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:52:03 > git --version # timeout=10 01:52:03 > git --version # 'git version 2.24.4' 01:52:03 using GIT_SSH to set credentials SSH Credentials for GitHub 01:52:03 [INFO] Currently running in a labeled security context 01:52:03 [INFO] Currently SELinux is 'enforcing' on the host 01:52:03 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh9176486979802371941.key 01:52:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:52:05 Avoid second fetch 01:52:05 Checking out Revision e1fcaedc117190cf91a20be56ea49244ed6da75f (jakarta) 01:52:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:52:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:52:05 > git config core.sparsecheckout # timeout=10 01:52:05 > git checkout -f e1fcaedc117190cf91a20be56ea49244ed6da75f # timeout=10 01:52:09 Commit message: "ci(lts-release): LTS release v2.1.0 @77c54d9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:10 + git checkout e1fcaedc117190cf91a20be56ea49244ed6da75f 01:52:10 HEAD is now at e1fcaed ci(lts-release): LTS release v2.1.0 @77c54d9 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:10 provisioning config files... 01:52:10 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config5950212951100148720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:11 ---> docker-login.sh 01:52:11 nexus3.edgexfoundry.org:10001 01:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:11 Configure a credential helper to remove this warning. See 01:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:11 01:52:11 Login Succeeded 01:52:11 nexus3.edgexfoundry.org:10002 01:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:11 Configure a credential helper to remove this warning. See 01:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:11 01:52:11 Login Succeeded 01:52:11 nexus3.edgexfoundry.org:10003 01:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:11 Configure a credential helper to remove this warning. See 01:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:11 01:52:11 Login Succeeded 01:52:11 nexus3.edgexfoundry.org:10004 01:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:11 Configure a credential helper to remove this warning. See 01:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:11 01:52:11 Login Succeeded 01:52:11 docker.io 01:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:11 Configure a credential helper to remove this warning. See 01:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:11 01:52:11 Login Succeeded 01:52:11 ---> docker-login.sh ends [Pipeline] } 01:52:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:52:13 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:52:13 ========================================================= 01:52:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 01:52:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:52:13 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg 'MAKE=echo noop' --target=builder . 01:52:13 Sending build context to Docker daemon 11.12MB 01:52:13 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:52:13 Step 2/11 : FROM ${BASE} AS builder 01:52:13 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 01:52:13 a0d0a0d46f8b: Pulling fs layer 01:52:13 31adcdaf11c8: Pulling fs layer 01:52:13 b8b176561691: Pulling fs layer 01:52:13 4527c011a84f: Pulling fs layer 01:52:13 5d74067f8e1e: Pulling fs layer 01:52:13 36f58ee4fdd2: Pulling fs layer 01:52:13 32f094029db3: Pulling fs layer 01:52:13 773a5188bba9: Pulling fs layer 01:52:13 0a89ddfe6704: Pulling fs layer 01:52:13 4527c011a84f: Waiting 01:52:13 5d74067f8e1e: Waiting 01:52:13 36f58ee4fdd2: Waiting 01:52:13 32f094029db3: Waiting 01:52:13 773a5188bba9: Waiting 01:52:13 0a89ddfe6704: Waiting 01:52:13 b8b176561691: Verifying Checksum 01:52:13 b8b176561691: Download complete 01:52:13 31adcdaf11c8: Verifying Checksum 01:52:13 31adcdaf11c8: Download complete 01:52:13 5d74067f8e1e: Verifying Checksum 01:52:13 5d74067f8e1e: Download complete 01:52:13 36f58ee4fdd2: Verifying Checksum 01:52:13 36f58ee4fdd2: Download complete 01:52:13 a0d0a0d46f8b: Verifying Checksum 01:52:13 a0d0a0d46f8b: Download complete 01:52:13 32f094029db3: Verifying Checksum 01:52:13 32f094029db3: Download complete 01:52:13 773a5188bba9: Verifying Checksum 01:52:13 773a5188bba9: Download complete 01:52:14 0a89ddfe6704: Verifying Checksum 01:52:14 0a89ddfe6704: Download complete 01:52:14 a0d0a0d46f8b: Pull complete 01:52:14 4527c011a84f: Verifying Checksum 01:52:14 4527c011a84f: Download complete 01:52:14 31adcdaf11c8: Pull complete 01:52:14 b8b176561691: Pull complete 01:52:18 4527c011a84f: Pull complete 01:52:18 5d74067f8e1e: Pull complete 01:52:18 36f58ee4fdd2: Pull complete 01:52:18 32f094029db3: Pull complete 01:52:18 773a5188bba9: Pull complete 01:52:21 0a89ddfe6704: Pull complete 01:52:21 Digest: sha256:1b40dceaf34dee7ca55b3c49faf64f21c87f0328d9001acbe5b0b15629491fba 01:52:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 01:52:21 ---> dd279347b56d 01:52:21 Step 3/11 : ARG MAKE='make build' 01:52:23 ---> Running in b5c8cdbb2b5b 01:52:23 Removing intermediate container b5c8cdbb2b5b 01:52:23 ---> e13d54d216c4 01:52:23 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:52:23 ---> Running in feba0f05f9a0 01:52:23 Removing intermediate container feba0f05f9a0 01:52:23 ---> 50f99ede047d 01:52:23 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 01:52:23 ---> Running in 6e9b064f6d7c 01:52:23 Removing intermediate container 6e9b064f6d7c 01:52:23 ---> 01c699c9e211 01:52:23 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:23 ---> Running in 5dc1abce2016 01:52:23 Removing intermediate container 5dc1abce2016 01:52:23 ---> 2d5ec1e3c18d 01:52:23 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:52:23 ---> Running in 34c90bad0ec7 01:52:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:52:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:52:25 (1/4) Installing openssh-keygen (8.6_p1-r3) 01:52:25 (2/4) Installing libedit (20210216.3.1-r0) 01:52:25 (3/4) Installing openssh-client-common (8.6_p1-r3) 01:52:25 (4/4) Installing openssh-client-default (8.6_p1-r3) 01:52:25 Executing busybox-1.33.1-r3.trigger 01:52:25 OK: 224 MiB in 56 packages 01:52:26 Removing intermediate container 34c90bad0ec7 01:52:26 ---> 7afe96c362a2 01:52:26 Step 8/11 : WORKDIR /device-rest-go 01:52:26 ---> Running in 5208bd4fd5c0 01:52:26 Removing intermediate container 5208bd4fd5c0 01:52:26 ---> 6244d60dfaff 01:52:26 Step 9/11 : COPY . . 01:52:27 ---> 626b59017a19 01:52:27 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:52:27 ---> Running in b8c6e068e0eb 01:52:27 skipping... 01:52:27 Removing intermediate container b8c6e068e0eb 01:52:27 ---> df207d5f0845 01:52:27 Step 11/11 : RUN $MAKE 01:52:27 ---> Running in 2f6013e6afec 01:52:27 noop 01:52:27 Removing intermediate container 2f6013e6afec 01:52:27 ---> ed039ef0a7ee 01:52:27 Successfully built ed039ef0a7ee 01:52:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:52:28 + docker inspect -f . ci-base-image-x86_64 01:52:28 . [Pipeline] withDockerContainer 01:52:28 prd-centos7-docker-4c-2g-1193 does not seem to be running inside a container 01:52:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:52:28 $ docker top 2b6c081203abfd513b6965f43997106ca050344f32163aee5aa0d5e92b1ee57c -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:30 + go version 01:52:30 go version go1.16.8 linux/amd64 [Pipeline] } 01:52:30 $ docker stop --time=1 2b6c081203abfd513b6965f43997106ca050344f32163aee5aa0d5e92b1ee57c 01:52:31 $ docker rm -f 2b6c081203abfd513b6965f43997106ca050344f32163aee5aa0d5e92b1ee57c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:52:31 + docker inspect -f . ci-base-image-x86_64 01:52:31 . [Pipeline] withDockerContainer 01:52:31 prd-centos7-docker-4c-2g-1193 does not seem to be running inside a container 01:52:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:52:32 $ docker top 606dda7890efb6b536571ab62d11bc5407514561ebcc8efc2348ba05bfdbabde -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:52:32 + make test 01:52:32 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:52:33 ? github.com/edgexfoundry/device-rest-go [no test files] 01:52:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:52:51 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 56.0% of statements 01:52:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:52:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:52:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:52:55 ./bin/test-attribution-txt.sh 01:52:57 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.0 01:52:57 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 01:52:57 go: downloading github.com/spf13/cast v1.4.1 01:52:57 go: downloading github.com/gorilla/mux v1.8.0 01:52:57 go: downloading github.com/stretchr/testify v1.7.0 01:52:57 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:52:57 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 01:52:57 go: downloading github.com/OneOfOne/xxhash v1.2.8 01:52:57 go: downloading github.com/google/uuid v1.3.0 01:52:57 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 01:52:57 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 01:52:57 go: downloading github.com/pelletier/go-toml v1.9.4 01:52:57 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 01:52:57 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:52:57 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 01:52:57 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 01:52:57 go: downloading github.com/hashicorp/go-multierror v1.1.0 01:52:57 go: downloading github.com/hashicorp/consul/api v1.9.1 01:52:57 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:52:57 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:52:57 go: downloading github.com/go-playground/validator/v10 v10.9.0 01:52:57 go: downloading github.com/go-kit/kit v0.11.0 01:52:57 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:52:57 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:52:57 go: downloading github.com/pebbe/zmq4 v1.2.7 01:52:57 go: downloading github.com/go-logfmt/logfmt v0.5.0 01:52:57 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:52:57 go: downloading github.com/mitchellh/copystructure v1.0.0 01:52:57 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:52:57 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:52:57 go: downloading github.com/davecgh/go-spew v1.1.1 01:52:57 go: downloading github.com/pmezard/go-difflib v1.0.0 01:52:57 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 01:52:57 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 01:52:57 go: downloading golang.org/x/text v0.3.6 01:52:58 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:52:58 go: downloading github.com/hashicorp/errwrap v1.0.0 01:52:58 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:52:58 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:52:58 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:52:58 go: downloading github.com/hashicorp/serf v0.9.5 01:52:58 go: downloading github.com/x448/float16 v0.8.4 01:52:58 go: downloading github.com/go-playground/universal-translator v0.18.0 01:52:58 go: downloading github.com/leodido/go-urn v1.2.1 01:52:58 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 01:52:58 go: downloading github.com/gorilla/websocket v1.4.2 01:52:58 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:52:58 go: downloading github.com/fatih/color v1.9.0 01:52:58 go: downloading github.com/mattn/go-colorable v0.1.6 01:52:58 go: downloading github.com/mattn/go-isatty v0.0.12 01:52:59 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:52:59 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 01:53:00 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:53:00 + go mod tidy 01:53:00 go: downloading github.com/go-stack/stack v1.8.0 01:53:00 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:53:00 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 01:53:00 go: downloading github.com/stretchr/objx v0.1.1 01:53:00 go: downloading github.com/hashicorp/consul/sdk v0.8.0 01:53:00 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:53:00 go: downloading github.com/kr/pretty v0.3.0 01:53:00 go: downloading github.com/onsi/ginkgo v1.10.1 01:53:00 go: downloading github.com/onsi/gomega v1.7.0 01:53:00 go: downloading github.com/pkg/errors v0.9.1 01:53:00 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:53:00 go: downloading github.com/hashicorp/memberlist v0.2.2 01:53:00 go: downloading github.com/kr/text v0.2.0 01:53:00 go: downloading github.com/rogpeppe/go-internal v1.8.0 01:53:00 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:53:00 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:53:00 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:53:00 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:53:00 go: downloading github.com/miekg/dns v1.1.26 01:53:00 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:53:00 go: downloading gopkg.in/yaml.v2 v2.3.0 01:53:00 go: downloading github.com/hpcloud/tail v1.0.0 01:53:00 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:53:00 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 01:53:00 $ docker stop --time=1 606dda7890efb6b536571ab62d11bc5407514561ebcc8efc2348ba05bfdbabde 01:53:02 $ docker rm -f 606dda7890efb6b536571ab62d11bc5407514561ebcc8efc2348ba05bfdbabde [Pipeline] // withDockerContainer [Pipeline] sh 01:53:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:53:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:53:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:53:13 + ls -al . 01:53:13 total 148 01:53:13 drwxrwxr-x. 9 jenkins jenkins 4096 Nov 18 01:53 . 01:53:13 drwxrwxr-x. 4 jenkins jenkins 28 Nov 18 01:52 .. 01:53:13 -rw-rw-r--. 1 jenkins jenkins 7095 Nov 18 01:52 Attribution.txt 01:53:13 drwxrwxr-x. 2 jenkins jenkins 37 Nov 18 01:52 bin 01:53:13 -rw-rw-r--. 1 jenkins jenkins 7459 Nov 18 01:52 CHANGELOG.md 01:53:13 drwxrwxr-x. 3 jenkins jenkins 32 Nov 18 01:52 cmd 01:53:13 -rw-r--r--. 1 jenkins jenkins 9215 Nov 18 01:52 coverage.out 01:53:13 -rw-rw-r--. 1 jenkins jenkins 1649 Nov 18 01:52 Dockerfile 01:53:13 -rw-rw-r--. 1 jenkins jenkins 151 Nov 18 01:52 .dockerignore 01:53:13 drwxrwxr-x. 2 jenkins jenkins 76 Nov 18 01:52 driver 01:53:13 drwxrwxr-x. 8 jenkins jenkins 162 Nov 18 01:52 .git 01:53:13 drwxrwxr-x. 2 jenkins jenkins 103 Nov 18 01:52 .github 01:53:13 -rw-rw-r--. 1 jenkins jenkins 321 Nov 18 01:52 .gitignore 01:53:13 -rw-rw-r--. 1 jenkins jenkins 271 Nov 18 01:53 go.mod 01:53:13 -rw-rw-r--. 1 jenkins jenkins 49306 Nov 18 01:52 go.sum 01:53:13 -rw-rw-r--. 1 jenkins jenkins 677 Nov 18 01:52 GOVERNANCE.md 01:53:13 -rw-rw-r--. 1 jenkins jenkins 680 Nov 18 01:52 Jenkinsfile 01:53:13 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 18 01:52 LICENSE 01:53:13 -rw-rw-r--. 1 jenkins jenkins 1078 Nov 18 01:52 Makefile 01:53:13 -rw-rw-r--. 1 jenkins jenkins 620 Nov 18 01:52 OWNERS.md 01:53:13 -rw-rw-r--. 1 jenkins jenkins 8246 Nov 18 01:52 README.md 01:53:13 drwxrwxr-x. 3 jenkins jenkins 58 Nov 18 01:52 snap 01:53:13 drwxrwxr-x. 6 jenkins jenkins 98 Nov 18 01:52 vendor 01:53:13 -rw-rw-r--. 1 jenkins jenkins 5 Nov 18 01:49 VERSION 01:53:13 -rw-rw-r--. 1 jenkins jenkins 713 Nov 18 01:52 version.go [Pipeline] isUnix [Pipeline] sh 01:53:13 + 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=e1fcaedc117190cf91a20be56ea49244ed6da75f --label arch=amd64 --label version=2.1.0 . 01:53:13 Sending build context to Docker daemon 11.13MB 01:53:13 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 01:53:13 Step 2/24 : FROM ${BASE} AS builder 01:53:13 ---> ed039ef0a7ee 01:53:13 Step 3/24 : ARG MAKE='make build' 01:53:13 ---> Running in 4a79040e3aa2 01:53:13 Removing intermediate container 4a79040e3aa2 01:53:13 ---> 096910f7c029 01:53:13 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:53:13 ---> Running in 2c03e1059210 01:53:13 Removing intermediate container 2c03e1059210 01:53:13 ---> cfa7399c7f11 01:53:13 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:53:13 ---> Running in d9c5e465b658 01:53:13 Removing intermediate container d9c5e465b658 01:53:13 ---> 4b72bd778143 01:53:13 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:53:13 ---> Running in 63d51d5c7f70 01:53:14 Removing intermediate container 63d51d5c7f70 01:53:14 ---> fbc9990e2553 01:53:14 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:53:14 ---> Running in 18833acdb94d 01:53:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:53:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:53:16 OK: 224 MiB in 56 packages 01:53:16 Removing intermediate container 18833acdb94d 01:53:16 ---> 238a52a4f9f6 01:53:16 Step 8/24 : WORKDIR /device-rest-go 01:53:16 ---> Running in 68dce1808496 01:53:16 Removing intermediate container 68dce1808496 01:53:16 ---> 87f499669e71 01:53:16 Step 9/24 : COPY . . 01:53:17 ---> d2723f9df6fa 01:53:17 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:17 ---> Running in c69d524f4cd7 01:53:17 skipping... 01:53:17 Removing intermediate container c69d524f4cd7 01:53:17 ---> c556fd8f16a3 01:53:17 Step 11/24 : RUN $MAKE 01:53:17 ---> Running in e34f522fa4f6 01:53:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.0" -o cmd/device-rest ./cmd 01:53:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1194 in /w/workspace/exfoundry_device-rest-go_jakarta [Pipeline] { [Pipeline] ws 01:53:27 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 01:53:27 The recommended git tool is: git 01:53:29 Removing intermediate container e34f522fa4f6 01:53:29 ---> 3defcb1a1452 01:53:29 Step 12/24 : FROM alpine:3.14 01:53:29 3.14: Pulling from library/alpine 01:53:29 97518928ae5f: Pulling fs layer 01:53:30 97518928ae5f: Verifying Checksum 01:53:30 97518928ae5f: Download complete 01:53:30 97518928ae5f: Pull complete 01:53:30 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 01:53:30 Status: Downloaded newer image for alpine:3.14 01:53:30 ---> 0a97eee8041e 01:53:30 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:53:30 ---> Running in b33b32753e1e 01:53:30 Removing intermediate container b33b32753e1e 01:53:30 ---> f39976b5db8c 01:53:30 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 01:53:30 ---> Running in 853dde144d2d 01:53:30 Removing intermediate container 853dde144d2d 01:53:30 ---> 52d7692f4220 01:53:30 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:53:30 ---> Running in b96ec186b1c8 01:53:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:53:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:53:31 (1/6) Installing dumb-init (1.2.5-r1) 01:53:31 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:53:31 (3/6) Installing libsodium (1.0.18-r0) 01:53:31 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:53:31 (5/6) Installing libzmq (4.3.4-r0) 01:53:31 (6/6) Installing zeromq (4.3.4-r0) 01:53:31 Executing busybox-1.33.1-r6.trigger 01:53:31 OK: 8 MiB in 20 packages 01:53:31 Removing intermediate container b96ec186b1c8 01:53:31 ---> bcc9969fbf6c 01:53:31 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 01:53:31 ---> 0212df0a0ee2 01:53:31 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 01:53:31 ---> 1d4c452f9c90 01:53:31 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 01:53:31 ---> fa203d7514f2 01:53:31 Step 19/24 : EXPOSE 59986 01:53:31 ---> Running in 993da7052fbb 01:53:31 Removing intermediate container 993da7052fbb 01:53:31 ---> 6212bd8b7a25 01:53:31 Step 20/24 : ENTRYPOINT ["/device-rest"] 01:53:32 ---> Running in 23a9172ddac9 01:53:32 Removing intermediate container 23a9172ddac9 01:53:32 ---> 8b67aad0c1d7 01:53:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:53:32 ---> Running in 03dae2e3b7ae 01:53:32 Removing intermediate container 03dae2e3b7ae 01:53:32 ---> 93f38c57e2be 01:53:32 Step 22/24 : LABEL arch=amd64 01:53:32 ---> Running in 1eec8ad8307c 01:53:32 Removing intermediate container 1eec8ad8307c 01:53:32 ---> 653ecdb3f270 01:53:32 Step 23/24 : LABEL git_sha=e1fcaedc117190cf91a20be56ea49244ed6da75f 01:53:32 ---> Running in 7a8d3dc2418a 01:53:32 Removing intermediate container 7a8d3dc2418a 01:53:32 ---> 8446225453da 01:53:32 Step 24/24 : LABEL version=2.1.0 01:53:32 ---> Running in d1289d229189 01:53:32 Removing intermediate container d1289d229189 01:53:32 ---> 14d2a9a631dc 01:53:32 [Warning] One or more build-args [ARCH] were not consumed 01:53:32 Successfully built 14d2a9a631dc 01:53:32 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:32 provisioning config files... 01:53:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config2269820678352369758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:32 ---> docker-login.sh 01:53:32 nexus3.edgexfoundry.org:10001 01:53:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:32 Configure a credential helper to remove this warning. See 01:53:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:32 01:53:32 Login Succeeded 01:53:32 nexus3.edgexfoundry.org:10002 01:53:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:32 Configure a credential helper to remove this warning. See 01:53:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:32 01:53:32 Login Succeeded 01:53:32 nexus3.edgexfoundry.org:10003 01:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:33 Configure a credential helper to remove this warning. See 01:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:33 01:53:33 Login Succeeded 01:53:33 nexus3.edgexfoundry.org:10004 01:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:33 Configure a credential helper to remove this warning. See 01:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:33 01:53:33 Login Succeeded 01:53:33 docker.io 01:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:34 Configure a credential helper to remove this warning. See 01:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:34 01:53:34 Login Succeeded 01:53:34 ---> docker-login.sh ends [Pipeline] } 01:53:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:53:34 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:53:34 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:53:34 e1fcaedc117190cf91a20be56ea49244ed6da75f 01:53:34 2.1.0 01:53:34 e1fcaedc117190cf91a20be56ea49244ed6da75f-2.1.0 01:53:34 jakarta 01:53:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:53:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e1fcaedc117190cf91a20be56ea49244ed6da75f [Pipeline] isUnix [Pipeline] sh 01:53:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:e1fcaedc117190cf91a20be56ea49244ed6da75f 01:53:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:53:35 770b4515fd6a: Preparing 01:53:35 1c077705ded7: Preparing 01:53:35 17ff893d2274: Preparing 01:53:35 c709e89a55cf: Preparing 01:53:35 1a058d5342cc: Preparing 01:53:35 1a058d5342cc: Layer already exists 01:53:36 1c077705ded7: Pushed 01:53:36 770b4515fd6a: Pushed 01:53:36 c709e89a55cf: Pushed 01:53:36 17ff893d2274: Pushed 01:53:36 e1fcaedc117190cf91a20be56ea49244ed6da75f: digest: sha256:b5c70bb19906e3687ec986c69801105b55c0b5b5599048efe3160ecce1dba32f size: 1366 [Pipeline] isUnix [Pipeline] sh 01:53:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.1.0 [Pipeline] isUnix [Pipeline] sh 01:53:36 using credential edgex-jenkins-ssh 01:53:36 Cloning the remote Git repository 01:53:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.1.0 01:53:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:53:37 770b4515fd6a: Preparing 01:53:37 1c077705ded7: Preparing 01:53:37 17ff893d2274: Preparing 01:53:37 c709e89a55cf: Preparing 01:53:37 1a058d5342cc: Preparing 01:53:37 1c077705ded7: Layer already exists 01:53:37 770b4515fd6a: Layer already exists 01:53:37 17ff893d2274: Layer already exists 01:53:37 c709e89a55cf: Layer already exists 01:53:37 1a058d5342cc: Layer already exists 01:53:37 2.1.0: digest: sha256:b5c70bb19906e3687ec986c69801105b55c0b5b5599048efe3160ecce1dba32f size: 1366 [Pipeline] isUnix [Pipeline] sh 01:53:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e1fcaedc117190cf91a20be56ea49244ed6da75f-2.1.0 [Pipeline] isUnix [Pipeline] sh 01:53:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:53:37 > git init /w/workspace/device-rest-go/4 # timeout=10 01:53:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:53:37 > git --version # timeout=10 01:53:37 > git --version # 'git version 2.17.1' 01:53:37 using GIT_SSH to set credentials SSH Credentials for GitHub 01:53:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:53:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:e1fcaedc117190cf91a20be56ea49244ed6da75f-2.1.0 01:53:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:53:37 770b4515fd6a: Preparing 01:53:37 1c077705ded7: Preparing 01:53:37 17ff893d2274: Preparing 01:53:37 c709e89a55cf: Preparing 01:53:37 1a058d5342cc: Preparing 01:53:37 c709e89a55cf: Layer already exists 01:53:37 770b4515fd6a: Layer already exists 01:53:37 1c077705ded7: Layer already exists 01:53:37 1a058d5342cc: Layer already exists 01:53:37 17ff893d2274: Layer already exists 01:53:37 e1fcaedc117190cf91a20be56ea49244ed6da75f-2.1.0: digest: sha256:b5c70bb19906e3687ec986c69801105b55c0b5b5599048efe3160ecce1dba32f size: 1366 [Pipeline] isUnix [Pipeline] sh 01:53:38 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] isUnix [Pipeline] sh 01:53:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:jakarta 01:53:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:53:38 770b4515fd6a: Preparing 01:53:38 1c077705ded7: Preparing 01:53:38 17ff893d2274: Preparing 01:53:38 c709e89a55cf: Preparing 01:53:38 1a058d5342cc: Preparing 01:53:38 1a058d5342cc: Layer already exists 01:53:38 c709e89a55cf: Layer already exists 01:53:38 17ff893d2274: Layer already exists 01:53:38 770b4515fd6a: Layer already exists 01:53:38 1c077705ded7: Layer already exists 01:53:38 jakarta: digest: sha256:b5c70bb19906e3687ec986c69801105b55c0b5b5599048efe3160ecce1dba32f size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } 01:53:39 Avoid second fetch 01:53:39 Checking out Revision e1fcaedc117190cf91a20be56ea49244ed6da75f (jakarta) [Pipeline] // withEnv [Pipeline] echo 01:53:39 ===================================================== [Pipeline] echo 01:53:39 taggedImages: 01:53:39 - nexus3.edgexfoundry.org:10004/device-rest:e1fcaedc117190cf91a20be56ea49244ed6da75f 01:53:39 - nexus3.edgexfoundry.org:10004/device-rest:2.1.0 01:53:39 - nexus3.edgexfoundry.org:10004/device-rest:e1fcaedc117190cf91a20be56ea49244ed6da75f-2.1.0 01:53:39 - nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:53:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:39 01:53:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:53:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:40 latest: Pulling from edgex-lftools-log-publisher 01:53:40 b4d181a07f80: Pulling fs layer 01:53:40 a1111a8f2ec3: Pulling fs layer 01:53:40 ed53099fbce6: Pulling fs layer 01:53:40 dc539afda2c1: Pulling fs layer 01:53:40 77bc0d833cb6: Pulling fs layer 01:53:40 9065ff56babe: Pulling fs layer 01:53:40 d287ab97295c: Pulling fs layer 01:53:40 77bc0d833cb6: Waiting 01:53:40 9065ff56babe: Waiting 01:53:40 d287ab97295c: Waiting 01:53:40 dc539afda2c1: Waiting 01:53:40 a1111a8f2ec3: Verifying Checksum 01:53:40 a1111a8f2ec3: Download complete 01:53:40 dc539afda2c1: Verifying Checksum 01:53:40 dc539afda2c1: Download complete 01:53:40 ed53099fbce6: Verifying Checksum 01:53:40 ed53099fbce6: Download complete 01:53:40 77bc0d833cb6: Verifying Checksum 01:53:40 77bc0d833cb6: Download complete 01:53:40 9065ff56babe: Verifying Checksum 01:53:40 9065ff56babe: Download complete 01:53:40 b4d181a07f80: Verifying Checksum 01:53:40 b4d181a07f80: Download complete 01:53:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:53:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:53:39 > git config core.sparsecheckout # timeout=10 01:53:39 > git checkout -f e1fcaedc117190cf91a20be56ea49244ed6da75f # timeout=10 01:53:41 d287ab97295c: Verifying Checksum 01:53:41 d287ab97295c: Download complete 01:53:41 b4d181a07f80: Pull complete 01:53:41 a1111a8f2ec3: Pull complete 01:53:42 ed53099fbce6: Pull complete 01:53:42 dc539afda2c1: Pull complete 01:53:42 77bc0d833cb6: Pull complete 01:53:42 9065ff56babe: Pull complete 01:53:43 Commit message: "ci(lts-release): LTS release v2.1.0 @77c54d9" 01:53:44 01:53:44 GitHub has been notified of this commit’s build result 01:53:44 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:53:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:53:44 % Total % Received % Xferd Average Speed Time Time Time Current 01:53:44 Dload Upload Total Spent Left Speed 01:53:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 76779 0 --:--:-- --:--:-- --:--:-- 76779 [Pipeline] sh 01:53:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:53:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:53:46 + sudo tee /etc/docker/daemon.new 01:53:46 { 01:53:46 "registry-mirrors": [ 01:53:46 "https://nexus3.edgexfoundry.org:10001" 01:53:46 ], 01:53:46 "bip": "10.250.0.254/24", 01:53:46 "hosts": [ 01:53:46 "tcp://0.0.0.0:5555", 01:53:46 "unix:///var/run/docker.sock" 01:53:46 ], 01:53:46 "mtu": 1458, 01:53:46 "selinux-enabled": true, 01:53:46 "seccomp-profile": "/etc/docker/seccomp.json" 01:53:46 } [Pipeline] sh 01:53:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:53:47 + sudo service docker restart 01:53:47 d287ab97295c: Pull complete 01:53:47 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:53:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:53:47 prd-centos7-docker-4c-2g-1193 does not seem to be running inside a container 01:53:47 $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 01:53:50 $ docker top 5bb8d47aceef6c6c5e27046ca98bff5cde19ccd684c35fcf5d28d633f0f9e780 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:51 ---> job-cost.sh 01:53:51 lf-activate-venv: SKIPPING 01:53:51 INFO: No Stack... 01:53:52 INFO: Retrieving Pricing Info for: v3-standard-2 01:53:52 INFO: Archiving Costs [Pipeline] sh 01:53:52 + cat /w/workspace/device-rest-go/4/archives/cost.csv 01:53:52 + cut -d, -f6 [Pipeline] lock 01:53:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-4-stack-cost] 01:53:52 Resource [jenkins-edgexfoundry-device-rest-go-jakarta-4-stack-cost] did not exist. Created. 01:53:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:53:52 + echo total: 0.05999999865889549 [Pipeline] stash 01:53:53 Stashed 1 file(s) [Pipeline] } 01:53:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:53:53 $ docker stop --time=1 5bb8d47aceef6c6c5e27046ca98bff5cde19ccd684c35fcf5d28d633f0f9e780 01:53:54 $ docker rm -f 5bb8d47aceef6c6c5e27046ca98bff5cde19ccd684c35fcf5d28d633f0f9e780 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] sh 01:54:07 + git checkout e1fcaedc117190cf91a20be56ea49244ed6da75f 01:54:07 HEAD is now at e1fcaed ci(lts-release): LTS release v2.1.0 @77c54d9 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:54:07 provisioning config files... 01:54:07 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config4517443252735647285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:07 ---> docker-login.sh 01:54:07 nexus3.edgexfoundry.org:10001 01:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:54:08 Configure a credential helper to remove this warning. See 01:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:54:08 01:54:08 Login Succeeded 01:54:08 nexus3.edgexfoundry.org:10002 01:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:54:09 Configure a credential helper to remove this warning. See 01:54:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:54:09 01:54:09 Login Succeeded 01:54:09 nexus3.edgexfoundry.org:10003 01:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:54:09 Configure a credential helper to remove this warning. See 01:54:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:54:09 01:54:09 Login Succeeded 01:54:09 nexus3.edgexfoundry.org:10004 01:54:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:54:10 Configure a credential helper to remove this warning. See 01:54:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:54:10 01:54:10 Login Succeeded 01:54:10 docker.io 01:54:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:54:11 Configure a credential helper to remove this warning. See 01:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:54:11 01:54:11 Login Succeeded 01:54:11 ---> docker-login.sh ends [Pipeline] } 01:54:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:54:12 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:54:12 ========================================================= 01:54:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 01:54:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:54:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 01:54:14 Sending build context to Docker daemon 11.12MB 01:54:14 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:54:14 Step 2/11 : FROM ${BASE} AS builder 01:54:14 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 01:54:14 552d1f2373af: Pulling fs layer 01:54:14 ea3f2d53f512: Pulling fs layer 01:54:14 9e70ebbbe112: Pulling fs layer 01:54:14 7a9cfe048b4a: Pulling fs layer 01:54:14 72dc09318566: Pulling fs layer 01:54:14 6b38a4ac6b94: Pulling fs layer 01:54:14 1cf82868ecbe: Pulling fs layer 01:54:14 cf934696a108: Pulling fs layer 01:54:14 6b38a4ac6b94: Waiting 01:54:14 1cf82868ecbe: Waiting 01:54:14 7a9cfe048b4a: Waiting 01:54:14 cf934696a108: Waiting 01:54:14 72dc09318566: Waiting 01:54:14 9e70ebbbe112: Verifying Checksum 01:54:14 9e70ebbbe112: Download complete 01:54:14 ea3f2d53f512: Verifying Checksum 01:54:14 ea3f2d53f512: Download complete 01:54:14 72dc09318566: Verifying Checksum 01:54:14 72dc09318566: Download complete 01:54:14 6b38a4ac6b94: Verifying Checksum 01:54:14 6b38a4ac6b94: Download complete 01:54:14 552d1f2373af: Verifying Checksum 01:54:14 552d1f2373af: Download complete 01:54:14 1cf82868ecbe: Verifying Checksum 01:54:14 1cf82868ecbe: Download complete 01:54:15 552d1f2373af: Pull complete 01:54:15 ea3f2d53f512: Pull complete 01:54:16 9e70ebbbe112: Pull complete 01:54:16 cf934696a108: Verifying Checksum 01:54:16 cf934696a108: Download complete 01:54:16 7a9cfe048b4a: Verifying Checksum 01:54:16 7a9cfe048b4a: Download complete 01:54:27 7a9cfe048b4a: Pull complete 01:54:27 72dc09318566: Pull complete 01:54:27 6b38a4ac6b94: Pull complete 01:54:28 1cf82868ecbe: Pull complete 01:54:34 cf934696a108: Pull complete 01:54:34 Digest: sha256:c7a1c6e7193eac42aea82418dc538ba94561e4292c792d132f5c974f427cd528 01:54:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 01:54:34 ---> 8a4ae6370de5 01:54:34 Step 3/11 : ARG MAKE='make build' 01:54:36 ---> Running in 5b6372d72b55 01:54:36 Removing intermediate container 5b6372d72b55 01:54:36 ---> adbb8835dfa4 01:54:36 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:54:36 ---> Running in 505aa6dc7719 01:54:37 Removing intermediate container 505aa6dc7719 01:54:37 ---> 3142ec311543 01:54:37 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 01:54:37 ---> Running in 00b426f02861 01:54:37 Removing intermediate container 00b426f02861 01:54:37 ---> 08de6e46e8a5 01:54:37 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:54:37 ---> Running in 08712f1e67c6 01:54:40 Removing intermediate container 08712f1e67c6 01:54:40 ---> 6f015cc2bb94 01:54:40 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:54:40 ---> Running in 4ed1d17aaf21 01:54:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:54:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:54:42 (1/4) Installing openssh-keygen (8.6_p1-r3) 01:54:42 (2/4) Installing libedit (20210216.3.1-r0) 01:54:42 (3/4) Installing openssh-client-common (8.6_p1-r3) 01:54:43 (4/4) Installing openssh-client-default (8.6_p1-r3) 01:54:43 Executing busybox-1.33.1-r3.trigger 01:54:43 OK: 223 MiB in 56 packages 01:54:44 Removing intermediate container 4ed1d17aaf21 01:54:44 ---> 6a307ffbec8a 01:54:44 Step 8/11 : WORKDIR /device-rest-go 01:54:44 ---> Running in 9990344771cd 01:54:44 Removing intermediate container 9990344771cd 01:54:44 ---> 9ab26c8e66f4 01:54:44 Step 9/11 : COPY . . 01:54:48 ---> 8ab1fffeec54 01:54:48 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:54:48 ---> Running in 657f7a33db9e 01:54:49 skipping... 01:54:50 Removing intermediate container 657f7a33db9e 01:54:50 ---> 5cc342d415e7 01:54:50 Step 11/11 : RUN $MAKE 01:54:50 ---> Running in 9f3efa156a47 01:54:51 noop 01:54:52 Removing intermediate container 9f3efa156a47 01:54:52 ---> 9d6110c85b75 01:54:52 Successfully built 9d6110c85b75 01:54:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:54:52 + docker inspect -f . ci-base-image-arm64 01:54:52 . [Pipeline] withDockerContainer 01:54:53 prd-ubuntu18.04-docker-arm64-4c-16g-1194 does not seem to be running inside a container 01:54:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 01:54:54 $ docker top 6a00edd5a27102ebd781f0c26c21248b8b29329d75c27e429e4e709f6007fc05 -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:55 + go version 01:54:55 go version go1.16.8 linux/arm64 [Pipeline] } 01:54:55 $ docker stop --time=1 6a00edd5a27102ebd781f0c26c21248b8b29329d75c27e429e4e709f6007fc05 01:54:57 $ docker rm -f 6a00edd5a27102ebd781f0c26c21248b8b29329d75c27e429e4e709f6007fc05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:54:58 + docker inspect -f . ci-base-image-arm64 01:54:58 . [Pipeline] withDockerContainer 01:54:58 prd-ubuntu18.04-docker-arm64-4c-16g-1194 does not seem to be running inside a container 01:54:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 01:55:00 $ docker top 8013cf1ec4aa90068787a5a7d94ae3fe223bf013cdfd974673317cf013c635c6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:55:01 + make test 01:55:01 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:55:02 ? github.com/edgexfoundry/device-rest-go [no test files] 01:55:59 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:55:59 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 56.0% of statements 01:55:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:56:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:56:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:56:26 ./bin/test-attribution-txt.sh 01:56:26 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.0 01:56:26 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 01:56:26 go: downloading github.com/gorilla/mux v1.8.0 01:56:26 go: downloading github.com/spf13/cast v1.4.1 01:56:26 go: downloading github.com/stretchr/testify v1.7.0 01:56:27 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 01:56:27 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:56:27 go: downloading github.com/OneOfOne/xxhash v1.2.8 01:56:27 go: downloading github.com/google/uuid v1.3.0 01:56:27 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 01:56:27 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 01:56:27 go: downloading github.com/pelletier/go-toml v1.9.4 01:56:27 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 01:56:27 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:56:27 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 01:56:27 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 01:56:27 go: downloading github.com/hashicorp/go-multierror v1.1.0 01:56:27 go: downloading github.com/hashicorp/consul/api v1.9.1 01:56:27 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:56:27 go: downloading github.com/go-kit/kit v0.11.0 01:56:27 go: downloading github.com/go-playground/validator/v10 v10.9.0 01:56:27 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:56:27 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:56:27 go: downloading github.com/pebbe/zmq4 v1.2.7 01:56:27 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:56:27 go: downloading github.com/go-logfmt/logfmt v0.5.0 01:56:27 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:56:27 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:56:27 go: downloading github.com/mitchellh/copystructure v1.0.0 01:56:27 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:56:27 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 01:56:27 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 01:56:27 go: downloading golang.org/x/text v0.3.6 01:56:27 go: downloading github.com/davecgh/go-spew v1.1.1 01:56:27 go: downloading github.com/pmezard/go-difflib v1.0.0 01:56:28 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:56:28 go: downloading github.com/hashicorp/errwrap v1.0.0 01:56:28 go: downloading github.com/x448/float16 v0.8.4 01:56:28 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:56:28 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:56:28 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:56:28 go: downloading github.com/hashicorp/serf v0.9.5 01:56:29 go: downloading github.com/go-playground/universal-translator v0.18.0 01:56:29 go: downloading github.com/leodido/go-urn v1.2.1 01:56:29 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 01:56:30 go: downloading github.com/gorilla/websocket v1.4.2 01:56:30 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:56:30 go: downloading github.com/fatih/color v1.9.0 01:56:30 go: downloading github.com/mattn/go-colorable v0.1.6 01:56:30 go: downloading github.com/mattn/go-isatty v0.0.12 01:56:30 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:56:30 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 01:56:35 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:56:35 + go mod tidy 01:56:36 go: downloading github.com/go-stack/stack v1.8.0 01:56:36 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:56:36 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 01:56:36 go: downloading github.com/stretchr/objx v0.1.1 01:56:36 go: downloading github.com/hashicorp/consul/sdk v0.8.0 01:56:36 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:56:36 go: downloading github.com/onsi/ginkgo v1.10.1 01:56:36 go: downloading github.com/onsi/gomega v1.7.0 01:56:36 go: downloading github.com/kr/pretty v0.3.0 01:56:36 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:56:36 go: downloading github.com/hashicorp/memberlist v0.2.2 01:56:36 go: downloading github.com/pkg/errors v0.9.1 01:56:36 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:56:36 go: downloading github.com/kr/text v0.2.0 01:56:36 go: downloading github.com/rogpeppe/go-internal v1.8.0 01:56:36 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:56:36 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:56:36 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:56:36 go: downloading github.com/miekg/dns v1.1.26 01:56:36 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:56:36 go: downloading gopkg.in/yaml.v2 v2.3.0 01:56:36 go: downloading github.com/hpcloud/tail v1.0.0 01:56:36 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:56:36 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 01:56:37 $ docker stop --time=1 8013cf1ec4aa90068787a5a7d94ae3fe223bf013cdfd974673317cf013c635c6 01:56:39 $ docker rm -f 8013cf1ec4aa90068787a5a7d94ae3fe223bf013cdfd974673317cf013c635c6 [Pipeline] // withDockerContainer [Pipeline] sh 01:56:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:56:42 Warning: overwriting stash ‘coverage-report’ 01:56:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:56:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:56:44 + ls -al . 01:56:44 total 180 01:56:44 drwxrwxr-x 9 jenkins jenkins 4096 Nov 18 01:56 . 01:56:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 01:53 .. 01:56:44 -rw-rw-r-- 1 jenkins jenkins 151 Nov 18 01:53 .dockerignore 01:56:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 01:54 .git 01:56:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 01:53 .github 01:56:44 -rw-rw-r-- 1 jenkins jenkins 321 Nov 18 01:53 .gitignore 01:56:44 -rw-rw-r-- 1 jenkins jenkins 7095 Nov 18 01:53 Attribution.txt 01:56:44 -rw-rw-r-- 1 jenkins jenkins 7459 Nov 18 01:53 CHANGELOG.md 01:56:44 -rw-rw-r-- 1 jenkins jenkins 1649 Nov 18 01:53 Dockerfile 01:56:44 -rw-rw-r-- 1 jenkins jenkins 677 Nov 18 01:53 GOVERNANCE.md 01:56:44 -rw-rw-r-- 1 jenkins jenkins 680 Nov 18 01:53 Jenkinsfile 01:56:44 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 18 01:53 LICENSE 01:56:44 -rw-rw-r-- 1 jenkins jenkins 1078 Nov 18 01:53 Makefile 01:56:44 -rw-rw-r-- 1 jenkins jenkins 620 Nov 18 01:53 OWNERS.md 01:56:44 -rw-rw-r-- 1 jenkins jenkins 8246 Nov 18 01:53 README.md 01:56:44 -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 01:49 VERSION 01:56:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 01:53 bin 01:56:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 01:53 cmd 01:56:44 -rw-r--r-- 1 jenkins jenkins 9215 Nov 18 01:55 coverage.out 01:56:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 01:53 driver 01:56:44 -rw-rw-r-- 1 jenkins jenkins 271 Nov 18 01:56 go.mod 01:56:44 -rw-rw-r-- 1 jenkins jenkins 49306 Nov 18 01:53 go.sum 01:56:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 01:53 snap 01:56:44 drwxrwxr-x 6 jenkins jenkins 4096 Nov 18 01:53 vendor 01:56:44 -rw-rw-r-- 1 jenkins jenkins 713 Nov 18 01:53 version.go [Pipeline] isUnix [Pipeline] sh 01:56:45 + 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=e1fcaedc117190cf91a20be56ea49244ed6da75f --label arch=arm64 --label version=2.1.0 . 01:56:46 Sending build context to Docker daemon 11.13MB 01:56:46 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 01:56:46 Step 2/24 : FROM ${BASE} AS builder 01:56:46 ---> 9d6110c85b75 01:56:46 Step 3/24 : ARG MAKE='make build' 01:56:46 ---> Running in 58f598e7a86d 01:56:46 Removing intermediate container 58f598e7a86d 01:56:46 ---> f0e24bc99463 01:56:46 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:56:47 ---> Running in e477bb5c46b2 01:56:47 Removing intermediate container e477bb5c46b2 01:56:47 ---> 07c4c2bb0c24 01:56:47 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:56:47 ---> Running in 3c6a07ff2e1b 01:56:48 Removing intermediate container 3c6a07ff2e1b 01:56:48 ---> ae3c11798137 01:56:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:56:48 ---> Running in 04544b5640fb 01:56:50 Removing intermediate container 04544b5640fb 01:56:50 ---> 321de3bfbc5d 01:56:50 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:56:50 ---> Running in bb4683b992a6 01:56:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:56:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:56:53 OK: 223 MiB in 56 packages 01:56:54 Removing intermediate container bb4683b992a6 01:56:54 ---> 9b6baa728c03 01:56:54 Step 8/24 : WORKDIR /device-rest-go 01:56:54 ---> Running in b58628659af5 01:56:54 Removing intermediate container b58628659af5 01:56:54 ---> c7af1425c5f9 01:56:54 Step 9/24 : COPY . . 01:56:58 ---> db8d9a701557 01:56:58 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:56:58 ---> Running in 5dd613bdb62f 01:56:59 skipping... 01:56:59 Removing intermediate container 5dd613bdb62f 01:56:59 ---> c9645915e53c 01:56:59 Step 11/24 : RUN $MAKE 01:57:00 ---> Running in c5753ff4e642 01:57:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.0" -o cmd/device-rest ./cmd 01:57:40 Removing intermediate container c5753ff4e642 01:57:40 ---> a1fd5b064654 01:57:40 Step 12/24 : FROM alpine:3.14 01:57:40 3.14: Pulling from library/alpine 01:57:40 be307f383ecc: Pulling fs layer 01:57:40 be307f383ecc: Verifying Checksum 01:57:40 be307f383ecc: Download complete 01:57:40 be307f383ecc: Pull complete 01:57:40 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 01:57:40 Status: Downloaded newer image for alpine:3.14 01:57:40 ---> 5b8b7b635229 01:57:40 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:57:40 ---> Running in bc95d88d472e 01:57:40 Removing intermediate container bc95d88d472e 01:57:40 ---> 554bea779ba1 01:57:40 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 01:57:40 ---> Running in a4c68f75e31c 01:57:40 Removing intermediate container a4c68f75e31c 01:57:40 ---> 0ad4e171a2ce 01:57:40 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:57:40 ---> Running in d3c03188ad05 01:57:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:57:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:57:41 (1/6) Installing dumb-init (1.2.5-r1) 01:57:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:57:41 (3/6) Installing libsodium (1.0.18-r0) 01:57:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:57:41 (5/6) Installing libzmq (4.3.4-r0) 01:57:41 (6/6) Installing zeromq (4.3.4-r0) 01:57:41 Executing busybox-1.33.1-r6.trigger 01:57:41 OK: 8 MiB in 20 packages 01:57:43 Removing intermediate container d3c03188ad05 01:57:43 ---> d25ada8cd52f 01:57:43 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 01:57:43 ---> 878bfcdf8889 01:57:43 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 01:57:44 ---> 4a7c2cd2868b 01:57:44 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 01:57:45 ---> 2aa49688691c 01:57:45 Step 19/24 : EXPOSE 59986 01:57:45 ---> Running in 18a2a4094491 01:57:45 Removing intermediate container 18a2a4094491 01:57:45 ---> c291c6749792 01:57:45 Step 20/24 : ENTRYPOINT ["/device-rest"] 01:57:45 ---> Running in b266f1d62f95 01:57:46 Removing intermediate container b266f1d62f95 01:57:46 ---> ef11b9172e86 01:57:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:57:46 ---> Running in 9fd5ba0e3b27 01:57:46 Removing intermediate container 9fd5ba0e3b27 01:57:46 ---> 0ef638ba23fc 01:57:46 Step 22/24 : LABEL arch=arm64 01:57:46 ---> Running in 5d9f7eeaaebd 01:57:46 Removing intermediate container 5d9f7eeaaebd 01:57:46 ---> 3abff8badb15 01:57:46 Step 23/24 : LABEL git_sha=e1fcaedc117190cf91a20be56ea49244ed6da75f 01:57:46 ---> Running in df5c5cc40535 01:57:47 Removing intermediate container df5c5cc40535 01:57:47 ---> b6340b7f9303 01:57:47 Step 24/24 : LABEL version=2.1.0 01:57:47 ---> Running in 7f485a9c4500 01:57:47 Removing intermediate container 7f485a9c4500 01:57:47 ---> 003bb19fbeea 01:57:47 [Warning] One or more build-args [ARCH] were not consumed 01:57:48 Successfully built 003bb19fbeea 01:57:48 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 01:57:48 provisioning config files... 01:57:48 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config1122654806579497960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:48 ---> docker-login.sh 01:57:48 nexus3.edgexfoundry.org:10001 01:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:49 Configure a credential helper to remove this warning. See 01:57:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:49 01:57:49 Login Succeeded 01:57:49 nexus3.edgexfoundry.org:10002 01:57:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:49 Configure a credential helper to remove this warning. See 01:57:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:49 01:57:49 Login Succeeded 01:57:49 nexus3.edgexfoundry.org:10003 01:57:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:50 Configure a credential helper to remove this warning. See 01:57:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:50 01:57:50 Login Succeeded 01:57:50 nexus3.edgexfoundry.org:10004 01:57:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:50 Configure a credential helper to remove this warning. See 01:57:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:50 01:57:50 Login Succeeded 01:57:50 docker.io 01:57:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:51 Configure a credential helper to remove this warning. See 01:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:51 01:57:51 Login Succeeded 01:57:51 ---> docker-login.sh ends [Pipeline] } 01:57:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:57:52 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:57:52 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:57:52 e1fcaedc117190cf91a20be56ea49244ed6da75f 01:57:52 2.1.0 01:57:52 e1fcaedc117190cf91a20be56ea49244ed6da75f-2.1.0 01:57:52 jakarta 01:57:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:57:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e1fcaedc117190cf91a20be56ea49244ed6da75f [Pipeline] isUnix [Pipeline] sh 01:57:53 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e1fcaedc117190cf91a20be56ea49244ed6da75f 01:57:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:57:53 9e2f4286b714: Preparing 01:57:53 33450fe3f3e3: Preparing 01:57:53 f50a3dd384f4: Preparing 01:57:53 5aa22d88393e: Preparing 01:57:53 62170e181a92: Preparing 01:57:53 62170e181a92: Layer already exists 01:57:53 9e2f4286b714: Pushed 01:57:53 33450fe3f3e3: Pushed 01:57:54 5aa22d88393e: Pushed 01:57:55 f50a3dd384f4: Pushed 01:57:56 e1fcaedc117190cf91a20be56ea49244ed6da75f: digest: sha256:2d70698f3dbb139210dfffc21bd2e07b2957334b7e5ff731bb349666df97d95d size: 1365 [Pipeline] isUnix [Pipeline] sh 01:57:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.0 [Pipeline] isUnix [Pipeline] sh 01:57:57 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.0 01:57:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:57:57 9e2f4286b714: Preparing 01:57:57 33450fe3f3e3: Preparing 01:57:57 f50a3dd384f4: Preparing 01:57:57 5aa22d88393e: Preparing 01:57:57 62170e181a92: Preparing 01:57:57 62170e181a92: Layer already exists 01:57:57 33450fe3f3e3: Layer already exists 01:57:57 9e2f4286b714: Layer already exists 01:57:57 f50a3dd384f4: Layer already exists 01:57:57 5aa22d88393e: Layer already exists 01:57:57 2.1.0: digest: sha256:2d70698f3dbb139210dfffc21bd2e07b2957334b7e5ff731bb349666df97d95d size: 1365 [Pipeline] isUnix [Pipeline] sh 01:57:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e1fcaedc117190cf91a20be56ea49244ed6da75f-2.1.0 [Pipeline] isUnix [Pipeline] sh 01:57:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e1fcaedc117190cf91a20be56ea49244ed6da75f-2.1.0 01:57:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:57:58 9e2f4286b714: Preparing 01:57:58 33450fe3f3e3: Preparing 01:57:58 f50a3dd384f4: Preparing 01:57:58 5aa22d88393e: Preparing 01:57:58 62170e181a92: Preparing 01:57:58 33450fe3f3e3: Layer already exists 01:57:58 f50a3dd384f4: Layer already exists 01:57:58 9e2f4286b714: Layer already exists 01:57:58 5aa22d88393e: Layer already exists 01:57:58 62170e181a92: Layer already exists 01:57:58 e1fcaedc117190cf91a20be56ea49244ed6da75f-2.1.0: digest: sha256:2d70698f3dbb139210dfffc21bd2e07b2957334b7e5ff731bb349666df97d95d size: 1365 [Pipeline] isUnix [Pipeline] sh 01:57:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] isUnix [Pipeline] sh 01:57:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta 01:57:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:57:59 9e2f4286b714: Preparing 01:57:59 33450fe3f3e3: Preparing 01:57:59 f50a3dd384f4: Preparing 01:57:59 5aa22d88393e: Preparing 01:57:59 62170e181a92: Preparing 01:57:59 f50a3dd384f4: Layer already exists 01:57:59 62170e181a92: Layer already exists 01:57:59 9e2f4286b714: Layer already exists 01:57:59 33450fe3f3e3: Layer already exists 01:57:59 5aa22d88393e: Layer already exists 01:57:59 jakarta: digest: sha256:2d70698f3dbb139210dfffc21bd2e07b2957334b7e5ff731bb349666df97d95d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:57:59 ===================================================== [Pipeline] echo 01:57:59 taggedImages: 01:57:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e1fcaedc117190cf91a20be56ea49244ed6da75f 01:57:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.0 01:57:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e1fcaedc117190cf91a20be56ea49244ed6da75f-2.1.0 01:57:59 - nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:58:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:58:00 01:58:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:58:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:58:01 arm64: Pulling from edgex-lftools-log-publisher 01:58:01 448f6bf000e3: Pulling fs layer 01:58:01 f757da607395: Pulling fs layer 01:58:01 05883995daec: Pulling fs layer 01:58:01 8603b9c90790: Pulling fs layer 01:58:01 1560dd03e051: Pulling fs layer 01:58:01 27f5ce0e4adf: Pulling fs layer 01:58:01 c2d8d7efcc4b: Pulling fs layer 01:58:01 27f5ce0e4adf: Waiting 01:58:01 c2d8d7efcc4b: Waiting 01:58:01 8603b9c90790: Waiting 01:58:01 1560dd03e051: Waiting 01:58:01 f757da607395: Verifying Checksum 01:58:01 f757da607395: Download complete 01:58:01 8603b9c90790: Verifying Checksum 01:58:01 8603b9c90790: Download complete 01:58:01 1560dd03e051: Verifying Checksum 01:58:01 1560dd03e051: Download complete 01:58:01 27f5ce0e4adf: Verifying Checksum 01:58:01 27f5ce0e4adf: Download complete 01:58:01 05883995daec: Verifying Checksum 01:58:01 05883995daec: Download complete 01:58:01 448f6bf000e3: Verifying Checksum 01:58:01 448f6bf000e3: Download complete 01:58:03 c2d8d7efcc4b: Verifying Checksum 01:58:03 c2d8d7efcc4b: Download complete 01:58:05 448f6bf000e3: Pull complete 01:58:06 f757da607395: Pull complete 01:58:08 05883995daec: Pull complete 01:58:08 8603b9c90790: Pull complete 01:58:08 1560dd03e051: Pull complete 01:58:09 27f5ce0e4adf: Pull complete 01:58:24 c2d8d7efcc4b: Pull complete 01:58:24 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 01:58:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:58:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:58:24 prd-ubuntu18.04-docker-arm64-4c-16g-1194 does not seem to be running inside a container 01:58:24 $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 01:58:27 $ docker top 6f33d952aab46cff39cd8f8fc2fc98e0917148b7a82fe847b4549d42c69d4cc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:28 ---> job-cost.sh 01:58:28 lf-activate-venv: SKIPPING 01:58:28 INFO: No Stack... 01:58:28 INFO: Retrieving Pricing Info for: v3-standard-4 01:58:29 INFO: Archiving Costs [Pipeline] sh 01:58:29 + cut -d, -f6 01:58:29 + cat /w/workspace/device-rest-go/4/archives/cost.csv [Pipeline] lock 01:58:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-4-stack-cost] 01:58:29 Resource [jenkins-edgexfoundry-device-rest-go-jakarta-4-stack-cost] did not exist. Created. 01:58:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:58:30 /w/workspace/device-rest-go/4@tmp/durable-9894c55c/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-9894c55c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:58:31 + echo total: 0.10999999940395355 [Pipeline] stash 01:58:31 Warning: overwriting stash ‘stack-cost’ 01:58:31 Stashed 1 file(s) [Pipeline] } 01:58:31 Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:58:31 $ docker stop --time=1 6f33d952aab46cff39cd8f8fc2fc98e0917148b7a82fe847b4549d42c69d4cc2 01:58:33 $ docker rm -f 6f33d952aab46cff39cd8f8fc2fc98e0917148b7a82fe847b4549d42c69d4cc2 [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 01:58:35 provisioning config files... 01:58:35 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config944865501550541504tmp [Pipeline] { [Pipeline] sh 01:58:36 + set +x 01:58:36 + curl -s https://codecov.io/bash 01:58:36 + bash -s -- 01:58:36 01:58:36 _____ _ 01:58:36 / ____| | | 01:58:36 | | ___ __| | ___ ___ _____ __ 01:58:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:58:36 | |___| (_) | (_| | __/ (_| (_) \ V / 01:58:36 \_____\___/ \__,_|\___|\___\___/ \_/ 01:58:36 Bash-1.0.6 01:58:36 01:58:36 01:58:36 ==> git version 2.24.4 found 01:58:36 ==> 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 01:58:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:58:36 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:58:36 ==> Jenkins CI detected. 01:58:36 current dir:  /w/workspace/exfoundry_device-rest-go_jakarta 01:58:36 project root: . 01:58:36 --> token set from env 01:58:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:58:36 ==> Running gcov in . (disable via -X gcov) 01:58:36 ==> Python coveragepy not found 01:58:36 ==> Searching for coverage reports in: 01:58:36 + . 01:58:36 -> Found 1 reports 01:58:36 ==> Detecting git/mercurial file structure 01:58:36 ==> Reading reports 01:58:36 + ./coverage.out bytes=9215 01:58:36 ==> Appending adjustments 01:58:36 https://docs.codecov.io/docs/fixing-reports 01:58:36 + Found adjustments 01:58:36 ==> Gzipping contents 01:58:36 12K /tmp/codecov.6uEFBS.gz 01:58:36 ==> Uploading reports 01:58:36 url: https://codecov.io 01:58:36 query: branch=jakarta&commit=e1fcaedc117190cf91a20be56ea49244ed6da75f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:58:36 -> Pinging Codecov 01:58:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=jakarta&commit=e1fcaedc117190cf91a20be56ea49244ed6da75f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:58:36 -> Uploading to 01:58:36 https://storage.googleapis.com/codecov/v4/raw/2021-11-18/4E5D53B4F1F92C436F7061BF334D961C/e1fcaedc117190cf91a20be56ea49244ed6da75f/c2f722d4-f384-4f19-9fb1-671a76870e6c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211118T015836Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54385d857db1ed90bb59daeb07737f1fb172e361f08c31cfca9d1828e713b587 01:58:36 % Total % Received % Xferd Average Speed Time Time Time Current 01:58:36 Dload Upload Total Spent Left Speed 01:58:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8328 0 0 100 8328 0 30440 --:--:-- --:--:-- --:--:-- 30505 01:58:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/e1fcaedc117190cf91a20be56ea49244ed6da75f [Pipeline] } 01:58:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:58:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:58:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:58:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:41 01:58:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:58:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:58:41 188c0c94c7c5: Pulling fs layer 01:58:41 0ef7d3d256c8: Pulling fs layer 01:58:41 de9db76c5a1d: Pulling fs layer 01:58:41 0eba1c9be4d2: Pulling fs layer 01:58:41 0d57e429df01: Pulling fs layer 01:58:41 4e4be7b47b0d: Pulling fs layer 01:58:41 e1f770b5df2f: Pulling fs layer 01:58:41 85a0685a4137: Pulling fs layer 01:58:41 0eba1c9be4d2: Waiting 01:58:41 0d57e429df01: Waiting 01:58:41 4e4be7b47b0d: Waiting 01:58:41 e1f770b5df2f: Waiting 01:58:41 85a0685a4137: Waiting 01:58:41 de9db76c5a1d: Verifying Checksum 01:58:41 de9db76c5a1d: Download complete 01:58:41 0ef7d3d256c8: Download complete 01:58:41 0d57e429df01: Verifying Checksum 01:58:41 0d57e429df01: Download complete 01:58:41 4e4be7b47b0d: Verifying Checksum 01:58:41 4e4be7b47b0d: Download complete 01:58:41 188c0c94c7c5: Verifying Checksum 01:58:41 188c0c94c7c5: Download complete 01:58:41 e1f770b5df2f: Verifying Checksum 01:58:41 e1f770b5df2f: Download complete 01:58:42 0eba1c9be4d2: Verifying Checksum 01:58:42 0eba1c9be4d2: Download complete 01:58:42 188c0c94c7c5: Pull complete 01:58:42 0ef7d3d256c8: Pull complete 01:58:42 85a0685a4137: Verifying Checksum 01:58:42 85a0685a4137: Download complete 01:58:42 de9db76c5a1d: Pull complete 01:58:46 0eba1c9be4d2: Pull complete 01:58:46 0d57e429df01: Pull complete 01:58:46 4e4be7b47b0d: Pull complete 01:58:46 e1f770b5df2f: Pull complete 01:58:51 85a0685a4137: Pull complete 01:58:51 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:58:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:58:51 prd-centos7-docker-4c-2g-1192 does not seem to be running inside a container 01:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 01:58:53 $ docker top 4b3bd0ab65bab72c3e14ec68679a4fe159f3aaa381d58244810de44825ddab75 -eo pid,comm [Pipeline] { [Pipeline] echo 01:58:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:58:53 + set -o pipefail 01:58:53 + snyk monitor '--org=edgex-jenkins' 01:58:55 01:58:55 Monitoring /w/workspace/exfoundry_device-rest-go_jakarta (github.com/edgexfoundry/device-rest-go)... 01:58:55 01:58:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/776850c1-7b91-4131-acfc-19c6eaea5d45 01:58:55 01:58:55 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 01:58:55 01:58:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:58:55 01:58:55 [Pipeline] } 01:58:55 $ docker stop --time=1 4b3bd0ab65bab72c3e14ec68679a4fe159f3aaa381d58244810de44825ddab75 01:58:56 $ docker rm -f 4b3bd0ab65bab72c3e14ec68679a4fe159f3aaa381d58244810de44825ddab75 [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 01:58:58 + git log --format=format:%s -1 e1fcaedc117190cf91a20be56ea49244ed6da75f [Pipeline] sh 01:58:58 + grep -v github /etc/ssh/ssh_known_hosts [Pipeline] sh 01:58:59 + sudo mv /tmp/known_hosts /etc/ssh/ssh_known_hosts [Pipeline] sh 01:58:59 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 01:58:59 + sudo tee -a /etc/ssh/ssh_known_hosts 01:58:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:58:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:58:59 . [Pipeline] withDockerContainer 01:58:59 prd-centos7-docker-4c-2g-1192 does not seem to be running inside a container 01:58:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 01:59:00 $ docker top 04bb80dce2fa7072deabbdf1cf8d85fba13d8e8c97b1f890ab496f1683ddd58c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:59:00 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:00 + git semver [Pipeline] } 01:59:00 $ docker stop --time=1 04bb80dce2fa7072deabbdf1cf8d85fba13d8e8c97b1f890ab496f1683ddd58c 01:59:01 $ docker rm -f 04bb80dce2fa7072deabbdf1cf8d85fba13d8e8c97b1f890ab496f1683ddd58c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:59:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:59:03 01:59:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:59:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:59:03 0.23.1-centos7: Pulling from edgex-lftools 01:59:03 ab5ef0e58194: Pulling fs layer 01:59:03 9712f1f96733: Pulling fs layer 01:59:03 63f879dbbcfc: Pulling fs layer 01:59:03 0d9ebad4ef96: Pulling fs layer 01:59:03 e9a5061849ea: Pulling fs layer 01:59:03 d747dcd14b5f: Pulling fs layer 01:59:03 2de7ff778b66: Pulling fs layer 01:59:03 0d9ebad4ef96: Waiting 01:59:03 e9a5061849ea: Waiting 01:59:03 d747dcd14b5f: Waiting 01:59:03 2de7ff778b66: Waiting 01:59:03 9712f1f96733: Verifying Checksum 01:59:03 9712f1f96733: Download complete 01:59:03 63f879dbbcfc: Verifying Checksum 01:59:03 63f879dbbcfc: Download complete 01:59:03 ab5ef0e58194: Verifying Checksum 01:59:03 ab5ef0e58194: Download complete 01:59:03 d747dcd14b5f: Verifying Checksum 01:59:03 d747dcd14b5f: Download complete 01:59:03 0d9ebad4ef96: Verifying Checksum 01:59:03 0d9ebad4ef96: Download complete 01:59:03 e9a5061849ea: Verifying Checksum 01:59:03 e9a5061849ea: Download complete 01:59:04 2de7ff778b66: Verifying Checksum 01:59:04 2de7ff778b66: Download complete 01:59:06 ab5ef0e58194: Pull complete 01:59:06 9712f1f96733: Pull complete 01:59:07 63f879dbbcfc: Pull complete 01:59:11 0d9ebad4ef96: Pull complete 01:59:11 e9a5061849ea: Pull complete 01:59:11 d747dcd14b5f: Pull complete 01:59:13 2de7ff778b66: Pull complete 01:59:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:59:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:59:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:59:13 prd-centos7-docker-4c-2g-1192 does not seem to be running inside a container 01:59:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 01:59:16 $ docker top 627524f1c7831398c744ea0a82e8becd668cc51c8029beaa3fb054d20ad982be -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:59:16 provisioning config files... 01:59:16 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config4250640638944085503tmp 01:59:16 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config573961720139933128tmp 01:59:16 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config5182530709898176933tmp [Pipeline] { [Pipeline] echo 01:59:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:59:16 ---> sigul-configuration.sh 01:59:16 gpg: directory `/root/.gnupg' created 01:59:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:59:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:59:16 gpg: keyring `/root/.gnupg/secring.gpg' created 01:59:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:59:16 gpg: CAST5 encrypted data 01:59:16 gpg: encrypted with 1 passphrase 01:59:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:59:16 + mkdir /home/jenkins 01:59:16 + mkdir /home/jenkins/sigul [Pipeline] sh 01:59:18 + 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 01:59:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:59:18 ---> sigul-install.sh 01:59:18 Sigul already installed; skipping installation. [Pipeline] sh 01:59:18 + git tag --list 01:59:18 v1.0.0 01:59:18 v1.1.0 01:59:18 v1.1.1 01:59:18 v1.1.2 01:59:18 v1.2.0 01:59:18 v1.2.1 01:59:18 v2.0.0 01:59:18 v2.0.1-dev.1 01:59:18 v2.0.1-dev.10 01:59:18 v2.0.1-dev.11 01:59:18 v2.0.1-dev.12 01:59:18 v2.0.1-dev.13 01:59:18 v2.0.1-dev.14 01:59:18 v2.0.1-dev.2 01:59:18 v2.0.1-dev.3 01:59:18 v2.0.1-dev.4 01:59:18 v2.0.1-dev.5 01:59:18 v2.0.1-dev.6 01:59:18 v2.0.1-dev.7 01:59:18 v2.0.1-dev.8 01:59:18 v2.0.1-dev.9 01:59:18 v2.1.0 [Pipeline] sh 01:59:19 + lftools sign git-tag v2.1.0 01:59:19 Signing Git tag with Sigul... 01:59:19 Signing v2.1.0 [Pipeline] echo 01:59:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:59:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:59:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:59:21 $ docker stop --time=1 627524f1c7831398c744ea0a82e8becd668cc51c8029beaa3fb054d20ad982be 01:59:23 $ docker rm -f 627524f1c7831398c744ea0a82e8becd668cc51c8029beaa3fb054d20ad982be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:59:23 + grep -v github /etc/ssh/ssh_known_hosts [Pipeline] sh 01:59:24 + sudo mv /tmp/known_hosts /etc/ssh/ssh_known_hosts [Pipeline] sh 01:59:24 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 01:59:24 + sudo tee -a /etc/ssh/ssh_known_hosts 01:59:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:59:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:59:24 . [Pipeline] withDockerContainer 01:59:24 prd-centos7-docker-4c-2g-1192 does not seem to be running inside a container 01:59:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 01:59:25 $ docker top c0ab1c563d536615b3904a3e44834042fc4fbdcebe36ed423082b28620a2575b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:59:25 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:26 + git semver [Pipeline] } 01:59:26 $ docker stop --time=1 c0ab1c563d536615b3904a3e44834042fc4fbdcebe36ed423082b28620a2575b 01:59:27 $ docker rm -f c0ab1c563d536615b3904a3e44834042fc4fbdcebe36ed423082b28620a2575b [Pipeline] // withDockerContainer [Pipeline] sh 01:59:27 + grep -v github /etc/ssh/ssh_known_hosts [Pipeline] sh 01:59:28 + sudo mv /tmp/known_hosts /etc/ssh/ssh_known_hosts [Pipeline] sh 01:59:28 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 01:59:28 + sudo tee -a /etc/ssh/ssh_known_hosts 01:59:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:59:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:59:28 . [Pipeline] withDockerContainer 01:59:29 prd-centos7-docker-4c-2g-1192 does not seem to be running inside a container 01:59:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 01:59:30 $ docker top ca100b082f52de318036232ef65d8c0321ce0146b243628536dff10c2d41fe05 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:59:30 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:30 + git semver [Pipeline] } 01:59:30 $ docker stop --time=1 ca100b082f52de318036232ef65d8c0321ce0146b243628536dff10c2d41fe05 01:59:31 $ docker rm -f ca100b082f52de318036232ef65d8c0321ce0146b243628536dff10c2d41fe05 [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 01:59:34 + '[' -d /w/workspace/exfoundry_device-rest-go_jakarta/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:59:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:59:35 ---> package-listing.sh 01:59:35 ++ facter osfamily 01:59:35 ++ tr '[:upper:]' '[:lower:]' 01:59:35 + OS_FAMILY=redhat 01:59:35 + workspace=/w/workspace/exfoundry_device-rest-go_jakarta 01:59:35 + START_PACKAGES=/tmp/packages_start.txt 01:59:35 + END_PACKAGES=/tmp/packages_end.txt 01:59:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:59:35 + PACKAGES=/tmp/packages_start.txt 01:59:35 + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' 01:59:35 + PACKAGES=/tmp/packages_end.txt 01:59:35 + case "${OS_FAMILY}" in 01:59:35 + rpm -qa 01:59:35 + sort 01:59:36 + '[' -f /tmp/packages_start.txt ']' 01:59:36 + '[' -f /tmp/packages_end.txt ']' 01:59:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:59:36 + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' 01:59:36 + mkdir -p /w/workspace/exfoundry_device-rest-go_jakarta/archives/ 01:59:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [Pipeline] echo 01:59:36 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/exfoundry_device-rest-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:59:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:59:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:37 01:59:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:59:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:37 latest: Pulling from edgex-lftools-log-publisher 01:59:37 b4d181a07f80: Pulling fs layer 01:59:37 a1111a8f2ec3: Pulling fs layer 01:59:37 ed53099fbce6: Pulling fs layer 01:59:37 dc539afda2c1: Pulling fs layer 01:59:37 77bc0d833cb6: Pulling fs layer 01:59:37 9065ff56babe: Pulling fs layer 01:59:37 d287ab97295c: Pulling fs layer 01:59:37 77bc0d833cb6: Waiting 01:59:37 9065ff56babe: Waiting 01:59:37 d287ab97295c: Waiting 01:59:37 dc539afda2c1: Waiting 01:59:37 a1111a8f2ec3: Verifying Checksum 01:59:37 a1111a8f2ec3: Download complete 01:59:37 dc539afda2c1: Verifying Checksum 01:59:37 dc539afda2c1: Download complete 01:59:37 ed53099fbce6: Verifying Checksum 01:59:37 ed53099fbce6: Download complete 01:59:37 77bc0d833cb6: Verifying Checksum 01:59:37 77bc0d833cb6: Download complete 01:59:37 9065ff56babe: Verifying Checksum 01:59:37 9065ff56babe: Download complete 01:59:37 b4d181a07f80: Verifying Checksum 01:59:37 b4d181a07f80: Download complete 01:59:38 d287ab97295c: Verifying Checksum 01:59:38 d287ab97295c: Download complete 01:59:39 b4d181a07f80: Pull complete 01:59:39 a1111a8f2ec3: Pull complete 01:59:39 ed53099fbce6: Pull complete 01:59:39 dc539afda2c1: Pull complete 01:59:40 77bc0d833cb6: Pull complete 01:59:40 9065ff56babe: Pull complete 01:59:45 d287ab97295c: Pull complete 01:59:45 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:59:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:59:45 prd-centos7-docker-4c-2g-1192 does not seem to be running inside a container 01:59:45 $ 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/exfoundry_device-rest-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 01:59:47 $ docker top e9667d807de2117b53fd9c59ffc020d8aea21aad562a863f43df9c4f7fdebfcc -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:48 + touch /tmp/pre-build-complete [Pipeline] sh 01:59:48 + mkdir -p /var/log/sysstat [Pipeline] sh 01:59:49 + ls /var/log/sa-host 01:59:49 + sadf -c /var/log/sa-host/sa05 01:59:49 file_magic: OK 01:59:49 HZ: Using current value: 100 01:59:49 file_header: OK 01:59:49 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 01:59:49 Statistics: 01:59:49 Hnuu...uuuununununu... 01:59:49 File successfully converted to sysstat format version 12.0.3 01:59:49 + sadf -c /var/log/sa-host/sa18 01:59:49 file_magic: OK 01:59:49 HZ: Using current value: 100 01:59:49 file_header: OK 01:59:49 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 01:59:49 Statistics: 01:59:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:59:49 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:49 provisioning config files... 01:59:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8952966167320248112tmp [Pipeline] { [Pipeline] echo 01:59:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:59:50 ---> create-netrc.sh [Pipeline] } 01:59:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:59:50 ---> python-tools-install.sh [Pipeline] echo 01:59:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:59:51 ---> sudo-logs.sh 01:59:51 Archiving 'sudo' log.. 01:59:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-1192.novalocal: Name or service not known 01:59:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-1192.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:59:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:59:51 ---> job-cost.sh 01:59:51 lf-activate-venv: SKIPPING 01:59:51 DEBUG: total: 0.10999999940395355 01:59:51 INFO: Retrieving Stack Cost... 01:59:51 INFO: Retrieving Pricing Info for: v3-standard-2 01:59:52 INFO: Archiving Costs [Pipeline] echo 01:59:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:59:52 ---> logs-deploy.sh 01:59:52 lf-activate-venv: SKIPPING 01:59:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/jakarta/4 01:59:52 INFO: archiving workspace using pattern(s): 01:59:53 Archives upload complete. 01:59:53 INFO: archiving logs to Nexus 01:59:55 ---> uname -a: 01:59:55 Linux prd-centos7-docker-4c-2g-1192.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 01:59:55 01:59:55 01:59:55 ---> lscpu: 01:59:55 Architecture: x86_64 01:59:55 CPU op-mode(s): 32-bit, 64-bit 01:59:55 Byte Order: Little Endian 01:59:55 Address sizes: 40 bits physical, 48 bits virtual 01:59:55 CPU(s): 2 01:59:55 On-line CPU(s) list: 0,1 01:59:55 Thread(s) per core: 1 01:59:55 Core(s) per socket: 1 01:59:55 Socket(s): 2 01:59:55 NUMA node(s): 1 01:59:55 Vendor ID: AuthenticAMD 01:59:55 CPU family: 23 01:59:55 Model: 49 01:59:55 Model name: AMD EPYC-Rome Processor 01:59:55 Stepping: 0 01:59:55 CPU MHz: 2799.998 01:59:55 BogoMIPS: 5599.99 01:59:55 Virtualization: AMD-V 01:59:55 Hypervisor vendor: KVM 01:59:55 Virtualization type: full 01:59:55 L1d cache: 32K 01:59:55 L1i cache: 32K 01:59:55 L2 cache: 512K 01:59:55 L3 cache: 16384K 01:59:55 NUMA node0 CPU(s): 0,1 01:59:55 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 01:59:55 01:59:55 01:59:55 ---> nproc: 01:59:55 2 01:59:55 01:59:55 01:59:55 ---> df -h: 01:59:55 Filesystem Size Used Avail Use% Mounted on 01:59:55 overlay 40G 9.0G 32G 23% / 01:59:55 tmpfs 64M 0 64M 0% /dev 01:59:55 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:59:55 shm 64M 0 64M 0% /dev/shm 01:59:55 /dev/vda1 40G 9.0G 32G 23% /facter-os 01:59:55 01:59:55 01:59:55 ---> sar -b -r -n DEV: 01:59:55 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-6184fc6f-eac4-18bc-9bd7-7f41a3ca8dfb.novalocal) 11/18/21 _x86_64_ (2 CPU) 01:59:55 01:59:55 01:48:40 LINUX RESTART (2 CPU) 01:59:55 01:59:55 01:49:01 tps rtps wtps bread/s bwrtn/s 01:59:55 01:50:01 101.22 14.70 86.52 5069.82 5179.29 01:59:55 01:51:01 2.17 0.00 2.17 0.00 46.95 01:59:55 01:52:02 0.43 0.00 0.43 0.00 6.58 01:59:55 01:53:01 0.22 0.00 0.22 0.00 2.74 01:59:55 01:54:01 0.30 0.00 0.30 0.00 4.00 01:59:55 01:55:01 0.30 0.00 0.30 0.00 5.15 01:59:55 01:56:01 0.20 0.00 0.20 0.00 1.93 01:59:55 01:57:01 0.32 0.00 0.32 0.00 3.36 01:59:55 01:58:01 0.25 0.00 0.25 0.00 2.43 01:59:55 01:59:01 70.61 0.03 70.57 3.73 26937.67 01:59:55 Average: 17.64 1.48 16.16 508.45 3225.03 01:59:55 01:59:55 01:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:59:55 01:50:01 5663736 0 618224 7.72 2620 1724360 1121132 12.38 565860 1540324 132 01:59:55 01:51:01 5677176 0 604776 7.55 2620 1724368 1019500 11.26 554884 1540288 20 01:59:55 01:52:02 5678508 0 603444 7.53 2620 1724368 1019500 11.26 553188 1540288 8 01:59:55 01:53:01 5674828 0 607116 7.58 2620 1724376 1019752 11.26 556668 1540292 16 01:59:55 01:54:01 5675224 0 606716 7.58 2620 1724380 1019764 11.26 556840 1540288 20 01:59:55 01:55:01 5676944 0 604932 7.55 2620 1724444 1019644 11.26 555196 1540304 24 01:59:55 01:56:01 5669492 0 612436 7.65 2620 1724392 1019500 11.26 562672 1540288 8 01:59:55 01:57:01 5667488 0 614436 7.67 2620 1724396 1019500 11.26 564520 1540288 8 01:59:55 01:58:01 5667744 0 614176 7.67 2620 1724400 1019500 11.26 564516 1540288 16 01:59:55 01:59:01 4806628 0 757088 9.45 2620 2442604 1437580 15.87 749540 2130260 44 01:59:55 Average: 5585777 0 624334 7.80 2620 1796209 1071537 11.83 578388 1599291 30 01:59:55 01:59:55 01:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:59:55 01:50:01 eth0 538.57 315.83 1319.39 80.46 0.00 0.00 0.00 0.00 01:59:55 01:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:50:01 docker0 37.76 24.14 3.68 170.02 0.00 0.00 0.00 0.00 01:59:55 01:51:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:59:55 01:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:52:02 eth0 0.57 0.08 0.05 0.01 0.00 0.00 0.00 0.00 01:59:55 01:52:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:52:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:53:01 eth0 1.03 0.34 0.33 0.21 0.00 0.00 0.00 0.00 01:59:55 01:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:54:01 eth0 0.53 0.27 0.27 0.19 0.00 0.00 0.00 0.00 01:59:55 01:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:55:01 eth0 0.32 0.25 0.14 0.08 0.00 0.00 0.00 0.00 01:59:55 01:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:56:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:59:55 01:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:57:01 eth0 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:59:55 01:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:58:01 eth0 0.08 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:59:55 01:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:59:01 vethe7d1071 0.02 0.07 0.00 0.01 0.00 0.00 0.00 0.00 01:59:55 01:59:01 eth0 188.41 107.64 4080.01 50.86 0.00 0.00 0.00 0.00 01:59:55 01:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 01:59:01 docker0 0.43 0.45 0.15 0.15 0.00 0.00 0.00 0.00 01:59:55 Average: vethe7d1071 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 Average: eth0 73.14 42.57 541.05 13.21 0.00 0.00 0.00 0.00 01:59:55 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:59:55 Average: docker0 3.83 2.46 0.38 17.05 0.00 0.00 0.00 0.00 01:59:55 01:59:55 01:59:55 ---> sar -P ALL: 01:59:55 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-6184fc6f-eac4-18bc-9bd7-7f41a3ca8dfb.novalocal) 11/18/21 _x86_64_ (2 CPU) 01:59:55 01:59:55 01:48:40 LINUX RESTART (2 CPU) 01:59:55 01:59:55 01:49:01 CPU %user %nice %system %iowait %steal %idle 01:59:55 01:50:01 all 13.57 0.00 3.08 2.47 0.06 80.82 01:59:55 01:50:01 0 11.12 0.00 3.85 2.68 0.07 82.28 01:59:55 01:50:01 1 16.04 0.00 2.29 2.26 0.05 79.36 01:59:55 01:51:01 all 0.25 0.00 0.06 0.00 0.03 99.66 01:59:55 01:51:01 0 0.10 0.00 0.07 0.00 0.03 99.80 01:59:55 01:51:01 1 0.40 0.00 0.05 0.00 0.03 99.52 01:59:55 01:52:02 all 0.23 0.00 0.04 0.00 0.02 99.71 01:59:55 01:52:02 0 0.03 0.00 0.05 0.00 0.02 99.90 01:59:55 01:52:02 1 0.43 0.00 0.03 0.00 0.02 99.52 01:59:55 01:53:01 all 0.20 0.00 0.03 0.00 0.03 99.73 01:59:55 01:53:01 0 0.32 0.00 0.03 0.00 0.02 99.63 01:59:55 01:53:01 1 0.08 0.00 0.03 0.00 0.05 99.83 01:59:55 01:54:01 all 0.23 0.00 0.07 0.00 0.02 99.69 01:59:55 01:54:01 0 0.37 0.00 0.05 0.00 0.00 99.58 01:59:55 01:54:01 1 0.08 0.00 0.08 0.00 0.03 99.80 01:59:55 01:55:01 all 0.22 0.00 0.06 0.00 0.03 99.70 01:59:55 01:55:01 0 0.35 0.00 0.03 0.00 0.02 99.60 01:59:55 01:55:01 1 0.08 0.00 0.08 0.00 0.03 99.80 01:59:55 01:56:01 all 0.23 0.00 0.05 0.00 0.01 99.72 01:59:55 01:56:01 0 0.38 0.00 0.03 0.00 0.00 99.58 01:59:55 01:56:01 1 0.07 0.00 0.07 0.00 0.02 99.85 01:59:55 01:57:01 all 0.18 0.00 0.06 0.00 0.03 99.74 01:59:55 01:57:01 0 0.23 0.00 0.05 0.00 0.02 99.70 01:59:55 01:57:01 1 0.12 0.00 0.07 0.00 0.03 99.78 01:59:55 01:58:01 all 0.13 0.00 0.05 0.00 0.02 99.80 01:59:55 01:58:01 0 0.22 0.00 0.05 0.00 0.00 99.73 01:59:55 01:58:01 1 0.05 0.00 0.05 0.00 0.03 99.87 01:59:55 01:59:01 all 10.67 0.00 4.25 0.62 0.04 84.41 01:59:55 01:59:01 0 10.95 0.00 4.40 0.56 0.05 84.04 01:59:55 01:59:01 1 10.39 0.00 4.11 0.68 0.03 84.78 01:59:55 Average: all 2.55 0.00 0.76 0.30 0.03 96.35 01:59:55 Average: 0 2.38 0.00 0.85 0.32 0.02 96.43 01:59:55 Average: 1 2.73 0.00 0.68 0.29 0.03 96.27 01:59:55 01:59:55 01:59:55