Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0dbcdd9e1503573a6358a2219750091d278c1a40 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-ssh6164000336734485705.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh3298144772352855307.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2545491967930906172.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh5318478873638963645.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5105067708771330151.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-13613 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git Avoid second fetch Checking out Revision 0dbcdd9e1503573a6358a2219750091d278c1a40 (main) > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh7726129480274429752.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 0dbcdd9e1503573a6358a2219750091d278c1a40 # timeout=10 Commit message: "Merge pull request #140 from lenny-intel/cors-secrets" > git rev-list --no-walk ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:56:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:56:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:56:06 ========================================================= 01:56:06 EdgeX Global Pipelines Version Info 01:56:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:56:07 ------------------- 01:56:07 stable info: 01:56:07 ------------------- 01:56:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:56:07 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 01:56:07 Message: update stable to v1.0.211 01:56:07 ------------------- 01:56:07 experimental info: 01:56:07 ------------------- 01:56:07 Commited By: **** collab-it+edgex@linuxfoundation.org 01:56:07 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 01:56:07 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:56:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:56:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0dbcdd9 [Pipeline] echo 01:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:08 provisioning config files... 01:56:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7066687545300595002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:08 ---> docker-login.sh 01:56:08 nexus3.edgexfoundry.org:10001 01:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:09 Configure a credential helper to remove this warning. See 01:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:09 01:56:09 Login Succeeded 01:56:09 nexus3.edgexfoundry.org:10002 01:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:09 Configure a credential helper to remove this warning. See 01:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:09 01:56:09 Login Succeeded 01:56:09 nexus3.edgexfoundry.org:10003 01:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:09 Configure a credential helper to remove this warning. See 01:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:09 01:56:09 Login Succeeded 01:56:09 nexus3.edgexfoundry.org:10004 01:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:09 Configure a credential helper to remove this warning. See 01:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:09 01:56:09 Login Succeeded 01:56:09 docker.io 01:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:09 Configure a credential helper to remove this warning. See 01:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:09 01:56:09 Login Succeeded 01:56:09 ---> docker-login.sh ends [Pipeline] } 01:56:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:56:10 + git rev-list -1 --merges 0dbcdd9e1503573a6358a2219750091d278c1a40~1..0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] echo 01:56:10 -----------> git rev-list -1 --merges 0dbcdd9e1503573a6358a2219750091d278c1a40~1..0dbcdd9e1503573a6358a2219750091d278c1a40 0dbcdd9e1503573a6358a2219750091d278c1a40 01:56:10 0dbcdd9e1503573a6358a2219750091d278c1a40 [false] [Pipeline] sh 01:56:10 + git log --format=format:%s -1 0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] echo 01:56:10 ========================================================= 01:56:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:56:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:56:10 + git log --format=format:%s -1 0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] echo 01:56:10 [semverPrep] GIT_COMMIT: 0dbcdd9e1503573a6358a2219750091d278c1a40, Commit Message: Merge pull request #140 from lenny-intel/cors-secrets [Pipeline] echo 01:56:10 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:56:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:56:11 01:56:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:56:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:56:11 latest: Pulling from edgex-devops/git-semver 01:56:11 a0d0a0d46f8b: Pulling fs layer 01:56:11 3e5f54012d9b: Pulling fs layer 01:56:11 4c7163046ea9: Pulling fs layer 01:56:11 0c2d73faf560: Pulling fs layer 01:56:11 0c2d73faf560: Waiting 01:56:11 3e5f54012d9b: Verifying Checksum 01:56:11 3e5f54012d9b: Download complete 01:56:11 a0d0a0d46f8b: Verifying Checksum 01:56:11 a0d0a0d46f8b: Download complete 01:56:11 4c7163046ea9: Verifying Checksum 01:56:11 4c7163046ea9: Download complete 01:56:11 0c2d73faf560: Verifying Checksum 01:56:11 0c2d73faf560: Download complete 01:56:11 a0d0a0d46f8b: Pull complete 01:56:11 3e5f54012d9b: Pull complete 01:56:12 4c7163046ea9: Pull complete 01:56:12 0c2d73faf560: Pull complete 01:56:12 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:56:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:56:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:56:12 prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container 01:56:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:56:13 $ docker top 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:13 [ssh-agent] Looking for ssh-agent implementation... 01:56:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:13 $ docker exec 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 ssh-agent 01:56:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkBLMAl/agent.13 01:56:13 SSH_AGENT_PID=20 01:56:13 Running ssh-add (command line suppressed) 01:56:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_240024785881523447.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_240024785881523447.key) 01:56:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:14 + git tag --points-at HEAD [Pipeline] } 01:56:14 $ docker exec --env ******** --env ******** 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 ssh-agent -k 01:56:14 unset SSH_AUTH_SOCK; 01:56:14 unset SSH_AGENT_PID; 01:56:14 echo Agent pid 20 killed; 01:56:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:56:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:14 [ssh-agent] Looking for ssh-agent implementation... 01:56:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:14 $ docker exec 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 ssh-agent 01:56:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdPnKPd/agent.55 01:56:14 SSH_AGENT_PID=61 01:56:14 Running ssh-add (command line suppressed) 01:56:14 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1251616717039668856.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1251616717039668856.key) 01:56:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:15 + git semver init 01:56:15 # -> Open(): unable to determine branch for HEAD 01:56:15 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 01:56:15 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 01:56:15 # $SEMVER_REMOTE_NAME = origin 01:56:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:56:15 # $SEMVER_USER_NAME = edgex-jenkins 01:56:15 # $SEMVER_BRANCH = main 01:56:15 # $SEMVER_TEMP = /tmp/semver-658164519 01:56:15 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 01:56:16 # '/tmp/semver-658164519' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 01:56:16 # -> Force: false 01:56:16 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 01:56:16 $ docker exec --env ******** --env ******** 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 ssh-agent -k 01:56:16 unset SSH_AUTH_SOCK; 01:56:16 unset SSH_AGENT_PID; 01:56:16 echo Agent pid 61 killed; 01:56:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:16 + git semver [Pipeline] } 01:56:16 $ docker stop --time=1 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 01:56:17 $ docker rm -f 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 [Pipeline] // withDockerContainer [Pipeline] sh 01:56:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:56:18 Stashed 1 file(s) [Pipeline] echo 01:56:18 [edgeXSemver]: initialized semver on version 2.0.1-dev.11 [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:56:33 Still waiting to schedule task 01:56:33 ‘prd-centos7-blackbox-4c-2g-13499’ doesn’t have label ‘centos7-docker-4c-2g’ 01:56:33 ‘prd-centos7-docker-4c-2g-13615’ is offline 01:56:33 Still waiting to schedule task 01:56:33 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-13609’ 01:57:32 Running on prd-centos7-docker-4c-2g-13617 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:57:32 Running in /w/workspace/device-rest-go/16 [Pipeline] { [Pipeline] checkout 01:57:32 The recommended git tool is: git 01:57:34 using credential edgex-jenkins-ssh 01:57:34 Cloning the remote Git repository 01:57:34 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:57:35 Avoid second fetch 01:57:35 Checking out Revision 0dbcdd9e1503573a6358a2219750091d278c1a40 (main) 01:57:34 > git init /w/workspace/device-rest-go/16 # timeout=10 01:57:34 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:57:34 > git --version # timeout=10 01:57:34 > git --version # 'git version 2.24.4' 01:57:34 using GIT_SSH to set credentials SSH Credentials for GitHub 01:57:35 [INFO] Currently running in a labeled security context 01:57:35 [INFO] Currently SELinux is 'enforcing' on the host 01:57:35 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/16@tmp/jenkins-gitclient-ssh3049574154546223266.key 01:57:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:57:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:57:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:57:35 > git config core.sparsecheckout # timeout=10 01:57:35 > git checkout -f 0dbcdd9e1503573a6358a2219750091d278c1a40 # timeout=10 01:57:39 Commit message: "Merge pull request #140 from lenny-intel/cors-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:39 provisioning config files... 01:57:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config2518704601364277308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:40 ---> docker-login.sh 01:57:40 nexus3.edgexfoundry.org:10001 01:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:40 Configure a credential helper to remove this warning. See 01:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:40 01:57:40 Login Succeeded 01:57:40 nexus3.edgexfoundry.org:10002 01:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:40 Configure a credential helper to remove this warning. See 01:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:40 01:57:40 Login Succeeded 01:57:40 nexus3.edgexfoundry.org:10003 01:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:40 Configure a credential helper to remove this warning. See 01:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:40 01:57:40 Login Succeeded 01:57:40 nexus3.edgexfoundry.org:10004 01:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:40 Configure a credential helper to remove this warning. See 01:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:40 01:57:40 Login Succeeded 01:57:40 docker.io 01:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:41 Configure a credential helper to remove this warning. See 01:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:41 01:57:41 Login Succeeded 01:57:41 ---> docker-login.sh ends [Pipeline] } 01:57:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:57:41 ========================================================= 01:57:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:57:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:57:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 01:57:41 Sending build context to Docker daemon 119.3kB 01:57:41 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:57:41 Step 2/11 : FROM ${BASE} AS builder 01:57:41 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:57:41 a0d0a0d46f8b: Pulling fs layer 01:57:41 31adcdaf11c8: Pulling fs layer 01:57:41 b8b176561691: Pulling fs layer 01:57:41 4527c011a84f: Pulling fs layer 01:57:41 5d74067f8e1e: Pulling fs layer 01:57:41 e0aca202a116: Pulling fs layer 01:57:41 3a43be97a3b4: Pulling fs layer 01:57:41 34cad66bf833: Pulling fs layer 01:57:41 b4e3c513aaa6: Pulling fs layer 01:57:41 e0aca202a116: Waiting 01:57:41 3a43be97a3b4: Waiting 01:57:41 34cad66bf833: Waiting 01:57:41 b4e3c513aaa6: Waiting 01:57:41 4527c011a84f: Waiting 01:57:41 5d74067f8e1e: Waiting 01:57:42 b8b176561691: Verifying Checksum 01:57:42 b8b176561691: Download complete 01:57:42 31adcdaf11c8: Verifying Checksum 01:57:42 31adcdaf11c8: Download complete 01:57:42 5d74067f8e1e: Verifying Checksum 01:57:42 5d74067f8e1e: Download complete 01:57:42 e0aca202a116: Verifying Checksum 01:57:42 e0aca202a116: Download complete 01:57:42 a0d0a0d46f8b: Verifying Checksum 01:57:42 a0d0a0d46f8b: Download complete 01:57:42 3a43be97a3b4: Verifying Checksum 01:57:42 3a43be97a3b4: Download complete 01:57:42 34cad66bf833: Verifying Checksum 01:57:42 34cad66bf833: Download complete 01:57:42 b4e3c513aaa6: Verifying Checksum 01:57:42 b4e3c513aaa6: Download complete 01:57:42 4527c011a84f: Verifying Checksum 01:57:42 4527c011a84f: Download complete 01:57:43 a0d0a0d46f8b: Pull complete 01:57:43 31adcdaf11c8: Pull complete 01:57:43 b8b176561691: Pull complete 01:57:48 4527c011a84f: Pull complete 01:57:48 5d74067f8e1e: Pull complete 01:57:48 e0aca202a116: Pull complete 01:57:48 3a43be97a3b4: Pull complete 01:57:48 34cad66bf833: Pull complete 01:57:51 b4e3c513aaa6: Pull complete 01:57:51 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 01:57:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:57:51 ---> 9f6097aaca64 01:57:51 Step 3/11 : ARG MAKE='make build' 01:57:53 ---> Running in a52fbe6f65d7 01:57:53 Removing intermediate container a52fbe6f65d7 01:57:53 ---> f4bc1e0ce42f 01:57:53 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:57:53 ---> Running in 9c31fee8219d 01:57:53 Removing intermediate container 9c31fee8219d 01:57:53 ---> 6dfd0d05d501 01:57:53 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 01:57:53 ---> Running in 20b590a4d110 01:57:53 Removing intermediate container 20b590a4d110 01:57:53 ---> 088d4e1dc292 01:57:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:57:53 ---> Running in cc247e46dec0 01:57:54 Removing intermediate container cc247e46dec0 01:57:54 ---> 979b033a2b8c 01:57:54 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:57:54 ---> Running in 1746ce8824a1 01:57:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:57:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:57:55 (1/4) Installing openssh-keygen (8.6_p1-r3) 01:57:55 (2/4) Installing libedit (20210216.3.1-r0) 01:57:56 (3/4) Installing openssh-client-common (8.6_p1-r3) 01:57:56 (4/4) Installing openssh-client-default (8.6_p1-r3) 01:57:56 Executing busybox-1.33.1-r3.trigger 01:57:56 OK: 224 MiB in 56 packages 01:57:56 Removing intermediate container 1746ce8824a1 01:57:56 ---> ad21e58ce8a2 01:57:56 Step 8/11 : WORKDIR /device-rest-go 01:57:56 ---> Running in 8bdf5500a237 01:57:56 Removing intermediate container 8bdf5500a237 01:57:56 ---> db14ae28b30a 01:57:56 Step 9/11 : COPY . . 01:57:56 ---> 3e911c52e4cf 01:57:56 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:56 ---> Running in 0e7e78530cd4 01:58:35 Removing intermediate container 0e7e78530cd4 01:58:35 ---> e178b160e214 01:58:35 Step 11/11 : RUN $MAKE 01:58:35 ---> Running in 51c9b06a82bd 01:58:35 noop 01:58:35 Removing intermediate container 51c9b06a82bd 01:58:35 ---> 26e434cf569a 01:58:35 Successfully built 26e434cf569a 01:58:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:58:36 + docker inspect -f . ci-base-image-x86_64 01:58:36 . [Pipeline] withDockerContainer 01:58:36 prd-centos7-docker-4c-2g-13617 does not seem to be running inside a container 01:58:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:58:36 $ docker top 4966584ca55696434084f7a5497e42e24259b18c606430d3be1ede7a302be0f8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:58:36 + go version 01:58:36 go version go1.16.8 linux/amd64 [Pipeline] } 01:58:36 $ docker stop --time=1 4966584ca55696434084f7a5497e42e24259b18c606430d3be1ede7a302be0f8 01:58:38 $ docker rm -f 4966584ca55696434084f7a5497e42e24259b18c606430d3be1ede7a302be0f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:58:38 + docker inspect -f . ci-base-image-x86_64 01:58:38 . [Pipeline] withDockerContainer 01:58:38 prd-centos7-docker-4c-2g-13617 does not seem to be running inside a container 01:58:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:58:39 $ docker top bc1e7cdc759725d09e3b8f6e6be65ba52ab809a18c72f52476f594ae351088e4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:58:39 + make test 01:58:39 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:58:40 ? github.com/edgexfoundry/device-rest-go [no test files] 01:58:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:58:58 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements 01:58:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:59:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:59:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:59:06 ./bin/test-attribution-txt.sh [Pipeline] } 01:59:06 $ docker stop --time=1 bc1e7cdc759725d09e3b8f6e6be65ba52ab809a18c72f52476f594ae351088e4 01:59:09 $ docker rm -f bc1e7cdc759725d09e3b8f6e6be65ba52ab809a18c72f52476f594ae351088e4 [Pipeline] // withDockerContainer [Pipeline] sh 01:59:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:59:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:59:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:59:11 + ls -al . 01:59:11 total 144 01:59:11 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 1 01:59 . 01:59:11 drwxrwxr-x. 4 jenkins jenkins 30 Nov 1 01:57 .. 01:59:11 -rw-rw-r--. 1 jenkins jenkins 7095 Nov 1 01:57 Attribution.txt 01:59:11 drwxrwxr-x. 2 jenkins jenkins 37 Nov 1 01:57 bin 01:59:11 -rw-rw-r--. 1 jenkins jenkins 7459 Nov 1 01:57 CHANGELOG.md 01:59:11 drwxrwxr-x. 3 jenkins jenkins 32 Nov 1 01:57 cmd 01:59:11 -rw-r--r--. 1 jenkins jenkins 8435 Nov 1 01:58 coverage.out 01:59:11 -rw-rw-r--. 1 jenkins jenkins 1649 Nov 1 01:57 Dockerfile 01:59:11 -rw-rw-r--. 1 jenkins jenkins 151 Nov 1 01:57 .dockerignore 01:59:11 drwxrwxr-x. 2 jenkins jenkins 76 Nov 1 01:57 driver 01:59:11 drwxrwxr-x. 8 jenkins jenkins 162 Nov 1 01:57 .git 01:59:11 drwxrwxr-x. 2 jenkins jenkins 103 Nov 1 01:57 .github 01:59:11 -rw-rw-r--. 1 jenkins jenkins 329 Nov 1 01:57 .gitignore 01:59:11 -rw-rw-r--. 1 jenkins jenkins 285 Nov 1 01:57 go.mod 01:59:11 -rw-rw-r--. 1 jenkins jenkins 50386 Nov 1 01:57 go.sum 01:59:11 -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 01:57 GOVERNANCE.md 01:59:11 -rw-rw-r--. 1 jenkins jenkins 680 Nov 1 01:57 Jenkinsfile 01:59:11 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 1 01:57 LICENSE 01:59:11 -rw-rw-r--. 1 jenkins jenkins 1078 Nov 1 01:57 Makefile 01:59:11 -rw-rw-r--. 1 jenkins jenkins 620 Nov 1 01:57 OWNERS.md 01:59:11 -rw-rw-r--. 1 jenkins jenkins 7661 Nov 1 01:57 README.md 01:59:11 drwxrwxr-x. 4 jenkins jenkins 71 Nov 1 01:57 snap 01:59:11 -rw-rw-r--. 1 jenkins jenkins 12 Nov 1 01:56 VERSION 01:59:11 -rw-rw-r--. 1 jenkins jenkins 713 Nov 1 01:57 version.go [Pipeline] isUnix [Pipeline] sh 01:59:11 + 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=0dbcdd9e1503573a6358a2219750091d278c1a40 --label arch=amd64 --label version=2.0.1-dev.11 . 01:59:11 Sending build context to Docker daemon 128.5kB 01:59:11 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 01:59:11 Step 2/24 : FROM ${BASE} AS builder 01:59:11 ---> 26e434cf569a 01:59:11 Step 3/24 : ARG MAKE='make build' 01:59:11 ---> Running in 168bd139e902 01:59:11 Removing intermediate container 168bd139e902 01:59:11 ---> f3c7b15484c5 01:59:11 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:59:11 ---> Running in d2093a7eed20 01:59:12 Removing intermediate container d2093a7eed20 01:59:12 ---> aa06fc8a94b6 01:59:12 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:59:12 ---> Running in 4ce3b948ef07 01:59:12 Removing intermediate container 4ce3b948ef07 01:59:12 ---> f17cf6c74378 01:59:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:59:12 ---> Running in 27c4f4bc8ae6 01:59:12 Removing intermediate container 27c4f4bc8ae6 01:59:12 ---> f37efb580baa 01:59:12 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:12 ---> Running in f4c82adfba63 01:59:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:59:14 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:59:14 OK: 224 MiB in 56 packages 01:59:15 Removing intermediate container f4c82adfba63 01:59:15 ---> 267a5c31d8e2 01:59:15 Step 8/24 : WORKDIR /device-rest-go 01:59:15 ---> Running in 7865670e5152 01:59:15 Removing intermediate container 7865670e5152 01:59:15 ---> 4f151eef0f9e 01:59:15 Step 9/24 : COPY . . 01:59:15 ---> c5773f1cd2ba 01:59:15 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:15 ---> Running in 6d19b9060ca0 01:59:16 Removing intermediate container 6d19b9060ca0 01:59:16 ---> 366fdf053f44 01:59:16 Step 11/24 : RUN $MAKE 01:59:16 ---> Running in ee5d99c0f491 01:59:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.11" -o cmd/device-rest ./cmd 01:59:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13620 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:59:28 Running in /w/workspace/device-rest-go/16 [Pipeline] { [Pipeline] checkout 01:59:29 The recommended git tool is: git 01:59:31 Removing intermediate container ee5d99c0f491 01:59:31 ---> 2fcbe197236b 01:59:31 Step 12/24 : FROM alpine:3.14 01:59:31 3.14: Pulling from library/alpine 01:59:31 a0d0a0d46f8b: Already exists 01:59:31 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 01:59:31 Status: Downloaded newer image for alpine:3.14 01:59:31 ---> 14119a10abf4 01:59:31 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:59:31 ---> Running in 412b587abba5 01:59:31 Removing intermediate container 412b587abba5 01:59:31 ---> 2264b014d9c3 01:59:31 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 01:59:31 ---> Running in 6d2ff7adbad6 01:59:32 Removing intermediate container 6d2ff7adbad6 01:59:32 ---> 6ab9a692875a 01:59:32 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:59:32 ---> Running in 1fcde20f9234 01:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:59:32 (1/6) Installing dumb-init (1.2.5-r1) 01:59:32 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:59:32 (3/6) Installing libsodium (1.0.18-r0) 01:59:32 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:59:32 (5/6) Installing libzmq (4.3.4-r0) 01:59:32 (6/6) Installing zeromq (4.3.4-r0) 01:59:32 Executing busybox-1.33.1-r3.trigger 01:59:32 OK: 8 MiB in 20 packages 01:59:33 Removing intermediate container 1fcde20f9234 01:59:33 ---> c407dc1110c1 01:59:33 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 01:59:33 ---> 347ac945a753 01:59:33 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 01:59:33 ---> 6d8b76941802 01:59:33 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 01:59:33 ---> 637f781f2c0c 01:59:33 Step 19/24 : EXPOSE 59986 01:59:33 ---> Running in 3a76476aabd2 01:59:33 Removing intermediate container 3a76476aabd2 01:59:33 ---> 8b896f5485a4 01:59:33 Step 20/24 : ENTRYPOINT ["/device-rest"] 01:59:33 ---> Running in 981e99710bf5 01:59:33 Removing intermediate container 981e99710bf5 01:59:33 ---> ac9cc32584e5 01:59:33 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:59:33 ---> Running in 86ea2638cafe 01:59:33 Removing intermediate container 86ea2638cafe 01:59:33 ---> 09cb91242c45 01:59:33 Step 22/24 : LABEL arch=amd64 01:59:33 ---> Running in 5bcca17dee57 01:59:34 Removing intermediate container 5bcca17dee57 01:59:34 ---> 942c299febc0 01:59:34 Step 23/24 : LABEL git_sha=0dbcdd9e1503573a6358a2219750091d278c1a40 01:59:34 ---> Running in b8cb76945d2a 01:59:34 Removing intermediate container b8cb76945d2a 01:59:34 ---> 8a5b204c31d1 01:59:34 Step 24/24 : LABEL version=2.0.1-dev.11 01:59:34 ---> Running in 87e18098d0ea 01:59:34 Removing intermediate container 87e18098d0ea 01:59:34 ---> 624b47039453 01:59:34 [Warning] One or more build-args [ARCH] were not consumed 01:59:34 Successfully built 624b47039453 01:59:34 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:35 provisioning config files... 01:59:35 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config4118677168060897602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:35 using credential edgex-jenkins-ssh 01:59:35 Cloning the remote Git repository 01:59:35 ---> docker-login.sh 01:59:35 nexus3.edgexfoundry.org:10001 01:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:35 Configure a credential helper to remove this warning. See 01:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:35 01:59:35 Login Succeeded 01:59:35 nexus3.edgexfoundry.org:10002 01:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:35 Configure a credential helper to remove this warning. See 01:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:35 01:59:35 Login Succeeded 01:59:35 nexus3.edgexfoundry.org:10003 01:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:35 Configure a credential helper to remove this warning. See 01:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:35 01:59:35 Login Succeeded 01:59:35 nexus3.edgexfoundry.org:10004 01:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:35 Configure a credential helper to remove this warning. See 01:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:35 01:59:35 Login Succeeded 01:59:35 docker.io 01:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:36 Configure a credential helper to remove this warning. See 01:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:36 01:59:36 Login Succeeded 01:59:36 ---> docker-login.sh ends [Pipeline] } 01:59:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:59:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:36 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:59:36 0dbcdd9e1503573a6358a2219750091d278c1a40 01:59:36 latest 01:59:36 2.0.1-dev.11 01:59:36 0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 01:59:36 main 01:59:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:59:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:59:35 > git init /w/workspace/device-rest-go/16 # timeout=10 01:59:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:59:35 > git --version # timeout=10 01:59:35 > git --version # 'git version 2.17.1' 01:59:35 using GIT_SSH to set credentials SSH Credentials for GitHub 01:59:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:59:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] isUnix [Pipeline] sh 01:59:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40 01:59:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:59:36 b812a7497096: Preparing 01:59:36 91de73d7900a: Preparing 01:59:36 07c182fea59d: Preparing 01:59:36 a5189e972040: Preparing 01:59:36 e2eb06d8af82: Preparing 01:59:36 e2eb06d8af82: Layer already exists 01:59:37 91de73d7900a: Pushed 01:59:37 b812a7497096: Pushed 01:59:37 a5189e972040: Pushed 01:59:37 Avoid second fetch 01:59:37 Checking out Revision 0dbcdd9e1503573a6358a2219750091d278c1a40 (main) 01:59:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:59:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:59:37 > git config core.sparsecheckout # timeout=10 01:59:37 > git checkout -f 0dbcdd9e1503573a6358a2219750091d278c1a40 # timeout=10 01:59:38 07c182fea59d: Pushed 01:59:38 0dbcdd9e1503573a6358a2219750091d278c1a40: digest: sha256:0d66162eff35e28b42aa7156ee4393ec4d17d2e0b918d86c3fe93d543823e65d size: 1366 [Pipeline] isUnix [Pipeline] sh 01:59:38 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 01:59:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:59:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:59:38 b812a7497096: Preparing 01:59:38 91de73d7900a: Preparing 01:59:38 07c182fea59d: Preparing 01:59:38 a5189e972040: Preparing 01:59:38 e2eb06d8af82: Preparing 01:59:38 e2eb06d8af82: Layer already exists 01:59:38 07c182fea59d: Layer already exists 01:59:38 b812a7497096: Layer already exists 01:59:38 91de73d7900a: Layer already exists 01:59:38 a5189e972040: Layer already exists 01:59:38 latest: digest: sha256:0d66162eff35e28b42aa7156ee4393ec4d17d2e0b918d86c3fe93d543823e65d size: 1366 [Pipeline] isUnix [Pipeline] sh 01:59:38 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh 01:59:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.11 01:59:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:59:39 b812a7497096: Preparing 01:59:39 91de73d7900a: Preparing 01:59:39 07c182fea59d: Preparing 01:59:39 a5189e972040: Preparing 01:59:39 e2eb06d8af82: Preparing 01:59:39 e2eb06d8af82: Layer already exists 01:59:39 a5189e972040: Layer already exists 01:59:39 91de73d7900a: Layer already exists 01:59:39 b812a7497096: Layer already exists 01:59:39 07c182fea59d: Layer already exists 01:59:39 2.0.1-dev.11: digest: sha256:0d66162eff35e28b42aa7156ee4393ec4d17d2e0b918d86c3fe93d543823e65d size: 1366 [Pipeline] isUnix [Pipeline] sh 01:59:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh 01:59:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 01:59:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:59:39 b812a7497096: Preparing 01:59:39 91de73d7900a: Preparing 01:59:39 07c182fea59d: Preparing 01:59:39 a5189e972040: Preparing 01:59:39 e2eb06d8af82: Preparing 01:59:39 e2eb06d8af82: Layer already exists 01:59:39 b812a7497096: Layer already exists 01:59:39 a5189e972040: Layer already exists 01:59:39 07c182fea59d: Layer already exists 01:59:39 91de73d7900a: Layer already exists 01:59:39 0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11: digest: sha256:0d66162eff35e28b42aa7156ee4393ec4d17d2e0b918d86c3fe93d543823e65d size: 1366 [Pipeline] isUnix [Pipeline] sh 01:59:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 01:59:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:59:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:59:40 b812a7497096: Preparing 01:59:40 91de73d7900a: Preparing 01:59:40 07c182fea59d: Preparing 01:59:40 a5189e972040: Preparing 01:59:40 e2eb06d8af82: Preparing 01:59:40 e2eb06d8af82: Layer already exists 01:59:40 a5189e972040: Layer already exists 01:59:40 91de73d7900a: Layer already exists 01:59:40 b812a7497096: Layer already exists 01:59:40 07c182fea59d: Layer already exists 01:59:40 main: digest: sha256:0d66162eff35e28b42aa7156ee4393ec4d17d2e0b918d86c3fe93d543823e65d size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:59:40 ===================================================== [Pipeline] echo 01:59:40 taggedImages: 01:59:40 - nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40 01:59:40 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:59:40 - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.11 01:59:40 - nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 01:59:40 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:59:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:41 01:59:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:59:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:41 latest: Pulling from edgex-lftools-log-publisher 01:59:41 b4d181a07f80: Pulling fs layer 01:59:41 a1111a8f2ec3: Pulling fs layer 01:59:41 ed53099fbce6: Pulling fs layer 01:59:41 dc539afda2c1: Pulling fs layer 01:59:41 77bc0d833cb6: Pulling fs layer 01:59:41 9065ff56babe: Pulling fs layer 01:59:41 d287ab97295c: Pulling fs layer 01:59:41 dc539afda2c1: Waiting 01:59:41 77bc0d833cb6: Waiting 01:59:41 9065ff56babe: Waiting 01:59:41 d287ab97295c: Waiting 01:59:41 a1111a8f2ec3: Verifying Checksum 01:59:41 a1111a8f2ec3: Download complete 01:59:41 dc539afda2c1: Verifying Checksum 01:59:41 dc539afda2c1: Download complete 01:59:41 ed53099fbce6: Verifying Checksum 01:59:41 ed53099fbce6: Download complete 01:59:41 77bc0d833cb6: Verifying Checksum 01:59:41 77bc0d833cb6: Download complete 01:59:41 b4d181a07f80: Verifying Checksum 01:59:41 b4d181a07f80: Download complete 01:59:41 9065ff56babe: Verifying Checksum 01:59:41 9065ff56babe: Download complete 01:59:41 Commit message: "Merge pull request #140 from lenny-intel/cors-secrets" 01:59:42 01:59:42 GitHub has been notified of this commit’s build result 01:59:42 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:42 d287ab97295c: Verifying Checksum 01:59:42 d287ab97295c: Download complete 01:59:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:59:42 % Total % Received % Xferd Average Speed Time Time Time Current 01:59:42 Dload Upload Total Spent Left Speed 01:59:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 01:59:43 b4d181a07f80: Pull complete 01:59:43 a1111a8f2ec3: Pull complete 01:59:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:59:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:59:43 + sudo tee /etc/docker/daemon.new 01:59:43 { 01:59:43 "registry-mirrors": [ 01:59:43 "https://nexus3.edgexfoundry.org:10001" 01:59:43 ], 01:59:43 "bip": "10.250.0.254/24", 01:59:43 "hosts": [ 01:59:43 "tcp://0.0.0.0:5555", 01:59:43 "unix:///var/run/docker.sock" 01:59:43 ], 01:59:43 "mtu": 1458, 01:59:43 "selinux-enabled": true, 01:59:43 "seccomp-profile": "/etc/docker/seccomp.json" 01:59:43 } [Pipeline] sh 01:59:43 ed53099fbce6: Pull complete 01:59:43 dc539afda2c1: Pull complete 01:59:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:59:43 77bc0d833cb6: Pull complete 01:59:44 + sudo service docker restart 01:59:44 9065ff56babe: Pull complete 01:59:49 d287ab97295c: Pull complete 01:59:49 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:59:49 prd-centos7-docker-4c-2g-13617 does not seem to be running inside a container 01:59:49 $ 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/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:59:52 $ docker top 18d887e9e9f22f16f35d6ac069434b49c4d52e0e4cd8563e3f6aa5f63cbea087 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:52 ---> job-cost.sh 01:59:52 lf-activate-venv: SKIPPING 01:59:52 INFO: No Stack... 01:59:52 INFO: Retrieving Pricing Info for: v3-standard-2 01:59:53 INFO: Archiving Costs [Pipeline] sh 01:59:53 + cat /w/workspace/device-rest-go/16/archives/cost.csv 01:59:53 + cut -d, -f6 [Pipeline] lock 01:59:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] 01:59:53 Resource [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] did not exist. Created. 01:59:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:59:53 + echo total: 0.05999999865889549 [Pipeline] stash 01:59:53 Stashed 1 file(s) [Pipeline] } 01:59:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } 01:59:53 $ docker stop --time=1 18d887e9e9f22f16f35d6ac069434b49c4d52e0e4cd8563e3f6aa5f63cbea087 01:59:54 $ docker rm -f 18d887e9e9f22f16f35d6ac069434b49c4d52e0e4cd8563e3f6aa5f63cbea087 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:02 provisioning config files... 02:00:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config2177181299390355224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:02 ---> docker-login.sh 02:00:02 nexus3.edgexfoundry.org:10001 02:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:04 Configure a credential helper to remove this warning. See 02:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:04 02:00:04 Login Succeeded 02:00:04 nexus3.edgexfoundry.org:10002 02:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:04 Configure a credential helper to remove this warning. See 02:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:04 02:00:04 Login Succeeded 02:00:04 nexus3.edgexfoundry.org:10003 02:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:05 Configure a credential helper to remove this warning. See 02:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:05 02:00:05 Login Succeeded 02:00:05 nexus3.edgexfoundry.org:10004 02:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:05 Configure a credential helper to remove this warning. See 02:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:05 02:00:05 Login Succeeded 02:00:05 docker.io 02:00:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:06 Configure a credential helper to remove this warning. See 02:00:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:06 02:00:06 Login Succeeded 02:00:06 ---> docker-login.sh ends [Pipeline] } 02:00:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:00:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:07 ========================================================= 02:00:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:00:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:00:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 02:00:07 Sending build context to Docker daemon 119.3kB 02:00:07 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 02:00:07 Step 2/11 : FROM ${BASE} AS builder 02:00:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:00:08 552d1f2373af: Pulling fs layer 02:00:08 ea3f2d53f512: Pulling fs layer 02:00:08 9e70ebbbe112: Pulling fs layer 02:00:08 7a9cfe048b4a: Pulling fs layer 02:00:08 72dc09318566: Pulling fs layer 02:00:08 f4f7b4309257: Pulling fs layer 02:00:08 0ac9a79272e3: Pulling fs layer 02:00:08 b78e95d17946: Pulling fs layer 02:00:08 f4f7b4309257: Waiting 02:00:08 7a9cfe048b4a: Waiting 02:00:08 72dc09318566: Waiting 02:00:08 b78e95d17946: Waiting 02:00:08 0ac9a79272e3: Waiting 02:00:08 9e70ebbbe112: Verifying Checksum 02:00:08 9e70ebbbe112: Download complete 02:00:08 ea3f2d53f512: Verifying Checksum 02:00:08 ea3f2d53f512: Download complete 02:00:08 72dc09318566: Verifying Checksum 02:00:08 72dc09318566: Download complete 02:00:08 f4f7b4309257: Verifying Checksum 02:00:08 f4f7b4309257: Download complete 02:00:08 0ac9a79272e3: Verifying Checksum 02:00:08 0ac9a79272e3: Download complete 02:00:08 552d1f2373af: Verifying Checksum 02:00:08 552d1f2373af: Download complete 02:00:09 552d1f2373af: Pull complete 02:00:09 ea3f2d53f512: Pull complete 02:00:10 9e70ebbbe112: Pull complete 02:00:10 b78e95d17946: Verifying Checksum 02:00:10 b78e95d17946: Download complete 02:00:10 7a9cfe048b4a: Verifying Checksum 02:00:10 7a9cfe048b4a: Download complete 02:00:20 7a9cfe048b4a: Pull complete 02:00:20 72dc09318566: Pull complete 02:00:21 f4f7b4309257: Pull complete 02:00:21 0ac9a79272e3: Pull complete 02:00:28 b78e95d17946: Pull complete 02:00:28 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 02:00:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:00:28 ---> 8b459fc5aaf0 02:00:28 Step 3/11 : ARG MAKE='make build' 02:00:30 ---> Running in ab844f87cf0a 02:00:30 Removing intermediate container ab844f87cf0a 02:00:30 ---> 4eedfd6bcca0 02:00:30 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:00:31 ---> Running in b57fae57fea2 02:00:31 Removing intermediate container b57fae57fea2 02:00:31 ---> c7aee6cbff0d 02:00:31 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 02:00:31 ---> Running in 362891941f35 02:00:32 Removing intermediate container 362891941f35 02:00:32 ---> 273311cd5e66 02:00:32 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:00:32 ---> Running in 90f1f9b6307f 02:00:34 Removing intermediate container 90f1f9b6307f 02:00:34 ---> b2212785cd8a 02:00:34 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:34 ---> Running in 3b6c6ea64619 02:00:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:00:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:00:37 (1/4) Installing openssh-keygen (8.6_p1-r3) 02:00:37 (2/4) Installing libedit (20210216.3.1-r0) 02:00:37 (3/4) Installing openssh-client-common (8.6_p1-r3) 02:00:38 (4/4) Installing openssh-client-default (8.6_p1-r3) 02:00:38 Executing busybox-1.33.1-r3.trigger 02:00:38 OK: 223 MiB in 56 packages 02:00:39 Removing intermediate container 3b6c6ea64619 02:00:39 ---> c6f246e16cd0 02:00:39 Step 8/11 : WORKDIR /device-rest-go 02:00:39 ---> Running in 456990aae0db 02:00:40 Removing intermediate container 456990aae0db 02:00:40 ---> 5bfbde9acaea 02:00:40 Step 9/11 : COPY . . 02:00:40 ---> f7a95060cf02 02:00:40 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:41 ---> Running in 4f2820a52bde 02:02:02 Removing intermediate container 4f2820a52bde 02:02:02 ---> aacf3be53a67 02:02:02 Step 11/11 : RUN $MAKE 02:02:02 ---> Running in 730f8144f940 02:02:02 noop 02:02:02 Removing intermediate container 730f8144f940 02:02:02 ---> 0b2bcb6dc8ad 02:02:02 Successfully built 0b2bcb6dc8ad 02:02:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:02:03 + docker inspect -f . ci-base-image-arm64 02:02:03 . [Pipeline] withDockerContainer 02:02:03 prd-ubuntu18.04-docker-arm64-4c-16g-13620 does not seem to be running inside a container 02:02:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 02:02:05 $ docker top a9d46d173decfce51b478de7e2b14276a1003c225d86d910694d4f81298cf70f -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:06 + go version 02:02:06 go version go1.16.8 linux/arm64 [Pipeline] } 02:02:06 $ docker stop --time=1 a9d46d173decfce51b478de7e2b14276a1003c225d86d910694d4f81298cf70f 02:02:07 $ docker rm -f a9d46d173decfce51b478de7e2b14276a1003c225d86d910694d4f81298cf70f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:02:08 + docker inspect -f . ci-base-image-arm64 02:02:08 . [Pipeline] withDockerContainer 02:02:09 prd-ubuntu18.04-docker-arm64-4c-16g-13620 does not seem to be running inside a container 02:02:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 02:02:10 $ docker top e893539632c9941def09761266419ec78925fd3f5828adb5f990e2f0e2eb8f6c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:02:11 + make test 02:02:11 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:02:13 ? github.com/edgexfoundry/device-rest-go [no test files] 02:03:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:03:21 ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 53.8% of statements 02:03:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:03:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:03:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:03:48 ./bin/test-attribution-txt.sh [Pipeline] } 02:03:48 $ docker stop --time=1 e893539632c9941def09761266419ec78925fd3f5828adb5f990e2f0e2eb8f6c 02:03:50 $ docker rm -f e893539632c9941def09761266419ec78925fd3f5828adb5f990e2f0e2eb8f6c [Pipeline] // withDockerContainer [Pipeline] sh 02:03:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:03:51 Warning: overwriting stash ‘coverage-report’ 02:03:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:03:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:03:52 + ls -al . 02:03:52 total 172 02:03:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 02:03 . 02:03:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 01:59 .. 02:03:52 -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 01:59 .dockerignore 02:03:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 01:59 .git 02:03:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:59 .github 02:03:52 -rw-rw-r-- 1 jenkins jenkins 329 Nov 1 01:59 .gitignore 02:03:52 -rw-rw-r-- 1 jenkins jenkins 7095 Nov 1 01:59 Attribution.txt 02:03:52 -rw-rw-r-- 1 jenkins jenkins 7459 Nov 1 01:59 CHANGELOG.md 02:03:52 -rw-rw-r-- 1 jenkins jenkins 1649 Nov 1 01:59 Dockerfile 02:03:52 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 01:59 GOVERNANCE.md 02:03:52 -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 01:59 Jenkinsfile 02:03:52 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 01:59 LICENSE 02:03:52 -rw-rw-r-- 1 jenkins jenkins 1078 Nov 1 01:59 Makefile 02:03:52 -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 01:59 OWNERS.md 02:03:52 -rw-rw-r-- 1 jenkins jenkins 7661 Nov 1 01:59 README.md 02:03:52 -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 01:56 VERSION 02:03:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:59 bin 02:03:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 01:59 cmd 02:03:52 -rw-r--r-- 1 jenkins jenkins 8435 Nov 1 02:03 coverage.out 02:03:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:59 driver 02:03:52 -rw-rw-r-- 1 jenkins jenkins 285 Nov 1 01:59 go.mod 02:03:52 -rw-rw-r-- 1 jenkins jenkins 50386 Nov 1 01:59 go.sum 02:03:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 01:59 snap 02:03:52 -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 01:59 version.go [Pipeline] isUnix [Pipeline] sh 02:03:52 + 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=0dbcdd9e1503573a6358a2219750091d278c1a40 --label arch=arm64 --label version=2.0.1-dev.11 . 02:03:52 Sending build context to Docker daemon 128.5kB 02:03:53 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 02:03:53 Step 2/24 : FROM ${BASE} AS builder 02:03:53 ---> 0b2bcb6dc8ad 02:03:53 Step 3/24 : ARG MAKE='make build' 02:03:53 ---> Running in 72f029b9904a 02:03:54 Removing intermediate container 72f029b9904a 02:03:54 ---> e61eca21faf4 02:03:54 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:03:54 ---> Running in d12cb84e8ce0 02:03:54 Removing intermediate container d12cb84e8ce0 02:03:54 ---> 6cf305b61047 02:03:54 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 02:03:54 ---> Running in 649003f78d16 02:03:55 Removing intermediate container 649003f78d16 02:03:55 ---> e260b5938ffd 02:03:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:03:55 ---> Running in 9df727797174 02:03:57 Removing intermediate container 9df727797174 02:03:57 ---> 910b629e3e1d 02:03:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:57 ---> Running in 994b01365b21 02:03:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:04:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:04:01 OK: 223 MiB in 56 packages 02:04:02 Removing intermediate container 994b01365b21 02:04:02 ---> f4a20ff44eb2 02:04:02 Step 8/24 : WORKDIR /device-rest-go 02:04:02 ---> Running in 705f8a5d4ed7 02:04:02 Removing intermediate container 705f8a5d4ed7 02:04:02 ---> 0b2b2cca8eb8 02:04:02 Step 9/24 : COPY . . 02:04:03 ---> 1ab09ccf4184 02:04:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:04:03 ---> Running in b7dd02fee0de 02:04:06 Removing intermediate container b7dd02fee0de 02:04:06 ---> 993f3184b0f4 02:04:06 Step 11/24 : RUN $MAKE 02:04:06 ---> Running in ee5c1cb3b067 02:04:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.11" -o cmd/device-rest ./cmd 02:04:55 Removing intermediate container ee5c1cb3b067 02:04:55 ---> 8037a90cb786 02:04:55 Step 12/24 : FROM alpine:3.14 02:04:55 3.14: Pulling from library/alpine 02:04:55 552d1f2373af: Already exists 02:04:55 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 02:04:55 Status: Downloaded newer image for alpine:3.14 02:04:55 ---> bb3de5531c18 02:04:55 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:04:55 ---> Running in 78220e3b5bbb 02:04:55 Removing intermediate container 78220e3b5bbb 02:04:55 ---> 2cd6687b0afd 02:04:55 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 02:04:55 ---> Running in 3aa00b549b16 02:04:55 Removing intermediate container 3aa00b549b16 02:04:55 ---> d7ccbec97ffe 02:04:55 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 02:04:55 ---> Running in 82503e65b9ba 02:04:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:04:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:04:55 (1/6) Installing dumb-init (1.2.5-r1) 02:04:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:04:55 (3/6) Installing libsodium (1.0.18-r0) 02:04:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:04:55 (5/6) Installing libzmq (4.3.4-r0) 02:04:55 (6/6) Installing zeromq (4.3.4-r0) 02:04:55 Executing busybox-1.33.1-r3.trigger 02:04:55 OK: 8 MiB in 20 packages 02:04:56 Removing intermediate container 82503e65b9ba 02:04:56 ---> beecc7c1c16e 02:04:56 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 02:04:57 ---> 481c6daf2ce4 02:04:57 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 02:04:58 ---> 5155a27d68bc 02:04:58 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 02:04:59 ---> a0422ba8be8b 02:04:59 Step 19/24 : EXPOSE 59986 02:04:59 ---> Running in 8f80b8a080a2 02:05:00 Removing intermediate container 8f80b8a080a2 02:05:00 ---> a7824e50fc02 02:05:00 Step 20/24 : ENTRYPOINT ["/device-rest"] 02:05:00 ---> Running in b2c22f80cd23 02:05:01 Removing intermediate container b2c22f80cd23 02:05:01 ---> 08051669bb07 02:05:01 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:05:01 ---> Running in 2fe4accd9ec6 02:05:01 Removing intermediate container 2fe4accd9ec6 02:05:01 ---> 4e36383e686d 02:05:01 Step 22/24 : LABEL arch=arm64 02:05:01 ---> Running in 71d649b94bf0 02:05:02 Removing intermediate container 71d649b94bf0 02:05:02 ---> 006ecdfc69b8 02:05:02 Step 23/24 : LABEL git_sha=0dbcdd9e1503573a6358a2219750091d278c1a40 02:05:02 ---> Running in c672f063667e 02:05:02 Removing intermediate container c672f063667e 02:05:02 ---> 9aaaa8ab559f 02:05:02 Step 24/24 : LABEL version=2.0.1-dev.11 02:05:02 ---> Running in b72f5ab124de 02:05:03 Removing intermediate container b72f5ab124de 02:05:03 ---> a3b944282641 02:05:03 [Warning] One or more build-args [ARCH] were not consumed 02:05:03 Successfully built a3b944282641 02:05:03 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 02:05:03 provisioning config files... 02:05:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config7887895652305095301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:03 ---> docker-login.sh 02:05:03 nexus3.edgexfoundry.org:10001 02:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:04 Configure a credential helper to remove this warning. See 02:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:04 02:05:04 Login Succeeded 02:05:04 nexus3.edgexfoundry.org:10002 02:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:05 Configure a credential helper to remove this warning. See 02:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:05 02:05:05 Login Succeeded 02:05:05 nexus3.edgexfoundry.org:10003 02:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:05 Configure a credential helper to remove this warning. See 02:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:05 02:05:05 Login Succeeded 02:05:05 nexus3.edgexfoundry.org:10004 02:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:06 Configure a credential helper to remove this warning. See 02:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:06 02:05:06 Login Succeeded 02:05:06 docker.io 02:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:07 Configure a credential helper to remove this warning. See 02:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:07 02:05:07 Login Succeeded 02:05:07 ---> docker-login.sh ends [Pipeline] } 02:05:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:05:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:07 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:05:07 0dbcdd9e1503573a6358a2219750091d278c1a40 02:05:07 latest 02:05:07 2.0.1-dev.11 02:05:07 0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 02:05:07 main 02:05:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:05:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] isUnix [Pipeline] sh 02:05:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40 02:05:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:05:08 b8945011ca9e: Preparing 02:05:08 b10c08ac7357: Preparing 02:05:08 b8f94c12d9c0: Preparing 02:05:08 7e6ead1ff352: Preparing 02:05:08 ee420dfed78a: Preparing 02:05:08 ee420dfed78a: Layer already exists 02:05:08 b8945011ca9e: Pushed 02:05:08 b10c08ac7357: Pushed 02:05:09 7e6ead1ff352: Pushed 02:05:11 b8f94c12d9c0: Pushed 02:05:11 0dbcdd9e1503573a6358a2219750091d278c1a40: digest: sha256:79b69dc51af90279533a5ad3e3841a01328e54bb17013fc43e98029ce73b5681 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:05:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:05:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:05:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:05:12 b8945011ca9e: Preparing 02:05:12 b10c08ac7357: Preparing 02:05:12 b8f94c12d9c0: Preparing 02:05:12 7e6ead1ff352: Preparing 02:05:12 ee420dfed78a: Preparing 02:05:12 7e6ead1ff352: Layer already exists 02:05:12 b8f94c12d9c0: Layer already exists 02:05:12 b10c08ac7357: Layer already exists 02:05:12 ee420dfed78a: Layer already exists 02:05:12 b8945011ca9e: Layer already exists 02:05:12 latest: digest: sha256:79b69dc51af90279533a5ad3e3841a01328e54bb17013fc43e98029ce73b5681 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:05:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh 02:05:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.11 02:05:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:05:13 b8945011ca9e: Preparing 02:05:13 b10c08ac7357: Preparing 02:05:13 b8f94c12d9c0: Preparing 02:05:13 7e6ead1ff352: Preparing 02:05:13 ee420dfed78a: Preparing 02:05:13 b10c08ac7357: Layer already exists 02:05:13 ee420dfed78a: Layer already exists 02:05:13 7e6ead1ff352: Layer already exists 02:05:13 b8f94c12d9c0: Layer already exists 02:05:13 b8945011ca9e: Layer already exists 02:05:13 2.0.1-dev.11: digest: sha256:79b69dc51af90279533a5ad3e3841a01328e54bb17013fc43e98029ce73b5681 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:05:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh 02:05:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 02:05:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:05:14 b8945011ca9e: Preparing 02:05:14 b10c08ac7357: Preparing 02:05:14 b8f94c12d9c0: Preparing 02:05:14 7e6ead1ff352: Preparing 02:05:14 ee420dfed78a: Preparing 02:05:14 b8945011ca9e: Layer already exists 02:05:14 ee420dfed78a: Layer already exists 02:05:14 7e6ead1ff352: Layer already exists 02:05:14 b10c08ac7357: Layer already exists 02:05:14 b8f94c12d9c0: Layer already exists 02:05:14 0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11: digest: sha256:79b69dc51af90279533a5ad3e3841a01328e54bb17013fc43e98029ce73b5681 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:05:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 02:05:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 02:05:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:05:15 b8945011ca9e: Preparing 02:05:15 b10c08ac7357: Preparing 02:05:15 b8f94c12d9c0: Preparing 02:05:15 7e6ead1ff352: Preparing 02:05:15 ee420dfed78a: Preparing 02:05:15 b8f94c12d9c0: Layer already exists 02:05:15 7e6ead1ff352: Layer already exists 02:05:15 ee420dfed78a: Layer already exists 02:05:15 b8945011ca9e: Layer already exists 02:05:15 b10c08ac7357: Layer already exists 02:05:15 main: digest: sha256:79b69dc51af90279533a5ad3e3841a01328e54bb17013fc43e98029ce73b5681 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:05:15 ===================================================== [Pipeline] echo 02:05:15 taggedImages: 02:05:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40 02:05:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:05:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.11 02:05:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 02:05:15 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:16 02:05:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:05:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:17 arm64: Pulling from edgex-lftools-log-publisher 02:05:17 448f6bf000e3: Pulling fs layer 02:05:17 f757da607395: Pulling fs layer 02:05:17 05883995daec: Pulling fs layer 02:05:17 8603b9c90790: Pulling fs layer 02:05:17 1560dd03e051: Pulling fs layer 02:05:17 27f5ce0e4adf: Pulling fs layer 02:05:17 c2d8d7efcc4b: Pulling fs layer 02:05:17 27f5ce0e4adf: Waiting 02:05:17 c2d8d7efcc4b: Waiting 02:05:17 8603b9c90790: Waiting 02:05:17 1560dd03e051: Waiting 02:05:17 f757da607395: Verifying Checksum 02:05:17 f757da607395: Download complete 02:05:17 8603b9c90790: Download complete 02:05:17 1560dd03e051: Verifying Checksum 02:05:17 1560dd03e051: Download complete 02:05:17 27f5ce0e4adf: Verifying Checksum 02:05:17 27f5ce0e4adf: Download complete 02:05:17 05883995daec: Verifying Checksum 02:05:17 05883995daec: Download complete 02:05:17 448f6bf000e3: Verifying Checksum 02:05:17 448f6bf000e3: Download complete 02:05:20 c2d8d7efcc4b: Verifying Checksum 02:05:20 c2d8d7efcc4b: Download complete 02:05:21 448f6bf000e3: Pull complete 02:05:22 f757da607395: Pull complete 02:05:23 05883995daec: Pull complete 02:05:24 8603b9c90790: Pull complete 02:05:25 1560dd03e051: Pull complete 02:05:25 27f5ce0e4adf: Pull complete 02:05:40 c2d8d7efcc4b: Pull complete 02:05:40 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 02:05:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:05:41 prd-ubuntu18.04-docker-arm64-4c-16g-13620 does not seem to be running inside a container 02:05:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 02:05:42 $ docker top adc0a7c6ae3c7072fb12c445dd796eae64eed2db1e36dd293cfb02c479b28881 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:44 ---> job-cost.sh 02:05:44 lf-activate-venv: SKIPPING 02:05:44 INFO: No Stack... 02:05:45 INFO: Retrieving Pricing Info for: v3-standard-4 02:05:45 INFO: Archiving Costs [Pipeline] sh 02:05:45 + cut -d, -f6 02:05:45 + cat /w/workspace/device-rest-go/16/archives/cost.csv [Pipeline] lock 02:05:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] 02:05:46 Resource [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] did not exist. Created. 02:05:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:05:46 /w/workspace/device-rest-go/16@tmp/durable-55738ca2/script.sh: 1: /w/workspace/device-rest-go/16@tmp/durable-55738ca2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:05:47 + echo total: 0.10999999940395355 [Pipeline] stash 02:05:47 Warning: overwriting stash ‘stack-cost’ 02:05:47 Stashed 1 file(s) [Pipeline] } 02:05:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } 02:05:47 $ docker stop --time=1 adc0a7c6ae3c7072fb12c445dd796eae64eed2db1e36dd293cfb02c479b28881 02:05:49 $ docker rm -f adc0a7c6ae3c7072fb12c445dd796eae64eed2db1e36dd293cfb02c479b28881 [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 02:05:49 provisioning config files... 02:05:49 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config733291925251090152tmp [Pipeline] { [Pipeline] sh 02:05:50 + set +x 02:05:50 + curl -s https://codecov.io/bash 02:05:50 + bash -s -- 02:05:50 02:05:50 _____ _ 02:05:50 / ____| | | 02:05:50 | | ___ __| | ___ ___ _____ __ 02:05:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:05:50 | |___| (_) | (_| | __/ (_| (_) \ V / 02:05:50 \_____\___/ \__,_|\___|\___\___/ \_/ 02:05:50 Bash-1.0.6 02:05:50 02:05:50 02:05:50 ==> git version 2.24.4 found 02:05:50 ==> 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 02:05:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:05:50 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:05:50 ==> Jenkins CI detected. 02:05:50 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 02:05:50 project root: . 02:05:50 --> token set from env 02:05:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:05:50 ==> Running gcov in . (disable via -X gcov) 02:05:50 ==> Python coveragepy not found 02:05:50 ==> Searching for coverage reports in: 02:05:50 + . 02:05:50 -> Found 1 reports 02:05:50 ==> Detecting git/mercurial file structure 02:05:50 ==> Reading reports 02:05:50 + ./coverage.out bytes=8435 02:05:50 ==> Appending adjustments 02:05:50 https://docs.codecov.io/docs/fixing-reports 02:05:50 + Found adjustments 02:05:50 ==> Gzipping contents 02:05:50 4.0K /tmp/codecov.yE0ZvC.gz 02:05:50 ==> Uploading reports 02:05:50 url: https://codecov.io 02:05:50 query: branch=main&commit=0dbcdd9e1503573a6358a2219750091d278c1a40&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:05:50 -> Pinging Codecov 02:05:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=0dbcdd9e1503573a6358a2219750091d278c1a40&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:05:50 -> Uploading to 02:05:50 https://storage.googleapis.com/codecov/v4/raw/2021-11-01/4E5D53B4F1F92C436F7061BF334D961C/0dbcdd9e1503573a6358a2219750091d278c1a40/a3d5e8fd-9d28-4660-92af-70c755ac1630.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T020550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7a7443ff4c36f132911a44abc2827e0b3ad01e622d04bad7b1d8f8b0427b2a3 02:05:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:50 Dload Upload Total Spent Left Speed 02:05:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 6308 --:--:-- --:--:-- --:--:-- 6330 02:05:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] } 02:05:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:05:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:05:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:05:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:05:51 02:05:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:05:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:05:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:05:52 188c0c94c7c5: Pulling fs layer 02:05:52 0ef7d3d256c8: Pulling fs layer 02:05:52 de9db76c5a1d: Pulling fs layer 02:05:52 0eba1c9be4d2: Pulling fs layer 02:05:52 0d57e429df01: Pulling fs layer 02:05:52 4e4be7b47b0d: Pulling fs layer 02:05:52 e1f770b5df2f: Pulling fs layer 02:05:52 85a0685a4137: Pulling fs layer 02:05:52 0eba1c9be4d2: Waiting 02:05:52 0d57e429df01: Waiting 02:05:52 4e4be7b47b0d: Waiting 02:05:52 e1f770b5df2f: Waiting 02:05:52 85a0685a4137: Waiting 02:05:52 de9db76c5a1d: Download complete 02:05:52 0ef7d3d256c8: Download complete 02:05:52 0d57e429df01: Verifying Checksum 02:05:52 0d57e429df01: Download complete 02:05:52 4e4be7b47b0d: Verifying Checksum 02:05:52 4e4be7b47b0d: Download complete 02:05:52 188c0c94c7c5: Verifying Checksum 02:05:52 188c0c94c7c5: Download complete 02:05:52 e1f770b5df2f: Verifying Checksum 02:05:52 e1f770b5df2f: Download complete 02:05:52 188c0c94c7c5: Pull complete 02:05:52 0eba1c9be4d2: Verifying Checksum 02:05:52 0eba1c9be4d2: Download complete 02:05:52 0ef7d3d256c8: Pull complete 02:05:52 de9db76c5a1d: Pull complete 02:05:53 85a0685a4137: Verifying Checksum 02:05:53 85a0685a4137: Download complete 02:05:57 0eba1c9be4d2: Pull complete 02:05:57 0d57e429df01: Pull complete 02:05:57 4e4be7b47b0d: Pull complete 02:05:57 e1f770b5df2f: Pull complete 02:06:01 85a0685a4137: Pull complete 02:06:01 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:06:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:06:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:06:02 prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container 02:06:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:06:04 $ docker top cccf920113762a0ef4d30371b044b62e5005d4bbd53fac82ab4b82e3fe4d7010 -eo pid,comm [Pipeline] { [Pipeline] echo 02:06:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:06:04 + set -o pipefail 02:06:04 + snyk monitor '--org=edgex-jenkins' 02:06:09 02:06:09 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 02:06:09 02:06:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/2dbd84b3-a357-419b-bac2-42b4698be5ef 02:06:09 02:06:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:06:09 02:06:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:06:09 02:06:09 [Pipeline] } 02:06:09 $ docker stop --time=1 cccf920113762a0ef4d30371b044b62e5005d4bbd53fac82ab4b82e3fe4d7010 02:06:11 $ docker rm -f cccf920113762a0ef4d30371b044b62e5005d4bbd53fac82ab4b82e3fe4d7010 [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 02:06:12 + git log --format=format:%s -1 0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] isUnix [Pipeline] sh 02:06:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:06:12 . [Pipeline] withDockerContainer 02:06:13 prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container 02:06:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:06:13 $ docker top c0037652b1c546677d0273c4d27870924b067a8ed0a6a29fcaebaa755cc0abf3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:13 [ssh-agent] Looking for ssh-agent implementation... 02:06:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:13 $ docker exec c0037652b1c546677d0273c4d27870924b067a8ed0a6a29fcaebaa755cc0abf3 ssh-agent 02:06:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnlMKnI/agent.13 02:06:13 SSH_AGENT_PID=19 02:06:13 Running ssh-add (command line suppressed) 02:06:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3809199844462234337.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3809199844462234337.key) 02:06:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:14 + git semver tag 02:06:14 # -> Open(): unable to determine branch for HEAD 02:06:14 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 02:06:14 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 02:06:14 # $SEMVER_REMOTE_NAME = origin 02:06:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:06:14 # $SEMVER_USER_NAME = edgex-jenkins 02:06:14 # $SEMVER_BRANCH = main 02:06:14 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 02:06:14 # 0dbcdd9e1503573a6358a2219750091d278c1a40 HEAD 02:06:14 # -> Force: false 02:06:14 # 35aba9ca9a92316e042bc3c5cd3877e6417af8b8 refs/tags/v2.0.1-dev.11 [Pipeline] } 02:06:14 $ docker exec --env ******** --env ******** c0037652b1c546677d0273c4d27870924b067a8ed0a6a29fcaebaa755cc0abf3 ssh-agent -k 02:06:14 unset SSH_AUTH_SOCK; 02:06:14 unset SSH_AGENT_PID; 02:06:14 echo Agent pid 19 killed; 02:06:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:14 + git semver [Pipeline] } 02:06:14 $ docker stop --time=1 c0037652b1c546677d0273c4d27870924b067a8ed0a6a29fcaebaa755cc0abf3 02:06:15 $ docker rm -f c0037652b1c546677d0273c4d27870924b067a8ed0a6a29fcaebaa755cc0abf3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:06:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:06:16 02:06:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:06:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:06:16 0.23.1-centos7: Pulling from edgex-lftools 02:06:16 ab5ef0e58194: Pulling fs layer 02:06:16 9712f1f96733: Pulling fs layer 02:06:16 63f879dbbcfc: Pulling fs layer 02:06:16 0d9ebad4ef96: Pulling fs layer 02:06:16 e9a5061849ea: Pulling fs layer 02:06:16 d747dcd14b5f: Pulling fs layer 02:06:16 2de7ff778b66: Pulling fs layer 02:06:16 0d9ebad4ef96: Waiting 02:06:16 e9a5061849ea: Waiting 02:06:16 d747dcd14b5f: Waiting 02:06:16 2de7ff778b66: Waiting 02:06:16 9712f1f96733: Verifying Checksum 02:06:16 9712f1f96733: Download complete 02:06:16 63f879dbbcfc: Verifying Checksum 02:06:16 63f879dbbcfc: Download complete 02:06:17 ab5ef0e58194: Verifying Checksum 02:06:17 ab5ef0e58194: Download complete 02:06:17 d747dcd14b5f: Verifying Checksum 02:06:17 d747dcd14b5f: Download complete 02:06:17 0d9ebad4ef96: Verifying Checksum 02:06:17 0d9ebad4ef96: Download complete 02:06:17 e9a5061849ea: Verifying Checksum 02:06:17 e9a5061849ea: Download complete 02:06:17 2de7ff778b66: Verifying Checksum 02:06:17 2de7ff778b66: Download complete 02:06:20 ab5ef0e58194: Pull complete 02:06:20 9712f1f96733: Pull complete 02:06:20 63f879dbbcfc: Pull complete 02:06:26 0d9ebad4ef96: Pull complete 02:06:26 e9a5061849ea: Pull complete 02:06:26 d747dcd14b5f: Pull complete 02:06:27 2de7ff778b66: Pull complete 02:06:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:06:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:06:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:06:27 prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container 02:06:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:06:30 $ docker top fda612b2ea11e3d8282cc458b5f81014021bf70716d542f2cf00664e7c5391f1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:06:30 provisioning config files... 02:06:30 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6413839551632190075tmp 02:06:30 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6318588306259524703tmp 02:06:30 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7887505800049388946tmp [Pipeline] { [Pipeline] echo 02:06:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:06:31 ---> sigul-configuration.sh 02:06:31 gpg: directory `/root/.gnupg' created 02:06:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:06:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:06:31 gpg: keyring `/root/.gnupg/secring.gpg' created 02:06:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:06:31 gpg: CAST5 encrypted data 02:06:31 gpg: encrypted with 1 passphrase 02:06:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:06:31 + mkdir /home/jenkins 02:06:31 + mkdir /home/jenkins/sigul [Pipeline] sh 02:06:31 + 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 02:06:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:06:32 ---> sigul-install.sh 02:06:32 Sigul already installed; skipping installation. [Pipeline] sh 02:06:32 + git tag --list 02:06:32 v1.0.0 02:06:32 v1.1.0 02:06:32 v1.1.1 02:06:32 v1.1.2 02:06:32 v1.2.0 02:06:32 v1.2.1 02:06:32 v2.0.0 02:06:32 v2.0.1-dev.1 02:06:32 v2.0.1-dev.10 02:06:32 v2.0.1-dev.11 02:06:32 v2.0.1-dev.2 02:06:32 v2.0.1-dev.3 02:06:32 v2.0.1-dev.4 02:06:32 v2.0.1-dev.5 02:06:32 v2.0.1-dev.6 02:06:32 v2.0.1-dev.7 02:06:32 v2.0.1-dev.8 02:06:32 v2.0.1-dev.9 [Pipeline] sh 02:06:32 + lftools sign git-tag v2.0.1-dev.11 02:06:33 Signing Git tag with Sigul... 02:06:33 Signing v2.0.1-dev.11 [Pipeline] echo 02:06:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:06:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:06:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:06:34 $ docker stop --time=1 fda612b2ea11e3d8282cc458b5f81014021bf70716d542f2cf00664e7c5391f1 02:06:35 $ docker rm -f fda612b2ea11e3d8282cc458b5f81014021bf70716d542f2cf00664e7c5391f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 02:06:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:06:36 . [Pipeline] withDockerContainer 02:06:36 prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container 02:06:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:06:36 $ docker top 6b2b5b51da1027d29b684fd9d242036305d245690db69cb19565f3e767657e9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:36 [ssh-agent] Looking for ssh-agent implementation... 02:06:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:37 $ docker exec 6b2b5b51da1027d29b684fd9d242036305d245690db69cb19565f3e767657e9f ssh-agent 02:06:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdGAljB/agent.14 02:06:37 SSH_AGENT_PID=20 02:06:37 Running ssh-add (command line suppressed) 02:06:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3112090902109860823.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3112090902109860823.key) 02:06:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:37 + git semver bump pre 02:06:37 # -> Open(): unable to determine branch for HEAD 02:06:37 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 02:06:37 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 02:06:37 # $SEMVER_REMOTE_NAME = origin 02:06:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:06:37 # $SEMVER_USER_NAME = edgex-jenkins 02:06:37 # $SEMVER_BRANCH = main 02:06:37 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 02:06:37 2.0.1-dev.12 [Pipeline] } 02:06:37 $ docker exec --env ******** --env ******** 6b2b5b51da1027d29b684fd9d242036305d245690db69cb19565f3e767657e9f ssh-agent -k 02:06:37 unset SSH_AUTH_SOCK; 02:06:37 unset SSH_AGENT_PID; 02:06:37 echo Agent pid 20 killed; 02:06:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:38 + git semver [Pipeline] } 02:06:38 $ docker stop --time=1 6b2b5b51da1027d29b684fd9d242036305d245690db69cb19565f3e767657e9f 02:06:39 $ docker rm -f 6b2b5b51da1027d29b684fd9d242036305d245690db69cb19565f3e767657e9f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:06:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:06:39 . [Pipeline] withDockerContainer 02:06:40 prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container 02:06:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:06:40 $ docker top fa42d8b22f433f14c0b0e2497f999e72094e6d7dc7c8c4e3b21670edf01ce950 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:40 [ssh-agent] Looking for ssh-agent implementation... 02:06:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:40 $ docker exec fa42d8b22f433f14c0b0e2497f999e72094e6d7dc7c8c4e3b21670edf01ce950 ssh-agent 02:06:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXomaFDo/agent.15 02:06:40 SSH_AGENT_PID=22 02:06:40 Running ssh-add (command line suppressed) 02:06:40 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1805279489680088889.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1805279489680088889.key) 02:06:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:41 + git semver push 02:06:41 # -> Open(): unable to determine branch for HEAD 02:06:41 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 02:06:41 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 02:06:41 # $SEMVER_REMOTE_NAME = origin 02:06:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:06:41 # $SEMVER_USER_NAME = edgex-jenkins 02:06:41 # $SEMVER_BRANCH = main 02:06:41 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 02:06:42 $ docker exec --env ******** --env ******** fa42d8b22f433f14c0b0e2497f999e72094e6d7dc7c8c4e3b21670edf01ce950 ssh-agent -k 02:06:42 unset SSH_AUTH_SOCK; 02:06:42 unset SSH_AGENT_PID; 02:06:42 echo Agent pid 22 killed; 02:06:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:43 + git semver [Pipeline] } 02:06:43 $ docker stop --time=1 fa42d8b22f433f14c0b0e2497f999e72094e6d7dc7c8c4e3b21670edf01ce950 02:06:44 $ docker rm -f fa42d8b22f433f14c0b0e2497f999e72094e6d7dc7c8c4e3b21670edf01ce950 [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 02:06:45 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:06:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:06:46 ---> package-listing.sh 02:06:46 ++ facter osfamily 02:06:46 ++ tr '[:upper:]' '[:lower:]' 02:06:46 + OS_FAMILY=redhat 02:06:46 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:06:46 + START_PACKAGES=/tmp/packages_start.txt 02:06:46 + END_PACKAGES=/tmp/packages_end.txt 02:06:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:06:46 + PACKAGES=/tmp/packages_start.txt 02:06:46 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:06:46 + PACKAGES=/tmp/packages_end.txt 02:06:46 + case "${OS_FAMILY}" in 02:06:46 + rpm -qa 02:06:46 + sort 02:06:47 + '[' -f /tmp/packages_start.txt ']' 02:06:47 + '[' -f /tmp/packages_end.txt ']' 02:06:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:06:47 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:06:47 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:06:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:06:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:06:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:48 02:06:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:06:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:48 latest: Pulling from edgex-lftools-log-publisher 02:06:48 b4d181a07f80: Pulling fs layer 02:06:48 a1111a8f2ec3: Pulling fs layer 02:06:48 ed53099fbce6: Pulling fs layer 02:06:48 dc539afda2c1: Pulling fs layer 02:06:48 77bc0d833cb6: Pulling fs layer 02:06:48 9065ff56babe: Pulling fs layer 02:06:48 d287ab97295c: Pulling fs layer 02:06:48 77bc0d833cb6: Waiting 02:06:48 9065ff56babe: Waiting 02:06:48 d287ab97295c: Waiting 02:06:48 a1111a8f2ec3: Verifying Checksum 02:06:48 a1111a8f2ec3: Download complete 02:06:48 dc539afda2c1: Download complete 02:06:48 ed53099fbce6: Verifying Checksum 02:06:48 ed53099fbce6: Download complete 02:06:48 9065ff56babe: Verifying Checksum 02:06:48 9065ff56babe: Download complete 02:06:48 77bc0d833cb6: Verifying Checksum 02:06:48 77bc0d833cb6: Download complete 02:06:48 b4d181a07f80: Verifying Checksum 02:06:48 b4d181a07f80: Download complete 02:06:49 d287ab97295c: Verifying Checksum 02:06:49 d287ab97295c: Download complete 02:06:50 b4d181a07f80: Pull complete 02:06:50 a1111a8f2ec3: Pull complete 02:06:51 ed53099fbce6: Pull complete 02:06:51 dc539afda2c1: Pull complete 02:06:51 77bc0d833cb6: Pull complete 02:06:51 9065ff56babe: Pull complete 02:06:57 d287ab97295c: Pull complete 02:06:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:06:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:06:57 prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container 02:06:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:06:59 $ docker top 5d38c4ebe59189304793c79a7096cc06c660dc220cc0c8476ab7915951244787 -eo pid,comm [Pipeline] { [Pipeline] sh 02:07:00 + touch /tmp/pre-build-complete [Pipeline] sh 02:07:00 + mkdir -p /var/log/sysstat [Pipeline] sh 02:07:00 + ls /var/log/sa-host 02:07:00 + sadf -c /var/log/sa-host/sa01 02:07:00 file_magic: OK 02:07:00 HZ: Using current value: 100 02:07:00 file_header: OK 02:07:00 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 02:07:00 Statistics: 02:07:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:07:00 File successfully converted to sysstat format version 12.0.3 02:07:00 + sadf -c /var/log/sa-host/sa30 02:07:00 file_magic: OK 02:07:00 HZ: Using current value: 100 02:07:00 file_header: OK 02:07:00 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 02:07:00 Statistics: 02:07:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:07:00 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:07:00 provisioning config files... 02:07:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config712196025871632674tmp [Pipeline] { [Pipeline] echo 02:07:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:07:01 ---> create-netrc.sh [Pipeline] } 02:07:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:07:01 ---> python-tools-install.sh [Pipeline] echo 02:07:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:07:01 ---> sudo-logs.sh 02:07:01 Archiving 'sudo' log.. 02:07:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-13613.novalocal: Name or service not known 02:07:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-13613.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:07:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:07:02 ---> job-cost.sh 02:07:02 lf-activate-venv: SKIPPING 02:07:02 DEBUG: total: 0.10999999940395355 02:07:02 INFO: Retrieving Stack Cost... 02:07:03 INFO: Retrieving Pricing Info for: v3-standard-2 02:07:03 INFO: Archiving Costs [Pipeline] echo 02:07:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:07:03 ---> logs-deploy.sh 02:07:03 lf-activate-venv: SKIPPING 02:07:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/16 02:07:03 INFO: archiving workspace using pattern(s): 02:07:04 Archives upload complete. 02:07:04 INFO: archiving logs to Nexus 02:07:05 ---> uname -a: 02:07:05 Linux prd-centos7-docker-4c-2g-13613.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 02:07:05 02:07:05 02:07:05 ---> lscpu: 02:07:05 Architecture: x86_64 02:07:05 CPU op-mode(s): 32-bit, 64-bit 02:07:05 Byte Order: Little Endian 02:07:05 Address sizes: 40 bits physical, 48 bits virtual 02:07:05 CPU(s): 2 02:07:05 On-line CPU(s) list: 0,1 02:07:05 Thread(s) per core: 1 02:07:05 Core(s) per socket: 1 02:07:05 Socket(s): 2 02:07:05 NUMA node(s): 1 02:07:05 Vendor ID: AuthenticAMD 02:07:05 CPU family: 23 02:07:05 Model: 49 02:07:05 Model name: AMD EPYC-Rome Processor 02:07:05 Stepping: 0 02:07:05 CPU MHz: 2800.000 02:07:05 BogoMIPS: 5600.00 02:07:05 Virtualization: AMD-V 02:07:05 Hypervisor vendor: KVM 02:07:05 Virtualization type: full 02:07:05 L1d cache: 32K 02:07:05 L1i cache: 32K 02:07:05 L2 cache: 512K 02:07:05 L3 cache: 16384K 02:07:05 NUMA node0 CPU(s): 0,1 02:07:05 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 02:07:05 02:07:05 02:07:05 ---> nproc: 02:07:05 2 02:07:05 02:07:05 02:07:05 ---> df -h: 02:07:05 Filesystem Size Used Avail Use% Mounted on 02:07:05 overlay 40G 9.0G 32G 23% / 02:07:05 tmpfs 64M 0 64M 0% /dev 02:07:05 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 02:07:05 shm 64M 0 64M 0% /dev/shm 02:07:05 /dev/vda1 40G 9.0G 32G 23% /facter-os 02:07:05 02:07:05 02:07:05 ---> sar -b -r -n DEV: 02:07:05 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/01/21 _x86_64_ (2 CPU) 02:07:05 02:07:05 01:55:29 LINUX RESTART (2 CPU) 02:07:05 02:07:05 01:56:01 tps rtps wtps bread/s bwrtn/s 02:07:05 01:57:01 74.50 3.43 71.07 2352.31 3359.22 02:07:05 01:58:01 0.45 0.00 0.45 0.00 7.68 02:07:05 01:59:01 0.28 0.00 0.28 0.00 2.85 02:07:05 02:00:01 0.25 0.00 0.25 0.00 3.60 02:07:05 02:01:01 0.23 0.00 0.23 0.00 2.90 02:07:05 02:02:01 0.57 0.10 0.47 1.73 8.16 02:07:05 02:03:01 0.20 0.00 0.20 0.00 2.57 02:07:05 02:04:01 0.25 0.00 0.25 0.00 3.77 02:07:05 02:05:01 0.25 0.00 0.25 0.00 2.57 02:07:05 02:06:01 21.95 0.03 21.92 3.73 7720.42 02:07:05 Average: 9.90 0.36 9.54 235.82 1111.59 02:07:05 02:07:05 01:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:07:05 01:57:01 5671772 0 623928 7.79 2620 1710612 1274572 14.07 572780 1529404 20 02:07:05 01:58:01 5682392 0 613300 7.66 2620 1710620 1186748 13.10 564032 1529368 8 02:07:05 01:59:01 5678980 0 616712 7.70 2620 1710620 1186784 13.10 567140 1529752 8 02:07:05 02:00:01 5679204 0 616480 7.70 2620 1710628 1165220 12.86 567496 1529752 8 02:07:05 02:01:01 5681948 0 613732 7.66 2620 1710632 1167640 12.89 564584 1530680 8 02:07:05 02:02:01 5681720 0 613836 7.66 2620 1710756 1165556 12.87 564452 1530744 8 02:07:05 02:03:01 5681416 0 614136 7.67 2620 1710760 1165520 12.87 564644 1530816 16 02:07:05 02:04:01 5671908 0 623636 7.79 2620 1710768 1165520 12.87 574200 1530816 8 02:07:05 02:05:01 5669976 0 625568 7.81 2620 1710768 1165800 12.87 575868 1530872 16 02:07:05 02:06:01 4855796 0 721736 9.01 2620 2428780 1175960 12.98 664360 2180304 563980 02:07:05 Average: 5595511 0 628306 7.85 2620 1782494 1181932 13.05 577956 1595251 56408 02:07:05 02:07:05 01:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:07:05 01:57:01 eth0 112.76 83.46 622.93 25.77 0.00 0.00 0.00 0.00 02:07:05 01:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 01:57:01 docker0 15.39 12.26 2.19 132.68 0.00 0.00 0.00 0.00 02:07:05 01:58:01 eth0 2.61 0.57 0.71 0.46 0.00 0.00 0.00 0.00 02:07:05 01:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 01:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 01:59:01 eth0 1.23 0.27 0.33 0.20 0.00 0.00 0.00 0.00 02:07:05 01:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 01:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:00:01 eth0 2.10 0.62 0.64 0.40 0.00 0.00 0.00 0.00 02:07:05 02:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:01:01 eth0 1.08 0.60 0.61 0.46 0.00 0.00 0.00 0.00 02:07:05 02:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:02:01 eth0 0.22 0.12 0.07 0.04 0.00 0.00 0.00 0.00 02:07:05 02:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:03:01 eth0 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:07:05 02:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:04:01 eth0 1.05 0.10 0.10 0.01 0.00 0.00 0.00 0.00 02:07:05 02:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:05:01 eth0 0.50 0.30 0.27 0.20 0.00 0.00 0.00 0.00 02:07:05 02:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:06:01 eth0 158.82 90.04 4057.36 10.26 0.00 0.00 0.00 0.00 02:07:05 02:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 02:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 Average: eth0 28.06 17.62 468.40 3.78 0.00 0.00 0.00 0.00 02:07:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:07:05 Average: docker0 1.54 1.23 0.22 13.27 0.00 0.00 0.00 0.00 02:07:05 02:07:05 02:07:05 ---> sar -P ALL: 02:07:05 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/01/21 _x86_64_ (2 CPU) 02:07:05 02:07:05 01:55:29 LINUX RESTART (2 CPU) 02:07:05 02:07:05 01:56:01 CPU %user %nice %system %iowait %steal %idle 02:07:05 01:57:01 all 5.98 0.00 2.25 2.11 0.09 89.57 02:07:05 01:57:01 0 5.50 0.00 2.30 1.96 0.07 90.16 02:07:05 01:57:01 1 6.46 0.00 2.19 2.26 0.12 88.97 02:07:05 01:58:01 all 0.28 0.00 0.07 0.00 0.04 99.61 02:07:05 01:58:01 0 0.13 0.00 0.07 0.00 0.05 99.75 02:07:05 01:58:01 1 0.43 0.00 0.07 0.00 0.03 99.47 02:07:05 01:59:01 all 0.25 0.00 0.07 0.00 0.02 99.67 02:07:05 01:59:01 0 0.17 0.00 0.03 0.00 0.00 99.80 02:07:05 01:59:01 1 0.33 0.00 0.10 0.00 0.03 99.53 02:07:05 02:00:01 all 0.18 0.00 0.06 0.00 0.03 99.73 02:07:05 02:00:01 0 0.10 0.00 0.07 0.00 0.03 99.80 02:07:05 02:00:01 1 0.27 0.00 0.05 0.00 0.02 99.67 02:07:05 02:01:01 all 0.18 0.00 0.06 0.00 0.03 99.73 02:07:05 02:01:01 0 0.08 0.00 0.05 0.00 0.02 99.85 02:07:05 02:01:01 1 0.28 0.00 0.07 0.00 0.03 99.61 02:07:05 02:02:01 all 0.22 0.00 0.08 0.00 0.03 99.68 02:07:05 02:02:01 0 0.07 0.00 0.10 0.00 0.02 99.82 02:07:05 02:02:01 1 0.37 0.00 0.05 0.00 0.03 99.55 02:07:05 02:03:01 all 0.22 0.00 0.06 0.00 0.03 99.69 02:07:05 02:03:01 0 0.12 0.00 0.05 0.00 0.05 99.78 02:07:05 02:03:01 1 0.32 0.00 0.07 0.00 0.02 99.60 02:07:05 02:04:01 all 0.17 0.00 0.08 0.00 0.03 99.73 02:07:05 02:04:01 0 0.22 0.00 0.08 0.00 0.03 99.67 02:07:05 02:04:01 1 0.12 0.00 0.07 0.00 0.02 99.80 02:07:05 02:05:01 all 0.30 0.00 0.03 0.00 0.02 99.66 02:07:05 02:05:01 0 0.07 0.00 0.02 0.00 0.02 99.90 02:07:05 02:05:01 1 0.53 0.00 0.03 0.00 0.02 99.42 02:07:05 02:06:01 all 8.83 0.00 3.03 0.10 0.03 88.00 02:07:05 02:06:01 0 8.89 0.00 3.31 0.09 0.03 87.68 02:07:05 02:06:01 1 8.78 0.00 2.76 0.12 0.03 88.31 02:07:05 Average: all 1.64 0.00 0.57 0.22 0.03 97.54 02:07:05 Average: 0 1.51 0.00 0.60 0.20 0.03 97.65 02:07:05 Average: 1 1.77 0.00 0.54 0.23 0.04 97.42 02:07:05 02:07:05 02:07:05