Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 9eb04a735ff6c755d3141000f56c9be256ceb7ae+c2b56409ff7876491f1b0abf22052cd5d8a556b9 (c9898dc7757f3b34e52c1dcd06f38b439ea9a676) 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-ssh509654578304692809.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-ssh744747957042842483.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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 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/PR-137/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/PR-137/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8094096854504438476.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b96307f5267f6fa8c29f8dc04d3d152726fc6340 # timeout=10 Commit message: "Merge pull request #356 from ernestojeda/disable-go-proxy" > 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-ssh42857337767931191.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-137/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/PR-137/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8025932735316185288.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2288 in /w/workspace/gexfoundry_device-rest-go_PR-137 [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/gexfoundry_device-rest-go_PR-137 # 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/gexfoundry_device-rest-go_PR-137@tmp/jenkins-gitclient-ssh3845856207466393718.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c2b56409ff7876491f1b0abf22052cd5d8a556b9 into PR head commit 9eb04a735ff6c755d3141000f56c9be256ceb7ae Merge succeeded, producing 68877d2c3991ced25a99a29283759e9abeeb65fc Checking out Revision 68877d2c3991ced25a99a29283759e9abeeb65fc (PR-137) > 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 remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 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/gexfoundry_device-rest-go_PR-137@tmp/jenkins-gitclient-ssh5838524508114029004.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9eb04a735ff6c755d3141000f56c9be256ceb7ae # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-rest-go_PR-137@tmp/jenkins-gitclient-ssh5147929980688638035.key > git merge c2b56409ff7876491f1b0abf22052cd5d8a556b9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68877d2c3991ced25a99a29283759e9abeeb65fc # timeout=10 Commit message: "Merge commit 'c2b56409ff7876491f1b0abf22052cd5d8a556b9' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 639d0ecdfc57cece2b06871fa354b11591f01930 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:09:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:09:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:09:29 ========================================================= 03:09:29 EdgeX Global Pipelines Version Info 03:09:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:09:30 ------------------- 03:09:30 stable info: 03:09:30 ------------------- 03:09:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:09:30 Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 03:09:30 Message: update stable to v1.0.207 03:09:30 ------------------- 03:09:30 experimental info: 03:09:30 ------------------- 03:09:30 Commited By: **** collab-it+edgex@linuxfoundation.org 03:09:30 Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 03:09:30 Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-137 [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-137 [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-137 [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68877d2c3991ced25a99a29283759e9abeeb65fc [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68877d2 [Pipeline] echo 03:09:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:09:31 provisioning config files... 03:09:31 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-137@tmp/config1084846960943517422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:32 ---> docker-login.sh 03:09:32 nexus3.edgexfoundry.org:10001 03:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:32 Configure a credential helper to remove this warning. See 03:09:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:32 03:09:32 Login Succeeded 03:09:32 nexus3.edgexfoundry.org:10002 03:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:32 Configure a credential helper to remove this warning. See 03:09:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:32 03:09:32 Login Succeeded 03:09:32 nexus3.edgexfoundry.org:10003 03:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:32 Configure a credential helper to remove this warning. See 03:09:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:32 03:09:32 Login Succeeded 03:09:32 nexus3.edgexfoundry.org:10004 03:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:33 Configure a credential helper to remove this warning. See 03:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:33 03:09:33 Login Succeeded 03:09:33 docker.io 03:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:33 Configure a credential helper to remove this warning. See 03:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:33 03:09:33 Login Succeeded 03:09:33 ---> docker-login.sh ends [Pipeline] } 03:09:33 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 03:09:34 + git log --format=format:%s -1 68877d2c3991ced25a99a29283759e9abeeb65fc [Pipeline] echo 03:09:34 GIT_COMMIT: 68877d2c3991ced25a99a29283759e9abeeb65fc, Commit Message: Merge commit 'c2b56409ff7876491f1b0abf22052cd5d8a556b9' into HEAD [Pipeline] echo 03:09:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:09:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:09:34 03:09:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:09:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:09:34 latest: Pulling from edgex-devops/git-semver 03:09:34 31603596830f: Pulling fs layer 03:09:34 04fac38145f0: Pulling fs layer 03:09:34 701f6daf10bf: Pulling fs layer 03:09:34 24f72da36158: Pulling fs layer 03:09:34 24f72da36158: Waiting 03:09:34 04fac38145f0: Verifying Checksum 03:09:34 04fac38145f0: Download complete 03:09:35 31603596830f: Verifying Checksum 03:09:35 31603596830f: Download complete 03:09:35 701f6daf10bf: Verifying Checksum 03:09:35 701f6daf10bf: Download complete 03:09:35 24f72da36158: Verifying Checksum 03:09:35 24f72da36158: Download complete 03:09:35 31603596830f: Pull complete 03:09:35 04fac38145f0: Pull complete 03:09:36 701f6daf10bf: Pull complete 03:09:36 24f72da36158: Pull complete 03:09:36 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 03:09:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:09:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:09:36 prd-centos7-docker-4c-2g-2288 does not seem to be running inside a container 03:09:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-137 -v /w/workspace/gexfoundry_device-rest-go_PR-137:/w/workspace/gexfoundry_device-rest-go_PR-137:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-137@tmp:/w/workspace/gexfoundry_device-rest-go_PR-137@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:09:36 $ docker top 0bc04cf4967e05ef9f659af1e08a4629161f1a3e7e7a4201124b2125389129c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:09:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:09:37 [ssh-agent] Looking for ssh-agent implementation... 03:09:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:09:37 $ docker exec 0bc04cf4967e05ef9f659af1e08a4629161f1a3e7e7a4201124b2125389129c5 ssh-agent 03:09:37 SSH_AUTH_SOCK=/tmp/ssh-zL6TIS9PVxuI/agent.13 03:09:37 SSH_AGENT_PID=20 03:09:37 Running ssh-add (command line suppressed) 03:09:37 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-137@tmp/private_key_1428733789668574150.key (/w/workspace/gexfoundry_device-rest-go_PR-137@tmp/private_key_1428733789668574150.key) 03:09:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:09:37 + git tag --points-at HEAD [Pipeline] } 03:09:37 $ docker exec --env ******** --env ******** 0bc04cf4967e05ef9f659af1e08a4629161f1a3e7e7a4201124b2125389129c5 ssh-agent -k 03:09:37 unset SSH_AUTH_SOCK; 03:09:37 unset SSH_AGENT_PID; 03:09:37 echo Agent pid 20 killed; 03:09:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:09:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:09:37 [ssh-agent] Looking for ssh-agent implementation... 03:09:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:09:38 $ docker exec 0bc04cf4967e05ef9f659af1e08a4629161f1a3e7e7a4201124b2125389129c5 ssh-agent 03:09:38 SSH_AUTH_SOCK=/tmp/ssh-XytPq7ZFnGia/agent.55 03:09:38 SSH_AGENT_PID=61 03:09:38 Running ssh-add (command line suppressed) 03:09:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-137@tmp/private_key_4182625284847725814.key (/w/workspace/gexfoundry_device-rest-go_PR-137@tmp/private_key_4182625284847725814.key) 03:09:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:09:38 + git semver init 03:09:38 # -> Open(): unable to determine branch for HEAD 03:09:38 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-137/.git 03:09:38 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-137 03:09:38 # $SEMVER_REMOTE_NAME = origin 03:09:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:09:38 # $SEMVER_USER_NAME = edgex-jenkins 03:09:38 # $SEMVER_BRANCH = PR-137 03:09:38 # $SEMVER_TEMP = /tmp/semver-340584811 03:09:38 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 03:09:39 # '/tmp/semver-340584811' -> '/w/workspace/gexfoundry_device-rest-go_PR-137/.semver' 03:09:39 # -> Force: false 03:09:39 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-137/.semver [Pipeline] } 03:09:39 $ docker exec --env ******** --env ******** 0bc04cf4967e05ef9f659af1e08a4629161f1a3e7e7a4201124b2125389129c5 ssh-agent -k 03:09:39 unset SSH_AUTH_SOCK; 03:09:39 unset SSH_AGENT_PID; 03:09:39 echo Agent pid 61 killed; 03:09:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:09:40 + git semver [Pipeline] } 03:09:40 $ docker stop --time=1 0bc04cf4967e05ef9f659af1e08a4629161f1a3e7e7a4201124b2125389129c5 03:09:41 $ docker rm -f 0bc04cf4967e05ef9f659af1e08a4629161f1a3e7e7a4201124b2125389129c5 [Pipeline] // withDockerContainer [Pipeline] sh 03:09:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:09:42 Stashed 1 file(s) [Pipeline] echo 03:09:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 03:09:57 Still waiting to schedule task 03:09:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:09:57 Still waiting to schedule task 03:09:57 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 03:13:40 Running on prd-centos7-docker-4c-2g-2291 in /w/workspace/gexfoundry_device-rest-go_PR-137 [Pipeline] { [Pipeline] ws 03:13:40 Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout 03:13:40 The recommended git tool is: git 03:13:43 using credential edgex-jenkins-ssh 03:13:43 Cloning the remote Git repository 03:13:43 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:13:44 > git init /w/workspace/device-rest-go/6 # timeout=10 03:13:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:13:44 > git --version # timeout=10 03:13:44 > git --version # 'git version 2.24.4' 03:13:44 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:44 [INFO] Currently running in a labeled security context 03:13:44 [INFO] Currently SELinux is 'enforcing' on the host 03:13:44 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/6@tmp/jenkins-gitclient-ssh6752462240254218238.key 03:13:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:13:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:13:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:13:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:13:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:13:45 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:45 [INFO] Currently running in a labeled security context 03:13:45 [INFO] Currently SELinux is 'enforcing' on the host 03:13:45 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/6@tmp/jenkins-gitclient-ssh8173094125200119625.key 03:13:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:13:45 Merging remotes/origin/main commit c2b56409ff7876491f1b0abf22052cd5d8a556b9 into PR head commit 9eb04a735ff6c755d3141000f56c9be256ceb7ae 03:13:45 Merge succeeded, producing f8815b4277af28d2bb1c3d7dd7758d41b11647a2 03:13:45 Checking out Revision f8815b4277af28d2bb1c3d7dd7758d41b11647a2 (PR-137) 03:13:45 > git config core.sparsecheckout # timeout=10 03:13:45 > git checkout -f 9eb04a735ff6c755d3141000f56c9be256ceb7ae # timeout=10 03:13:45 > git remote # timeout=10 03:13:45 > git config --get remote.origin.url # timeout=10 03:13:45 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:45 [INFO] Currently running in a labeled security context 03:13:45 [INFO] Currently SELinux is 'enforcing' on the host 03:13:45 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/6@tmp/jenkins-gitclient-ssh4885938756432152722.key 03:13:45 > git merge c2b56409ff7876491f1b0abf22052cd5d8a556b9 # timeout=10 03:13:45 > git rev-parse HEAD^{commit} # timeout=10 03:13:45 > git config core.sparsecheckout # timeout=10 03:13:45 > git checkout -f f8815b4277af28d2bb1c3d7dd7758d41b11647a2 # timeout=10 03:13:49 Commit message: "Merge commit 'c2b56409ff7876491f1b0abf22052cd5d8a556b9' into HEAD" 03:13:49 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:50 provisioning config files... 03:13:50 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config2962519444733568931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:50 ---> docker-login.sh 03:13:50 nexus3.edgexfoundry.org:10001 03:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:49 > git rev-list --no-walk 639d0ecdfc57cece2b06871fa354b11591f01930 # timeout=10 03:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:51 Configure a credential helper to remove this warning. See 03:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:51 03:13:51 Login Succeeded 03:13:51 nexus3.edgexfoundry.org:10002 03:13:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:52 Configure a credential helper to remove this warning. See 03:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:52 03:13:52 Login Succeeded 03:13:52 nexus3.edgexfoundry.org:10003 03:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:57 Configure a credential helper to remove this warning. See 03:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:57 03:13:57 Login Succeeded 03:13:57 nexus3.edgexfoundry.org:10004 03:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:57 Configure a credential helper to remove this warning. See 03:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:57 03:13:57 Login Succeeded 03:13:57 docker.io 03:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:57 Configure a credential helper to remove this warning. See 03:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:57 03:13:57 Login Succeeded 03:13:57 ---> docker-login.sh ends [Pipeline] } 03:13:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:13:57 ========================================================= 03:13:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 03:13:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:13:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 03:13:58 Sending build context to Docker daemon 118.8kB 03:13:58 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 03:13:58 Step 2/11 : FROM ${BASE} AS builder 03:14:03 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 03:14:03 4e9f2cdf4387: Pulling fs layer 03:14:03 57d31006c564: Pulling fs layer 03:14:03 bd5ccded8296: Pulling fs layer 03:14:03 304dd3a0f381: Pulling fs layer 03:14:03 d37cda54a23b: Pulling fs layer 03:14:03 bae75c0f2455: Pulling fs layer 03:14:03 806579b3d29a: Pulling fs layer 03:14:03 c77eb801bf70: Pulling fs layer 03:14:03 6d0567d44e1a: Pulling fs layer 03:14:03 304dd3a0f381: Waiting 03:14:03 d37cda54a23b: Waiting 03:14:03 bae75c0f2455: Waiting 03:14:03 806579b3d29a: Waiting 03:14:03 c77eb801bf70: Waiting 03:14:03 6d0567d44e1a: Waiting 03:14:03 bd5ccded8296: Verifying Checksum 03:14:03 bd5ccded8296: Download complete 03:14:03 57d31006c564: Verifying Checksum 03:14:03 57d31006c564: Download complete 03:14:03 d37cda54a23b: Verifying Checksum 03:14:03 d37cda54a23b: Download complete 03:14:03 bae75c0f2455: Verifying Checksum 03:14:03 bae75c0f2455: Download complete 03:14:03 4e9f2cdf4387: Verifying Checksum 03:14:03 4e9f2cdf4387: Download complete 03:14:03 806579b3d29a: Verifying Checksum 03:14:03 806579b3d29a: Download complete 03:14:03 4e9f2cdf4387: Pull complete 03:14:03 57d31006c564: Pull complete 03:14:03 bd5ccded8296: Pull complete 03:14:05 c77eb801bf70: Verifying Checksum 03:14:05 c77eb801bf70: Download complete 03:14:05 6d0567d44e1a: Verifying Checksum 03:14:05 6d0567d44e1a: Download complete 03:14:06 304dd3a0f381: Verifying Checksum 03:14:06 304dd3a0f381: Download complete 03:14:10 304dd3a0f381: Pull complete 03:14:10 d37cda54a23b: Pull complete 03:14:10 bae75c0f2455: Pull complete 03:14:10 806579b3d29a: Pull complete 03:14:10 c77eb801bf70: Pull complete 03:14:13 6d0567d44e1a: Pull complete 03:14:13 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 03:14:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 03:14:13 ---> e839a31ac9d1 03:14:13 Step 3/11 : ARG MAKE='make build' 03:14:16 ---> Running in 2181195401d0 03:14:16 Removing intermediate container 2181195401d0 03:14:16 ---> 52a2c8772537 03:14:16 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:14:16 ---> Running in be9fc7220c1b 03:14:16 Removing intermediate container be9fc7220c1b 03:14:16 ---> ba597b91e968 03:14:16 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 03:14:16 ---> Running in 557ba6cb7b81 03:14:17 Removing intermediate container 557ba6cb7b81 03:14:17 ---> dad451f9236d 03:14:17 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:14:17 ---> Running in 01edd6ed8666 03:14:17 Removing intermediate container 01edd6ed8666 03:14:17 ---> a1c28e4650b4 03:14:17 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:14:17 ---> Running in 7fb8fa898845 03:14:17 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:14:18 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:14:19 (1/3) Installing openssh-keygen (8.4_p1-r4) 03:14:19 (2/3) Installing libedit (20191231.3.1-r1) 03:14:19 (3/3) Installing openssh-client (8.4_p1-r4) 03:14:19 Executing busybox-1.32.1-r6.trigger 03:14:19 OK: 223 MiB in 55 packages 03:14:19 Removing intermediate container 7fb8fa898845 03:14:19 ---> 0ba287ddc8b5 03:14:19 Step 8/11 : WORKDIR /device-rest-go 03:14:19 ---> Running in bb53213cbb08 03:14:19 Removing intermediate container bb53213cbb08 03:14:19 ---> 5a9dc4c202b0 03:14:19 Step 9/11 : COPY . . 03:14:19 ---> 3d8404637b42 03:14:19 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:14:19 ---> Running in 974b07921570 03:14:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2290 in /w/workspace/gexfoundry_device-rest-go_PR-137 [Pipeline] { [Pipeline] ws 03:14:26 Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout 03:14:26 The recommended git tool is: git 03:14:30 Removing intermediate container 974b07921570 03:14:30 ---> 0b3bf396b457 03:14:30 Step 11/11 : RUN $MAKE 03:14:30 ---> Running in 8cb596814a11 03:14:30 noop 03:14:30 Removing intermediate container 8cb596814a11 03:14:30 ---> 0c45bc7d90c8 03:14:30 Successfully built 0c45bc7d90c8 03:14:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:14:30 + docker inspect -f . ci-base-image-x86_64 03:14:30 . [Pipeline] withDockerContainer 03:14:30 prd-centos7-docker-4c-2g-2291 does not seem to be running inside a container 03:14:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:14:31 $ docker top a5b2d9a43567c420216d9e57b485b36cd5c8d070e750350785ac79d0ac639af0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:14:31 + go version 03:14:31 go version go1.16.8 linux/amd64 [Pipeline] } 03:14:31 $ docker stop --time=1 a5b2d9a43567c420216d9e57b485b36cd5c8d070e750350785ac79d0ac639af0 03:14:32 $ docker rm -f a5b2d9a43567c420216d9e57b485b36cd5c8d070e750350785ac79d0ac639af0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:14:33 + docker inspect -f . ci-base-image-x86_64 03:14:33 . [Pipeline] withDockerContainer 03:14:33 prd-centos7-docker-4c-2g-2291 does not seem to be running inside a container 03:14:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:14:33 using credential edgex-jenkins-ssh 03:14:33 Cloning the remote Git repository 03:14:33 $ docker top 39b1e6bd76d85010a6e07649bdc5da87f89e56d58a424680deb1dbffa8d739ec -eo pid,comm [Pipeline] { 03:14:33 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:14:33 > git init /w/workspace/device-rest-go/6 # timeout=10 03:14:33 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:14:33 > git --version # timeout=10 03:14:33 > git --version # 'git version 2.17.1' 03:14:33 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] fileExists [Pipeline] sh 03:14:34 + make test 03:14:34 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:14:34 ? github.com/edgexfoundry/device-rest-go [no test files] 03:14:36 Merging remotes/origin/main commit c2b56409ff7876491f1b0abf22052cd5d8a556b9 into PR head commit 9eb04a735ff6c755d3141000f56c9be256ceb7ae 03:14:36 Merge succeeded, producing 6f9792690b5e3756ea74f6a7b8c2c18613924580 03:14:36 Checking out Revision 6f9792690b5e3756ea74f6a7b8c2c18613924580 (PR-137) 03:14:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:14:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:14:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:14:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:14:35 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:14:36 > git config core.sparsecheckout # timeout=10 03:14:36 > git checkout -f 9eb04a735ff6c755d3141000f56c9be256ceb7ae # timeout=10 03:14:36 > git remote # timeout=10 03:14:36 > git config --get remote.origin.url # timeout=10 03:14:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:36 > git merge c2b56409ff7876491f1b0abf22052cd5d8a556b9 # timeout=10 03:14:36 > git rev-parse HEAD^{commit} # timeout=10 03:14:36 > git config core.sparsecheckout # timeout=10 03:14:36 > git checkout -f 6f9792690b5e3756ea74f6a7b8c2c18613924580 # timeout=10 03:14:41 Commit message: "Merge commit 'c2b56409ff7876491f1b0abf22052cd5d8a556b9' into HEAD" 03:14:41 First time build. Skipping changelog. 03:14:41 > git rev-list --no-walk 639d0ecdfc57cece2b06871fa354b11591f01930 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:14:41 provisioning config files... 03:14:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config6987206746165822500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:42 ---> docker-login.sh 03:14:42 nexus3.edgexfoundry.org:10001 03:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:43 Configure a credential helper to remove this warning. See 03:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:43 03:14:43 Login Succeeded 03:14:43 nexus3.edgexfoundry.org:10002 03:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:44 Configure a credential helper to remove this warning. See 03:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:44 03:14:44 Login Succeeded 03:14:44 nexus3.edgexfoundry.org:10003 03:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:44 Configure a credential helper to remove this warning. See 03:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:44 03:14:44 Login Succeeded 03:14:44 nexus3.edgexfoundry.org:10004 03:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:45 Configure a credential helper to remove this warning. See 03:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:45 03:14:45 Login Succeeded 03:14:45 docker.io 03:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:46 Configure a credential helper to remove this warning. See 03:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:46 03:14:46 Login Succeeded 03:14:46 ---> docker-login.sh ends [Pipeline] } 03:14:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:14:47 ========================================================= 03:14:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 03:14:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:14:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 03:14:47 Sending build context to Docker daemon 118.8kB 03:14:47 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 03:14:47 Step 2/11 : FROM ${BASE} AS builder 03:14:48 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:14:48 bbf911997326: Pulling fs layer 03:14:48 58ec367f63d7: Pulling fs layer 03:14:48 1b4a6ffa7d45: Pulling fs layer 03:14:48 fc5181fea5dc: Pulling fs layer 03:14:48 9c418107303f: Pulling fs layer 03:14:48 284eca6f2348: Pulling fs layer 03:14:48 842844d905b1: Pulling fs layer 03:14:48 901a3a57568e: Pulling fs layer 03:14:48 9c418107303f: Waiting 03:14:48 842844d905b1: Waiting 03:14:48 901a3a57568e: Waiting 03:14:48 284eca6f2348: Waiting 03:14:48 fc5181fea5dc: Waiting 03:14:48 1b4a6ffa7d45: Verifying Checksum 03:14:48 1b4a6ffa7d45: Download complete 03:14:48 58ec367f63d7: Verifying Checksum 03:14:48 58ec367f63d7: Download complete 03:14:48 9c418107303f: Verifying Checksum 03:14:48 9c418107303f: Download complete 03:14:48 284eca6f2348: Download complete 03:14:48 842844d905b1: Verifying Checksum 03:14:48 842844d905b1: Download complete 03:14:48 bbf911997326: Verifying Checksum 03:14:48 bbf911997326: Download complete 03:14:48 bbf911997326: Pull complete 03:14:49 58ec367f63d7: Pull complete 03:14:50 1b4a6ffa7d45: Pull complete 03:14:50 901a3a57568e: Verifying Checksum 03:14:50 901a3a57568e: Download complete 03:14:50 fc5181fea5dc: Download complete 03:14:53 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:14:53 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 53.8% of statements 03:14:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:15:01 fc5181fea5dc: Pull complete 03:15:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:15:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:15:01 ./bin/test-attribution-txt.sh [Pipeline] } 03:15:01 $ docker stop --time=1 39b1e6bd76d85010a6e07649bdc5da87f89e56d58a424680deb1dbffa8d739ec 03:15:01 9c418107303f: Pull complete 03:15:02 284eca6f2348: Pull complete 03:15:02 842844d905b1: Pull complete 03:15:02 $ docker rm -f 39b1e6bd76d85010a6e07649bdc5da87f89e56d58a424680deb1dbffa8d739ec [Pipeline] // withDockerContainer [Pipeline] sh 03:15:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:15:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:15:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:15:07 + ls -al . 03:15:07 total 116 03:15:07 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 7 03:15 . 03:15:07 drwxrwxr-x. 4 jenkins jenkins 28 Oct 7 03:13 .. 03:15:07 -rw-rw-r--. 1 jenkins jenkins 6792 Oct 7 03:13 Attribution.txt 03:15:07 drwxrwxr-x. 2 jenkins jenkins 37 Oct 7 03:13 bin 03:15:07 -rw-rw-r--. 1 jenkins jenkins 7459 Oct 7 03:13 CHANGELOG.md 03:15:07 drwxrwxr-x. 3 jenkins jenkins 32 Oct 7 03:13 cmd 03:15:07 -rw-r--r--. 1 jenkins jenkins 8435 Oct 7 03:14 coverage.out 03:15:07 -rw-rw-r--. 1 jenkins jenkins 1649 Oct 7 03:13 Dockerfile 03:15:07 -rw-rw-r--. 1 jenkins jenkins 151 Oct 7 03:13 .dockerignore 03:15:07 drwxrwxr-x. 2 jenkins jenkins 76 Oct 7 03:13 driver 03:15:07 drwxrwxr-x. 8 jenkins jenkins 179 Oct 7 03:13 .git 03:15:07 drwxrwxr-x. 2 jenkins jenkins 103 Oct 7 03:13 .github 03:15:07 -rw-rw-r--. 1 jenkins jenkins 329 Oct 7 03:13 .gitignore 03:15:07 -rw-rw-r--. 1 jenkins jenkins 271 Oct 7 03:13 go.mod 03:15:07 -rw-rw-r--. 1 jenkins jenkins 20570 Oct 7 03:13 go.sum 03:15:07 -rw-rw-r--. 1 jenkins jenkins 677 Oct 7 03:13 GOVERNANCE.md 03:15:07 -rw-rw-r--. 1 jenkins jenkins 680 Oct 7 03:13 Jenkinsfile 03:15:07 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 7 03:13 LICENSE 03:15:07 -rw-rw-r--. 1 jenkins jenkins 1078 Oct 7 03:13 Makefile 03:15:07 -rw-rw-r--. 1 jenkins jenkins 620 Oct 7 03:13 OWNERS.md 03:15:07 -rw-rw-r--. 1 jenkins jenkins 7661 Oct 7 03:13 README.md 03:15:07 drwxrwxr-x. 4 jenkins jenkins 71 Oct 7 03:13 snap 03:15:07 -rw-rw-r--. 1 jenkins jenkins 5 Oct 7 03:09 VERSION 03:15:07 -rw-rw-r--. 1 jenkins jenkins 713 Oct 7 03:13 version.go [Pipeline] isUnix [Pipeline] sh 03:15:07 + 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=f8815b4277af28d2bb1c3d7dd7758d41b11647a2 --label arch=amd64 --label version=0.0.0 . 03:15:07 Sending build context to Docker daemon 128kB 03:15:07 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 03:15:07 Step 2/24 : FROM ${BASE} AS builder 03:15:07 ---> 0c45bc7d90c8 03:15:07 Step 3/24 : ARG MAKE='make build' 03:15:07 ---> Running in 33d5ebb798b7 03:15:07 Removing intermediate container 33d5ebb798b7 03:15:07 ---> 88dc9741e9e2 03:15:07 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:15:07 ---> Running in 86d813e73f4f 03:15:07 Removing intermediate container 86d813e73f4f 03:15:07 ---> 5adf474a00b2 03:15:07 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 03:15:07 ---> Running in 65269683d97f 03:15:07 Removing intermediate container 65269683d97f 03:15:07 ---> 60e2d481000e 03:15:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:15:07 ---> Running in 0a58fbba9bc7 03:15:08 Removing intermediate container 0a58fbba9bc7 03:15:08 ---> cff4c11cc672 03:15:08 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:15:08 ---> Running in 8c566438f24c 03:15:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:15:09 901a3a57568e: Pull complete 03:15:09 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 03:15:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 03:15:09 ---> 72ade6ffb461 03:15:09 Step 3/11 : ARG MAKE='make build' 03:15:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:15:09 OK: 223 MiB in 55 packages 03:15:10 Removing intermediate container 8c566438f24c 03:15:10 ---> e7fbd15b5045 03:15:10 Step 8/24 : WORKDIR /device-rest-go 03:15:10 ---> Running in 831608a5b658 03:15:10 Removing intermediate container 831608a5b658 03:15:10 ---> a2295495e15e 03:15:10 Step 9/24 : COPY . . 03:15:10 ---> c412f27e82db 03:15:10 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:10 ---> Running in 803a7855a9f0 03:15:11 Removing intermediate container 803a7855a9f0 03:15:11 ---> b4c5ad683ae4 03:15:11 Step 11/24 : RUN $MAKE 03:15:11 ---> Running in 94ee1dec3339 03:15:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 03:15:13 ---> Running in 719a62827b98 03:15:13 Removing intermediate container 719a62827b98 03:15:13 ---> 9d98b3a11051 03:15:13 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:15:13 ---> Running in 3c9a5e08bf0d 03:15:14 Removing intermediate container 3c9a5e08bf0d 03:15:14 ---> d2549e598e72 03:15:14 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 03:15:14 ---> Running in 3c384c370362 03:15:15 Removing intermediate container 3c384c370362 03:15:15 ---> 7258e7c63506 03:15:15 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:15:15 ---> Running in a8a36701dba3 03:15:18 Removing intermediate container a8a36701dba3 03:15:18 ---> a4acefbe1fb8 03:15:18 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:15:18 ---> Running in cd90de715b2b 03:15:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:15:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:15:20 (1/3) Installing openssh-keygen (8.4_p1-r4) 03:15:21 (2/3) Installing libedit (20191231.3.1-r1) 03:15:21 (3/3) Installing openssh-client (8.4_p1-r4) 03:15:21 Executing busybox-1.32.1-r6.trigger 03:15:21 OK: 222 MiB in 55 packages 03:15:22 Removing intermediate container cd90de715b2b 03:15:22 ---> 0a45ab943955 03:15:22 Step 8/11 : WORKDIR /device-rest-go 03:15:22 ---> Running in 07e8fd6f3671 03:15:23 Removing intermediate container 07e8fd6f3671 03:15:23 ---> d4f4dc70b9a3 03:15:23 Step 9/11 : COPY . . 03:15:23 Removing intermediate container 94ee1dec3339 03:15:23 ---> f55bfa183768 03:15:23 Step 12/24 : FROM alpine:3.14 03:15:23 3.14: Pulling from library/alpine 03:15:23 a0d0a0d46f8b: Pulling fs layer 03:15:23 a0d0a0d46f8b: Verifying Checksum 03:15:23 a0d0a0d46f8b: Download complete 03:15:23 a0d0a0d46f8b: Pull complete 03:15:23 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 03:15:23 Status: Downloaded newer image for alpine:3.14 03:15:23 ---> 14119a10abf4 03:15:23 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:15:24 ---> Running in 22d0e429e0ae 03:15:24 Removing intermediate container 22d0e429e0ae 03:15:24 ---> 3a965917de52 03:15:24 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 03:15:24 ---> Running in 356f9e14a592 03:15:24 Removing intermediate container 356f9e14a592 03:15:24 ---> 8f0b1a641372 03:15:24 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:15:24 ---> Running in 4d3fd3474e14 03:15:24 ---> 3f6c9f0d30cd 03:15:24 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:24 ---> Running in e7c9c88315aa 03:15:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:15:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:15:24 (1/6) Installing dumb-init (1.2.5-r1) 03:15:24 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:15:24 (3/6) Installing libsodium (1.0.18-r0) 03:15:24 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:15:24 (5/6) Installing libzmq (4.3.4-r0) 03:15:25 (6/6) Installing zeromq (4.3.4-r0) 03:15:25 Executing busybox-1.33.1-r3.trigger 03:15:25 OK: 8 MiB in 20 packages 03:15:25 Removing intermediate container 4d3fd3474e14 03:15:25 ---> 27adb5fc73f5 03:15:25 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 03:15:25 ---> 4eb087297885 03:15:25 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 03:15:25 ---> bf72d688639c 03:15:25 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 03:15:25 ---> b27b1096631e 03:15:25 Step 19/24 : EXPOSE 59986 03:15:25 ---> Running in c6d885f33cd5 03:15:26 Removing intermediate container c6d885f33cd5 03:15:26 ---> b3477435070f 03:15:26 Step 20/24 : ENTRYPOINT ["/device-rest"] 03:15:26 ---> Running in dbf35f54bb96 03:15:26 Removing intermediate container dbf35f54bb96 03:15:26 ---> 01b1f769516d 03:15:26 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:15:26 ---> Running in 1753755a443c 03:15:26 Removing intermediate container 1753755a443c 03:15:26 ---> b2fd6d51cd5a 03:15:26 Step 22/24 : LABEL arch=amd64 03:15:26 ---> Running in 2ceacaa9c915 03:15:26 Removing intermediate container 2ceacaa9c915 03:15:26 ---> 1ecb23b1197a 03:15:26 Step 23/24 : LABEL git_sha=f8815b4277af28d2bb1c3d7dd7758d41b11647a2 03:15:26 ---> Running in 23022d48ae6a 03:15:26 Removing intermediate container 23022d48ae6a 03:15:26 ---> 2eb848ececfd 03:15:26 Step 24/24 : LABEL version=0.0.0 03:15:26 ---> Running in f908ba895ec9 03:15:26 Removing intermediate container f908ba895ec9 03:15:26 ---> ede1f59b4b4f 03:15:26 [Warning] One or more build-args [ARCH] were not consumed 03:15:26 Successfully built ede1f59b4b4f 03:15:26 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 03:15:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:27 03:15:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:15:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:27 latest: Pulling from edgex-lftools-log-publisher 03:15:27 b4d181a07f80: Pulling fs layer 03:15:27 a1111a8f2ec3: Pulling fs layer 03:15:27 ed53099fbce6: Pulling fs layer 03:15:27 dc539afda2c1: Pulling fs layer 03:15:27 77bc0d833cb6: Pulling fs layer 03:15:27 9065ff56babe: Pulling fs layer 03:15:27 d287ab97295c: Pulling fs layer 03:15:27 77bc0d833cb6: Waiting 03:15:27 dc539afda2c1: Waiting 03:15:27 9065ff56babe: Waiting 03:15:27 d287ab97295c: Waiting 03:15:27 a1111a8f2ec3: Verifying Checksum 03:15:27 a1111a8f2ec3: Download complete 03:15:28 dc539afda2c1: Verifying Checksum 03:15:28 dc539afda2c1: Download complete 03:15:28 ed53099fbce6: Verifying Checksum 03:15:28 ed53099fbce6: Download complete 03:15:28 b4d181a07f80: Download complete 03:15:28 9065ff56babe: Verifying Checksum 03:15:28 9065ff56babe: Download complete 03:15:28 77bc0d833cb6: Verifying Checksum 03:15:28 77bc0d833cb6: Download complete 03:15:28 d287ab97295c: Verifying Checksum 03:15:28 d287ab97295c: Download complete 03:15:29 b4d181a07f80: Pull complete 03:15:29 a1111a8f2ec3: Pull complete 03:15:30 ed53099fbce6: Pull complete 03:15:30 dc539afda2c1: Pull complete 03:15:30 77bc0d833cb6: Pull complete 03:15:30 9065ff56babe: Pull complete 03:15:36 d287ab97295c: Pull complete 03:15:36 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 03:15:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:15:36 prd-centos7-docker-4c-2g-2291 does not seem to be running inside a container 03:15:36 $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:15:38 $ docker top 205f68ccd8f2e2cac3635760404b6fef70f42311ee76957fda468e9bda64f2bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:39 ---> job-cost.sh 03:15:39 lf-activate-venv: SKIPPING 03:15:39 INFO: No Stack... 03:15:51 Removing intermediate container e7c9c88315aa 03:15:51 ---> 239176015691 03:15:51 Step 11/11 : RUN $MAKE 03:15:51 ---> Running in 3a1d3259e85d 03:15:52 noop 03:15:53 Removing intermediate container 3a1d3259e85d 03:15:53 ---> c8a67a429a74 03:15:53 Successfully built c8a67a429a74 03:15:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:15:53 + docker inspect -f . ci-base-image-arm64 03:15:53 . [Pipeline] withDockerContainer 03:15:53 prd-ubuntu18.04-docker-arm64-4c-16g-2290 does not seem to be running inside a container 03:15:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:15:55 $ docker top c5f580eb5f60c263f07fbcb3abde704965f3c5dfd535d718af3155320e0fbcb3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:56 + go version 03:15:56 go version go1.16.8 linux/arm64 [Pipeline] } 03:15:56 $ docker stop --time=1 c5f580eb5f60c263f07fbcb3abde704965f3c5dfd535d718af3155320e0fbcb3 03:15:57 INFO: Retrieving Pricing Info for: v3-standard-2 03:15:57 INFO: Archiving Costs 03:15:58 $ docker rm -f c5f580eb5f60c263f07fbcb3abde704965f3c5dfd535d718af3155320e0fbcb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:15:58 + cat /w/workspace/device-rest-go/6/archives/cost.csv 03:15:58 + cut -d, -f6 [Pipeline] lock 03:15:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-137-6-stack-cost] 03:15:58 Resource [jenkins-edgexfoundry-device-rest-go-PR-137-6-stack-cost] did not exist. Created. 03:15:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-137-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:15:59 + docker inspect -f . ci-base-image-arm64 03:15:59 . [Pipeline] withDockerContainer 03:15:59 + echo total: 0.05999999865889549 03:15:59 prd-ubuntu18.04-docker-arm64-4c-16g-2290 does not seem to be running inside a container 03:15:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:16:01 $ docker top 9f60423ca713178c7ca673776936d23f3a7ae435541eaa71bedb9929342a1185 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] fileExists 03:16:01 Stashed 1 file(s) [Pipeline] } 03:16:01 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-137-6-stack-cost] [Pipeline] sh [Pipeline] // lock [Pipeline] } 03:16:01 $ docker stop --time=1 205f68ccd8f2e2cac3635760404b6fef70f42311ee76957fda468e9bda64f2bd 03:16:02 + make test 03:16:02 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:16:02 $ docker rm -f 205f68ccd8f2e2cac3635760404b6fef70f42311ee76957fda468e9bda64f2bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:16:03 ? github.com/edgexfoundry/device-rest-go [no test files] 03:17:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:17:00 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 53.8% of statements 03:17:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:17:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:17:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:17:22 ./bin/test-attribution-txt.sh [Pipeline] } 03:17:23 $ docker stop --time=1 9f60423ca713178c7ca673776936d23f3a7ae435541eaa71bedb9929342a1185 03:17:25 $ docker rm -f 9f60423ca713178c7ca673776936d23f3a7ae435541eaa71bedb9929342a1185 [Pipeline] // withDockerContainer [Pipeline] sh 03:17:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:17:26 Warning: overwriting stash ‘coverage-report’ 03:17:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:17:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:17:27 + ls -al . 03:17:27 total 144 03:17:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 03:17 . 03:17:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 03:14 .. 03:17:27 -rw-rw-r-- 1 jenkins jenkins 151 Oct 7 03:14 .dockerignore 03:17:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 03:14 .git 03:17:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 03:14 .github 03:17:27 -rw-rw-r-- 1 jenkins jenkins 329 Oct 7 03:14 .gitignore 03:17:27 -rw-rw-r-- 1 jenkins jenkins 6792 Oct 7 03:14 Attribution.txt 03:17:27 -rw-rw-r-- 1 jenkins jenkins 7459 Oct 7 03:14 CHANGELOG.md 03:17:27 -rw-rw-r-- 1 jenkins jenkins 1649 Oct 7 03:14 Dockerfile 03:17:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 03:14 GOVERNANCE.md 03:17:27 -rw-rw-r-- 1 jenkins jenkins 680 Oct 7 03:14 Jenkinsfile 03:17:27 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 03:14 LICENSE 03:17:27 -rw-rw-r-- 1 jenkins jenkins 1078 Oct 7 03:14 Makefile 03:17:27 -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 03:14 OWNERS.md 03:17:27 -rw-rw-r-- 1 jenkins jenkins 7661 Oct 7 03:14 README.md 03:17:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 03:09 VERSION 03:17:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 03:14 bin 03:17:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 03:14 cmd 03:17:27 -rw-r--r-- 1 jenkins jenkins 8435 Oct 7 03:16 coverage.out 03:17:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 03:14 driver 03:17:27 -rw-rw-r-- 1 jenkins jenkins 271 Oct 7 03:14 go.mod 03:17:27 -rw-rw-r-- 1 jenkins jenkins 20570 Oct 7 03:14 go.sum 03:17:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 03:14 snap 03:17:27 -rw-rw-r-- 1 jenkins jenkins 713 Oct 7 03:14 version.go [Pipeline] isUnix [Pipeline] sh 03:17:28 + 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=6f9792690b5e3756ea74f6a7b8c2c18613924580 --label arch=arm64 --label version=0.0.0 . 03:17:28 Sending build context to Docker daemon 128kB 03:17:28 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 03:17:28 Step 2/24 : FROM ${BASE} AS builder 03:17:28 ---> c8a67a429a74 03:17:28 Step 3/24 : ARG MAKE='make build' 03:17:28 ---> Running in ceaac948b96e 03:17:29 Removing intermediate container ceaac948b96e 03:17:29 ---> 7f717a18a7a2 03:17:29 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:17:29 ---> Running in 503278643b04 03:17:29 Removing intermediate container 503278643b04 03:17:29 ---> fe514bde5540 03:17:29 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 03:17:29 ---> Running in 88a716b90be8 03:17:30 Removing intermediate container 88a716b90be8 03:17:30 ---> a5b42320991d 03:17:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:17:30 ---> Running in b64e2da624d3 03:17:32 Removing intermediate container b64e2da624d3 03:17:32 ---> 263771e875ff 03:17:32 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:17:32 ---> Running in 1cabfa5f708c 03:17:34 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:17:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:17:35 OK: 222 MiB in 55 packages 03:17:36 Removing intermediate container 1cabfa5f708c 03:17:36 ---> 7f7eb07d217c 03:17:36 Step 8/24 : WORKDIR /device-rest-go 03:17:36 ---> Running in 5e421454e9b7 03:17:37 Removing intermediate container 5e421454e9b7 03:17:37 ---> 31f2c79d4c45 03:17:37 Step 9/24 : COPY . . 03:17:37 ---> c3ac3e26a79f 03:17:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:37 ---> Running in 6648d77351cf 03:17:40 Removing intermediate container 6648d77351cf 03:17:40 ---> fe75c4bf0d17 03:17:40 Step 11/24 : RUN $MAKE 03:17:40 ---> Running in b7fe53426785 03:17:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 03:18:20 Removing intermediate container b7fe53426785 03:18:20 ---> 217fd5f180f9 03:18:20 Step 12/24 : FROM alpine:3.14 03:18:20 3.14: Pulling from library/alpine 03:18:20 552d1f2373af: Pulling fs layer 03:18:20 552d1f2373af: Verifying Checksum 03:18:20 552d1f2373af: Download complete 03:18:20 552d1f2373af: Pull complete 03:18:20 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 03:18:20 Status: Downloaded newer image for alpine:3.14 03:18:20 ---> bb3de5531c18 03:18:20 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:18:20 ---> Running in fdae9c58c5fe 03:18:20 Removing intermediate container fdae9c58c5fe 03:18:20 ---> b9ad26c8e440 03:18:20 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 03:18:20 ---> Running in 5777db099b12 03:18:20 Removing intermediate container 5777db099b12 03:18:20 ---> 8d64356488b9 03:18:20 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:18:20 ---> Running in 488bdec6b84e 03:18:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:18:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:18:22 (1/6) Installing dumb-init (1.2.5-r1) 03:18:22 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:18:22 (3/6) Installing libsodium (1.0.18-r0) 03:18:22 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:18:23 (5/6) Installing libzmq (4.3.4-r0) 03:18:23 (6/6) Installing zeromq (4.3.4-r0) 03:18:23 Executing busybox-1.33.1-r3.trigger 03:18:23 OK: 8 MiB in 20 packages 03:18:24 Removing intermediate container 488bdec6b84e 03:18:24 ---> 904592940f28 03:18:24 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 03:18:25 ---> a19ad35b9ebb 03:18:25 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 03:18:26 ---> 5fa9fd9b0198 03:18:26 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 03:18:27 ---> 19fb8b94c8f4 03:18:27 Step 19/24 : EXPOSE 59986 03:18:27 ---> Running in ae9008872107 03:18:27 Removing intermediate container ae9008872107 03:18:27 ---> 0ade6a42217d 03:18:27 Step 20/24 : ENTRYPOINT ["/device-rest"] 03:18:27 ---> Running in dcb2d891a050 03:18:28 Removing intermediate container dcb2d891a050 03:18:28 ---> 6b694f4b132d 03:18:28 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:18:28 ---> Running in 77fb00010897 03:18:29 Removing intermediate container 77fb00010897 03:18:29 ---> 7af07d60755c 03:18:29 Step 22/24 : LABEL arch=arm64 03:18:29 ---> Running in 5b5c8c816229 03:18:29 Removing intermediate container 5b5c8c816229 03:18:29 ---> 09438ec7eef7 03:18:29 Step 23/24 : LABEL git_sha=6f9792690b5e3756ea74f6a7b8c2c18613924580 03:18:29 ---> Running in 2db84d604269 03:18:29 Removing intermediate container 2db84d604269 03:18:29 ---> 0a0dbfecad6d 03:18:29 Step 24/24 : LABEL version=0.0.0 03:18:30 ---> Running in b55b7cd62684 03:18:30 Removing intermediate container b55b7cd62684 03:18:30 ---> 1faad8165a7d 03:18:30 [Warning] One or more build-args [ARCH] were not consumed 03:18:30 Successfully built 1faad8165a7d 03:18:30 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:18:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:18:31 03:18:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:18:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:18:32 arm64: Pulling from edgex-lftools-log-publisher 03:18:32 448f6bf000e3: Pulling fs layer 03:18:32 f757da607395: Pulling fs layer 03:18:32 05883995daec: Pulling fs layer 03:18:32 8603b9c90790: Pulling fs layer 03:18:32 1560dd03e051: Pulling fs layer 03:18:32 27f5ce0e4adf: Pulling fs layer 03:18:32 c2d8d7efcc4b: Pulling fs layer 03:18:32 1560dd03e051: Waiting 03:18:32 8603b9c90790: Waiting 03:18:32 27f5ce0e4adf: Waiting 03:18:32 c2d8d7efcc4b: Waiting 03:18:32 f757da607395: Verifying Checksum 03:18:32 f757da607395: Download complete 03:18:32 8603b9c90790: Verifying Checksum 03:18:32 8603b9c90790: Download complete 03:18:33 05883995daec: Verifying Checksum 03:18:33 05883995daec: Download complete 03:18:33 1560dd03e051: Verifying Checksum 03:18:33 1560dd03e051: Download complete 03:18:33 27f5ce0e4adf: Download complete 03:18:33 448f6bf000e3: Verifying Checksum 03:18:33 448f6bf000e3: Download complete 03:18:36 c2d8d7efcc4b: Verifying Checksum 03:18:36 c2d8d7efcc4b: Download complete 03:18:36 448f6bf000e3: Pull complete 03:18:37 f757da607395: Pull complete 03:18:39 05883995daec: Pull complete 03:18:39 8603b9c90790: Pull complete 03:18:40 1560dd03e051: Pull complete 03:18:40 27f5ce0e4adf: Pull complete 03:18:55 c2d8d7efcc4b: Pull complete 03:18:55 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 03:18:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:18:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:18:56 prd-ubuntu18.04-docker-arm64-4c-16g-2290 does not seem to be running inside a container 03:18:56 $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:19:01 $ docker top d80804642555cf563a47d59723ea07f7b18a4156ddc4a72301f8bc4a51fdd192 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:02 ---> job-cost.sh 03:19:02 lf-activate-venv: SKIPPING 03:19:02 INFO: No Stack... 03:19:02 INFO: Retrieving Pricing Info for: v3-standard-4 03:19:03 INFO: Archiving Costs [Pipeline] sh 03:19:03 + + cutcat -d, /w/workspace/device-rest-go/6/archives/cost.csv -f6 03:19:03 [Pipeline] lock 03:19:03 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-137-6-stack-cost] 03:19:03 Resource [jenkins-edgexfoundry-device-rest-go-PR-137-6-stack-cost] did not exist. Created. 03:19:03 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-137-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:19:04 /w/workspace/device-rest-go/6@tmp/durable-b3b799a6/script.sh: 1: /w/workspace/device-rest-go/6@tmp/durable-b3b799a6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 03:19:05 + echo total: 0.10999999940395355 [Pipeline] stash 03:19:05 Warning: overwriting stash ‘stack-cost’ 03:19:05 Stashed 1 file(s) [Pipeline] } 03:19:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-137-6-stack-cost] [Pipeline] // lock [Pipeline] } 03:19:05 $ docker stop --time=1 d80804642555cf563a47d59723ea07f7b18a4156ddc4a72301f8bc4a51fdd192 03:19:07 $ docker rm -f d80804642555cf563a47d59723ea07f7b18a4156ddc4a72301f8bc4a51fdd192 [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 03:19:08 provisioning config files... 03:19:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-137@tmp/config189659038520271738tmp [Pipeline] { [Pipeline] sh 03:19:08 + set +x 03:19:08 + curl -s https://codecov.io/bash 03:19:08 + bash -s -- 03:19:08 03:19:08 _____ _ 03:19:08 / ____| | | 03:19:08 | | ___ __| | ___ ___ _____ __ 03:19:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:19:08 | |___| (_) | (_| | __/ (_| (_) \ V / 03:19:08 \_____\___/ \__,_|\___|\___\___/ \_/ 03:19:08 Bash-1.0.6 03:19:08 03:19:08 03:19:08 ==> git version 2.24.4 found 03:19:08 ==> 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 03:19:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:19:08 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:19:08 ==> Jenkins CI detected. 03:19:08 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-137 03:19:08 project root: . 03:19:08 --> token set from env 03:19:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:19:08 ==> Running gcov in . (disable via -X gcov) 03:19:08 ==> Python coveragepy not found 03:19:08 ==> Searching for coverage reports in: 03:19:08 + . 03:19:08 -> Found 1 reports 03:19:08 ==> Detecting git/mercurial file structure 03:19:08 ==> Reading reports 03:19:08 + ./coverage.out bytes=8435 03:19:08 ==> Appending adjustments 03:19:08 https://docs.codecov.io/docs/fixing-reports 03:19:08 + Found adjustments 03:19:08 ==> Gzipping contents 03:19:08 4.0K /tmp/codecov.3BbL8S.gz 03:19:08 ==> Uploading reports 03:19:08 url: https://codecov.io 03:19:08 query: branch=PR-137&commit=68877d2c3991ced25a99a29283759e9abeeb65fc&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-137%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=137&job=&cmd_args= 03:19:08 -> Pinging Codecov 03:19:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-137&commit=68877d2c3991ced25a99a29283759e9abeeb65fc&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-137%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=137&job=&cmd_args= 03:19:09 -> Uploading to 03:19:09 https://storage.googleapis.com/codecov/v4/raw/2021-10-07/4E5D53B4F1F92C436F7061BF334D961C/68877d2c3991ced25a99a29283759e9abeeb65fc/c32d7332-e4bb-4979-95ee-043b9cba62c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211007T031909Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e45a26a9886c12e7f9feb8e200bba21048016952f861fb29e50f130e4f56cfc6 03:19:09 % Total % Received % Xferd Average Speed Time Time Time Current 03:19:09 Dload Upload Total Spent Left Speed 03:19:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1755 0 0 100 1755 0 5239 --:--:-- --:--:-- --:--:-- 5254 03:19:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/68877d2c3991ced25a99a29283759e9abeeb65fc [Pipeline] } 03:19:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 03:19:11 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-137/archives ']' [Pipeline] libraryResource [Pipeline] sh 03:19:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:19:12 ---> package-listing.sh 03:19:12 ++ facter osfamily 03:19:12 ++ tr '[:upper:]' '[:lower:]' 03:19:12 + OS_FAMILY=redhat 03:19:12 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-137 03:19:12 + START_PACKAGES=/tmp/packages_start.txt 03:19:12 + END_PACKAGES=/tmp/packages_end.txt 03:19:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:19:12 + PACKAGES=/tmp/packages_start.txt 03:19:12 + '[' /w/workspace/gexfoundry_device-rest-go_PR-137 ']' 03:19:12 + PACKAGES=/tmp/packages_end.txt 03:19:12 + case "${OS_FAMILY}" in 03:19:12 + rpm -qa 03:19:12 + sort 03:19:13 + '[' -f /tmp/packages_start.txt ']' 03:19:13 + '[' -f /tmp/packages_end.txt ']' 03:19:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:19:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-137 ']' 03:19:13 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-137/archives/ 03:19:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-137/archives/ [Pipeline] echo 03:19:13 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/gexfoundry_device-rest-go_PR-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:19:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:19:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:14 03:19:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:19:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:14 latest: Pulling from edgex-lftools-log-publisher 03:19:14 b4d181a07f80: Pulling fs layer 03:19:14 a1111a8f2ec3: Pulling fs layer 03:19:14 ed53099fbce6: Pulling fs layer 03:19:14 dc539afda2c1: Pulling fs layer 03:19:14 77bc0d833cb6: Pulling fs layer 03:19:14 9065ff56babe: Pulling fs layer 03:19:14 d287ab97295c: Pulling fs layer 03:19:14 77bc0d833cb6: Waiting 03:19:14 9065ff56babe: Waiting 03:19:14 d287ab97295c: Waiting 03:19:14 dc539afda2c1: Waiting 03:19:14 a1111a8f2ec3: Verifying Checksum 03:19:14 a1111a8f2ec3: Download complete 03:19:14 dc539afda2c1: Verifying Checksum 03:19:14 dc539afda2c1: Download complete 03:19:14 ed53099fbce6: Verifying Checksum 03:19:14 ed53099fbce6: Download complete 03:19:14 9065ff56babe: Verifying Checksum 03:19:14 9065ff56babe: Download complete 03:19:14 77bc0d833cb6: Verifying Checksum 03:19:14 77bc0d833cb6: Download complete 03:19:14 b4d181a07f80: Verifying Checksum 03:19:14 b4d181a07f80: Download complete 03:19:15 d287ab97295c: Verifying Checksum 03:19:15 d287ab97295c: Download complete 03:19:16 b4d181a07f80: Pull complete 03:19:16 a1111a8f2ec3: Pull complete 03:19:17 ed53099fbce6: Pull complete 03:19:17 dc539afda2c1: Pull complete 03:19:17 77bc0d833cb6: Pull complete 03:19:17 9065ff56babe: Pull complete 03:19:22 d287ab97295c: Pull complete 03:19:22 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 03:19:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:19:23 prd-centos7-docker-4c-2g-2288 does not seem to be running inside a container 03:19:23 $ 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/gexfoundry_device-rest-go_PR-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-137 -v /w/workspace/gexfoundry_device-rest-go_PR-137:/w/workspace/gexfoundry_device-rest-go_PR-137:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-137@tmp:/w/workspace/gexfoundry_device-rest-go_PR-137@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:19:25 $ docker top 57271fe711cb0bd667e738e1dd7742cbb65ac615522b92d2346fc013a499e029 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:25 + touch /tmp/pre-build-complete [Pipeline] sh 03:19:26 + mkdir -p /var/log/sysstat [Pipeline] sh 03:19:26 + ls /var/log/sa-host 03:19:26 + sadf -c /var/log/sa-host/sa07 03:19:26 file_magic: OK 03:19:26 HZ: Using current value: 100 03:19:26 file_header: OK 03:19:26 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 03:19:26 Statistics: 03:19:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:19:26 File successfully converted to sysstat format version 12.0.3 03:19:26 + sadf -c /var/log/sa-host/sa30 03:19:26 file_magic: OK 03:19:26 HZ: Using current value: 100 03:19:26 file_header: OK 03:19:26 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 03:19:26 Statistics: 03:19:26 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:19:26 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:26 provisioning config files... 03:19:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-137@tmp/config8530690389185867078tmp [Pipeline] { [Pipeline] echo 03:19:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:19:27 ---> create-netrc.sh [Pipeline] } 03:19:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:19:27 ---> python-tools-install.sh [Pipeline] echo 03:19:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:19:27 ---> sudo-logs.sh 03:19:27 Archiving 'sudo' log.. 03:19:27 sudo: unable to resolve host prd-centos7-docker-4c-2g-2288.novalocal: Name or service not known 03:19:27 sudo: unable to resolve host prd-centos7-docker-4c-2g-2288.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 03:19:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:19:28 ---> job-cost.sh 03:19:28 lf-activate-venv: SKIPPING 03:19:28 DEBUG: total: 0.10999999940395355 03:19:28 INFO: Retrieving Stack Cost... 03:19:31 INFO: Retrieving Pricing Info for: v3-standard-2 03:19:31 INFO: Archiving Costs [Pipeline] echo 03:19:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:19:32 ---> logs-deploy.sh 03:19:32 lf-activate-venv: SKIPPING 03:19:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-137/6 03:19:32 INFO: archiving workspace using pattern(s): 03:19:32 Archives upload complete. 03:19:33 INFO: archiving logs to Nexus 03:19:33 ---> uname -a: 03:19:33 Linux prd-centos7-docker-4c-2g-2288.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 03:19:33 03:19:33 03:19:33 ---> lscpu: 03:19:33 Architecture: x86_64 03:19:33 CPU op-mode(s): 32-bit, 64-bit 03:19:33 Byte Order: Little Endian 03:19:33 Address sizes: 40 bits physical, 48 bits virtual 03:19:33 CPU(s): 2 03:19:33 On-line CPU(s) list: 0,1 03:19:33 Thread(s) per core: 1 03:19:33 Core(s) per socket: 1 03:19:33 Socket(s): 2 03:19:33 NUMA node(s): 1 03:19:33 Vendor ID: AuthenticAMD 03:19:33 CPU family: 23 03:19:33 Model: 49 03:19:33 Model name: AMD EPYC-Rome Processor 03:19:33 Stepping: 0 03:19:33 CPU MHz: 2799.996 03:19:33 BogoMIPS: 5599.99 03:19:33 Virtualization: AMD-V 03:19:33 Hypervisor vendor: KVM 03:19:33 Virtualization type: full 03:19:33 L1d cache: 32K 03:19:33 L1i cache: 32K 03:19:33 L2 cache: 512K 03:19:33 L3 cache: 16384K 03:19:33 NUMA node0 CPU(s): 0,1 03:19:33 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 03:19:33 03:19:33 03:19:33 ---> nproc: 03:19:33 2 03:19:33 03:19:33 03:19:33 ---> df -h: 03:19:33 Filesystem Size Used Avail Use% Mounted on 03:19:33 overlay 40G 7.7G 33G 20% / 03:19:33 tmpfs 64M 0 64M 0% /dev 03:19:33 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 03:19:33 shm 64M 0 64M 0% /dev/shm 03:19:33 /dev/vda1 40G 7.7G 33G 20% /facter-os 03:19:33 03:19:33 03:19:33 ---> sar -b -r -n DEV: 03:19:33 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/07/21 _x86_64_ (2 CPU) 03:19:33 03:19:33 03:08:48 LINUX RESTART (2 CPU) 03:19:33 03:19:33 03:10:02 tps rtps wtps bread/s bwrtn/s 03:19:33 03:11:01 1.69 0.00 1.69 0.00 32.52 03:19:33 03:12:01 0.25 0.00 0.25 0.00 3.63 03:19:33 03:13:01 0.28 0.00 0.28 0.00 2.58 03:19:33 03:14:01 0.23 0.00 0.23 0.00 3.38 03:19:33 03:15:01 0.70 0.00 0.70 0.00 8.55 03:19:33 03:16:01 0.53 0.00 0.53 0.00 6.23 03:19:33 03:17:01 0.53 0.00 0.53 0.00 7.48 03:19:33 03:18:01 0.17 0.00 0.17 0.00 1.35 03:19:33 03:19:01 0.27 0.00 0.27 0.00 3.36 03:19:33 Average: 0.52 0.00 0.52 0.00 7.63 03:19:33 03:19:33 03:10:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:19:33 03:11:01 5670988 0 616860 7.70 2620 1718464 1174932 12.97 562904 1538116 20 03:19:33 03:12:01 5672148 0 615692 7.69 2620 1718472 1162596 12.84 562224 1538180 8 03:19:33 03:13:01 5670108 0 617732 7.71 2620 1718472 1162596 12.84 564144 1538180 8 03:19:33 03:14:01 5668416 0 619412 7.73 2620 1718484 1162800 12.84 564428 1539092 16 03:19:33 03:15:01 5672488 0 615336 7.68 2620 1718488 1162752 12.84 560828 1539092 8 03:19:33 03:16:01 5673028 0 614796 7.68 2620 1718488 1162596 12.84 559924 1539108 8 03:19:33 03:17:01 5663108 0 624708 7.80 2620 1718496 1162596 12.84 570284 1539108 12 03:19:33 03:18:01 5662168 0 625644 7.81 2620 1718500 1162596 12.84 570700 1539124 8 03:19:33 03:19:01 5662428 0 625380 7.81 2620 1718504 1162596 12.84 572856 1537068 8 03:19:33 Average: 5668320 0 619507 7.74 2620 1718485 1164007 12.85 565366 1538563 11 03:19:33 03:19:33 03:10:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:19:33 03:11:01 eth0 2.27 1.02 1.66 0.08 0.00 0.00 0.00 0.00 03:19:33 03:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:12:01 eth0 0.58 0.10 0.06 0.01 0.00 0.00 0.00 0.00 03:19:33 03:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:13:01 eth0 0.82 0.08 0.07 0.01 0.00 0.00 0.00 0.00 03:19:33 03:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:14:01 eth0 1.27 0.35 0.35 0.20 0.00 0.00 0.00 0.00 03:19:33 03:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:15:01 eth0 0.83 0.47 0.41 0.27 0.00 0.00 0.00 0.00 03:19:33 03:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:16:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:19:33 03:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:17:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 03:19:33 03:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:18:01 eth0 0.07 0.03 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:19:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:19:33 03:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 Average: eth0 0.68 0.25 0.28 0.06 0.00 0.00 0.00 0.00 03:19:33 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:19:33 03:19:33 03:19:33 ---> sar -P ALL: 03:19:33 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/07/21 _x86_64_ (2 CPU) 03:19:33 03:19:33 03:08:48 LINUX RESTART (2 CPU) 03:19:33 03:19:33 03:10:02 CPU %user %nice %system %iowait %steal %idle 03:19:33 03:11:01 all 0.23 0.00 0.08 0.00 0.03 99.67 03:19:33 03:11:01 0 0.27 0.00 0.08 0.00 0.03 99.61 03:19:33 03:11:01 1 0.19 0.00 0.07 0.00 0.02 99.73 03:19:33 03:12:01 all 0.20 0.00 0.03 0.00 0.03 99.74 03:19:33 03:12:01 0 0.05 0.00 0.02 0.00 0.03 99.90 03:19:33 03:12:01 1 0.35 0.00 0.05 0.00 0.02 99.58 03:19:33 03:13:01 all 0.05 0.00 0.03 0.00 0.03 99.90 03:19:33 03:13:01 0 0.07 0.00 0.03 0.00 0.02 99.88 03:19:33 03:13:01 1 0.03 0.00 0.02 0.00 0.03 99.92 03:19:33 03:14:01 all 0.10 0.00 0.04 0.00 0.03 99.83 03:19:33 03:14:01 0 0.07 0.00 0.03 0.00 0.02 99.88 03:19:33 03:14:01 1 0.13 0.00 0.05 0.00 0.03 99.78 03:19:33 03:15:01 all 0.13 0.00 0.04 0.00 0.03 99.81 03:19:33 03:15:01 0 0.03 0.00 0.05 0.00 0.05 99.87 03:19:33 03:15:01 1 0.22 0.00 0.03 0.00 0.00 99.75 03:19:33 03:16:01 all 0.14 0.00 0.03 0.00 0.02 99.82 03:19:33 03:16:01 0 0.03 0.00 0.03 0.00 0.02 99.92 03:19:33 03:16:01 1 0.25 0.00 0.02 0.00 0.02 99.72 03:19:33 03:17:01 all 0.13 0.00 0.05 0.00 0.03 99.79 03:19:33 03:17:01 0 0.05 0.00 0.03 0.00 0.02 99.90 03:19:33 03:17:01 1 0.22 0.00 0.07 0.00 0.03 99.68 03:19:33 03:18:01 all 0.16 0.00 0.02 0.00 0.03 99.79 03:19:33 03:18:01 0 0.03 0.00 0.00 0.00 0.03 99.93 03:19:33 03:18:01 1 0.28 0.00 0.03 0.00 0.03 99.65 03:19:33 03:19:01 all 0.15 0.00 0.03 0.00 0.03 99.79 03:19:33 03:19:01 0 0.03 0.00 0.03 0.00 0.02 99.92 03:19:33 03:19:01 1 0.27 0.00 0.03 0.00 0.03 99.67 03:19:33 Average: all 0.14 0.00 0.04 0.00 0.03 99.79 03:19:33 Average: 0 0.07 0.00 0.04 0.00 0.03 99.87 03:19:33 Average: 1 0.22 0.00 0.04 0.00 0.02 99.72 03:19:33 03:19:33 03:19:33