Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2fa5af78a65124eb3e46825fc0444c4be12292c1 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-ssh6348934966949278817.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh4444853239541774284.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh2784902653594103165.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh3924490036437179185.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-ssh2479614649570416338.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 ‘prd-centos7-blackbox-4c-2g-2297’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-blackbox-4c-2g-2298’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-blackbox-4c-2g-2299’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-434’ is offline ‘prd-centos7-docker-4c-2g-444’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-441’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-442’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-448 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh2458415660778036700.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2fa5af78a65124eb3e46825fc0444c4be12292c1 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 Commit message: "Merge pull request #130 from jpwhitemn/update-toml-add-gov-docs" > git rev-list --no-walk ebfdf0cb37e6937bdbae1f20ddf4825a64340012 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:33:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:33:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:33:22 ========================================================= 20:33:22 EdgeX Global Pipelines Version Info 20:33:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:33:23 ------------------- 20:33:23 stable info: 20:33:23 ------------------- 20:33:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:33:23 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 20:33:23 Message: update stable to v1.0.205 20:33:24 ------------------- 20:33:24 experimental info: 20:33:24 ------------------- 20:33:24 Commited By: **** collab-it+edgex@linuxfoundation.org 20:33:24 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 20:33:24 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:33:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2fa5af7 [Pipeline] echo 20:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:33:25 provisioning config files... 20:33:25 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3897660796800684367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:33:25 ---> docker-login.sh 20:33:25 nexus3.edgexfoundry.org:10001 20:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:26 Configure a credential helper to remove this warning. See 20:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:26 20:33:26 Login Succeeded 20:33:26 nexus3.edgexfoundry.org:10002 20:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:26 Configure a credential helper to remove this warning. See 20:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:26 20:33:26 Login Succeeded 20:33:26 nexus3.edgexfoundry.org:10003 20:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:26 Configure a credential helper to remove this warning. See 20:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:26 20:33:26 Login Succeeded 20:33:26 nexus3.edgexfoundry.org:10004 20:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:26 Configure a credential helper to remove this warning. See 20:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:26 20:33:26 Login Succeeded 20:33:26 docker.io 20:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:27 Configure a credential helper to remove this warning. See 20:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:27 20:33:27 Login Succeeded 20:33:27 ---> docker-login.sh ends [Pipeline] } 20:33:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:33:27 + git log --format=format:%s -1 2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] echo 20:33:27 GIT_COMMIT: 2fa5af78a65124eb3e46825fc0444c4be12292c1, Commit Message: Merge pull request #130 from jpwhitemn/update-toml-add-gov-docs [Pipeline] echo 20:33:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:33:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:33:28 20:33:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:33:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:33:28 latest: Pulling from edgex-devops/git-semver 20:33:28 31603596830f: Pulling fs layer 20:33:28 d4622e32a9a9: Pulling fs layer 20:33:28 1030fce36090: Pulling fs layer 20:33:28 6c6cb7e1b49b: Pulling fs layer 20:33:28 6c6cb7e1b49b: Waiting 20:33:28 d4622e32a9a9: Verifying Checksum 20:33:28 d4622e32a9a9: Download complete 20:33:29 31603596830f: Verifying Checksum 20:33:29 31603596830f: Download complete 20:33:29 6c6cb7e1b49b: Verifying Checksum 20:33:29 6c6cb7e1b49b: Download complete 20:33:29 31603596830f: Pull complete 20:33:29 d4622e32a9a9: Pull complete 20:33:29 1030fce36090: Verifying Checksum 20:33:29 1030fce36090: Download complete 20:33:30 1030fce36090: Pull complete 20:33:30 6c6cb7e1b49b: Pull complete 20:33:30 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 20:33:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:33:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:33:30 prd-centos7-docker-4c-2g-448 does not seem to be running inside a container 20:33:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:33:31 $ docker top 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:33:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:33:31 [ssh-agent] Looking for ssh-agent implementation... 20:33:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:33:31 $ docker exec 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f ssh-agent 20:33:31 SSH_AUTH_SOCK=/tmp/ssh-gOg6p2rJoNIj/agent.14 20:33:31 SSH_AGENT_PID=20 20:33:31 Running ssh-add (command line suppressed) 20:33:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6548309295796395625.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6548309295796395625.key) 20:33:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:33:32 + git tag --points-at HEAD [Pipeline] } 20:33:32 $ docker exec --env ******** --env ******** 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f ssh-agent -k 20:33:32 unset SSH_AUTH_SOCK; 20:33:32 unset SSH_AGENT_PID; 20:33:32 echo Agent pid 20 killed; 20:33:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:33:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:33:32 [ssh-agent] Looking for ssh-agent implementation... 20:33:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:33:32 $ docker exec 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f ssh-agent 20:33:32 SSH_AUTH_SOCK=/tmp/ssh-WnaLBr9YCYgN/agent.55 20:33:32 SSH_AGENT_PID=61 20:33:32 Running ssh-add (command line suppressed) 20:33:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_343332202654322470.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_343332202654322470.key) 20:33:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:33:33 + git semver init 20:33:33 # -> Open(): unable to determine branch for HEAD 20:33:33 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:33:33 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:33:33 # $SEMVER_REMOTE_NAME = origin 20:33:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:33:33 # $SEMVER_USER_NAME = edgex-jenkins 20:33:33 # $SEMVER_BRANCH = main 20:33:33 # $SEMVER_TEMP = /tmp/semver-602322060 20:33:33 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:33:34 # '/tmp/semver-602322060' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 20:33:34 # -> Force: false 20:33:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 20:33:34 $ docker exec --env ******** --env ******** 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f ssh-agent -k 20:33:34 unset SSH_AUTH_SOCK; 20:33:34 unset SSH_AGENT_PID; 20:33:34 echo Agent pid 61 killed; 20:33:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:33:34 + git semver [Pipeline] } 20:33:34 $ docker stop --time=1 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f 20:33:35 $ docker rm -f 1788acda1443ce364562dc7c5a68e19cce273e3fa6b997eff5763c7c17eece7f [Pipeline] // withDockerContainer [Pipeline] sh 20:33:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:33:36 Stashed 1 file(s) [Pipeline] echo 20:33:36 [edgeXSemver]: initialized semver on version 2.0.1-dev.3 [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 20:33:51 Still waiting to schedule task 20:33:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:33:51 Still waiting to schedule task 20:33:51 ‘prd-centos7-blackbox-4c-2g-2297’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:33:51 ‘prd-centos7-blackbox-4c-2g-2298’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:33:51 ‘prd-centos7-blackbox-4c-2g-2299’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:33:51 ‘prd-centos7-docker-4c-2g-434’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:33:51 ‘prd-centos7-docker-4c-2g-439’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:33:51 ‘prd-centos7-docker-4c-2g-443’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:33:51 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline 20:33:51 ‘prd-ubuntu18.04-docker-arm64-4c-16g-425’ is offline 20:33:51 ‘prd-ubuntu18.04-docker-arm64-4c-16g-431’ is offline 20:33:51 ‘prd-ubuntu18.04-docker-arm64-4c-16g-447’ is offline 20:40:18 Running on prd-centos7-docker-4c-2g-571 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:40:18 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 20:40:18 The recommended git tool is: git 20:40:20 using credential edgex-jenkins-ssh 20:40:20 Cloning the remote Git repository 20:40:20 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:40:20 > git init /w/workspace/device-rest-go/4 # timeout=10 20:40:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:40:20 > git --version # timeout=10 20:40:20 > git --version # 'git version 2.24.4' 20:40:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:40:20 [INFO] Currently running in a labeled security context 20:40:20 [INFO] Currently SELinux is 'enforcing' on the host 20:40:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh1122014883291197929.key 20:40:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:40:24 Avoid second fetch 20:40:24 Checking out Revision 2fa5af78a65124eb3e46825fc0444c4be12292c1 (main) 20:40:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:40:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:40:24 > git config core.sparsecheckout # timeout=10 20:40:24 > git checkout -f 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 20:40:28 Commit message: "Merge pull request #130 from jpwhitemn/update-toml-add-gov-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:40:28 provisioning config files... 20:40:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config4901685093403315459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:29 ---> docker-login.sh 20:40:29 nexus3.edgexfoundry.org:10001 20:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:29 Configure a credential helper to remove this warning. See 20:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:29 20:40:29 Login Succeeded 20:40:29 nexus3.edgexfoundry.org:10002 20:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:29 Configure a credential helper to remove this warning. See 20:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:29 20:40:29 Login Succeeded 20:40:29 nexus3.edgexfoundry.org:10003 20:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:29 Configure a credential helper to remove this warning. See 20:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:29 20:40:29 Login Succeeded 20:40:29 nexus3.edgexfoundry.org:10004 20:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:29 Configure a credential helper to remove this warning. See 20:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:29 20:40:29 Login Succeeded 20:40:29 docker.io 20:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:30 Configure a credential helper to remove this warning. See 20:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:30 20:40:30 Login Succeeded 20:40:30 ---> docker-login.sh ends [Pipeline] } 20:40:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:40:30 ========================================================= 20:40:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:40:30 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:40:31 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 20:40:31 Sending build context to Docker daemon 119.3kB 20:40:31 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 20:40:31 Step 2/10 : FROM ${BASE} 20:40:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:40:31 540db60ca938: Pulling fs layer 20:40:31 adcc1eea9eea: Pulling fs layer 20:40:31 4c4ab2625f07: Pulling fs layer 20:40:31 db62176df00c: Pulling fs layer 20:40:31 3b30891b0d05: Pulling fs layer 20:40:31 06b49ca38bd5: Pulling fs layer 20:40:31 c788192a36de: Pulling fs layer 20:40:31 a77e37c0d609: Pulling fs layer 20:40:31 c3185cebc471: Pulling fs layer 20:40:31 06b49ca38bd5: Waiting 20:40:31 c788192a36de: Waiting 20:40:31 db62176df00c: Waiting 20:40:31 a77e37c0d609: Waiting 20:40:31 c3185cebc471: Waiting 20:40:31 3b30891b0d05: Waiting 20:40:31 4c4ab2625f07: Verifying Checksum 20:40:31 4c4ab2625f07: Download complete 20:40:31 adcc1eea9eea: Verifying Checksum 20:40:31 adcc1eea9eea: Download complete 20:40:31 3b30891b0d05: Verifying Checksum 20:40:31 3b30891b0d05: Download complete 20:40:31 06b49ca38bd5: Verifying Checksum 20:40:31 06b49ca38bd5: Download complete 20:40:31 c788192a36de: Verifying Checksum 20:40:31 c788192a36de: Download complete 20:40:31 540db60ca938: Verifying Checksum 20:40:31 540db60ca938: Pull complete 20:40:31 adcc1eea9eea: Pull complete 20:40:31 4c4ab2625f07: Pull complete 20:40:31 a77e37c0d609: Verifying Checksum 20:40:31 a77e37c0d609: Download complete 20:40:37 c3185cebc471: Verifying Checksum 20:40:37 c3185cebc471: Download complete 20:40:40 db62176df00c: Download complete 20:40:43 db62176df00c: Pull complete 20:40:43 3b30891b0d05: Pull complete 20:40:43 06b49ca38bd5: Pull complete 20:40:43 c788192a36de: Pull complete 20:40:43 a77e37c0d609: Pull complete 20:40:45 c3185cebc471: Pull complete 20:40:45 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 20:40:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:40:45 ---> 031687cdd783 20:40:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:40:46 ---> Running in 196a67700dae 20:40:46 Removing intermediate container 196a67700dae 20:40:46 ---> 8cc413709e31 20:40:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:40:46 ---> Running in 58ca12f58c0e 20:40:46 Removing intermediate container 58ca12f58c0e 20:40:46 ---> 0a893e4d6b1e 20:40:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:40:47 ---> Running in 903b006433f9 20:40:47 Removing intermediate container 903b006433f9 20:40:47 ---> f2fbd928ab6c 20:40:47 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:40:47 ---> Running in ac50967f5a6c 20:40:47 Removing intermediate container ac50967f5a6c 20:40:47 ---> 9cfbef78f091 20:40:47 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:40:47 ---> Running in a540a0165541 20:40:47 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:40:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:40:50 (1/3) Installing openssh-keygen (8.4_p1-r3) 20:40:50 (2/3) Installing libedit (20191231.3.1-r1) 20:40:51 (3/3) Installing openssh-client (8.4_p1-r3) 20:40:53 Executing busybox-1.32.1-r6.trigger 20:40:53 OK: 223 MiB in 55 packages 20:40:53 Removing intermediate container a540a0165541 20:40:53 ---> df507c0cd514 20:40:53 Step 8/10 : WORKDIR /device-rest-go 20:40:53 ---> Running in 74ceb99eb07e 20:40:53 Removing intermediate container 74ceb99eb07e 20:40:53 ---> 7ff1a2039345 20:40:53 Step 9/10 : COPY . . 20:40:53 ---> caf91534abc7 20:40:53 Step 10/10 : RUN go mod download 20:40:53 ---> Running in 50d38ca324f4 20:41:03 Removing intermediate container 50d38ca324f4 20:41:03 ---> 9d1ba1adbbab 20:41:03 Successfully built 9d1ba1adbbab 20:41:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:41:03 + docker inspect -f . ci-base-image-x86_64 20:41:03 . [Pipeline] withDockerContainer 20:41:03 prd-centos7-docker-4c-2g-571 does not seem to be running inside a container 20:41:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:41:04 $ docker top 2b6cc0217ff0e33bc9139066d429367772c28162d3a0a1bd43422525cedb6997 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:04 + go version 20:41:04 go version go1.16.6 linux/amd64 [Pipeline] } 20:41:04 $ docker stop --time=1 2b6cc0217ff0e33bc9139066d429367772c28162d3a0a1bd43422525cedb6997 20:41:06 $ docker rm -f 2b6cc0217ff0e33bc9139066d429367772c28162d3a0a1bd43422525cedb6997 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:41:06 + docker inspect -f . ci-base-image-x86_64 20:41:06 . [Pipeline] withDockerContainer 20:41:06 prd-centos7-docker-4c-2g-571 does not seem to be running inside a container 20:41:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:41:07 $ docker top eb5f0a2306de7b72ff9ffd34960d66ccd6d004031f01920c55ccd56f5191afd0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:41:07 + go mod tidy [Pipeline] sh 20:41:08 + make test 20:41:08 go mod tidy 20:41:08 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:41:08 ? github.com/edgexfoundry/device-rest-go [no test files] 20:41:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:41:24 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements 20:41:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:41:30 gofmt -l . 20:41:30 [ "`gofmt -l .`" = "" ] 20:41:30 ./bin/test-go-mod-tidy.sh 20:41:30 ./bin/test-attribution-txt.sh [Pipeline] } 20:41:31 $ docker stop --time=1 eb5f0a2306de7b72ff9ffd34960d66ccd6d004031f01920c55ccd56f5191afd0 20:41:32 $ docker rm -f eb5f0a2306de7b72ff9ffd34960d66ccd6d004031f01920c55ccd56f5191afd0 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:41:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:41:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:41:36 + ls -al . 20:41:36 total 120 20:41:36 drwxrwxr-x. 8 jenkins jenkins 4096 Aug 11 20:41 . 20:41:36 drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 20:40 .. 20:41:36 -rw-rw-r--. 1 jenkins jenkins 6792 Aug 11 20:40 Attribution.txt 20:41:36 drwxrwxr-x. 2 jenkins jenkins 64 Aug 11 20:40 bin 20:41:36 -rw-rw-r--. 1 jenkins jenkins 7459 Aug 11 20:40 CHANGELOG.md 20:41:36 drwxrwxr-x. 3 jenkins jenkins 32 Aug 11 20:40 cmd 20:41:36 -rw-r--r--. 1 jenkins jenkins 8513 Aug 11 20:41 coverage.out 20:41:36 -rw-rw-r--. 1 jenkins jenkins 1615 Aug 11 20:40 Dockerfile 20:41:36 -rw-rw-r--. 1 jenkins jenkins 1087 Aug 11 20:40 Dockerfile.build 20:41:36 -rw-rw-r--. 1 jenkins jenkins 151 Aug 11 20:40 .dockerignore 20:41:36 drwxrwxr-x. 2 jenkins jenkins 76 Aug 11 20:40 driver 20:41:36 drwxrwxr-x. 8 jenkins jenkins 162 Aug 11 20:40 .git 20:41:36 drwxrwxr-x. 2 jenkins jenkins 103 Aug 11 20:40 .github 20:41:36 -rw-rw-r--. 1 jenkins jenkins 336 Aug 11 20:40 .gitignore 20:41:36 -rw-r--r--. 1 jenkins jenkins 271 Aug 11 20:41 go.mod 20:41:36 -rw-r--r--. 1 jenkins jenkins 20570 Aug 11 20:41 go.sum 20:41:36 -rw-rw-r--. 1 jenkins jenkins 677 Aug 11 20:40 GOVERNANCE.md 20:41:36 -rw-rw-r--. 1 jenkins jenkins 680 Aug 11 20:40 Jenkinsfile 20:41:36 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 11 20:40 LICENSE 20:41:36 -rw-rw-r--. 1 jenkins jenkins 996 Aug 11 20:40 Makefile 20:41:36 -rw-rw-r--. 1 jenkins jenkins 620 Aug 11 20:40 OWNERS.md 20:41:36 -rw-rw-r--. 1 jenkins jenkins 7661 Aug 11 20:40 README.md 20:41:36 drwxrwxr-x. 4 jenkins jenkins 71 Aug 11 20:40 snap 20:41:36 -rw-rw-r--. 1 jenkins jenkins 11 Aug 11 20:33 VERSION 20:41:36 -rw-rw-r--. 1 jenkins jenkins 713 Aug 11 20:40 version.go [Pipeline] isUnix [Pipeline] sh 20:41:36 + 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=2fa5af78a65124eb3e46825fc0444c4be12292c1 --label arch=amd64 --label version=2.0.1-dev.3 . 20:41:36 Sending build context to Docker daemon 129kB 20:41:36 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:41:36 Step 2/25 : FROM ${BASE} AS builder 20:41:36 ---> 9d1ba1adbbab 20:41:36 Step 3/25 : ARG MAKE='make build' 20:41:36 ---> Running in 9c99dcd31642 20:41:36 Removing intermediate container 9c99dcd31642 20:41:36 ---> 61fee1dc0037 20:41:36 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:41:36 ---> Running in 90f8618c798d 20:41:36 Removing intermediate container 90f8618c798d 20:41:36 ---> 8697d8efbd28 20:41:36 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:41:36 ---> Running in cf80572ffe77 20:41:36 Removing intermediate container cf80572ffe77 20:41:36 ---> f96f7a022171 20:41:36 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:41:36 ---> Running in 038c6ec8c7ac 20:41:37 Removing intermediate container 038c6ec8c7ac 20:41:37 ---> f1b780db3366 20:41:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:41:37 ---> Running in 91a5962c33b1 20:41:37 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:41:38 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:41:39 OK: 223 MiB in 55 packages 20:41:39 Removing intermediate container 91a5962c33b1 20:41:39 ---> 75f8db66ec3c 20:41:39 Step 8/25 : WORKDIR /device-rest-go 20:41:39 ---> Running in e1bb9ee414df 20:41:39 Removing intermediate container e1bb9ee414df 20:41:39 ---> 716cc032235b 20:41:39 Step 9/25 : COPY . . 20:41:39 ---> 196fe9ddc69c 20:41:39 Step 10/25 : RUN go mod tidy 20:41:39 ---> Running in 7f11a333ceaf 20:41:40 Removing intermediate container 7f11a333ceaf 20:41:40 ---> 79d05eefad2d 20:41:40 Step 11/25 : RUN make update 20:41:40 ---> Running in e2f001d42375 20:41:40 CGO_ENABLED=0 GO111MODULE=on go mod download 20:41:40 Removing intermediate container e2f001d42375 20:41:40 ---> 541b09a3b3d6 20:41:40 Step 12/25 : RUN $MAKE 20:41:40 ---> Running in 3377d85a397d 20:41:41 go mod tidy 20:41:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.3" -o cmd/device-rest ./cmd 20:41:54 Removing intermediate container 3377d85a397d 20:41:54 ---> 8021c6ce7729 20:41:54 Step 13/25 : FROM alpine:3.12 20:41:54 3.12: Pulling from library/alpine 20:41:54 339de151aab4: Pulling fs layer 20:41:54 339de151aab4: Verifying Checksum 20:41:54 339de151aab4: Download complete 20:41:54 339de151aab4: Pull complete 20:41:54 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 20:41:54 Status: Downloaded newer image for alpine:3.12 20:41:54 ---> 13621d1b12d4 20:41:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:41:54 ---> Running in 0d4b40d98d79 20:41:54 Removing intermediate container 0d4b40d98d79 20:41:54 ---> e7e341e78d0f 20:41:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:41:54 ---> Running in 0cecefe754c4 20:41:54 Removing intermediate container 0cecefe754c4 20:41:54 ---> da93bcb68234 20:41:54 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:41:54 ---> Running in 2e42e28a347c 20:41:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:41:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:41:54 (1/6) Installing dumb-init (1.2.2-r1) 20:41:54 (2/6) Installing libgcc (9.3.0-r2) 20:41:54 (3/6) Installing libsodium (1.0.18-r0) 20:41:54 (4/6) Installing libstdc++ (9.3.0-r2) 20:41:54 (5/6) Installing libzmq (4.3.3-r0) 20:41:54 (6/6) Installing zeromq (4.3.3-r0) 20:41:54 Executing busybox-1.31.1-r20.trigger 20:41:54 OK: 8 MiB in 20 packages 20:41:55 Removing intermediate container 2e42e28a347c 20:41:55 ---> de2d91630f7f 20:41:55 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:41:55 ---> da8c39c13fac 20:41:55 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:41:55 ---> 0ab1d85b5c5a 20:41:55 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:41:55 ---> 00fd6fc0a658 20:41:55 Step 20/25 : EXPOSE 59986 20:41:55 ---> Running in 7ad91ee5725c 20:41:55 Removing intermediate container 7ad91ee5725c 20:41:55 ---> e9fa194923f2 20:41:55 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:41:55 ---> Running in 7ac1053c978b 20:41:55 Removing intermediate container 7ac1053c978b 20:41:55 ---> 2a2ae6b5eea6 20:41:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:41:55 ---> Running in eef248e87949 20:41:56 Removing intermediate container eef248e87949 20:41:56 ---> c8f04c54ed00 20:41:56 Step 23/25 : LABEL arch=amd64 20:41:56 ---> Running in 4edcae01fdef 20:41:56 Removing intermediate container 4edcae01fdef 20:41:56 ---> 20b32bd82340 20:41:56 Step 24/25 : LABEL git_sha=2fa5af78a65124eb3e46825fc0444c4be12292c1 20:41:56 ---> Running in d39bf98e5e4d 20:41:56 Removing intermediate container d39bf98e5e4d 20:41:56 ---> d042f68a0ed1 20:41:56 Step 25/25 : LABEL version=2.0.1-dev.3 20:41:56 ---> Running in e9ef3aad4401 20:41:56 Removing intermediate container e9ef3aad4401 20:41:56 ---> 305e4338b586 20:41:56 [Warning] One or more build-args [ARCH] were not consumed 20:41:56 Successfully built 305e4338b586 20:41:56 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:56 provisioning config files... 20:41:56 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config7926179074902428128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:57 ---> docker-login.sh 20:41:57 nexus3.edgexfoundry.org:10001 20:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:57 Configure a credential helper to remove this warning. See 20:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:57 20:41:57 Login Succeeded 20:41:57 nexus3.edgexfoundry.org:10002 20:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-574 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:41:57 Running in /w/workspace/device-rest-go/4 [Pipeline] { 20:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:57 Configure a credential helper to remove this warning. See 20:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:57 20:41:57 Login Succeeded 20:41:57 nexus3.edgexfoundry.org:10003 20:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:57 Configure a credential helper to remove this warning. See 20:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:57 20:41:57 Login Succeeded 20:41:57 nexus3.edgexfoundry.org:10004 [Pipeline] checkout 20:41:57 The recommended git tool is: git 20:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:57 Configure a credential helper to remove this warning. See 20:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:57 20:41:57 Login Succeeded 20:41:57 docker.io 20:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:57 Configure a credential helper to remove this warning. See 20:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:57 20:41:57 Login Succeeded 20:41:57 ---> docker-login.sh ends [Pipeline] } 20:41:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:41:57 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:41:57 2fa5af78a65124eb3e46825fc0444c4be12292c1 20:41:57 latest 20:41:57 2.0.1-dev.3 20:41:57 2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 20:41:57 main 20:41:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:41:58 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] isUnix [Pipeline] sh 20:41:58 + docker push nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1 20:41:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:41:58 d3af60bc7f9b: Preparing 20:41:58 ddfafc6e04c2: Preparing 20:41:58 eb8957483596: Preparing 20:41:58 489d87c49b66: Preparing 20:41:58 32f366d666a5: Preparing 20:41:58 32f366d666a5: Layer already exists 20:41:58 d3af60bc7f9b: Pushed 20:41:58 ddfafc6e04c2: Pushed 20:41:58 489d87c49b66: Pushed 20:42:00 eb8957483596: Pushed 20:42:00 2fa5af78a65124eb3e46825fc0444c4be12292c1: digest: sha256:1004304378d541753c39187b53bce6206480bcf69dc4537cb360bfd3cddfedc9 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:42:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 20:42:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:42:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:42:01 d3af60bc7f9b: Preparing 20:42:01 ddfafc6e04c2: Preparing 20:42:01 eb8957483596: Preparing 20:42:01 489d87c49b66: Preparing 20:42:01 32f366d666a5: Preparing 20:42:01 ddfafc6e04c2: Layer already exists 20:42:01 d3af60bc7f9b: Layer already exists 20:42:01 32f366d666a5: Layer already exists 20:42:01 489d87c49b66: Layer already exists 20:42:01 eb8957483596: Layer already exists 20:42:01 latest: digest: sha256:1004304378d541753c39187b53bce6206480bcf69dc4537cb360bfd3cddfedc9 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:42:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 20:42:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.3 20:42:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:42:01 d3af60bc7f9b: Preparing 20:42:01 ddfafc6e04c2: Preparing 20:42:01 eb8957483596: Preparing 20:42:01 489d87c49b66: Preparing 20:42:01 32f366d666a5: Preparing 20:42:01 ddfafc6e04c2: Layer already exists 20:42:01 eb8957483596: Layer already exists 20:42:01 d3af60bc7f9b: Layer already exists 20:42:01 489d87c49b66: Layer already exists 20:42:01 32f366d666a5: Layer already exists 20:42:01 2.0.1-dev.3: digest: sha256:1004304378d541753c39187b53bce6206480bcf69dc4537cb360bfd3cddfedc9 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:42:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 20:42:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 20:42:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:42:02 d3af60bc7f9b: Preparing 20:42:02 ddfafc6e04c2: Preparing 20:42:02 eb8957483596: Preparing 20:42:02 489d87c49b66: Preparing 20:42:02 32f366d666a5: Preparing 20:42:02 ddfafc6e04c2: Layer already exists 20:42:02 d3af60bc7f9b: Layer already exists 20:42:02 489d87c49b66: Layer already exists 20:42:02 32f366d666a5: Layer already exists 20:42:02 eb8957483596: Layer already exists 20:42:02 2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3: digest: sha256:1004304378d541753c39187b53bce6206480bcf69dc4537cb360bfd3cddfedc9 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:42:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 20:42:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:42:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:42:02 d3af60bc7f9b: Preparing 20:42:02 ddfafc6e04c2: Preparing 20:42:02 eb8957483596: Preparing 20:42:02 489d87c49b66: Preparing 20:42:02 32f366d666a5: Preparing 20:42:02 489d87c49b66: Layer already exists 20:42:02 ddfafc6e04c2: Layer already exists 20:42:02 32f366d666a5: Layer already exists 20:42:02 eb8957483596: Layer already exists 20:42:02 d3af60bc7f9b: Layer already exists 20:42:02 main: digest: sha256:1004304378d541753c39187b53bce6206480bcf69dc4537cb360bfd3cddfedc9 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:42:03 ===================================================== [Pipeline] echo 20:42:03 taggedImages: 20:42:03 - nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1 20:42:03 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:42:03 - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.3 20:42:03 - nexus3.edgexfoundry.org:10004/device-rest:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 20:42:03 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:42:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:03 20:42:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:42:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:03 latest: Pulling from edgex-lftools-log-publisher 20:42:03 b4d181a07f80: Pulling fs layer 20:42:03 a1111a8f2ec3: Pulling fs layer 20:42:03 ed53099fbce6: Pulling fs layer 20:42:03 dc539afda2c1: Pulling fs layer 20:42:03 77bc0d833cb6: Pulling fs layer 20:42:03 9065ff56babe: Pulling fs layer 20:42:03 d287ab97295c: Pulling fs layer 20:42:03 dc539afda2c1: Waiting 20:42:03 77bc0d833cb6: Waiting 20:42:03 9065ff56babe: Waiting 20:42:03 d287ab97295c: Waiting 20:42:04 a1111a8f2ec3: Verifying Checksum 20:42:04 a1111a8f2ec3: Download complete 20:42:04 dc539afda2c1: Verifying Checksum 20:42:04 dc539afda2c1: Download complete 20:42:04 using credential edgex-jenkins-ssh 20:42:04 Cloning the remote Git repository 20:42:04 77bc0d833cb6: Verifying Checksum 20:42:04 77bc0d833cb6: Download complete 20:42:04 9065ff56babe: Verifying Checksum 20:42:04 9065ff56babe: Download complete 20:42:04 ed53099fbce6: Verifying Checksum 20:42:04 ed53099fbce6: Download complete 20:42:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:42:04 > git init /w/workspace/device-rest-go/4 # timeout=10 20:42:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:42:04 > git --version # timeout=10 20:42:04 > git --version # 'git version 2.17.1' 20:42:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:05 b4d181a07f80: Verifying Checksum 20:42:05 b4d181a07f80: Download complete 20:42:06 Avoid second fetch 20:42:06 Checking out Revision 2fa5af78a65124eb3e46825fc0444c4be12292c1 (main) 20:42:06 b4d181a07f80: Pull complete 20:42:06 a1111a8f2ec3: Pull complete 20:42:07 ed53099fbce6: Pull complete 20:42:07 dc539afda2c1: Pull complete 20:42:07 77bc0d833cb6: Pull complete 20:42:07 9065ff56babe: Pull complete 20:42:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:42:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:06 > git config core.sparsecheckout # timeout=10 20:42:06 > git checkout -f 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 20:42:09 d287ab97295c: Verifying Checksum 20:42:09 d287ab97295c: Download complete 20:42:11 Commit message: "Merge pull request #130 from jpwhitemn/update-toml-add-gov-docs" 20:42:11 20:42:11 GitHub has been notified of this commit’s build result 20:42:11 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:11 provisioning config files... 20:42:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config7103304394162704753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:12 ---> docker-login.sh 20:42:12 nexus3.edgexfoundry.org:10001 20:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:13 Configure a credential helper to remove this warning. See 20:42:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:13 20:42:13 Login Succeeded 20:42:13 nexus3.edgexfoundry.org:10002 20:42:13 d287ab97295c: Pull complete 20:42:13 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:42:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:42:13 prd-centos7-docker-4c-2g-571 does not seem to be running inside a container 20:42:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:14 Configure a credential helper to remove this warning. See 20:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:14 20:42:14 Login Succeeded 20:42:14 nexus3.edgexfoundry.org:10003 20:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:14 Configure a credential helper to remove this warning. See 20:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:14 20:42:14 Login Succeeded 20:42:14 nexus3.edgexfoundry.org:10004 20:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:15 Configure a credential helper to remove this warning. See 20:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:15 20:42:15 Login Succeeded 20:42:15 docker.io 20:42:16 $ docker top 6ce20c5231b9ff3366c1614b82169084b452383791c2d1452a76f11127605e06 -eo pid,comm 20:42:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:16 Configure a credential helper to remove this warning. See 20:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:16 20:42:16 Login Succeeded 20:42:16 ---> docker-login.sh ends [Pipeline] } 20:42:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv 20:42:16 ---> job-cost.sh 20:42:16 lf-activate-venv: SKIPPING 20:42:16 INFO: No Stack... [Pipeline] unstash [Pipeline] echo 20:42:17 ========================================================= 20:42:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:42:17 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:42:17 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 20:42:17 Sending build context to Docker daemon 119.3kB 20:42:17 INFO: Retrieving Pricing Info for: v3-standard-2 20:42:17 INFO: Archiving Costs [Pipeline] sh 20:42:18 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 20:42:18 Step 2/10 : FROM ${BASE} 20:42:18 + cat /w/workspace/device-rest-go/4/archives/cost.csv 20:42:18 + cut -d, -f6 [Pipeline] lock 20:42:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] 20:42:18 Resource [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] did not exist. Created. 20:42:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:42:18 595b0fe564bb: Pulling fs layer 20:42:18 24495759ef45: Pulling fs layer 20:42:18 d148012ef14d: Pulling fs layer 20:42:18 e90a11edd702: Pulling fs layer 20:42:18 d77568369979: Pulling fs layer 20:42:18 fc1c9f9a7f3b: Pulling fs layer 20:42:18 170f2ba95c9a: Pulling fs layer 20:42:18 97ac5df62f85: Pulling fs layer 20:42:18 e90a11edd702: Waiting 20:42:18 d77568369979: Waiting 20:42:18 fc1c9f9a7f3b: Waiting 20:42:18 97ac5df62f85: Waiting 20:42:18 d148012ef14d: Verifying Checksum 20:42:18 d148012ef14d: Download complete 20:42:18 24495759ef45: Verifying Checksum 20:42:18 24495759ef45: Download complete 20:42:18 d77568369979: Download complete 20:42:18 fc1c9f9a7f3b: Verifying Checksum 20:42:18 fc1c9f9a7f3b: Download complete 20:42:18 170f2ba95c9a: Verifying Checksum 20:42:18 170f2ba95c9a: Download complete 20:42:18 595b0fe564bb: Verifying Checksum 20:42:18 595b0fe564bb: Download complete 20:42:18 + echo total: 0.05999999865889549 [Pipeline] stash 20:42:18 Stashed 1 file(s) [Pipeline] } 20:42:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:18 $ docker stop --time=1 6ce20c5231b9ff3366c1614b82169084b452383791c2d1452a76f11127605e06 20:42:19 595b0fe564bb: Pull complete 20:42:19 $ docker rm -f 6ce20c5231b9ff3366c1614b82169084b452383791c2d1452a76f11127605e06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:42:20 24495759ef45: Pull complete 20:42:20 d148012ef14d: Pull complete 20:42:22 97ac5df62f85: Verifying Checksum 20:42:22 97ac5df62f85: Download complete 20:42:22 e90a11edd702: Verifying Checksum 20:42:22 e90a11edd702: Download complete 20:42:35 e90a11edd702: Pull complete 20:42:35 d77568369979: Pull complete 20:42:35 fc1c9f9a7f3b: Pull complete 20:42:35 170f2ba95c9a: Pull complete 20:42:40 97ac5df62f85: Pull complete 20:42:40 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 20:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:42:40 ---> 04bc70af865f 20:42:40 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:42:46 ---> Running in 896587afcc41 20:42:46 Removing intermediate container 896587afcc41 20:42:46 ---> 81e6304983c9 20:42:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:42:46 ---> Running in 6680159f0323 20:42:46 Removing intermediate container 6680159f0323 20:42:46 ---> 0a3523b8e85a 20:42:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:42:47 ---> Running in 33e6868963f2 20:42:47 Removing intermediate container 33e6868963f2 20:42:47 ---> c13ac18a8e72 20:42:47 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:42:48 ---> Running in 96e432e213d3 20:42:51 Removing intermediate container 96e432e213d3 20:42:51 ---> a0eb882b7623 20:42:51 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:51 ---> Running in 1f4e11ca3881 20:42:52 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:42:54 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:42:55 (1/3) Installing openssh-keygen (8.4_p1-r3) 20:42:56 (2/3) Installing libedit (20191231.3.1-r1) 20:42:56 (3/3) Installing openssh-client (8.4_p1-r3) 20:42:57 Executing busybox-1.32.1-r6.trigger 20:42:57 OK: 222 MiB in 55 packages 20:42:58 Removing intermediate container 1f4e11ca3881 20:42:58 ---> 519fd5a22bba 20:42:58 Step 8/10 : WORKDIR /device-rest-go 20:42:59 ---> Running in a49de92f008f 20:43:00 Removing intermediate container a49de92f008f 20:43:00 ---> bbdb9deedf9f 20:43:00 Step 9/10 : COPY . . 20:43:00 ---> 669c95c1eeec 20:43:00 Step 10/10 : RUN go mod download 20:43:01 ---> Running in 39ebc454ec3e 20:43:33 Removing intermediate container 39ebc454ec3e 20:43:33 ---> 86fbba0baea0 20:43:33 Successfully built 86fbba0baea0 20:43:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:43:34 + docker inspect -f . ci-base-image-arm64 20:43:34 . [Pipeline] withDockerContainer 20:43:34 prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container 20:43:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:43:35 $ docker top b19ed7002e981c2713568cf11358f839ecd9db7e30defe0ee502177bbe5919c3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:36 + go version 20:43:36 go version go1.16.6 linux/arm64 [Pipeline] } 20:43:36 $ docker stop --time=1 b19ed7002e981c2713568cf11358f839ecd9db7e30defe0ee502177bbe5919c3 20:43:38 $ docker rm -f b19ed7002e981c2713568cf11358f839ecd9db7e30defe0ee502177bbe5919c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:43:39 + docker inspect -f . ci-base-image-arm64 20:43:39 . [Pipeline] withDockerContainer 20:43:39 prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container 20:43:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:43:41 $ docker top 310ed610284936ff74daea8c23f8748e651404a70444282298e5545d3aca923d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:43:42 + go mod tidy [Pipeline] sh 20:43:44 + make test 20:43:44 go mod tidy 20:43:44 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:43:45 ? github.com/edgexfoundry/device-rest-go [no test files] 20:44:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:44:43 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 54.0% of statements 20:44:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:45:16 gofmt -l . 20:45:16 [ "`gofmt -l .`" = "" ] 20:45:16 ./bin/test-go-mod-tidy.sh 20:45:16 ./bin/test-attribution-txt.sh [Pipeline] } 20:45:17 $ docker stop --time=1 310ed610284936ff74daea8c23f8748e651404a70444282298e5545d3aca923d 20:45:19 $ docker rm -f 310ed610284936ff74daea8c23f8748e651404a70444282298e5545d3aca923d [Pipeline] // withDockerContainer [Pipeline] sh 20:45:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:45:20 Warning: overwriting stash ‘coverage-report’ 20:45:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:22 + ls -al . 20:45:22 total 148 20:45:22 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 20:45 . 20:45:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 20:42 .. 20:45:22 -rw-rw-r-- 1 jenkins jenkins 151 Aug 11 20:42 .dockerignore 20:45:22 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 20:42 .git 20:45:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:42 .github 20:45:22 -rw-rw-r-- 1 jenkins jenkins 336 Aug 11 20:42 .gitignore 20:45:22 -rw-rw-r-- 1 jenkins jenkins 6792 Aug 11 20:42 Attribution.txt 20:45:22 -rw-rw-r-- 1 jenkins jenkins 7459 Aug 11 20:42 CHANGELOG.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 1615 Aug 11 20:42 Dockerfile 20:45:22 -rw-rw-r-- 1 jenkins jenkins 1087 Aug 11 20:42 Dockerfile.build 20:45:22 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 20:42 GOVERNANCE.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 680 Aug 11 20:42 Jenkinsfile 20:45:22 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 20:42 LICENSE 20:45:22 -rw-rw-r-- 1 jenkins jenkins 996 Aug 11 20:42 Makefile 20:45:22 -rw-rw-r-- 1 jenkins jenkins 620 Aug 11 20:42 OWNERS.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 7661 Aug 11 20:42 README.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 11 Aug 11 20:33 VERSION 20:45:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:42 bin 20:45:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 20:42 cmd 20:45:22 -rw-r--r-- 1 jenkins jenkins 8513 Aug 11 20:44 coverage.out 20:45:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:42 driver 20:45:22 -rw-r--r-- 1 jenkins jenkins 271 Aug 11 20:45 go.mod 20:45:22 -rw-r--r-- 1 jenkins jenkins 20570 Aug 11 20:43 go.sum 20:45:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 20:42 snap 20:45:22 -rw-rw-r-- 1 jenkins jenkins 713 Aug 11 20:42 version.go [Pipeline] isUnix [Pipeline] sh 20:45:22 + 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=2fa5af78a65124eb3e46825fc0444c4be12292c1 --label arch=arm64 --label version=2.0.1-dev.3 . 20:45:22 Sending build context to Docker daemon 129kB 20:45:23 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:45:23 Step 2/25 : FROM ${BASE} AS builder 20:45:23 ---> 86fbba0baea0 20:45:23 Step 3/25 : ARG MAKE='make build' 20:45:23 ---> Running in 0b25f0f77b3a 20:45:23 Removing intermediate container 0b25f0f77b3a 20:45:23 ---> e9e80cdf46f3 20:45:23 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:45:24 ---> Running in a79bec8c42d2 20:45:24 Removing intermediate container a79bec8c42d2 20:45:24 ---> 42ad7d3e6229 20:45:24 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:45:24 ---> Running in 2bff9d464113 20:45:25 Removing intermediate container 2bff9d464113 20:45:25 ---> ccf1e01706e4 20:45:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:45:25 ---> Running in cee8e32bf27c 20:45:28 Removing intermediate container cee8e32bf27c 20:45:28 ---> 0eaa48295dfa 20:45:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:28 ---> Running in 37fc86aa9126 20:45:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:45:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:45:32 OK: 222 MiB in 55 packages 20:45:33 Removing intermediate container 37fc86aa9126 20:45:33 ---> e2c5c9e7437d 20:45:33 Step 8/25 : WORKDIR /device-rest-go 20:45:33 ---> Running in 28ddc5e20b5c 20:45:33 Removing intermediate container 28ddc5e20b5c 20:45:33 ---> eb5ff267167b 20:45:33 Step 9/25 : COPY . . 20:45:34 ---> 4c7f7a4754c1 20:45:34 Step 10/25 : RUN go mod tidy 20:45:35 ---> Running in 9f9ca35bc580 20:45:38 Removing intermediate container 9f9ca35bc580 20:45:38 ---> 0f04c4fb5a79 20:45:38 Step 11/25 : RUN make update 20:45:38 ---> Running in 7a704b5dd39e 20:45:40 CGO_ENABLED=0 GO111MODULE=on go mod download 20:45:41 Removing intermediate container 7a704b5dd39e 20:45:41 ---> f3e94e999007 20:45:41 Step 12/25 : RUN $MAKE 20:45:41 ---> Running in 6a856fe421d9 20:45:42 go mod tidy 20:45:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.3" -o cmd/device-rest ./cmd 20:46:22 Removing intermediate container 6a856fe421d9 20:46:22 ---> 5aac99d53be5 20:46:22 Step 13/25 : FROM alpine:3.12 20:46:22 3.12: Pulling from library/alpine 20:46:22 d2f70382dc9a: Pulling fs layer 20:46:22 d2f70382dc9a: Verifying Checksum 20:46:22 d2f70382dc9a: Download complete 20:46:23 d2f70382dc9a: Pull complete 20:46:23 Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb 20:46:23 Status: Downloaded newer image for alpine:3.12 20:46:23 ---> c4fd0aeabfcf 20:46:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:46:23 ---> Running in 5d2ac4c21e04 20:46:24 Removing intermediate container 5d2ac4c21e04 20:46:24 ---> 1a8a7ceae461 20:46:24 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:46:24 ---> Running in 6739f66f73ee 20:46:25 Removing intermediate container 6739f66f73ee 20:46:25 ---> 8c1aa19d1b05 20:46:25 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:46:25 ---> Running in b70bc1a424ca 20:46:27 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:46:27 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:46:28 (1/6) Installing dumb-init (1.2.2-r1) 20:46:28 (2/6) Installing libgcc (9.3.0-r2) 20:46:28 (3/6) Installing libsodium (1.0.18-r0) 20:46:28 (4/6) Installing libstdc++ (9.3.0-r2) 20:46:28 (5/6) Installing libzmq (4.3.3-r0) 20:46:28 (6/6) Installing zeromq (4.3.3-r0) 20:46:28 Executing busybox-1.31.1-r20.trigger 20:46:28 OK: 8 MiB in 20 packages 20:46:29 Removing intermediate container b70bc1a424ca 20:46:29 ---> 23e97f730267 20:46:29 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:46:30 ---> 3f8415429dbb 20:46:30 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:46:31 ---> fc9fa0abb6ea 20:46:31 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:46:32 ---> 268613be902b 20:46:32 Step 20/25 : EXPOSE 59986 20:46:32 ---> Running in 1d2757dba5ae 20:46:32 Removing intermediate container 1d2757dba5ae 20:46:32 ---> 10695c52bf6e 20:46:32 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:46:32 ---> Running in 53d4cae7c9f0 20:46:33 Removing intermediate container 53d4cae7c9f0 20:46:33 ---> 1c6febd114fb 20:46:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:46:33 ---> Running in d9b8fc64ff34 20:46:34 Removing intermediate container d9b8fc64ff34 20:46:34 ---> cf00cbc24b0f 20:46:34 Step 23/25 : LABEL arch=arm64 20:46:34 ---> Running in bb2688396886 20:46:34 Removing intermediate container bb2688396886 20:46:34 ---> 37c4ecd7d03d 20:46:34 Step 24/25 : LABEL git_sha=2fa5af78a65124eb3e46825fc0444c4be12292c1 20:46:35 ---> Running in ab49854c6d5b 20:46:35 Removing intermediate container ab49854c6d5b 20:46:35 ---> 3be2bb228cec 20:46:35 Step 25/25 : LABEL version=2.0.1-dev.3 20:46:35 ---> Running in 6668c598c3bb 20:46:36 Removing intermediate container 6668c598c3bb 20:46:36 ---> 68ee6b3b5c21 20:46:36 [Warning] One or more build-args [ARCH] were not consumed 20:46:36 Successfully built 68ee6b3b5c21 20:46:36 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:36 provisioning config files... 20:46:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config452529535402562276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:36 ---> docker-login.sh 20:46:36 nexus3.edgexfoundry.org:10001 20:46:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:37 Configure a credential helper to remove this warning. See 20:46:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:37 20:46:37 Login Succeeded 20:46:37 nexus3.edgexfoundry.org:10002 20:46:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:38 Configure a credential helper to remove this warning. See 20:46:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:38 20:46:38 Login Succeeded 20:46:38 nexus3.edgexfoundry.org:10003 20:46:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:38 Configure a credential helper to remove this warning. See 20:46:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:38 20:46:38 Login Succeeded 20:46:38 nexus3.edgexfoundry.org:10004 20:46:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:39 Configure a credential helper to remove this warning. See 20:46:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:39 20:46:39 Login Succeeded 20:46:39 docker.io 20:46:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:40 Configure a credential helper to remove this warning. See 20:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:40 20:46:40 Login Succeeded 20:46:40 ---> docker-login.sh ends [Pipeline] } 20:46:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:40 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:46:40 2fa5af78a65124eb3e46825fc0444c4be12292c1 20:46:40 latest 20:46:40 2.0.1-dev.3 20:46:40 2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 20:46:40 main 20:46:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:46:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] isUnix [Pipeline] sh 20:46:40 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1 20:46:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:46:40 296894aa1df9: Preparing 20:46:40 9e21735e873d: Preparing 20:46:40 5245f8c3a8cc: Preparing 20:46:40 20201bda9397: Preparing 20:46:40 3fbe34a1663b: Preparing 20:46:41 3fbe34a1663b: Layer already exists 20:46:41 296894aa1df9: Pushed 20:46:41 9e21735e873d: Pushed 20:46:42 20201bda9397: Pushed 20:46:44 5245f8c3a8cc: Pushed 20:46:44 2fa5af78a65124eb3e46825fc0444c4be12292c1: digest: sha256:59262f721234de26f1e7ccfb03f7e4ac77e0be90e708ac3e73d9033ebd4f34d8 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:46:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:46:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:46:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:46:45 296894aa1df9: Preparing 20:46:45 9e21735e873d: Preparing 20:46:45 5245f8c3a8cc: Preparing 20:46:45 20201bda9397: Preparing 20:46:45 3fbe34a1663b: Preparing 20:46:45 296894aa1df9: Layer already exists 20:46:45 9e21735e873d: Layer already exists 20:46:45 3fbe34a1663b: Layer already exists 20:46:45 5245f8c3a8cc: Layer already exists 20:46:45 20201bda9397: Layer already exists 20:46:45 latest: digest: sha256:59262f721234de26f1e7ccfb03f7e4ac77e0be90e708ac3e73d9033ebd4f34d8 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:46:45 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 20:46:46 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.3 20:46:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:46:46 296894aa1df9: Preparing 20:46:46 9e21735e873d: Preparing 20:46:46 5245f8c3a8cc: Preparing 20:46:46 20201bda9397: Preparing 20:46:46 3fbe34a1663b: Preparing 20:46:46 3fbe34a1663b: Layer already exists 20:46:46 296894aa1df9: Layer already exists 20:46:46 9e21735e873d: Layer already exists 20:46:46 20201bda9397: Layer already exists 20:46:46 5245f8c3a8cc: Layer already exists 20:46:46 2.0.1-dev.3: digest: sha256:59262f721234de26f1e7ccfb03f7e4ac77e0be90e708ac3e73d9033ebd4f34d8 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:46:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 20:46:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 20:46:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:46:47 296894aa1df9: Preparing 20:46:47 9e21735e873d: Preparing 20:46:47 5245f8c3a8cc: Preparing 20:46:47 20201bda9397: Preparing 20:46:47 3fbe34a1663b: Preparing 20:46:47 9e21735e873d: Layer already exists 20:46:47 20201bda9397: Layer already exists 20:46:47 296894aa1df9: Layer already exists 20:46:47 3fbe34a1663b: Layer already exists 20:46:47 5245f8c3a8cc: Layer already exists 20:46:47 2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3: digest: sha256:59262f721234de26f1e7ccfb03f7e4ac77e0be90e708ac3e73d9033ebd4f34d8 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:46:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 20:46:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:46:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:46:47 296894aa1df9: Preparing 20:46:47 9e21735e873d: Preparing 20:46:47 5245f8c3a8cc: Preparing 20:46:47 20201bda9397: Preparing 20:46:47 3fbe34a1663b: Preparing 20:46:48 296894aa1df9: Layer already exists 20:46:48 9e21735e873d: Layer already exists 20:46:48 3fbe34a1663b: Layer already exists 20:46:48 20201bda9397: Layer already exists 20:46:48 5245f8c3a8cc: Layer already exists 20:46:48 main: digest: sha256:59262f721234de26f1e7ccfb03f7e4ac77e0be90e708ac3e73d9033ebd4f34d8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:48 ===================================================== [Pipeline] echo 20:46:48 taggedImages: 20:46:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1 20:46:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:46:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.3 20:46:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2fa5af78a65124eb3e46825fc0444c4be12292c1-2.0.1-dev.3 20:46:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:46:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:49 20:46:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:46:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:49 arm64: Pulling from edgex-lftools-log-publisher 20:46:49 448f6bf000e3: Pulling fs layer 20:46:49 f757da607395: Pulling fs layer 20:46:49 05883995daec: Pulling fs layer 20:46:49 8603b9c90790: Pulling fs layer 20:46:49 1560dd03e051: Pulling fs layer 20:46:49 27f5ce0e4adf: Pulling fs layer 20:46:49 c2d8d7efcc4b: Pulling fs layer 20:46:49 8603b9c90790: Waiting 20:46:49 1560dd03e051: Waiting 20:46:49 c2d8d7efcc4b: Waiting 20:46:49 27f5ce0e4adf: Waiting 20:46:49 f757da607395: Verifying Checksum 20:46:49 f757da607395: Download complete 20:46:49 8603b9c90790: Download complete 20:46:50 1560dd03e051: Verifying Checksum 20:46:50 1560dd03e051: Download complete 20:46:50 27f5ce0e4adf: Verifying Checksum 20:46:50 27f5ce0e4adf: Download complete 20:46:50 05883995daec: Verifying Checksum 20:46:50 05883995daec: Download complete 20:46:51 448f6bf000e3: Verifying Checksum 20:46:51 448f6bf000e3: Download complete 20:46:55 c2d8d7efcc4b: Verifying Checksum 20:46:55 c2d8d7efcc4b: Download complete 20:46:55 448f6bf000e3: Pull complete 20:46:56 f757da607395: Pull complete 20:46:57 05883995daec: Pull complete 20:46:58 8603b9c90790: Pull complete 20:46:59 1560dd03e051: Pull complete 20:46:59 27f5ce0e4adf: Pull complete 20:47:14 c2d8d7efcc4b: Pull complete 20:47:14 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:47:14 prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container 20:47:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:47:20 $ docker top 82bc039464825a730c69efd1c68e40290b55c36c82405380c26b27bb9cff0dd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:21 ---> job-cost.sh 20:47:21 lf-activate-venv: SKIPPING 20:47:21 INFO: No Stack... 20:47:22 INFO: Retrieving Pricing Info for: v2-standard-4 20:47:23 INFO: Archiving Costs [Pipeline] sh 20:47:24 + cat /w/workspace/device-rest-go/4/archives/cost.csv 20:47:24 + cut -d, -f6 [Pipeline] lock 20:47:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] 20:47:24 Resource [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] did not exist. Created. 20:47:24 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:47:24 /w/workspace/device-rest-go/4@tmp/durable-2ed83019/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-2ed83019/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:47:25 + echo total: 0.18000000715255737 [Pipeline] stash 20:47:25 Warning: overwriting stash ‘stack-cost’ 20:47:25 Stashed 1 file(s) [Pipeline] } 20:47:25 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:47:25 $ docker stop --time=1 82bc039464825a730c69efd1c68e40290b55c36c82405380c26b27bb9cff0dd4 20:47:27 $ docker rm -f 82bc039464825a730c69efd1c68e40290b55c36c82405380c26b27bb9cff0dd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:47:28 provisioning config files... 20:47:28 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7715651885340405339tmp [Pipeline] { [Pipeline] sh 20:47:28 + set +x 20:47:28 + curl -s https://codecov.io/bash 20:47:28 + bash -s -- 20:47:28 20:47:28 _____ _ 20:47:28 / ____| | | 20:47:28 | | ___ __| | ___ ___ _____ __ 20:47:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:47:28 | |___| (_) | (_| | __/ (_| (_) \ V / 20:47:28 \_____\___/ \__,_|\___|\___\___/ \_/ 20:47:28 Bash-1.0.6 20:47:28 20:47:28 20:47:28 ==> git version 2.24.4 found 20:47:28 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:47:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:47:28 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:47:28 ==> Jenkins CI detected. 20:47:28 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:47:28 project root: . 20:47:28 --> token set from env 20:47:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:47:28 ==> Running gcov in . (disable via -X gcov) 20:47:28 ==> Python coveragepy not found 20:47:28 ==> Searching for coverage reports in: 20:47:28 + . 20:47:28 -> Found 1 reports 20:47:28 ==> Detecting git/mercurial file structure 20:47:28 ==> Reading reports 20:47:28 + ./coverage.out bytes=8513 20:47:28 ==> Appending adjustments 20:47:28 https://docs.codecov.io/docs/fixing-reports 20:47:28 + Found adjustments 20:47:28 ==> Gzipping contents 20:47:28 4.0K /tmp/codecov.I6dqdx.gz 20:47:28 ==> Uploading reports 20:47:28 url: https://codecov.io 20:47:28 query: branch=main&commit=2fa5af78a65124eb3e46825fc0444c4be12292c1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:47:28 -> Pinging Codecov 20:47:28 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=2fa5af78a65124eb3e46825fc0444c4be12292c1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:47:29 -> Uploading to 20:47:29 https://storage.googleapis.com/codecov/v4/raw/2021-08-11/4E5D53B4F1F92C436F7061BF334D961C/2fa5af78a65124eb3e46825fc0444c4be12292c1/192fcf6e-49ab-40d6-910b-6d5af2b48e8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210811T204729Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83e256da91d674fa5b8c93d990cf731a95256071e47ef6a560a6c528ea6c1138 20:47:29 % Total % Received % Xferd Average Speed Time Time Time Current 20:47:29 Dload Upload Total Spent Left Speed 20:47:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1759 0 0 100 1759 0 4803 --:--:-- --:--:-- --:--:-- 4792 100 1759 0 0 100 1759 0 4802 --:--:-- --:--:-- --:--:-- 4792 20:47:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] } 20:47:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:47:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:47:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:47:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:47:30 20:47:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:47:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:47:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:47:30 188c0c94c7c5: Pulling fs layer 20:47:30 0ef7d3d256c8: Pulling fs layer 20:47:30 de9db76c5a1d: Pulling fs layer 20:47:30 0eba1c9be4d2: Pulling fs layer 20:47:30 0d57e429df01: Pulling fs layer 20:47:30 4e4be7b47b0d: Pulling fs layer 20:47:30 e1f770b5df2f: Pulling fs layer 20:47:30 85a0685a4137: Pulling fs layer 20:47:30 0d57e429df01: Waiting 20:47:30 4e4be7b47b0d: Waiting 20:47:30 e1f770b5df2f: Waiting 20:47:30 85a0685a4137: Waiting 20:47:30 0eba1c9be4d2: Waiting 20:47:30 de9db76c5a1d: Verifying Checksum 20:47:30 de9db76c5a1d: Download complete 20:47:30 0ef7d3d256c8: Verifying Checksum 20:47:30 0ef7d3d256c8: Download complete 20:47:30 0d57e429df01: Verifying Checksum 20:47:30 0d57e429df01: Download complete 20:47:30 4e4be7b47b0d: Verifying Checksum 20:47:30 4e4be7b47b0d: Download complete 20:47:31 188c0c94c7c5: Verifying Checksum 20:47:31 188c0c94c7c5: Download complete 20:47:31 188c0c94c7c5: Pull complete 20:47:31 0ef7d3d256c8: Pull complete 20:47:31 de9db76c5a1d: Pull complete 20:47:32 e1f770b5df2f: Verifying Checksum 20:47:32 e1f770b5df2f: Download complete 20:47:35 0eba1c9be4d2: Verifying Checksum 20:47:35 0eba1c9be4d2: Download complete 20:47:36 85a0685a4137: Verifying Checksum 20:47:36 85a0685a4137: Download complete 20:47:38 0eba1c9be4d2: Pull complete 20:47:38 0d57e429df01: Pull complete 20:47:38 4e4be7b47b0d: Pull complete 20:47:39 e1f770b5df2f: Pull complete 20:47:42 85a0685a4137: Pull complete 20:47:42 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:47:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:47:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:47:42 prd-centos7-docker-4c-2g-448 does not seem to be running inside a container 20:47:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:47:45 $ docker top 92e8e8698d9e46a2682f9bf9b58a11a1c4cca8d541c9d70b7ce9ac896d7fc69a -eo pid,comm [Pipeline] { [Pipeline] echo 20:47:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:47:45 + set -o pipefail 20:47:45 + snyk monitor '--org=edgex-jenkins' 20:47:50 20:47:50 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:47:50 20:47:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/be458c97-6018-464d-a51c-6292d23d1bb5 20:47:50 20:47:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:47:50 20:47:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:47:50 20:47:50 20:47:50 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 20:47:50 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 20:47:50 $ docker stop --time=1 92e8e8698d9e46a2682f9bf9b58a11a1c4cca8d541c9d70b7ce9ac896d7fc69a 20:47:52 $ docker rm -f 92e8e8698d9e46a2682f9bf9b58a11a1c4cca8d541c9d70b7ce9ac896d7fc69a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:47:53 + git log --format=format:%s -1 2fa5af78a65124eb3e46825fc0444c4be12292c1 [Pipeline] isUnix [Pipeline] sh 20:47:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:47:54 . [Pipeline] withDockerContainer 20:47:54 prd-centos7-docker-4c-2g-448 does not seem to be running inside a container 20:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:47:54 $ docker top 61ea4c152ce1cc603092680347fb3cbeced95f0e3386bacf608c8b9f4cb3f759 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:47:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:47:54 [ssh-agent] Looking for ssh-agent implementation... 20:47:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:47:54 $ docker exec 61ea4c152ce1cc603092680347fb3cbeced95f0e3386bacf608c8b9f4cb3f759 ssh-agent 20:47:55 SSH_AUTH_SOCK=/tmp/ssh-PesKbjIwy1cs/agent.14 20:47:55 SSH_AGENT_PID=20 20:47:55 Running ssh-add (command line suppressed) 20:47:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2622503888368915549.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2622503888368915549.key) 20:47:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:47:55 + git semver tag 20:47:55 # -> Open(): unable to determine branch for HEAD 20:47:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:47:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:47:55 # $SEMVER_REMOTE_NAME = origin 20:47:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:47:55 # $SEMVER_USER_NAME = edgex-jenkins 20:47:55 # $SEMVER_BRANCH = main 20:47:55 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:47:55 # 2fa5af78a65124eb3e46825fc0444c4be12292c1 HEAD 20:47:55 # -> Force: false 20:47:55 # 8aaea23a5c3340a4d8b2abdb7771c6fb7c0ddd02 refs/tags/v2.0.1-dev.3 [Pipeline] } 20:47:55 $ docker exec --env ******** --env ******** 61ea4c152ce1cc603092680347fb3cbeced95f0e3386bacf608c8b9f4cb3f759 ssh-agent -k 20:47:55 unset SSH_AUTH_SOCK; 20:47:55 unset SSH_AGENT_PID; 20:47:55 echo Agent pid 20 killed; 20:47:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:47:55 + git semver [Pipeline] } 20:47:55 $ docker stop --time=1 61ea4c152ce1cc603092680347fb3cbeced95f0e3386bacf608c8b9f4cb3f759 20:47:57 $ docker rm -f 61ea4c152ce1cc603092680347fb3cbeced95f0e3386bacf608c8b9f4cb3f759 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:47:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:47:57 20:47:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:47:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:47:57 0.23.1-centos7: Pulling from edgex-lftools 20:47:57 ab5ef0e58194: Pulling fs layer 20:47:57 9712f1f96733: Pulling fs layer 20:47:57 63f879dbbcfc: Pulling fs layer 20:47:57 0d9ebad4ef96: Pulling fs layer 20:47:57 e9a5061849ea: Pulling fs layer 20:47:57 d747dcd14b5f: Pulling fs layer 20:47:57 2de7ff778b66: Pulling fs layer 20:47:57 0d9ebad4ef96: Waiting 20:47:57 e9a5061849ea: Waiting 20:47:57 d747dcd14b5f: Waiting 20:47:57 2de7ff778b66: Waiting 20:47:57 9712f1f96733: Verifying Checksum 20:47:57 9712f1f96733: Download complete 20:48:00 63f879dbbcfc: Verifying Checksum 20:48:00 63f879dbbcfc: Download complete 20:48:00 e9a5061849ea: Verifying Checksum 20:48:00 e9a5061849ea: Download complete 20:48:00 d747dcd14b5f: Verifying Checksum 20:48:00 d747dcd14b5f: Download complete 20:48:01 0d9ebad4ef96: Verifying Checksum 20:48:01 0d9ebad4ef96: Download complete 20:48:01 2de7ff778b66: Verifying Checksum 20:48:01 2de7ff778b66: Download complete 20:48:02 ab5ef0e58194: Verifying Checksum 20:48:02 ab5ef0e58194: Download complete 20:48:04 ab5ef0e58194: Pull complete 20:48:04 9712f1f96733: Pull complete 20:48:05 63f879dbbcfc: Pull complete 20:48:08 0d9ebad4ef96: Pull complete 20:48:08 e9a5061849ea: Pull complete 20:48:08 d747dcd14b5f: Pull complete 20:48:09 2de7ff778b66: Pull complete 20:48:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:48:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:48:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:48:09 prd-centos7-docker-4c-2g-448 does not seem to be running inside a container 20:48:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:48:12 $ docker top 6d074dae7e7aba604fd1f29b72d3911063572b1497c5fef8e03e271ba3d5ffc2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:48:13 provisioning config files... 20:48:13 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4359239593483921366tmp 20:48:13 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4752246882062508593tmp 20:48:13 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7640571927711035488tmp [Pipeline] { [Pipeline] echo 20:48:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:48:13 ---> sigul-configuration.sh 20:48:13 gpg: directory `/root/.gnupg' created 20:48:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:48:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:48:13 gpg: keyring `/root/.gnupg/secring.gpg' created 20:48:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:48:13 gpg: CAST5 encrypted data 20:48:13 gpg: encrypted with 1 passphrase 20:48:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:48:13 + mkdir /home/jenkins 20:48:13 + mkdir /home/jenkins/sigul [Pipeline] sh 20:48:14 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:48:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:48:14 ---> sigul-install.sh 20:48:14 Sigul already installed; skipping installation. [Pipeline] sh 20:48:14 + git tag --list 20:48:14 v1.0.0 20:48:14 v1.1.0 20:48:14 v1.1.1 20:48:14 v1.1.2 20:48:14 v1.2.0 20:48:14 v1.2.1 20:48:14 v2.0.0 20:48:14 v2.0.1-dev.1 20:48:14 v2.0.1-dev.2 20:48:14 v2.0.1-dev.3 [Pipeline] sh 20:48:15 + lftools sign git-tag v2.0.1-dev.3 20:48:15 Signing Git tag with Sigul... 20:48:15 Signing v2.0.1-dev.3 [Pipeline] echo 20:48:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:48:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:48:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:48:16 $ docker stop --time=1 6d074dae7e7aba604fd1f29b72d3911063572b1497c5fef8e03e271ba3d5ffc2 20:48:17 $ docker rm -f 6d074dae7e7aba604fd1f29b72d3911063572b1497c5fef8e03e271ba3d5ffc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:48:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:48:18 . [Pipeline] withDockerContainer 20:48:18 prd-centos7-docker-4c-2g-448 does not seem to be running inside a container 20:48:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:48:19 $ docker top e33848ba0c1bb2e5a6c1f887729971d7d4af473a4d20a31807cdb9fbaf37cc1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:48:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:48:19 [ssh-agent] Looking for ssh-agent implementation... 20:48:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:48:19 $ docker exec e33848ba0c1bb2e5a6c1f887729971d7d4af473a4d20a31807cdb9fbaf37cc1b ssh-agent 20:48:19 SSH_AUTH_SOCK=/tmp/ssh-zsuoCZ45LdmD/agent.15 20:48:19 SSH_AGENT_PID=22 20:48:19 Running ssh-add (command line suppressed) 20:48:19 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5880070333395601735.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5880070333395601735.key) 20:48:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:48:19 + git semver bump pre 20:48:19 # -> Open(): unable to determine branch for HEAD 20:48:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:48:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:48:19 # $SEMVER_REMOTE_NAME = origin 20:48:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:48:19 # $SEMVER_USER_NAME = edgex-jenkins 20:48:19 # $SEMVER_BRANCH = main 20:48:19 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:48:19 2.0.1-dev.4 [Pipeline] } 20:48:19 $ docker exec --env ******** --env ******** e33848ba0c1bb2e5a6c1f887729971d7d4af473a4d20a31807cdb9fbaf37cc1b ssh-agent -k 20:48:19 unset SSH_AUTH_SOCK; 20:48:19 unset SSH_AGENT_PID; 20:48:19 echo Agent pid 22 killed; 20:48:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:48:20 + git semver [Pipeline] } 20:48:20 $ docker stop --time=1 e33848ba0c1bb2e5a6c1f887729971d7d4af473a4d20a31807cdb9fbaf37cc1b 20:48:21 $ docker rm -f e33848ba0c1bb2e5a6c1f887729971d7d4af473a4d20a31807cdb9fbaf37cc1b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:48:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:48:21 . [Pipeline] withDockerContainer 20:48:22 prd-centos7-docker-4c-2g-448 does not seem to be running inside a container 20:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:48:23 $ docker top 1e57248953be34078304c73229db071a4f5248ef7829c14fc6b12234df770fb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:48:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:48:23 [ssh-agent] Looking for ssh-agent implementation... 20:48:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:48:23 $ docker exec 1e57248953be34078304c73229db071a4f5248ef7829c14fc6b12234df770fb5 ssh-agent 20:48:23 SSH_AUTH_SOCK=/tmp/ssh-HHUvFGaT0RrO/agent.13 20:48:23 SSH_AGENT_PID=19 20:48:23 Running ssh-add (command line suppressed) 20:48:23 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2371004376269564505.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2371004376269564505.key) 20:48:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:48:23 + git semver push 20:48:23 # -> Open(): unable to determine branch for HEAD 20:48:23 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 20:48:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 20:48:23 # $SEMVER_REMOTE_NAME = origin 20:48:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:48:23 # $SEMVER_USER_NAME = edgex-jenkins 20:48:23 # $SEMVER_BRANCH = main 20:48:23 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 20:48:25 $ docker exec --env ******** --env ******** 1e57248953be34078304c73229db071a4f5248ef7829c14fc6b12234df770fb5 ssh-agent -k 20:48:25 unset SSH_AUTH_SOCK; 20:48:25 unset SSH_AGENT_PID; 20:48:25 echo Agent pid 19 killed; 20:48:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:48:25 + git semver [Pipeline] } 20:48:25 $ docker stop --time=1 1e57248953be34078304c73229db071a4f5248ef7829c14fc6b12234df770fb5 20:48:27 $ docker rm -f 1e57248953be34078304c73229db071a4f5248ef7829c14fc6b12234df770fb5 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:48:27 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 20:48:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:48:28 ---> package-listing.sh 20:48:28 ++ facter osfamily 20:48:28 ++ tr '[:upper:]' '[:lower:]' 20:48:29 + OS_FAMILY=redhat 20:48:29 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:48:29 + START_PACKAGES=/tmp/packages_start.txt 20:48:29 + END_PACKAGES=/tmp/packages_end.txt 20:48:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:48:29 + PACKAGES=/tmp/packages_start.txt 20:48:29 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:48:29 + PACKAGES=/tmp/packages_end.txt 20:48:29 + case "${OS_FAMILY}" in 20:48:29 + sort 20:48:29 + rpm -qa 20:48:30 + '[' -f /tmp/packages_start.txt ']' 20:48:30 + '[' -f /tmp/packages_end.txt ']' 20:48:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:48:30 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:48:30 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:48:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:48:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:48:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:48:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:30 20:48:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:48:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:31 latest: Pulling from edgex-lftools-log-publisher 20:48:31 b4d181a07f80: Pulling fs layer 20:48:31 a1111a8f2ec3: Pulling fs layer 20:48:31 ed53099fbce6: Pulling fs layer 20:48:31 dc539afda2c1: Pulling fs layer 20:48:31 77bc0d833cb6: Pulling fs layer 20:48:31 9065ff56babe: Pulling fs layer 20:48:31 d287ab97295c: Pulling fs layer 20:48:31 dc539afda2c1: Waiting 20:48:31 77bc0d833cb6: Waiting 20:48:31 9065ff56babe: Waiting 20:48:31 d287ab97295c: Waiting 20:48:31 a1111a8f2ec3: Download complete 20:48:31 dc539afda2c1: Verifying Checksum 20:48:31 dc539afda2c1: Download complete 20:48:31 77bc0d833cb6: Verifying Checksum 20:48:31 77bc0d833cb6: Download complete 20:48:31 9065ff56babe: Verifying Checksum 20:48:31 9065ff56babe: Download complete 20:48:32 ed53099fbce6: Verifying Checksum 20:48:32 ed53099fbce6: Download complete 20:48:33 b4d181a07f80: Verifying Checksum 20:48:33 b4d181a07f80: Download complete 20:48:34 b4d181a07f80: Pull complete 20:48:34 a1111a8f2ec3: Pull complete 20:48:35 ed53099fbce6: Pull complete 20:48:35 dc539afda2c1: Pull complete 20:48:35 77bc0d833cb6: Pull complete 20:48:35 9065ff56babe: Pull complete 20:48:37 d287ab97295c: Verifying Checksum 20:48:37 d287ab97295c: Download complete 20:48:41 d287ab97295c: Pull complete 20:48:41 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:48:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:48:41 prd-centos7-docker-4c-2g-448 does not seem to be running inside a container 20:48:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:48:44 $ docker top c388de081ed26bd17c2ab134723055b47c4e0e2713215fe564bcd0ec229aba40 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:44 + touch /tmp/pre-build-complete [Pipeline] sh 20:48:44 + mkdir -p /var/log/sysstat [Pipeline] sh 20:48:45 + ls /var/log/sa-host 20:48:45 + sadf -c /var/log/sa-host/sa05 20:48:45 file_magic: OK 20:48:45 HZ: Using current value: 100 20:48:45 file_header: OK 20:48:45 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:48:45 Statistics: 20:48:45 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:48:45 File successfully converted to sysstat format version 12.0.3 20:48:45 + sadf -c /var/log/sa-host/sa11 20:48:45 file_magic: OK 20:48:45 HZ: Using current value: 100 20:48:45 file_header: OK 20:48:45 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:48:45 Statistics: 20:48:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:48:45 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:45 provisioning config files... 20:48:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6542654319031599218tmp [Pipeline] { [Pipeline] echo 20:48:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:48:45 ---> create-netrc.sh [Pipeline] } 20:48:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:48:46 ---> python-tools-install.sh [Pipeline] echo 20:48:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:48:46 ---> sudo-logs.sh 20:48:46 Archiving 'sudo' log.. 20:48:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-448.vexxhost.local: Name or service not known 20:48:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-448.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 20:48:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:48:46 ---> job-cost.sh 20:48:46 lf-activate-venv: SKIPPING 20:48:46 DEBUG: total: 0.18000000715255737 20:48:46 INFO: Retrieving Stack Cost... 20:48:47 INFO: Retrieving Pricing Info for: v3-standard-2 20:48:48 INFO: Archiving Costs [Pipeline] echo 20:48:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:48:48 ---> logs-deploy.sh 20:48:48 lf-activate-venv: SKIPPING 20:48:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/4 20:48:48 INFO: archiving workspace using pattern(s): 20:48:49 Archives upload complete. 20:48:49 INFO: archiving logs to Nexus 20:48:50 ---> uname -a: 20:48:50 Linux prd-centos7-docker-4c-2g-448.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 20:48:50 20:48:50 20:48:50 ---> lscpu: 20:48:50 Architecture: x86_64 20:48:50 CPU op-mode(s): 32-bit, 64-bit 20:48:50 Byte Order: Little Endian 20:48:50 Address sizes: 40 bits physical, 48 bits virtual 20:48:50 CPU(s): 2 20:48:50 On-line CPU(s) list: 0,1 20:48:50 Thread(s) per core: 1 20:48:50 Core(s) per socket: 1 20:48:50 Socket(s): 2 20:48:50 NUMA node(s): 1 20:48:50 Vendor ID: AuthenticAMD 20:48:50 CPU family: 23 20:48:50 Model: 49 20:48:50 Model name: AMD EPYC-Rome Processor 20:48:50 Stepping: 0 20:48:50 CPU MHz: 2799.996 20:48:50 BogoMIPS: 5599.99 20:48:50 Virtualization: AMD-V 20:48:50 Hypervisor vendor: KVM 20:48:50 Virtualization type: full 20:48:50 L1d cache: 32K 20:48:50 L1i cache: 32K 20:48:50 L2 cache: 512K 20:48:50 L3 cache: 16384K 20:48:50 NUMA node0 CPU(s): 0,1 20:48:50 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 20:48:50 20:48:50 20:48:50 ---> nproc: 20:48:50 2 20:48:50 20:48:50 20:48:50 ---> df -h: 20:48:50 Filesystem Size Used Avail Use% Mounted on 20:48:50 overlay 40G 8.7G 32G 22% / 20:48:50 tmpfs 64M 0 64M 0% /dev 20:48:50 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 20:48:50 shm 64M 0 64M 0% /dev/shm 20:48:50 /dev/vda1 40G 8.7G 32G 22% /facter-os 20:48:50 20:48:50 20:48:50 ---> sar -b -r -n DEV: 20:48:50 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/11/21 _x86_64_ (2 CPU) 20:48:50 20:48:50 20:32:43 LINUX RESTART (2 CPU) 20:48:50 20:48:50 20:33:01 tps rtps wtps bread/s bwrtn/s 20:48:50 20:34:01 157.04 29.99 127.06 6106.03 40301.80 20:48:50 20:35:01 1.87 0.00 1.87 0.00 34.42 20:48:50 20:36:01 0.27 0.00 0.27 0.00 3.60 20:48:50 20:37:01 0.23 0.00 0.23 0.00 2.43 20:48:50 20:38:01 0.22 0.00 0.22 0.00 2.13 20:48:50 20:39:01 0.35 0.00 0.35 0.00 4.72 20:48:50 20:40:01 0.23 0.00 0.23 0.00 2.85 20:48:50 20:41:01 0.27 0.00 0.27 0.00 3.65 20:48:50 20:42:01 0.27 0.00 0.27 0.00 3.12 20:48:50 20:43:01 0.13 0.00 0.13 0.00 2.02 20:48:50 20:44:01 0.28 0.00 0.28 0.00 3.33 20:48:50 20:45:01 0.23 0.00 0.23 0.00 2.88 20:48:50 20:46:01 0.27 0.00 0.27 0.00 3.61 20:48:50 20:47:02 0.22 0.00 0.22 0.00 2.83 20:48:50 20:48:01 115.11 0.19 114.92 8.67 34562.96 20:48:50 Average: 18.36 2.01 16.35 408.28 4964.39 20:48:50 20:48:50 20:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:48:50 20:34:01 5453392 0 805004 10.05 2620 1747916 1292780 14.27 586216 1570084 136 20:48:50 20:35:01 5462332 0 796056 9.94 2620 1747924 1224488 13.52 579028 1570048 12 20:48:50 20:36:01 5462136 0 796252 9.94 2620 1747924 1224500 13.52 582184 1566960 8 20:48:50 20:37:01 5462784 0 795596 9.93 2620 1747932 1207012 13.33 581916 1566960 16 20:48:50 20:38:01 5463072 0 795304 9.93 2620 1747936 1207012 13.33 576468 1572528 8 20:48:50 20:39:01 5462140 0 796232 9.94 2620 1747940 1207108 13.33 576896 1572528 8 20:48:50 20:40:01 5462716 0 795652 9.93 2620 1747944 1207012 13.33 576480 1572528 8 20:48:50 20:41:01 5451256 0 807104 10.08 2620 1747952 1207216 13.33 587704 1572528 8 20:48:50 20:42:01 5450440 0 807916 10.09 2620 1747956 1207364 13.33 588736 1572528 20 20:48:50 20:43:01 5450560 0 807792 10.09 2620 1747960 1207328 13.33 590468 1570680 12 20:48:50 20:44:01 5450660 0 807688 10.08 2620 1747964 1207376 13.33 590716 1570680 20 20:48:50 20:45:01 5452012 0 806332 10.07 2620 1747968 1207076 13.33 596204 1563448 12 20:48:50 20:46:01 5452400 0 805936 10.06 2620 1747976 1207076 13.33 596176 1563448 16 20:48:50 20:47:02 5452728 0 805608 10.06 2620 1747976 1207076 13.33 596160 1563448 8 20:48:50 20:48:01 4394832 0 980248 12.24 2620 2631232 1409396 15.56 833020 2292252 165324 20:48:50 Average: 5385564 0 813915 10.16 2620 1806833 1228655 13.57 602558 1617377 11041 20:48:50 20:48:50 20:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:48:50 20:34:01 eth0 514.60 344.92 1254.35 82.28 0.00 0.00 0.00 0.00 20:48:50 20:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:34:01 docker0 38.84 34.17 3.87 133.63 0.00 0.00 0.00 0.00 20:48:50 20:35:01 eth0 0.85 0.43 0.49 0.24 0.00 0.00 0.00 0.00 20:48:50 20:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:36:01 eth0 0.63 0.32 0.28 0.20 0.00 0.00 0.00 0.00 20:48:50 20:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:37:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:48:50 20:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:38:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:48:50 20:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:39:01 eth0 0.32 0.23 0.14 0.07 0.00 0.00 0.00 0.00 20:48:50 20:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:40:01 eth0 1.20 0.08 0.12 0.01 0.00 0.00 0.00 0.00 20:48:50 20:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:41:01 eth0 3.70 0.58 0.77 0.40 0.00 0.00 0.00 0.00 20:48:50 20:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:42:01 eth0 1.80 0.57 0.59 0.36 0.00 0.00 0.00 0.00 20:48:50 20:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:43:01 eth0 1.63 0.28 0.38 0.23 0.00 0.00 0.00 0.00 20:48:50 20:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:44:01 eth0 1.10 0.62 0.67 0.43 0.00 0.00 0.00 0.00 20:48:50 20:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:45:01 eth0 0.13 0.08 0.01 0.04 0.00 0.00 0.00 0.00 20:48:50 20:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:46:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:48:50 20:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:47:02 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:48:50 20:47:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:47:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:48:01 eth0 1143.33 801.07 7415.44 69.28 0.00 0.00 0.00 0.00 20:48:50 20:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 20:48:01 docker0 82.76 106.08 6.37 394.75 0.00 0.00 0.00 0.00 20:48:50 Average: eth0 110.20 75.85 570.72 10.18 0.00 0.00 0.00 0.00 20:48:50 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:48:50 Average: docker0 8.03 9.24 0.68 34.83 0.00 0.00 0.00 0.00 20:48:50 20:48:50 20:48:50 ---> sar -P ALL: 20:48:50 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/11/21 _x86_64_ (2 CPU) 20:48:50 20:48:50 20:32:43 LINUX RESTART (2 CPU) 20:48:50 20:48:50 20:33:01 CPU %user %nice %system %iowait %steal %idle 20:48:50 20:34:01 all 17.95 0.00 6.35 5.01 0.05 70.63 20:48:50 20:34:01 0 17.79 0.00 7.30 6.38 0.05 68.48 20:48:50 20:34:01 1 18.12 0.00 5.40 3.64 0.05 72.79 20:48:50 20:35:01 all 0.17 0.00 0.06 0.00 0.02 99.76 20:48:50 20:35:01 0 0.18 0.00 0.07 0.00 0.02 99.73 20:48:50 20:35:01 1 0.15 0.00 0.05 0.00 0.02 99.78 20:48:50 20:36:01 all 0.15 0.00 0.04 0.00 0.03 99.78 20:48:50 20:36:01 0 0.05 0.00 0.05 0.00 0.03 99.87 20:48:50 20:36:01 1 0.25 0.00 0.03 0.00 0.02 99.70 20:48:50 20:37:01 all 0.15 0.00 0.05 0.00 0.03 99.77 20:48:50 20:37:01 0 0.05 0.00 0.05 0.00 0.02 99.88 20:48:50 20:37:01 1 0.25 0.00 0.05 0.00 0.03 99.67 20:48:50 20:38:01 all 0.17 0.00 0.03 0.01 0.02 99.78 20:48:50 20:38:01 0 0.05 0.00 0.02 0.02 0.02 99.90 20:48:50 20:38:01 1 0.28 0.00 0.03 0.00 0.02 99.67 20:48:50 20:39:01 all 0.19 0.00 0.05 0.00 0.02 99.74 20:48:50 20:39:01 0 0.05 0.00 0.07 0.00 0.02 99.87 20:48:50 20:39:01 1 0.33 0.00 0.03 0.00 0.02 99.62 20:48:50 20:40:01 all 0.13 0.00 0.04 0.00 0.02 99.81 20:48:50 20:40:01 0 0.07 0.00 0.05 0.00 0.03 99.85 20:48:50 20:40:01 1 0.20 0.00 0.03 0.00 0.00 99.77 20:48:50 20:41:01 all 0.19 0.00 0.07 0.00 0.02 99.72 20:48:50 20:41:01 0 0.08 0.00 0.10 0.00 0.02 99.80 20:48:50 20:41:01 1 0.30 0.00 0.03 0.00 0.02 99.65 20:48:50 20:42:01 all 0.19 0.00 0.05 0.00 0.02 99.74 20:48:50 20:42:01 0 0.05 0.00 0.07 0.00 0.03 99.85 20:48:50 20:42:01 1 0.33 0.00 0.03 0.00 0.00 99.63 20:48:50 20:43:01 all 0.18 0.00 0.04 0.00 0.03 99.76 20:48:50 20:43:01 0 0.08 0.00 0.03 0.00 0.03 99.85 20:48:50 20:43:01 1 0.27 0.00 0.05 0.00 0.02 99.67 20:48:50 20:44:01 all 0.11 0.00 0.05 0.00 0.03 99.82 20:48:50 20:44:01 0 0.12 0.00 0.07 0.00 0.03 99.78 20:48:50 20:44:01 1 0.10 0.00 0.03 0.00 0.02 99.85 20:48:50 20:48:50 20:44:01 CPU %user %nice %system %iowait %steal %idle 20:48:50 20:45:01 all 0.13 0.00 0.04 0.01 0.02 99.80 20:48:50 20:45:01 0 0.22 0.00 0.03 0.00 0.00 99.75 20:48:50 20:45:01 1 0.05 0.00 0.05 0.02 0.03 99.85 20:48:50 20:46:01 all 0.19 0.00 0.04 0.00 0.02 99.75 20:48:50 20:46:01 0 0.32 0.00 0.02 0.00 0.02 99.65 20:48:50 20:46:01 1 0.07 0.00 0.07 0.00 0.02 99.85 20:48:50 20:47:02 all 0.18 0.00 0.04 0.00 0.01 99.77 20:48:50 20:47:02 0 0.30 0.00 0.03 0.00 0.00 99.67 20:48:50 20:47:02 1 0.05 0.00 0.05 0.00 0.02 99.88 20:48:50 20:48:01 all 12.87 0.00 5.82 1.31 0.05 79.95 20:48:50 20:48:01 0 12.73 0.00 5.99 2.07 0.05 79.15 20:48:50 20:48:01 1 13.00 0.00 5.66 0.56 0.05 80.73 20:48:50 Average: all 2.12 0.00 0.82 0.41 0.02 96.63 20:48:50 Average: 0 2.06 0.00 0.89 0.55 0.02 96.47 20:48:50 Average: 1 2.18 0.00 0.75 0.27 0.02 96.78 20:48:50 20:48:50 20:48:50