Pull request #128 updated 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 soda480 for edgexfoundry/device-rest-go Obtained Jenkinsfile from ad5ae9a0a2f73944f987c704a3dd6d254d98a666+ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (a274e8ec35cea6ab63da5e43e5e90143638a9c2c) 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-ssh1502656704944770668.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh6176534120907254452.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-128/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-128/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7337094792804057217.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh7810322695852547830.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-128/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-128/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6616823552123266190.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1065 in /w/workspace/gexfoundry_device-rest-go_PR-128 [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-128 # 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-128@tmp/jenkins-gitclient-ssh8306471718849360390.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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-128@tmp/jenkins-gitclient-ssh6585295951210718852.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ac4b371315fba0b9546dc2a95c8393f838fbe7e4 into PR head commit ad5ae9a0a2f73944f987c704a3dd6d254d98a666 Merge succeeded, producing ad5ae9a0a2f73944f987c704a3dd6d254d98a666 Checking out Revision ad5ae9a0a2f73944f987c704a3dd6d254d98a666 (PR-128) > git config core.sparsecheckout # timeout=10 > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # 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-128@tmp/jenkins-gitclient-ssh2342372265219972589.key > git merge ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # timeout=10 Commit message: "docs: Update build status badge" First time build. Skipping changelog. > git rev-list --no-walk b263c2e12538d2124d0c359fc27e2a2a90b1ec1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:45:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:45:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:45:34 ========================================================= 16:45:34 EdgeX Global Pipelines Version Info 16:45:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:45:35 ------------------- 16:45:35 stable info: 16:45:35 ------------------- 16:45:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:45:35 Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 16:45:35 Message: update stable to v1.0.199 16:45:36 ------------------- 16:45:36 experimental info: 16:45:36 ------------------- 16:45:36 Commited By: **** collab-it+edgex@linuxfoundation.org 16:45:36 Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 16:45:36 Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:45:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-128 [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-128 [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-128 [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad5ae9a [Pipeline] echo 16:45:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:37 provisioning config files... 16:45:37 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/config6422028187689151056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:37 ---> docker-login.sh 16:45:37 nexus3.edgexfoundry.org:10001 16:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:38 Configure a credential helper to remove this warning. See 16:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:38 16:45:38 Login Succeeded 16:45:38 nexus3.edgexfoundry.org:10002 16:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:38 Configure a credential helper to remove this warning. See 16:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:38 16:45:38 Login Succeeded 16:45:38 nexus3.edgexfoundry.org:10003 16:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:38 Configure a credential helper to remove this warning. See 16:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:38 16:45:38 Login Succeeded 16:45:38 nexus3.edgexfoundry.org:10004 16:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:38 Configure a credential helper to remove this warning. See 16:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:38 16:45:38 Login Succeeded 16:45:38 docker.io 16:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:38 Configure a credential helper to remove this warning. See 16:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:38 16:45:38 Login Succeeded 16:45:38 ---> docker-login.sh ends [Pipeline] } 16:45:38 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 16:45:39 + git log --format=format:%s -1 ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [Pipeline] echo 16:45:39 GIT_COMMIT: ad5ae9a0a2f73944f987c704a3dd6d254d98a666, Commit Message: docs: Update build status badge [Pipeline] echo 16:45:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:45:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:45:40 16:45:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:45:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:45:41 latest: Pulling from edgex-devops/git-semver 16:45:41 31603596830f: Pulling fs layer 16:45:41 b6dc333f4379: Pulling fs layer 16:45:41 3d9ef1400e77: Pulling fs layer 16:45:41 fd332fbdc1db: Pulling fs layer 16:45:41 fd332fbdc1db: Waiting 16:45:41 b6dc333f4379: Verifying Checksum 16:45:41 b6dc333f4379: Download complete 16:45:41 31603596830f: Verifying Checksum 16:45:41 31603596830f: Download complete 16:45:41 31603596830f: Pull complete 16:45:41 fd332fbdc1db: Verifying Checksum 16:45:41 fd332fbdc1db: Download complete 16:45:41 b6dc333f4379: Pull complete 16:45:41 3d9ef1400e77: Verifying Checksum 16:45:41 3d9ef1400e77: Download complete 16:45:42 3d9ef1400e77: Pull complete 16:45:42 fd332fbdc1db: Pull complete 16:45:42 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 16:45:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:45:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:45:42 prd-centos7-docker-4c-2g-1065 does not seem to be running inside a container 16:45:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-128 -v /w/workspace/gexfoundry_device-rest-go_PR-128:/w/workspace/gexfoundry_device-rest-go_PR-128:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-128@tmp:/w/workspace/gexfoundry_device-rest-go_PR-128@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 16:45:43 $ docker top 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:45:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:43 [ssh-agent] Looking for ssh-agent implementation... 16:45:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:43 $ docker exec 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 ssh-agent 16:45:43 SSH_AUTH_SOCK=/tmp/ssh-KaUASvgx8OHw/agent.13 16:45:43 SSH_AGENT_PID=19 16:45:43 Running ssh-add (command line suppressed) 16:45:44 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_329896569162277901.key (/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_329896569162277901.key) 16:45:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:44 + git tag --points-at HEAD [Pipeline] } 16:45:44 $ docker exec --env ******** --env ******** 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 ssh-agent -k 16:45:44 unset SSH_AUTH_SOCK; 16:45:44 unset SSH_AGENT_PID; 16:45:44 echo Agent pid 19 killed; 16:45:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:45:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:44 [ssh-agent] Looking for ssh-agent implementation... 16:45:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:44 $ docker exec 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 ssh-agent 16:45:44 SSH_AUTH_SOCK=/tmp/ssh-PfEO9029E4zr/agent.51 16:45:44 SSH_AGENT_PID=58 16:45:44 Running ssh-add (command line suppressed) 16:45:44 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_5097320849714601979.key (/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_5097320849714601979.key) 16:45:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:45 + git semver init 16:45:45 # -> Open(): unable to determine branch for HEAD 16:45:45 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-128/.git 16:45:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-128 16:45:45 # $SEMVER_REMOTE_NAME = origin 16:45:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:45:45 # $SEMVER_USER_NAME = edgex-jenkins 16:45:45 # $SEMVER_BRANCH = PR-128 16:45:45 # $SEMVER_TEMP = /tmp/semver-018504859 16:45:45 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 16:45:46 # '/tmp/semver-018504859' -> '/w/workspace/gexfoundry_device-rest-go_PR-128/.semver' 16:45:46 # -> Force: false 16:45:46 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-128/.semver [Pipeline] } 16:45:46 $ docker exec --env ******** --env ******** 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 ssh-agent -k 16:45:46 unset SSH_AUTH_SOCK; 16:45:46 unset SSH_AGENT_PID; 16:45:46 echo Agent pid 58 killed; 16:45:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:45:46 + git semver [Pipeline] } 16:45:46 $ docker stop --time=1 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 16:45:48 $ docker rm -f 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 [Pipeline] // withDockerContainer [Pipeline] sh 16:45:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:45:48 Stashed 1 file(s) [Pipeline] echo 16:45:48 [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 16:46:04 Still waiting to schedule task 16:46:04 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:46:04 Still waiting to schedule task 16:46:04 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:48:23 Running on prd-centos7-docker-4c-2g-1068 in /w/workspace/gexfoundry_device-rest-go_PR-128 [Pipeline] { [Pipeline] ws 16:48:23 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 16:48:23 The recommended git tool is: git 16:48:26 using credential edgex-jenkins-ssh 16:48:26 Cloning the remote Git repository 16:48:25 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:48:26 > git init /w/workspace/device-rest-go/2 # timeout=10 16:48:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:48:26 > git --version # timeout=10 16:48:26 > git --version # 'git version 2.24.4' 16:48:26 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:26 [INFO] Currently running in a labeled security context 16:48:26 [INFO] Currently SELinux is 'enforcing' on the host 16:48:26 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh7194827215836101293.key 16:48:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:48:28 Merging remotes/origin/main commit ac4b371315fba0b9546dc2a95c8393f838fbe7e4 into PR head commit ad5ae9a0a2f73944f987c704a3dd6d254d98a666 16:48:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:48:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:48:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:48:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:48:27 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:27 [INFO] Currently running in a labeled security context 16:48:27 [INFO] Currently SELinux is 'enforcing' on the host 16:48:27 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh911652772424297339.key 16:48:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:48:27 > git config core.sparsecheckout # timeout=10 16:48:27 > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # timeout=10 16:48:28 Merge succeeded, producing ad5ae9a0a2f73944f987c704a3dd6d254d98a666 16:48:28 Checking out Revision ad5ae9a0a2f73944f987c704a3dd6d254d98a666 (PR-128) 16:48:27 > git remote # timeout=10 16:48:27 > git config --get remote.origin.url # timeout=10 16:48:27 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:27 [INFO] Currently running in a labeled security context 16:48:27 [INFO] Currently SELinux is 'enforcing' on the host 16:48:27 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh2585704920561793777.key 16:48:27 > git merge ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 16:48:27 > git rev-parse HEAD^{commit} # timeout=10 16:48:27 > git config core.sparsecheckout # timeout=10 16:48:27 > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # timeout=10 16:48:32 Commit message: "docs: Update build status badge" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:32 provisioning config files... 16:48:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5730714198091315764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:32 ---> docker-login.sh 16:48:32 nexus3.edgexfoundry.org:10001 16:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:33 Configure a credential helper to remove this warning. See 16:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:33 16:48:33 Login Succeeded 16:48:33 nexus3.edgexfoundry.org:10002 16:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:33 Configure a credential helper to remove this warning. See 16:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:33 16:48:33 Login Succeeded 16:48:33 nexus3.edgexfoundry.org:10003 16:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:33 Configure a credential helper to remove this warning. See 16:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:33 16:48:33 Login Succeeded 16:48:33 nexus3.edgexfoundry.org:10004 16:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:33 Configure a credential helper to remove this warning. See 16:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:33 16:48:33 Login Succeeded 16:48:33 docker.io 16:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:34 Configure a credential helper to remove this warning. See 16:48:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:34 16:48:34 Login Succeeded 16:48:34 ---> docker-login.sh ends [Pipeline] } 16:48:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:34 ========================================================= 16:48:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:48:34 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:48:34 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 16:48:34 Sending build context to Docker daemon 116.2kB 16:48:34 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 16:48:34 Step 2/10 : FROM ${BASE} 16:48:34 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:48:34 540db60ca938: Pulling fs layer 16:48:34 adcc1eea9eea: Pulling fs layer 16:48:34 4c4ab2625f07: Pulling fs layer 16:48:34 0773c198feca: Pulling fs layer 16:48:34 345f892a5656: Pulling fs layer 16:48:34 4796506630df: Pulling fs layer 16:48:34 cc55df3e53f1: Pulling fs layer 16:48:34 4d027b6c602c: Pulling fs layer 16:48:34 449e75d2c14e: Pulling fs layer 16:48:34 0773c198feca: Waiting 16:48:34 345f892a5656: Waiting 16:48:34 4796506630df: Waiting 16:48:34 cc55df3e53f1: Waiting 16:48:34 4d027b6c602c: Waiting 16:48:34 449e75d2c14e: Waiting 16:48:34 4c4ab2625f07: Verifying Checksum 16:48:34 4c4ab2625f07: Download complete 16:48:34 adcc1eea9eea: Verifying Checksum 16:48:34 adcc1eea9eea: Download complete 16:48:34 345f892a5656: Verifying Checksum 16:48:34 345f892a5656: Download complete 16:48:34 4796506630df: Verifying Checksum 16:48:34 4796506630df: Download complete 16:48:34 cc55df3e53f1: Verifying Checksum 16:48:34 cc55df3e53f1: Download complete 16:48:34 540db60ca938: Verifying Checksum 16:48:34 540db60ca938: Download complete 16:48:35 540db60ca938: Pull complete 16:48:35 adcc1eea9eea: Pull complete 16:48:35 4c4ab2625f07: Pull complete 16:48:35 4d027b6c602c: Verifying Checksum 16:48:35 4d027b6c602c: Download complete 16:48:37 449e75d2c14e: Verifying Checksum 16:48:37 449e75d2c14e: Download complete 16:48:39 0773c198feca: Verifying Checksum 16:48:39 0773c198feca: Download complete 16:48:42 0773c198feca: Pull complete 16:48:42 345f892a5656: Pull complete 16:48:42 4796506630df: Pull complete 16:48:42 cc55df3e53f1: Pull complete 16:48:42 4d027b6c602c: Pull complete 16:48:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1067 in /w/workspace/gexfoundry_device-rest-go_PR-128 [Pipeline] { [Pipeline] ws 16:48:42 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 16:48:43 The recommended git tool is: git 16:48:44 449e75d2c14e: Pull complete 16:48:44 Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 16:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:48:44 ---> 0d28375d9b5b 16:48:44 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:48:45 ---> Running in d0cad83a3522 16:48:45 Removing intermediate container d0cad83a3522 16:48:45 ---> 9b2ace6f29ec 16:48:45 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 16:48:45 ---> Running in 1ce91416e73e 16:48:46 Removing intermediate container 1ce91416e73e 16:48:46 ---> 4996aaaf2799 16:48:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:48:46 ---> Running in 3534db965617 16:48:46 Removing intermediate container 3534db965617 16:48:46 ---> fcea6e1be525 16:48:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:48:46 ---> Running in 98f42b09876a 16:48:46 Removing intermediate container 98f42b09876a 16:48:46 ---> 77c11ef21056 16:48:46 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:46 ---> Running in f3043ec683da 16:48:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:48:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:48:48 (1/9) Installing libc-dev (0.7.2-r3) 16:48:48 (2/9) Installing libsodium (1.0.18-r0) 16:48:48 (3/9) Installing pkgconf (1.7.3-r0) 16:48:48 (4/9) Installing libsodium-dev (1.0.18-r0) 16:48:48 using credential edgex-jenkins-ssh 16:48:48 (5/9) Installing openssh-keygen (8.4_p1-r3) 16:48:48 (6/9) Installing libedit (20191231.3.1-r1) 16:48:48 (7/9) Installing openssh-client (8.4_p1-r3) 16:48:48 Cloning the remote Git repository 16:48:49 (8/9) Installing libzmq (4.3.3-r1) 16:48:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:48:48 > git init /w/workspace/device-rest-go/2 # timeout=10 16:48:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:48:49 > git --version # timeout=10 16:48:49 > git --version # 'git version 2.17.1' 16:48:49 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:48:49 (9/9) Installing zeromq-dev (4.3.3-r1) 16:48:49 Executing busybox-1.32.1-r6.trigger 16:48:49 OK: 154 MiB in 49 packages 16:48:49 Removing intermediate container f3043ec683da 16:48:49 ---> 839d3ab4169c 16:48:49 Step 8/10 : WORKDIR /device-rest-go 16:48:49 ---> Running in 9271a339ccf5 16:48:49 Removing intermediate container 9271a339ccf5 16:48:49 ---> 39cf525c1622 16:48:49 Step 9/10 : COPY . . 16:48:50 ---> a89cb54db591 16:48:50 Step 10/10 : RUN go mod download 16:48:50 ---> Running in fd2fbc4ad46e 16:48:51 Merging remotes/origin/main commit ac4b371315fba0b9546dc2a95c8393f838fbe7e4 into PR head commit ad5ae9a0a2f73944f987c704a3dd6d254d98a666 16:48:51 Merge succeeded, producing ad5ae9a0a2f73944f987c704a3dd6d254d98a666 16:48:51 Checking out Revision ad5ae9a0a2f73944f987c704a3dd6d254d98a666 (PR-128) 16:48:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:48:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:48:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:48:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:48:50 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:48:51 > git config core.sparsecheckout # timeout=10 16:48:51 > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # timeout=10 16:48:51 > git remote # timeout=10 16:48:51 > git config --get remote.origin.url # timeout=10 16:48:51 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:51 > git merge ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 16:48:51 > git rev-parse HEAD^{commit} # timeout=10 16:48:51 > git config core.sparsecheckout # timeout=10 16:48:51 > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # timeout=10 16:48:55 Commit message: "docs: Update build status badge" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:56 provisioning config files... 16:48:56 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5851187185100267243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:56 ---> docker-login.sh 16:48:56 nexus3.edgexfoundry.org:10001 16:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:58 Configure a credential helper to remove this warning. See 16:48:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:58 16:48:58 Login Succeeded 16:48:58 nexus3.edgexfoundry.org:10002 16:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:59 Configure a credential helper to remove this warning. See 16:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:59 16:48:59 Login Succeeded 16:48:59 nexus3.edgexfoundry.org:10003 16:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:59 Configure a credential helper to remove this warning. See 16:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:59 16:48:59 Login Succeeded 16:48:59 nexus3.edgexfoundry.org:10004 16:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:00 Configure a credential helper to remove this warning. See 16:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:00 16:49:00 Login Succeeded 16:49:00 docker.io 16:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:00 Configure a credential helper to remove this warning. See 16:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:00 16:49:00 Login Succeeded 16:49:00 ---> docker-login.sh ends [Pipeline] } 16:49:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:49:01 ========================================================= 16:49:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:49:01 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:49:01 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 16:49:01 Sending build context to Docker daemon 116.2kB 16:49:02 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 16:49:02 Step 2/10 : FROM ${BASE} 16:49:02 Removing intermediate container fd2fbc4ad46e 16:49:02 ---> 002aaff8ab09 16:49:02 Successfully built 002aaff8ab09 16:49:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:49:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:49:02 595b0fe564bb: Pulling fs layer 16:49:02 24495759ef45: Pulling fs layer 16:49:02 d148012ef14d: Pulling fs layer 16:49:02 cb65c68fc2e2: Pulling fs layer 16:49:02 093eec477d81: Pulling fs layer 16:49:02 a6d5b2bbb924: Pulling fs layer 16:49:02 2446dc1eb7d3: Pulling fs layer 16:49:02 596795e73e0f: Pulling fs layer 16:49:02 a6d5b2bbb924: Waiting 16:49:02 cb65c68fc2e2: Waiting 16:49:02 093eec477d81: Waiting 16:49:02 2446dc1eb7d3: Waiting 16:49:02 596795e73e0f: Waiting 16:49:02 + docker inspect -f . ci-base-image-x86_64 16:49:02 . [Pipeline] withDockerContainer 16:49:02 prd-centos7-docker-4c-2g-1068 does not seem to be running inside a container 16:49:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 16:49:02 d148012ef14d: Verifying Checksum 16:49:02 d148012ef14d: Download complete 16:49:02 24495759ef45: Verifying Checksum 16:49:02 24495759ef45: Download complete 16:49:02 093eec477d81: Download complete 16:49:02 a6d5b2bbb924: Download complete 16:49:03 595b0fe564bb: Verifying Checksum 16:49:03 595b0fe564bb: Download complete 16:49:03 2446dc1eb7d3: Verifying Checksum 16:49:03 2446dc1eb7d3: Download complete 16:49:03 $ docker top 607ca56ccf702fb7a66cfc55f9fc39e50efe7180cf1f6b3e676a3f9c6961301b -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:03 + go version 16:49:03 go version go1.16.5 linux/amd64 [Pipeline] } 16:49:03 $ docker stop --time=1 607ca56ccf702fb7a66cfc55f9fc39e50efe7180cf1f6b3e676a3f9c6961301b 16:49:03 595b0fe564bb: Pull complete 16:49:04 24495759ef45: Pull complete 16:49:04 $ docker rm -f 607ca56ccf702fb7a66cfc55f9fc39e50efe7180cf1f6b3e676a3f9c6961301b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 16:49:05 d148012ef14d: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:49:05 + docker inspect -f . ci-base-image-x86_64 16:49:05 . [Pipeline] withDockerContainer 16:49:05 prd-centos7-docker-4c-2g-1068 does not seem to be running inside a container 16:49:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 16:49:05 $ docker top d839afaf8f6ea71f186459d34aad4339dfb3330e305af001fc332ee33cb67e0a -eo pid,comm 16:49:06 596795e73e0f: Verifying Checksum 16:49:06 596795e73e0f: Download complete [Pipeline] { [Pipeline] sh 16:49:06 + go mod tidy [Pipeline] sh 16:49:06 + make test 16:49:06 go mod tidy 16:49:06 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:49:07 cb65c68fc2e2: Verifying Checksum 16:49:07 cb65c68fc2e2: Download complete 16:49:07 ? github.com/edgexfoundry/device-rest-go [no test files] 16:49:17 cb65c68fc2e2: Pull complete 16:49:17 093eec477d81: Pull complete 16:49:18 a6d5b2bbb924: Pull complete 16:49:18 2446dc1eb7d3: Pull complete 16:49:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:49:22 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements 16:49:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:49:22 596795e73e0f: Pull complete 16:49:22 Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 16:49:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:49:22 ---> d9e956139c92 16:49:22 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:49:25 ---> Running in 695fc428387a 16:49:25 Removing intermediate container 695fc428387a 16:49:25 ---> 6e50a7cb9b1c 16:49:25 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 16:49:26 ---> Running in d97efce5aa2c 16:49:26 Removing intermediate container d97efce5aa2c 16:49:26 ---> 810484ba9282 16:49:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:49:26 ---> Running in 44e9be299c46 16:49:27 Removing intermediate container 44e9be299c46 16:49:27 ---> cebae15339e1 16:49:27 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:49:27 ---> Running in dc40ce93460d 16:49:29 gofmt -l . 16:49:29 [ "`gofmt -l .`" = "" ] 16:49:29 ./bin/test-go-mod-tidy.sh 16:49:29 ./bin/test-attribution-txt.sh [Pipeline] } 16:49:29 $ docker stop --time=1 d839afaf8f6ea71f186459d34aad4339dfb3330e305af001fc332ee33cb67e0a 16:49:29 Removing intermediate container dc40ce93460d 16:49:29 ---> 12598072fa73 16:49:29 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:49:30 ---> Running in 2c9b91809d56 16:49:31 $ docker rm -f d839afaf8f6ea71f186459d34aad4339dfb3330e305af001fc332ee33cb67e0a [Pipeline] // withDockerContainer [Pipeline] sh 16:49:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:49:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:49:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 16:49:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:49:33 (1/9) Installing libc-dev (0.7.2-r3) 16:49:33 (2/9) Installing libsodium (1.0.18-r0) 16:49:33 (3/9) Installing pkgconf (1.7.3-r0) 16:49:33 (4/9) Installing libsodium-dev (1.0.18-r0) 16:49:33 (5/9) Installing openssh-keygen (8.4_p1-r3) 16:49:33 (6/9) Installing libedit (20191231.3.1-r1) 16:49:33 (7/9) Installing openssh-client (8.4_p1-r3) [Pipeline] sh 16:49:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:49:34 + ls -al . 16:49:34 total 112 16:49:34 drwxrwxr-x. 8 jenkins jenkins 4096 Jul 30 16:49 . 16:49:34 drwxrwxr-x. 4 jenkins jenkins 28 Jul 30 16:48 .. 16:49:34 -rw-rw-r--. 1 jenkins jenkins 6792 Jul 30 16:48 Attribution.txt 16:49:34 drwxrwxr-x. 2 jenkins jenkins 64 Jul 30 16:48 bin 16:49:34 -rw-rw-r--. 1 jenkins jenkins 7459 Jul 30 16:48 CHANGELOG.md 16:49:34 drwxrwxr-x. 3 jenkins jenkins 32 Jul 30 16:48 cmd 16:49:34 -rw-r--r--. 1 jenkins jenkins 8513 Jul 30 16:49 coverage.out 16:49:34 -rw-rw-r--. 1 jenkins jenkins 1615 Jul 30 16:48 Dockerfile 16:49:34 -rw-rw-r--. 1 jenkins jenkins 1087 Jul 30 16:48 Dockerfile.build 16:49:34 -rw-rw-r--. 1 jenkins jenkins 151 Jul 30 16:48 .dockerignore 16:49:34 drwxrwxr-x. 2 jenkins jenkins 76 Jul 30 16:48 driver 16:49:34 drwxrwxr-x. 8 jenkins jenkins 179 Jul 30 16:48 .git 16:49:34 drwxrwxr-x. 2 jenkins jenkins 103 Jul 30 16:48 .github 16:49:34 -rw-rw-r--. 1 jenkins jenkins 336 Jul 30 16:48 .gitignore 16:49:34 -rw-r--r--. 1 jenkins jenkins 271 Jul 30 16:49 go.mod 16:49:34 -rw-r--r--. 1 jenkins jenkins 20570 Jul 30 16:49 go.sum 16:49:34 -rw-rw-r--. 1 jenkins jenkins 680 Jul 30 16:48 Jenkinsfile 16:49:34 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 30 16:48 LICENSE 16:49:34 -rw-rw-r--. 1 jenkins jenkins 996 Jul 30 16:48 Makefile 16:49:34 -rw-rw-r--. 1 jenkins jenkins 7661 Jul 30 16:48 README.md 16:49:34 drwxrwxr-x. 4 jenkins jenkins 71 Jul 30 16:48 snap 16:49:34 -rw-rw-r--. 1 jenkins jenkins 5 Jul 30 16:45 VERSION 16:49:34 -rw-rw-r--. 1 jenkins jenkins 713 Jul 30 16:48 version.go [Pipeline] isUnix [Pipeline] sh 16:49:34 (8/9) Installing libzmq (4.3.3-r1) 16:49:34 (9/9) Installing zeromq-dev (4.3.3-r1) 16:49:34 + 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=ad5ae9a0a2f73944f987c704a3dd6d254d98a666 --label arch=amd64 --label version=0.0.0 . 16:49:34 Sending build context to Docker daemon 126kB 16:49:34 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 16:49:34 Step 2/25 : FROM ${BASE} AS builder 16:49:34 ---> 002aaff8ab09 16:49:34 Step 3/25 : ARG MAKE='make build' 16:49:34 ---> Running in 513ccca9e91b 16:49:34 Removing intermediate container 513ccca9e91b 16:49:34 ---> 6132cf8ed4a2 16:49:34 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:49:34 ---> Running in e8bf46864806 16:49:35 Executing busybox-1.32.1-r6.trigger 16:49:35 OK: 144 MiB in 49 packages 16:49:35 Removing intermediate container e8bf46864806 16:49:35 ---> 02d8420c7b4c 16:49:35 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:49:35 ---> Running in 0664f151708f 16:49:35 Removing intermediate container 0664f151708f 16:49:35 ---> 04dc078d1eba 16:49:35 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:49:35 ---> Running in 1d2916028f03 16:49:35 Removing intermediate container 1d2916028f03 16:49:35 ---> 32b1d55900ed 16:49:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:49:35 ---> Running in 749f212f8539 16:49:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 16:49:36 Removing intermediate container 2c9b91809d56 16:49:36 ---> 020d7c936f4e 16:49:36 Step 8/10 : WORKDIR /device-rest-go 16:49:36 ---> Running in 6dbebb3cea14 16:49:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 16:49:37 Removing intermediate container 6dbebb3cea14 16:49:37 ---> c9d7be9879b9 16:49:37 Step 9/10 : COPY . . 16:49:37 OK: 154 MiB in 49 packages 16:49:37 Removing intermediate container 749f212f8539 16:49:37 ---> 886bd31695b3 16:49:37 Step 8/25 : WORKDIR /device-rest-go 16:49:37 ---> Running in 9f80e21c8a72 16:49:37 Removing intermediate container 9f80e21c8a72 16:49:37 ---> 1b7f2cbc0230 16:49:37 Step 9/25 : COPY . . 16:49:37 ---> eeb1464131ad 16:49:37 Step 10/25 : RUN go mod tidy 16:49:37 ---> Running in 7c3a238f4fed 16:49:38 ---> 51c4168f291b 16:49:38 Step 10/10 : RUN go mod download 16:49:38 ---> Running in cb7b09d6c906 16:49:38 Removing intermediate container 7c3a238f4fed 16:49:38 ---> fcc90437b767 16:49:38 Step 11/25 : RUN make update 16:49:38 ---> Running in e98866bde067 16:49:39 CGO_ENABLED=0 GO111MODULE=on go mod download 16:49:39 Removing intermediate container e98866bde067 16:49:39 ---> a4f9bfc4fe60 16:49:39 Step 12/25 : RUN $MAKE 16:49:39 ---> Running in 0b61dd084ae9 16:49:39 go mod tidy 16:49:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 16:49:51 Removing intermediate container 0b61dd084ae9 16:49:51 ---> 195fd18bb809 16:49:51 Step 13/25 : FROM alpine:3.12 16:49:51 3.12: Pulling from library/alpine 16:49:51 339de151aab4: Pulling fs layer 16:49:51 339de151aab4: Verifying Checksum 16:49:51 339de151aab4: Download complete 16:49:51 339de151aab4: Pull complete 16:49:51 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 16:49:51 Status: Downloaded newer image for alpine:3.12 16:49:51 ---> 13621d1b12d4 16:49:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:49:51 ---> Running in 199419732dc2 16:49:51 Removing intermediate container 199419732dc2 16:49:51 ---> 8646b5501b41 16:49:51 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:49:51 ---> Running in 14be2f89939a 16:49:51 Removing intermediate container 14be2f89939a 16:49:51 ---> fce503cbeadd 16:49:51 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 16:49:51 ---> Running in 1af0941c9c0f 16:49:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:49:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:49:52 (1/6) Installing dumb-init (1.2.2-r1) 16:49:52 (2/6) Installing libgcc (9.3.0-r2) 16:49:52 (3/6) Installing libsodium (1.0.18-r0) 16:49:52 (4/6) Installing libstdc++ (9.3.0-r2) 16:49:52 (5/6) Installing libzmq (4.3.3-r0) 16:49:52 (6/6) Installing zeromq (4.3.3-r0) 16:49:52 Executing busybox-1.31.1-r20.trigger 16:49:52 OK: 8 MiB in 20 packages 16:49:52 Removing intermediate container 1af0941c9c0f 16:49:52 ---> 6eb2bdf7d733 16:49:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:49:53 ---> d2818908aec2 16:49:53 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:49:53 ---> 6ca64e9142e2 16:49:53 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:49:53 ---> eaf6f2468253 16:49:53 Step 20/25 : EXPOSE 59986 16:49:53 ---> Running in a096bdff9b86 16:49:53 Removing intermediate container a096bdff9b86 16:49:53 ---> a89a55369c55 16:49:53 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:49:53 ---> Running in 2e627c249c5f 16:49:53 Removing intermediate container 2e627c249c5f 16:49:53 ---> 8c50d85e708c 16:49:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:49:53 ---> Running in cfd11d365367 16:49:53 Removing intermediate container cfd11d365367 16:49:53 ---> 006b88ee0900 16:49:53 Step 23/25 : LABEL arch=amd64 16:49:53 ---> Running in b6bcd905a8c1 16:49:53 Removing intermediate container b6bcd905a8c1 16:49:53 ---> 030d8b631adf 16:49:53 Step 24/25 : LABEL git_sha=ad5ae9a0a2f73944f987c704a3dd6d254d98a666 16:49:53 ---> Running in 5e8da6d0a1e2 16:49:53 Removing intermediate container 5e8da6d0a1e2 16:49:53 ---> f4590c265ea1 16:49:53 Step 25/25 : LABEL version=0.0.0 16:49:53 ---> Running in d52b7364486b 16:49:53 Removing intermediate container d52b7364486b 16:49:53 ---> a669c18e8cc5 16:49:53 [Warning] One or more build-args [ARCH] were not consumed 16:49:53 Successfully built a669c18e8cc5 16:49:53 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 16:49:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:49:54 16:49:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:49:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:49:54 latest: Pulling from edgex-lftools-log-publisher 16:49:54 b4d181a07f80: Pulling fs layer 16:49:54 a1111a8f2ec3: Pulling fs layer 16:49:54 ed53099fbce6: Pulling fs layer 16:49:54 dc539afda2c1: Pulling fs layer 16:49:54 77bc0d833cb6: Pulling fs layer 16:49:54 9065ff56babe: Pulling fs layer 16:49:54 d287ab97295c: Pulling fs layer 16:49:54 dc539afda2c1: Waiting 16:49:54 77bc0d833cb6: Waiting 16:49:54 9065ff56babe: Waiting 16:49:54 d287ab97295c: Waiting 16:49:55 a1111a8f2ec3: Verifying Checksum 16:49:55 a1111a8f2ec3: Download complete 16:49:55 dc539afda2c1: Verifying Checksum 16:49:55 dc539afda2c1: Download complete 16:49:55 77bc0d833cb6: Verifying Checksum 16:49:55 77bc0d833cb6: Download complete 16:49:55 9065ff56babe: Verifying Checksum 16:49:55 9065ff56babe: Download complete 16:49:55 ed53099fbce6: Verifying Checksum 16:49:55 ed53099fbce6: Download complete 16:49:56 b4d181a07f80: Verifying Checksum 16:49:56 b4d181a07f80: Download complete 16:49:57 b4d181a07f80: Pull complete 16:49:57 a1111a8f2ec3: Pull complete 16:49:58 ed53099fbce6: Pull complete 16:49:58 dc539afda2c1: Pull complete 16:49:58 77bc0d833cb6: Pull complete 16:49:58 9065ff56babe: Pull complete 16:49:59 d287ab97295c: Verifying Checksum 16:49:59 d287ab97295c: Download complete 16:50:04 d287ab97295c: Pull complete 16:50:04 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:50:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:50:04 prd-centos7-docker-4c-2g-1068 does not seem to be running inside a container 16:50:04 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 16:50:06 $ docker top ebe2ae0e45242c52546814ce16648aebcef0433e88ceb464787cb1fe09f34c7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:07 ---> job-cost.sh 16:50:07 lf-activate-venv: SKIPPING 16:50:07 INFO: No Stack... 16:50:09 INFO: Retrieving Pricing Info for: v3-standard-2 16:50:09 INFO: Archiving Costs [Pipeline] sh 16:50:09 + cat /w/workspace/device-rest-go/2/archives/cost.csv 16:50:09 + cut -d, -f6 [Pipeline] lock 16:50:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] 16:50:09 Resource [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] did not exist. Created. 16:50:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:50:10 + echo total: 0.05999999865889549 [Pipeline] stash 16:50:10 Stashed 1 file(s) [Pipeline] } 16:50:10 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:50:10 $ docker stop --time=1 ebe2ae0e45242c52546814ce16648aebcef0433e88ceb464787cb1fe09f34c7d 16:50:10 Removing intermediate container cb7b09d6c906 16:50:10 ---> bbbd87707215 16:50:10 Successfully built bbbd87707215 16:50:10 Successfully tagged ci-base-image-arm64:latest 16:50:11 $ docker rm -f ebe2ae0e45242c52546814ce16648aebcef0433e88ceb464787cb1fe09f34c7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] isUnix [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 16:50:11 + docker inspect -f . ci-base-image-arm64 16:50:11 . [Pipeline] // stage [Pipeline] } [Pipeline] withDockerContainer 16:50:12 prd-ubuntu18.04-docker-arm64-4c-16g-1067 does not seem to be running inside a container 16:50:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 16:50:14 $ docker top 7d4dac534b895052e37c259a2c53a548994bfef076c6c0f0b9939e9d5db10aca -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:15 + go version 16:50:15 go version go1.16.5 linux/arm64 [Pipeline] } 16:50:15 $ docker stop --time=1 7d4dac534b895052e37c259a2c53a548994bfef076c6c0f0b9939e9d5db10aca 16:50:17 $ docker rm -f 7d4dac534b895052e37c259a2c53a548994bfef076c6c0f0b9939e9d5db10aca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:50:18 + docker inspect -f . ci-base-image-arm64 16:50:18 . [Pipeline] withDockerContainer 16:50:18 prd-ubuntu18.04-docker-arm64-4c-16g-1067 does not seem to be running inside a container 16:50:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 16:50:20 $ docker top cadb214b9010ae0bbf6a2fad188ef5af3cf69cee881a9d1fabfa8175dea22528 -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:21 + go mod tidy [Pipeline] sh 16:50:22 + make test 16:50:22 go mod tidy 16:50:23 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:50:24 ? github.com/edgexfoundry/device-rest-go [no test files] 16:51:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:51:20 ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements 16:51:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:51:47 gofmt -l . 16:51:47 [ "`gofmt -l .`" = "" ] 16:51:47 ./bin/test-go-mod-tidy.sh 16:51:47 ./bin/test-attribution-txt.sh [Pipeline] } 16:51:47 $ docker stop --time=1 cadb214b9010ae0bbf6a2fad188ef5af3cf69cee881a9d1fabfa8175dea22528 16:51:49 $ docker rm -f cadb214b9010ae0bbf6a2fad188ef5af3cf69cee881a9d1fabfa8175dea22528 [Pipeline] // withDockerContainer [Pipeline] sh 16:51:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:51:50 Warning: overwriting stash ‘coverage-report’ 16:51:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:51:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:51:51 + ls -al . 16:51:51 total 140 16:51:51 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 16:51 . 16:51:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 16:48 .. 16:51:51 -rw-rw-r-- 1 jenkins jenkins 151 Jul 30 16:48 .dockerignore 16:51:51 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 16:48 .git 16:51:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 16:48 .github 16:51:51 -rw-rw-r-- 1 jenkins jenkins 336 Jul 30 16:48 .gitignore 16:51:51 -rw-rw-r-- 1 jenkins jenkins 6792 Jul 30 16:48 Attribution.txt 16:51:51 -rw-rw-r-- 1 jenkins jenkins 7459 Jul 30 16:48 CHANGELOG.md 16:51:51 -rw-rw-r-- 1 jenkins jenkins 1615 Jul 30 16:48 Dockerfile 16:51:51 -rw-rw-r-- 1 jenkins jenkins 1087 Jul 30 16:48 Dockerfile.build 16:51:51 -rw-rw-r-- 1 jenkins jenkins 680 Jul 30 16:48 Jenkinsfile 16:51:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 16:48 LICENSE 16:51:51 -rw-rw-r-- 1 jenkins jenkins 996 Jul 30 16:48 Makefile 16:51:51 -rw-rw-r-- 1 jenkins jenkins 7661 Jul 30 16:48 README.md 16:51:51 -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 16:45 VERSION 16:51:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 16:48 bin 16:51:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 16:48 cmd 16:51:51 -rw-r--r-- 1 jenkins jenkins 8513 Jul 30 16:51 coverage.out 16:51:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 16:48 driver 16:51:51 -rw-r--r-- 1 jenkins jenkins 271 Jul 30 16:51 go.mod 16:51:51 -rw-r--r-- 1 jenkins jenkins 20570 Jul 30 16:50 go.sum 16:51:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 16:48 snap 16:51:51 -rw-rw-r-- 1 jenkins jenkins 713 Jul 30 16:48 version.go [Pipeline] isUnix [Pipeline] sh 16:51:52 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ad5ae9a0a2f73944f987c704a3dd6d254d98a666 --label arch=arm64 --label version=0.0.0 . 16:51:52 Sending build context to Docker daemon 126kB 16:51:52 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 16:51:52 Step 2/25 : FROM ${BASE} AS builder 16:51:52 ---> bbbd87707215 16:51:52 Step 3/25 : ARG MAKE='make build' 16:51:52 ---> Running in e80d3212dd5d 16:51:53 Removing intermediate container e80d3212dd5d 16:51:53 ---> 03704b968004 16:51:53 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:51:53 ---> Running in 639e6b09c406 16:51:53 Removing intermediate container 639e6b09c406 16:51:53 ---> f3e4363b35b8 16:51:53 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:51:53 ---> Running in 2fa35d66713e 16:51:54 Removing intermediate container 2fa35d66713e 16:51:54 ---> 0e1f8056668e 16:51:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:51:54 ---> Running in b1d6007f83a9 16:51:57 Removing intermediate container b1d6007f83a9 16:51:57 ---> 48b9c1c47138 16:51:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:51:57 ---> Running in 62ca1a18cea8 16:51:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 16:51:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 16:52:00 OK: 144 MiB in 49 packages 16:52:01 Removing intermediate container 62ca1a18cea8 16:52:01 ---> c51bd2484091 16:52:01 Step 8/25 : WORKDIR /device-rest-go 16:52:01 ---> Running in cff9f805d6e0 16:52:02 Removing intermediate container cff9f805d6e0 16:52:02 ---> bb4782ceb9ad 16:52:02 Step 9/25 : COPY . . 16:52:03 ---> f5ef0871b728 16:52:03 Step 10/25 : RUN go mod tidy 16:52:03 ---> Running in 9fd4e1c4eeb5 16:52:06 Removing intermediate container 9fd4e1c4eeb5 16:52:06 ---> c15c77b657c5 16:52:06 Step 11/25 : RUN make update 16:52:06 ---> Running in 29681757ce0a 16:52:07 CGO_ENABLED=0 GO111MODULE=on go mod download 16:52:09 Removing intermediate container 29681757ce0a 16:52:09 ---> dda5e2ed2afd 16:52:09 Step 12/25 : RUN $MAKE 16:52:09 ---> Running in fa14eee05d2a 16:52:10 go mod tidy 16:52:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 16:52:49 Removing intermediate container fa14eee05d2a 16:52:49 ---> 8f3efec6784b 16:52:49 Step 13/25 : FROM alpine:3.12 16:52:49 3.12: Pulling from library/alpine 16:52:49 d2f70382dc9a: Pulling fs layer 16:52:49 d2f70382dc9a: Verifying Checksum 16:52:49 d2f70382dc9a: Download complete 16:52:49 d2f70382dc9a: Pull complete 16:52:49 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 16:52:49 Status: Downloaded newer image for alpine:3.12 16:52:49 ---> c4fd0aeabfcf 16:52:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:52:50 ---> Running in deb90800a35c 16:52:50 Removing intermediate container deb90800a35c 16:52:50 ---> 488c6e70564d 16:52:50 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:52:50 ---> Running in 500a9fa0007f 16:52:51 Removing intermediate container 500a9fa0007f 16:52:51 ---> 93bc0e1b366e 16:52:51 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 16:52:51 ---> Running in 1ca893428ef7 16:52:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:52:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:52:53 (1/6) Installing dumb-init (1.2.2-r1) 16:52:53 (2/6) Installing libgcc (9.3.0-r2) 16:52:53 (3/6) Installing libsodium (1.0.18-r0) 16:52:53 (4/6) Installing libstdc++ (9.3.0-r2) 16:52:53 (5/6) Installing libzmq (4.3.3-r0) 16:52:53 (6/6) Installing zeromq (4.3.3-r0) 16:52:53 Executing busybox-1.31.1-r20.trigger 16:52:53 OK: 8 MiB in 20 packages 16:52:54 Removing intermediate container 1ca893428ef7 16:52:54 ---> 33bbba695327 16:52:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:52:56 ---> aae78817b808 16:52:56 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:52:57 ---> 0663e96c6f3f 16:52:57 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:52:57 ---> 6be8fca39b2e 16:52:57 Step 20/25 : EXPOSE 59986 16:52:58 ---> Running in 1d9add6853a5 16:52:58 Removing intermediate container 1d9add6853a5 16:52:58 ---> 08003c044590 16:52:58 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:52:58 ---> Running in bd05178d3695 16:52:59 Removing intermediate container bd05178d3695 16:52:59 ---> 9ff4775dfa11 16:52:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:52:59 ---> Running in d0e25216e5ba 16:52:59 Removing intermediate container d0e25216e5ba 16:52:59 ---> 55a3f23daf08 16:52:59 Step 23/25 : LABEL arch=arm64 16:53:00 ---> Running in 9e2d80215a5f 16:53:00 Removing intermediate container 9e2d80215a5f 16:53:00 ---> 997cf7b033dd 16:53:00 Step 24/25 : LABEL git_sha=ad5ae9a0a2f73944f987c704a3dd6d254d98a666 16:53:00 ---> Running in 2b2b8b1da5ff 16:53:01 Removing intermediate container 2b2b8b1da5ff 16:53:01 ---> bc536c9b5cc8 16:53:01 Step 25/25 : LABEL version=0.0.0 16:53:01 ---> Running in 0d997d713223 16:53:02 Removing intermediate container 0d997d713223 16:53:02 ---> f1156b5c607c 16:53:02 [Warning] One or more build-args [ARCH] were not consumed 16:53:02 Successfully built f1156b5c607c 16:53:02 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 16:53:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:53:02 16:53:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:53:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:53:03 arm64: Pulling from edgex-lftools-log-publisher 16:53:03 448f6bf000e3: Pulling fs layer 16:53:03 f757da607395: Pulling fs layer 16:53:03 05883995daec: Pulling fs layer 16:53:03 8603b9c90790: Pulling fs layer 16:53:03 1560dd03e051: Pulling fs layer 16:53:03 27f5ce0e4adf: Pulling fs layer 16:53:03 c2d8d7efcc4b: Pulling fs layer 16:53:03 1560dd03e051: Waiting 16:53:03 27f5ce0e4adf: Waiting 16:53:03 c2d8d7efcc4b: Waiting 16:53:03 8603b9c90790: Waiting 16:53:03 f757da607395: Verifying Checksum 16:53:03 f757da607395: Download complete 16:53:03 8603b9c90790: Download complete 16:53:04 1560dd03e051: Verifying Checksum 16:53:04 1560dd03e051: Download complete 16:53:04 05883995daec: Download complete 16:53:04 27f5ce0e4adf: Download complete 16:53:05 448f6bf000e3: Verifying Checksum 16:53:05 448f6bf000e3: Download complete 16:53:08 c2d8d7efcc4b: Verifying Checksum 16:53:08 c2d8d7efcc4b: Download complete 16:53:08 448f6bf000e3: Pull complete 16:53:09 f757da607395: Pull complete 16:53:10 05883995daec: Pull complete 16:53:11 8603b9c90790: Pull complete 16:53:12 1560dd03e051: Pull complete 16:53:12 27f5ce0e4adf: Pull complete 16:53:25 c2d8d7efcc4b: Pull complete 16:53:25 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:53:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:53:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:53:25 prd-ubuntu18.04-docker-arm64-4c-16g-1067 does not seem to be running inside a container 16:53:25 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 16:53:29 $ docker top 1a5c189be1ca1722fdb0cdfa6e887360a2d305e1b54f54b81e9db5c83e45a42a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:53:30 ---> job-cost.sh 16:53:30 lf-activate-venv: SKIPPING 16:53:30 INFO: No Stack... 16:53:31 INFO: Retrieving Pricing Info for: v2-standard-4 16:53:32 INFO: Archiving Costs [Pipeline] sh 16:53:33 + cut -d, -f6 16:53:33 + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock 16:53:33 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] 16:53:33 Resource [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] did not exist. Created. 16:53:33 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:53:33 /w/workspace/device-rest-go/2@tmp/durable-3e5c313d/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-3e5c313d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:53:34 + echo total: 0.18000000715255737 [Pipeline] stash 16:53:34 Warning: overwriting stash ‘stack-cost’ 16:53:34 Stashed 1 file(s) [Pipeline] } 16:53:34 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:53:34 $ docker stop --time=1 1a5c189be1ca1722fdb0cdfa6e887360a2d305e1b54f54b81e9db5c83e45a42a 16:53:36 $ docker rm -f 1a5c189be1ca1722fdb0cdfa6e887360a2d305e1b54f54b81e9db5c83e45a42a [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 16:53:37 provisioning config files... 16:53:37 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/config3514823103167959871tmp [Pipeline] { [Pipeline] sh 16:53:37 + set +x 16:53:37 + bash -s -- 16:53:37 + curl -s https://codecov.io/bash 16:53:37 16:53:37 _____ _ 16:53:37 / ____| | | 16:53:37 | | ___ __| | ___ ___ _____ __ 16:53:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:53:37 | |___| (_) | (_| | __/ (_| (_) \ V / 16:53:37 \_____\___/ \__,_|\___|\___\___/ \_/ 16:53:37 Bash-1.0.6 16:53:37 16:53:37 16:53:37 ==> git version 2.24.4 found 16:53:37 ==> 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 16:53:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:53:37 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:53:37 ==> Jenkins CI detected. 16:53:37 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-128 16:53:37 project root: . 16:53:37 --> token set from env 16:53:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:53:37 ==> Running gcov in . (disable via -X gcov) 16:53:37 ==> Python coveragepy not found 16:53:37 ==> Searching for coverage reports in: 16:53:37 + . 16:53:37 -> Found 1 reports 16:53:37 ==> Detecting git/mercurial file structure 16:53:37 ==> Reading reports 16:53:37 + ./coverage.out bytes=8513 16:53:37 ==> Appending adjustments 16:53:37 https://docs.codecov.io/docs/fixing-reports 16:53:37 + Found adjustments 16:53:37 ==> Gzipping contents 16:53:37 4.0K /tmp/codecov.MVD4wf.gz 16:53:37 ==> Uploading reports 16:53:37 url: https://codecov.io 16:53:37 query: branch=PR-128&commit=ad5ae9a0a2f73944f987c704a3dd6d254d98a666&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-128%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=128&job=&cmd_args= 16:53:37 -> Pinging Codecov 16:53:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-128&commit=ad5ae9a0a2f73944f987c704a3dd6d254d98a666&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-128%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=128&job=&cmd_args= 16:53:38 -> Uploading to 16:53:38 https://storage.googleapis.com/codecov/v4/raw/2021-07-30/4E5D53B4F1F92C436F7061BF334D961C/ad5ae9a0a2f73944f987c704a3dd6d254d98a666/4751daff-c257-4d05-94ad-6f073cbecfa5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210730%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210730T165338Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=72c9c1de82657304a06eefa1f4a1a0ae6479a305247b19b8892abcc1669d1390 16:53:38 % Total % Received % Xferd Average Speed Time Time Time Current 16:53:38 Dload Upload Total Spent Left Speed 16:53:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1759 0 0 100 1759 0 4990 --:--:-- --:--:-- --:--:-- 4983 16:53:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [Pipeline] } 16:53:38 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] libraryResource [Pipeline] sh 16:53:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:53:41 ---> package-listing.sh 16:53:41 ++ tr '[:upper:]' '[:lower:]' 16:53:41 ++ facter osfamily 16:53:41 + OS_FAMILY=redhat 16:53:41 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-128 16:53:41 + START_PACKAGES=/tmp/packages_start.txt 16:53:41 + END_PACKAGES=/tmp/packages_end.txt 16:53:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:53:41 + PACKAGES=/tmp/packages_start.txt 16:53:41 + '[' /w/workspace/gexfoundry_device-rest-go_PR-128 ']' 16:53:41 + PACKAGES=/tmp/packages_end.txt 16:53:41 + case "${OS_FAMILY}" in 16:53:41 + rpm -qa 16:53:41 + sort 16:53:41 + '[' -f /tmp/packages_start.txt ']' 16:53:41 + '[' -f /tmp/packages_end.txt ']' 16:53:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:53:41 + '[' /w/workspace/gexfoundry_device-rest-go_PR-128 ']' 16:53:41 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-128/archives/ 16:53:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-128/archives/ [Pipeline] echo 16:53:42 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-128/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:53:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:53:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:53:42 16:53:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:53:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:53:43 latest: Pulling from edgex-lftools-log-publisher 16:53:43 b4d181a07f80: Pulling fs layer 16:53:43 a1111a8f2ec3: Pulling fs layer 16:53:43 ed53099fbce6: Pulling fs layer 16:53:43 dc539afda2c1: Pulling fs layer 16:53:43 77bc0d833cb6: Pulling fs layer 16:53:43 9065ff56babe: Pulling fs layer 16:53:43 d287ab97295c: Pulling fs layer 16:53:43 77bc0d833cb6: Waiting 16:53:43 9065ff56babe: Waiting 16:53:43 d287ab97295c: Waiting 16:53:43 dc539afda2c1: Waiting 16:53:43 a1111a8f2ec3: Verifying Checksum 16:53:43 a1111a8f2ec3: Download complete 16:53:43 dc539afda2c1: Download complete 16:53:43 77bc0d833cb6: Verifying Checksum 16:53:43 77bc0d833cb6: Download complete 16:53:43 9065ff56babe: Verifying Checksum 16:53:43 9065ff56babe: Download complete 16:53:44 ed53099fbce6: Verifying Checksum 16:53:44 ed53099fbce6: Download complete 16:53:44 b4d181a07f80: Verifying Checksum 16:53:44 b4d181a07f80: Download complete 16:53:45 b4d181a07f80: Pull complete 16:53:45 a1111a8f2ec3: Pull complete 16:53:46 ed53099fbce6: Pull complete 16:53:46 dc539afda2c1: Pull complete 16:53:46 77bc0d833cb6: Pull complete 16:53:46 9065ff56babe: Pull complete 16:53:48 d287ab97295c: Verifying Checksum 16:53:48 d287ab97295c: Download complete 16:53:52 d287ab97295c: Pull complete 16:53:52 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:53:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:53:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:53:52 prd-centos7-docker-4c-2g-1065 does not seem to be running inside a container 16:53:52 $ 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-128/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-128 -v /w/workspace/gexfoundry_device-rest-go_PR-128:/w/workspace/gexfoundry_device-rest-go_PR-128:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-128@tmp:/w/workspace/gexfoundry_device-rest-go_PR-128@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 16:53:54 $ docker top e66a160bbc6a2bf100165f5366ad4a9d074bf68910194ea0b2f99119e804b2cb -eo pid,comm [Pipeline] { [Pipeline] sh 16:53:55 + touch /tmp/pre-build-complete [Pipeline] sh 16:53:55 + mkdir -p /var/log/sysstat [Pipeline] sh 16:53:55 + ls /var/log/sa-host 16:53:55 + sadf -c /var/log/sa-host/sa05 16:53:55 file_magic: OK 16:53:55 HZ: Using current value: 100 16:53:55 file_header: OK 16:53:55 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 16:53:55 Statistics: 16:53:55 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:53:55 File successfully converted to sysstat format version 12.0.3 16:53:55 + sadf -c /var/log/sa-host/sa30 16:53:55 file_magic: OK 16:53:55 HZ: Using current value: 100 16:53:55 file_header: OK 16:53:55 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 16:53:55 Statistics: 16:53:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:53:55 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:53:56 provisioning config files... 16:53:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/config686091000998153555tmp [Pipeline] { [Pipeline] echo 16:53:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:53:56 ---> create-netrc.sh [Pipeline] } 16:53:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:53:56 ---> python-tools-install.sh [Pipeline] echo 16:53:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:53:57 ---> sudo-logs.sh 16:53:57 Archiving 'sudo' log.. 16:53:57 sudo: unable to resolve host prd-centos7-docker-4c-2g-1065.vexxhost.local: Name or service not known 16:53:57 sudo: unable to resolve host prd-centos7-docker-4c-2g-1065.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 16:53:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:53:57 ---> job-cost.sh 16:53:57 lf-activate-venv: SKIPPING 16:53:57 DEBUG: total: 0.18000000715255737 16:53:57 INFO: Retrieving Stack Cost... 16:53:58 INFO: Retrieving Pricing Info for: v3-standard-2 16:53:58 INFO: Archiving Costs [Pipeline] echo 16:53:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:53:58 ---> logs-deploy.sh 16:53:58 lf-activate-venv: SKIPPING 16:53:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-128/2 16:53:58 INFO: archiving workspace using pattern(s): 16:53:59 Archives upload complete. 16:53:59 INFO: archiving logs to Nexus 16:54:00 ---> uname -a: 16:54:00 Linux prd-centos7-docker-4c-2g-1065.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 16:54:00 16:54:00 16:54:00 ---> lscpu: 16:54:00 Architecture: x86_64 16:54:00 CPU op-mode(s): 32-bit, 64-bit 16:54:00 Byte Order: Little Endian 16:54:00 Address sizes: 40 bits physical, 48 bits virtual 16:54:00 CPU(s): 2 16:54:00 On-line CPU(s) list: 0,1 16:54:00 Thread(s) per core: 1 16:54:00 Core(s) per socket: 1 16:54:00 Socket(s): 2 16:54:00 NUMA node(s): 1 16:54:00 Vendor ID: AuthenticAMD 16:54:00 CPU family: 23 16:54:00 Model: 49 16:54:00 Model name: AMD EPYC-Rome Processor 16:54:00 Stepping: 0 16:54:00 CPU MHz: 2799.996 16:54:00 BogoMIPS: 5599.99 16:54:00 Virtualization: AMD-V 16:54:00 Hypervisor vendor: KVM 16:54:00 Virtualization type: full 16:54:00 L1d cache: 32K 16:54:00 L1i cache: 32K 16:54:00 L2 cache: 512K 16:54:00 L3 cache: 16384K 16:54:00 NUMA node0 CPU(s): 0,1 16:54:00 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 16:54:00 16:54:00 16:54:00 ---> nproc: 16:54:00 2 16:54:00 16:54:00 16:54:00 ---> df -h: 16:54:00 Filesystem Size Used Avail Use% Mounted on 16:54:00 overlay 40G 7.7G 33G 20% / 16:54:00 tmpfs 64M 0 64M 0% /dev 16:54:00 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:54:00 shm 64M 0 64M 0% /dev/shm 16:54:00 /dev/vda1 40G 7.7G 33G 20% /facter-os 16:54:00 16:54:00 16:54:00 ---> sar -b -r -n DEV: 16:54:00 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/30/21 _x86_64_ (2 CPU) 16:54:00 16:54:00 16:44:50 LINUX RESTART (2 CPU) 16:54:00 16:54:00 16:46:01 tps rtps wtps bread/s bwrtn/s 16:54:00 16:47:01 0.50 0.00 0.50 0.00 11.99 16:54:00 16:48:01 0.45 0.02 0.43 0.53 6.31 16:54:00 16:49:01 0.23 0.00 0.23 0.00 2.83 16:54:00 16:50:01 0.17 0.00 0.17 0.00 2.05 16:54:00 16:51:01 0.35 0.00 0.35 0.00 4.63 16:54:00 16:52:01 0.23 0.00 0.23 0.00 2.86 16:54:00 16:53:01 0.28 0.00 0.28 0.00 3.48 16:54:00 Average: 0.32 0.00 0.31 0.08 4.88 16:54:00 16:54:00 16:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:54:00 16:47:01 5462624 0 795808 9.94 2620 1747888 1203856 13.29 578480 1570612 16 16:54:00 16:48:01 5460732 0 797692 9.96 2620 1747896 1204108 13.29 582224 1568184 8 16:54:00 16:49:01 5460100 0 798320 9.97 2620 1747900 1204024 13.29 582940 1568184 8 16:54:00 16:50:01 5461376 0 797036 9.95 2620 1747908 1203856 13.29 581448 1568768 8 16:54:00 16:51:01 5460828 0 797580 9.96 2620 1747912 1203940 13.29 578756 1571912 8 16:54:00 16:52:01 5460876 0 797528 9.96 2620 1747916 1203856 13.29 579300 1571916 8 16:54:00 16:53:01 5448920 0 809480 10.11 2620 1747920 1203904 13.29 590716 1571912 8 16:54:00 Average: 5459351 0 799063 9.98 2620 1747906 1203935 13.29 581981 1570213 9 16:54:00 16:54:00 16:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:54:00 16:47:01 eth0 0.47 0.08 0.04 0.01 0.00 0.00 0.00 0.00 16:54:00 16:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:48:01 eth0 1.52 0.32 0.37 0.20 0.00 0.00 0.00 0.00 16:54:00 16:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:49:01 eth0 1.13 0.57 0.55 0.37 0.00 0.00 0.00 0.00 16:54:00 16:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:50:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 16:54:00 16:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:51:01 eth0 0.27 0.18 0.09 0.07 0.00 0.00 0.00 0.00 16:54:00 16:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:52:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:54:00 16:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:53:01 eth0 0.15 0.15 0.07 0.01 0.00 0.00 0.00 0.00 16:54:00 16:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 Average: eth0 0.53 0.21 0.16 0.10 0.00 0.00 0.00 0.00 16:54:00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:00 16:54:00 16:54:00 ---> sar -P ALL: 16:54:00 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/30/21 _x86_64_ (2 CPU) 16:54:00 16:54:00 16:44:50 LINUX RESTART (2 CPU) 16:54:00 16:54:00 16:46:01 CPU %user %nice %system %iowait %steal %idle 16:54:00 16:47:01 all 0.20 0.00 0.07 0.01 0.02 99.71 16:54:00 16:47:01 0 0.10 0.00 0.07 0.00 0.02 99.82 16:54:00 16:47:01 1 0.30 0.00 0.07 0.02 0.02 99.60 16:54:00 16:48:01 all 0.23 0.00 0.08 0.00 0.03 99.65 16:54:00 16:48:01 0 0.12 0.00 0.10 0.00 0.05 99.73 16:54:00 16:48:01 1 0.35 0.00 0.07 0.00 0.02 99.57 16:54:00 16:49:01 all 0.14 0.00 0.05 0.00 0.01 99.80 16:54:00 16:49:01 0 0.22 0.00 0.05 0.00 0.02 99.72 16:54:00 16:49:01 1 0.07 0.00 0.05 0.00 0.00 99.88 16:54:00 16:50:01 all 0.20 0.00 0.06 0.00 0.02 99.72 16:54:00 16:50:01 0 0.35 0.00 0.05 0.00 0.00 99.60 16:54:00 16:50:01 1 0.05 0.00 0.07 0.00 0.03 99.85 16:54:00 16:51:01 all 0.11 0.00 0.04 0.00 0.04 99.81 16:54:00 16:51:01 0 0.10 0.00 0.03 0.00 0.03 99.83 16:54:00 16:51:01 1 0.12 0.00 0.05 0.00 0.05 99.78 16:54:00 16:52:01 all 0.04 0.00 0.04 0.00 0.02 99.90 16:54:00 16:52:01 0 0.03 0.00 0.03 0.00 0.02 99.92 16:54:00 16:52:01 1 0.05 0.00 0.05 0.00 0.02 99.88 16:54:00 16:53:01 all 0.13 0.00 0.08 0.00 0.03 99.77 16:54:00 16:53:01 0 0.23 0.00 0.12 0.00 0.03 99.62 16:54:00 16:53:01 1 0.03 0.00 0.03 0.00 0.02 99.92 16:54:00 Average: all 0.15 0.00 0.06 0.00 0.02 99.76 16:54:00 Average: 0 0.16 0.00 0.06 0.00 0.02 99.75 16:54:00 Average: 1 0.14 0.00 0.05 0.00 0.02 99.78 16:54:00 16:54:00 16:54:00