Pull request #140 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 5acad0679af3df08186a3ddc4328c435dfbdfdb8+ab80832e8fa331645ec332aa024eb9f07585cb40 (f3546bdb672aa676c8bccbc155d9e97a49161a64) 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-ssh6513192349811713693.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4913889065816505756.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/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-140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3136576836213760282.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2745845901023551159.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/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-140/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4215475720611565250.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13579 in /w/workspace/gexfoundry_device-rest-go_PR-140 [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-140 # 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-140@tmp/jenkins-gitclient-ssh412047354716046071.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-140@tmp/jenkins-gitclient-ssh4514072425489528442.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 5acad0679af3df08186a3ddc4328c435dfbdfdb8 Merge succeeded, producing 5acad0679af3df08186a3ddc4328c435dfbdfdb8 Checking out Revision 5acad0679af3df08186a3ddc4328c435dfbdfdb8 (PR-140) > git config core.sparsecheckout # timeout=10 > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # 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-140@tmp/jenkins-gitclient-ssh4011309772407247844.key > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 Commit message: "feat: Update configuration for new CORS and Secrets File settings" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:44:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:44:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:44:16 ========================================================= 23:44:16 EdgeX Global Pipelines Version Info 23:44:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 23:44:17 ------------------- 23:44:17 stable info: 23:44:17 ------------------- 23:44:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:44:17 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 23:44:17 Message: update stable to v1.0.211 23:44:17 ------------------- 23:44:17 experimental info: 23:44:17 ------------------- 23:44:17 Commited By: **** collab-it+edgex@linuxfoundation.org 23:44:17 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 23:44:17 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:44:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-140 [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-140 [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-140 [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5acad06 [Pipeline] echo 23:44:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:44:18 provisioning config files... 23:44:18 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config7278834977565024611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:18 ---> docker-login.sh 23:44:18 nexus3.edgexfoundry.org:10001 23:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:18 Configure a credential helper to remove this warning. See 23:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:18 23:44:18 Login Succeeded 23:44:18 nexus3.edgexfoundry.org:10002 23:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:18 Configure a credential helper to remove this warning. See 23:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:18 23:44:18 Login Succeeded 23:44:18 nexus3.edgexfoundry.org:10003 23:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:19 Configure a credential helper to remove this warning. See 23:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:19 23:44:19 Login Succeeded 23:44:19 nexus3.edgexfoundry.org:10004 23:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:19 Configure a credential helper to remove this warning. See 23:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:19 23:44:19 Login Succeeded 23:44:19 docker.io 23:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:19 Configure a credential helper to remove this warning. See 23:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:19 23:44:19 Login Succeeded 23:44:19 ---> docker-login.sh ends [Pipeline] } 23:44:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:44:20 + git rev-list -1 --merges 5acad0679af3df08186a3ddc4328c435dfbdfdb8~1..5acad0679af3df08186a3ddc4328c435dfbdfdb8 [Pipeline] echo 23:44:20 -----------> git rev-list -1 --merges 5acad0679af3df08186a3ddc4328c435dfbdfdb8~1..5acad0679af3df08186a3ddc4328c435dfbdfdb8 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [false] [Pipeline] sh 23:44:20 + git log --format=format:%s -1 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [Pipeline] echo 23:44:20 ========================================================= 23:44:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:44:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:44:20 + git log --format=format:%s -1 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [Pipeline] echo 23:44:20 [semverPrep] GIT_COMMIT: 5acad0679af3df08186a3ddc4328c435dfbdfdb8, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo 23:44:20 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:44:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:44:21 23:44:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:44:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:44:21 latest: Pulling from edgex-devops/git-semver 23:44:21 a0d0a0d46f8b: Pulling fs layer 23:44:21 3e5f54012d9b: Pulling fs layer 23:44:21 4c7163046ea9: Pulling fs layer 23:44:21 0c2d73faf560: Pulling fs layer 23:44:21 0c2d73faf560: Waiting 23:44:21 3e5f54012d9b: Verifying Checksum 23:44:21 3e5f54012d9b: Download complete 23:44:21 a0d0a0d46f8b: Verifying Checksum 23:44:21 a0d0a0d46f8b: Download complete 23:44:21 0c2d73faf560: Verifying Checksum 23:44:21 0c2d73faf560: Download complete 23:44:21 4c7163046ea9: Verifying Checksum 23:44:21 4c7163046ea9: Download complete 23:44:21 a0d0a0d46f8b: Pull complete 23:44:21 3e5f54012d9b: Pull complete 23:44:22 4c7163046ea9: Pull complete 23:44:22 0c2d73faf560: Pull complete 23:44:22 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:44:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:44:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:44:22 prd-centos7-docker-4c-2g-13579 does not seem to be running inside a container 23:44:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-140 -v /w/workspace/gexfoundry_device-rest-go_PR-140:/w/workspace/gexfoundry_device-rest-go_PR-140:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-140@tmp:/w/workspace/gexfoundry_device-rest-go_PR-140@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:44:22 $ docker top 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:44:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:44:23 [ssh-agent] Looking for ssh-agent implementation... 23:44:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:44:23 $ docker exec 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 ssh-agent 23:44:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLnBjba/agent.14 23:44:23 SSH_AGENT_PID=20 23:44:23 Running ssh-add (command line suppressed) 23:44:23 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_4810925641972648490.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_4810925641972648490.key) 23:44:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:44:23 + git tag --points-at HEAD [Pipeline] } 23:44:23 $ docker exec --env ******** --env ******** 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 ssh-agent -k 23:44:23 unset SSH_AUTH_SOCK; 23:44:23 unset SSH_AGENT_PID; 23:44:23 echo Agent pid 20 killed; 23:44:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:44:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:44:23 [ssh-agent] Looking for ssh-agent implementation... 23:44:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:44:23 $ docker exec 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 ssh-agent 23:44:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbcCPja/agent.53 23:44:24 SSH_AGENT_PID=59 23:44:24 Running ssh-add (command line suppressed) 23:44:24 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7032837242145904491.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7032837242145904491.key) 23:44:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:44:24 + git semver init 23:44:24 # -> Open(): unable to determine branch for HEAD 23:44:24 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.git 23:44:24 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-140 23:44:24 # $SEMVER_REMOTE_NAME = origin 23:44:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:44:24 # $SEMVER_USER_NAME = edgex-jenkins 23:44:24 # $SEMVER_BRANCH = PR-140 23:44:24 # $SEMVER_TEMP = /tmp/semver-846059119 23:44:24 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 23:44:25 # '/tmp/semver-846059119' -> '/w/workspace/gexfoundry_device-rest-go_PR-140/.semver' 23:44:25 # -> Force: false 23:44:25 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.semver [Pipeline] } 23:44:25 $ docker exec --env ******** --env ******** 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 ssh-agent -k 23:44:25 unset SSH_AUTH_SOCK; 23:44:25 unset SSH_AGENT_PID; 23:44:25 echo Agent pid 59 killed; 23:44:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:44:25 + git semver [Pipeline] } 23:44:25 $ docker stop --time=1 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 23:44:27 $ docker rm -f 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 [Pipeline] // withDockerContainer [Pipeline] sh 23:44:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:44:27 Stashed 1 file(s) [Pipeline] echo 23:44:27 [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 23:44:42 Still waiting to schedule task 23:44:42 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13579’ 23:44:42 Still waiting to schedule task 23:44:42 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:46:13 Running on prd-centos7-docker-4c-2g-13583 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws 23:46:13 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 23:46:13 The recommended git tool is: git 23:46:15 using credential edgex-jenkins-ssh 23:46:15 Cloning the remote Git repository 23:46:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:46:14 > git init /w/workspace/device-rest-go/3 # timeout=10 23:46:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:46:14 > git --version # timeout=10 23:46:14 > git --version # 'git version 2.24.4' 23:46:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:14 [INFO] Currently running in a labeled security context 23:46:14 [INFO] Currently SELinux is 'enforcing' on the host 23:46:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh7490654308823825183.key 23:46:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:46:15 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:46:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:46:15 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:46:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:46:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:15 [INFO] Currently running in a labeled security context 23:46:15 [INFO] Currently SELinux is 'enforcing' on the host 23:46:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh2462621636138683992.key 23:46:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:46:16 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 5acad0679af3df08186a3ddc4328c435dfbdfdb8 23:46:16 Merge succeeded, producing 5acad0679af3df08186a3ddc4328c435dfbdfdb8 23:46:16 Checking out Revision 5acad0679af3df08186a3ddc4328c435dfbdfdb8 (PR-140) 23:46:16 > git config core.sparsecheckout # timeout=10 23:46:16 > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 23:46:16 > git remote # timeout=10 23:46:16 > git config --get remote.origin.url # timeout=10 23:46:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:16 [INFO] Currently running in a labeled security context 23:46:16 [INFO] Currently SELinux is 'enforcing' on the host 23:46:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh600432911065624656.key 23:46:16 > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 23:46:16 > git rev-parse HEAD^{commit} # timeout=10 23:46:16 > git config core.sparsecheckout # timeout=10 23:46:16 > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 23:46:20 Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:46:20 provisioning config files... 23:46:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config8899140365405917568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:46:20 ---> docker-login.sh 23:46:20 nexus3.edgexfoundry.org:10001 23:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:20 Configure a credential helper to remove this warning. See 23:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:20 23:46:20 Login Succeeded 23:46:20 nexus3.edgexfoundry.org:10002 23:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:21 Configure a credential helper to remove this warning. See 23:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:21 23:46:21 Login Succeeded 23:46:21 nexus3.edgexfoundry.org:10003 23:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:21 Configure a credential helper to remove this warning. See 23:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:21 23:46:21 Login Succeeded 23:46:21 nexus3.edgexfoundry.org:10004 23:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:21 Configure a credential helper to remove this warning. See 23:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:21 23:46:21 Login Succeeded 23:46:21 docker.io 23:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:21 Configure a credential helper to remove this warning. See 23:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:21 23:46:21 Login Succeeded 23:46:21 ---> docker-login.sh ends [Pipeline] } 23:46:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:46:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:46:21 ========================================================= 23:46:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:46:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:46:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 23:46:22 Sending build context to Docker daemon 119.3kB 23:46:22 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:46:22 Step 2/11 : FROM ${BASE} AS builder 23:46:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:46:22 a0d0a0d46f8b: Pulling fs layer 23:46:22 31adcdaf11c8: Pulling fs layer 23:46:22 b8b176561691: Pulling fs layer 23:46:22 4527c011a84f: Pulling fs layer 23:46:22 5d74067f8e1e: Pulling fs layer 23:46:22 e0aca202a116: Pulling fs layer 23:46:22 3a43be97a3b4: Pulling fs layer 23:46:22 34cad66bf833: Pulling fs layer 23:46:22 b4e3c513aaa6: Pulling fs layer 23:46:22 4527c011a84f: Waiting 23:46:22 5d74067f8e1e: Waiting 23:46:22 e0aca202a116: Waiting 23:46:22 3a43be97a3b4: Waiting 23:46:22 34cad66bf833: Waiting 23:46:22 b4e3c513aaa6: Waiting 23:46:22 b8b176561691: Verifying Checksum 23:46:22 b8b176561691: Download complete 23:46:22 31adcdaf11c8: Verifying Checksum 23:46:22 31adcdaf11c8: Download complete 23:46:22 5d74067f8e1e: Verifying Checksum 23:46:22 5d74067f8e1e: Download complete 23:46:22 e0aca202a116: Verifying Checksum 23:46:22 e0aca202a116: Download complete 23:46:22 a0d0a0d46f8b: Verifying Checksum 23:46:22 a0d0a0d46f8b: Download complete 23:46:22 3a43be97a3b4: Verifying Checksum 23:46:22 3a43be97a3b4: Download complete 23:46:22 34cad66bf833: Verifying Checksum 23:46:22 34cad66bf833: Download complete 23:46:22 a0d0a0d46f8b: Pull complete 23:46:22 4527c011a84f: Verifying Checksum 23:46:22 4527c011a84f: Download complete 23:46:22 b4e3c513aaa6: Verifying Checksum 23:46:22 b4e3c513aaa6: Download complete 23:46:22 31adcdaf11c8: Pull complete 23:46:22 b8b176561691: Pull complete 23:46:27 4527c011a84f: Pull complete 23:46:27 5d74067f8e1e: Pull complete 23:46:27 e0aca202a116: Pull complete 23:46:27 3a43be97a3b4: Pull complete 23:46:27 34cad66bf833: Pull complete 23:46:29 b4e3c513aaa6: Pull complete 23:46:29 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 23:46:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:46:29 ---> 9f6097aaca64 23:46:29 Step 3/11 : ARG MAKE='make build' 23:46:33 ---> Running in 55b978b743ce 23:46:33 Removing intermediate container 55b978b743ce 23:46:33 ---> 03233135da49 23:46:33 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:46:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13581 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws 23:46:33 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 23:46:33 ---> Running in cb232cb50bc8 23:46:33 Removing intermediate container cb232cb50bc8 23:46:33 ---> 17f6f8704a2e 23:46:33 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 23:46:33 ---> Running in c70e86ad6cc7 23:46:33 Removing intermediate container c70e86ad6cc7 23:46:33 ---> bcba5e7d7a4e 23:46:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:46:33 ---> Running in 4d55f09962cf 23:46:33 The recommended git tool is: git 23:46:33 Removing intermediate container 4d55f09962cf 23:46:33 ---> 337a7ab7734e 23:46:33 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:46:33 ---> Running in 5d34f5e2dfb3 23:46:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:46:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:46:35 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:46:35 (2/4) Installing libedit (20210216.3.1-r0) 23:46:35 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:46:35 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:46:35 Executing busybox-1.33.1-r3.trigger 23:46:35 OK: 224 MiB in 56 packages 23:46:36 Removing intermediate container 5d34f5e2dfb3 23:46:36 ---> 7888fae4cc5e 23:46:36 Step 8/11 : WORKDIR /device-rest-go 23:46:36 ---> Running in 4d75bc5bd527 23:46:36 Removing intermediate container 4d75bc5bd527 23:46:36 ---> 2d581c3f3286 23:46:36 Step 9/11 : COPY . . 23:46:36 ---> e872dddcdcfa 23:46:36 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:46:36 ---> Running in 3cd69ab42af3 23:46:38 using credential edgex-jenkins-ssh 23:46:38 Cloning the remote Git repository 23:46:38 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:46:38 > git init /w/workspace/device-rest-go/3 # timeout=10 23:46:38 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:46:38 > git --version # timeout=10 23:46:39 > git --version # 'git version 2.17.1' 23:46:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:46:40 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:46:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:46:40 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:46:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:46:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:46:41 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 5acad0679af3df08186a3ddc4328c435dfbdfdb8 23:46:41 Merge succeeded, producing 5acad0679af3df08186a3ddc4328c435dfbdfdb8 23:46:41 Checking out Revision 5acad0679af3df08186a3ddc4328c435dfbdfdb8 (PR-140) 23:46:41 > git config core.sparsecheckout # timeout=10 23:46:41 > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 23:46:41 > git remote # timeout=10 23:46:41 > git config --get remote.origin.url # timeout=10 23:46:41 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:41 > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 23:46:41 > git rev-parse HEAD^{commit} # timeout=10 23:46:41 > git config core.sparsecheckout # timeout=10 23:46:41 > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 23:46:45 Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:46:46 % Total % Received % Xferd Average Speed Time Time Time Current 23:46:46 Dload Upload Total Spent Left Speed 23:46:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 86941 0 --:--:-- --:--:-- --:--:-- 87585 [Pipeline] sh 23:46:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:46:47 + sudo tee /etc/docker/daemon.new 23:46:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:46:47 { 23:46:47 "registry-mirrors": [ 23:46:47 "https://nexus3.edgexfoundry.org:10001" 23:46:47 ], 23:46:47 "bip": "10.250.0.254/24", 23:46:47 "hosts": [ 23:46:47 "tcp://0.0.0.0:5555", 23:46:47 "unix:///var/run/docker.sock" 23:46:47 ], 23:46:47 "mtu": 1458, 23:46:47 "selinux-enabled": true, 23:46:47 "seccomp-profile": "/etc/docker/seccomp.json" 23:46:47 } [Pipeline] sh 23:46:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:46:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:47:06 provisioning config files... 23:47:06 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config2494997650674546020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:06 ---> docker-login.sh 23:47:06 nexus3.edgexfoundry.org:10001 23:47:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:08 Configure a credential helper to remove this warning. See 23:47:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:08 23:47:08 Login Succeeded 23:47:08 nexus3.edgexfoundry.org:10002 23:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:08 Configure a credential helper to remove this warning. See 23:47:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:08 23:47:08 Login Succeeded 23:47:08 nexus3.edgexfoundry.org:10003 23:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:09 Configure a credential helper to remove this warning. See 23:47:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:09 23:47:09 Login Succeeded 23:47:09 nexus3.edgexfoundry.org:10004 23:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:09 Configure a credential helper to remove this warning. See 23:47:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:09 23:47:09 Login Succeeded 23:47:09 docker.io 23:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:10 Configure a credential helper to remove this warning. See 23:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:10 23:47:10 Login Succeeded 23:47:10 ---> docker-login.sh ends [Pipeline] } 23:47:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:47:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:47:11 ========================================================= 23:47:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:47:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:47:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 23:47:11 Sending build context to Docker daemon 119.3kB 23:47:11 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:47:11 Step 2/11 : FROM ${BASE} AS builder 23:47:12 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:47:12 552d1f2373af: Pulling fs layer 23:47:12 ea3f2d53f512: Pulling fs layer 23:47:12 9e70ebbbe112: Pulling fs layer 23:47:12 7a9cfe048b4a: Pulling fs layer 23:47:12 72dc09318566: Pulling fs layer 23:47:12 f4f7b4309257: Pulling fs layer 23:47:12 0ac9a79272e3: Pulling fs layer 23:47:12 b78e95d17946: Pulling fs layer 23:47:12 f4f7b4309257: Waiting 23:47:12 0ac9a79272e3: Waiting 23:47:12 b78e95d17946: Waiting 23:47:12 7a9cfe048b4a: Waiting 23:47:12 72dc09318566: Waiting 23:47:12 9e70ebbbe112: Verifying Checksum 23:47:12 9e70ebbbe112: Download complete 23:47:12 ea3f2d53f512: Verifying Checksum 23:47:12 ea3f2d53f512: Download complete 23:47:12 72dc09318566: Verifying Checksum 23:47:12 72dc09318566: Download complete 23:47:12 f4f7b4309257: Download complete 23:47:12 552d1f2373af: Verifying Checksum 23:47:12 552d1f2373af: Download complete 23:47:13 552d1f2373af: Pull complete 23:47:13 ea3f2d53f512: Pull complete 23:47:14 9e70ebbbe112: Pull complete 23:47:14 b78e95d17946: Verifying Checksum 23:47:14 b78e95d17946: Download complete 23:47:14 7a9cfe048b4a: Verifying Checksum 23:47:14 7a9cfe048b4a: Download complete 23:47:15 Removing intermediate container 3cd69ab42af3 23:47:15 ---> e4ded2aafefc 23:47:15 Step 11/11 : RUN $MAKE 23:47:15 ---> Running in 93ea1177a0dc 23:47:15 noop 23:47:15 Removing intermediate container 93ea1177a0dc 23:47:15 ---> 3c14966fe43e 23:47:15 Successfully built 3c14966fe43e 23:47:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:47:15 + docker inspect -f . ci-base-image-x86_64 23:47:15 . [Pipeline] withDockerContainer 23:47:15 prd-centos7-docker-4c-2g-13583 does not seem to be running inside a container 23:47:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-x86_64 cat 23:47:15 $ docker top 3d21d1804011dcc2491cce6ab64642117a49adee321dc65d0854740a8969cb86 -eo pid,comm [Pipeline] { [Pipeline] sh 23:47:16 + go version 23:47:16 go version go1.16.8 linux/amd64 [Pipeline] } 23:47:16 $ docker stop --time=1 3d21d1804011dcc2491cce6ab64642117a49adee321dc65d0854740a8969cb86 23:47:17 $ docker rm -f 3d21d1804011dcc2491cce6ab64642117a49adee321dc65d0854740a8969cb86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:47:17 + docker inspect -f . ci-base-image-x86_64 23:47:17 . [Pipeline] withDockerContainer 23:47:17 prd-centos7-docker-4c-2g-13583 does not seem to be running inside a container 23:47:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-x86_64 cat 23:47:18 $ docker top fe70c96c3867bf988a103aa720a18571a166a7ad8171b71f7fc9d5354a7cb50f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:47:18 + make test 23:47:18 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:47:18 ? github.com/edgexfoundry/device-rest-go [no test files] 23:47:25 7a9cfe048b4a: Pull complete 23:47:25 72dc09318566: Pull complete 23:47:25 f4f7b4309257: Pull complete 23:47:25 0ac9a79272e3: Pull complete 23:47:31 b78e95d17946: Pull complete 23:47:31 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 23:47:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:47:31 ---> 8b459fc5aaf0 23:47:31 Step 3/11 : ARG MAKE='make build' 23:47:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:47:34 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 53.8% of statements 23:47:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:47:34 ---> Running in 12d0e4d10eb6 23:47:34 Removing intermediate container 12d0e4d10eb6 23:47:34 ---> 6c05a3a9beda 23:47:34 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:47:34 ---> Running in 924c205c5078 23:47:34 Removing intermediate container 924c205c5078 23:47:34 ---> d35a8dd825ca 23:47:34 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 23:47:34 ---> Running in 797613176fee 23:47:35 Removing intermediate container 797613176fee 23:47:35 ---> 3d81a2052896 23:47:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:47:35 ---> Running in 1da64426020e 23:47:38 Removing intermediate container 1da64426020e 23:47:38 ---> 45ed64981525 23:47:38 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:47:38 ---> Running in fe4817a8b1fd 23:47:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:47:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:47:40 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:47:40 (2/4) Installing libedit (20210216.3.1-r0) 23:47:40 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:47:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:47:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:47:40 ./bin/test-attribution-txt.sh 23:47:40 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:47:40 Executing busybox-1.33.1-r3.trigger 23:47:40 OK: 223 MiB in 56 packages [Pipeline] } 23:47:41 $ docker stop --time=1 fe70c96c3867bf988a103aa720a18571a166a7ad8171b71f7fc9d5354a7cb50f 23:47:41 Removing intermediate container fe4817a8b1fd 23:47:41 ---> 48f4f193b4ba 23:47:41 Step 8/11 : WORKDIR /device-rest-go 23:47:42 ---> Running in 7a4a5ccc842e 23:47:42 $ docker rm -f fe70c96c3867bf988a103aa720a18571a166a7ad8171b71f7fc9d5354a7cb50f [Pipeline] // withDockerContainer [Pipeline] sh 23:47:42 Removing intermediate container 7a4a5ccc842e 23:47:42 ---> 664d849cb465 23:47:42 Step 9/11 : COPY . . 23:47:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:47:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 23:47:43 ---> 54d012ee05af 23:47:43 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:47:43 ---> Running in 29f4bfe3e06a [Pipeline] sh 23:47:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:47:44 + ls -al . 23:47:44 total 144 23:47:44 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 31 23:47 . 23:47:44 drwxrwxr-x. 4 jenkins jenkins 28 Oct 31 23:46 .. 23:47:44 -rw-rw-r--. 1 jenkins jenkins 7095 Oct 31 23:46 Attribution.txt 23:47:44 drwxrwxr-x. 2 jenkins jenkins 37 Oct 31 23:46 bin 23:47:44 -rw-rw-r--. 1 jenkins jenkins 7459 Oct 31 23:46 CHANGELOG.md 23:47:44 drwxrwxr-x. 3 jenkins jenkins 32 Oct 31 23:46 cmd 23:47:44 -rw-r--r--. 1 jenkins jenkins 8435 Oct 31 23:47 coverage.out 23:47:44 -rw-rw-r--. 1 jenkins jenkins 1649 Oct 31 23:46 Dockerfile 23:47:44 -rw-rw-r--. 1 jenkins jenkins 151 Oct 31 23:46 .dockerignore 23:47:44 drwxrwxr-x. 2 jenkins jenkins 76 Oct 31 23:46 driver 23:47:44 drwxrwxr-x. 8 jenkins jenkins 179 Oct 31 23:46 .git 23:47:44 drwxrwxr-x. 2 jenkins jenkins 103 Oct 31 23:46 .github 23:47:44 -rw-rw-r--. 1 jenkins jenkins 329 Oct 31 23:46 .gitignore 23:47:44 -rw-rw-r--. 1 jenkins jenkins 285 Oct 31 23:46 go.mod 23:47:44 -rw-rw-r--. 1 jenkins jenkins 50386 Oct 31 23:46 go.sum 23:47:44 -rw-rw-r--. 1 jenkins jenkins 677 Oct 31 23:46 GOVERNANCE.md 23:47:44 -rw-rw-r--. 1 jenkins jenkins 680 Oct 31 23:46 Jenkinsfile 23:47:44 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 31 23:46 LICENSE 23:47:44 -rw-rw-r--. 1 jenkins jenkins 1078 Oct 31 23:46 Makefile 23:47:44 -rw-rw-r--. 1 jenkins jenkins 620 Oct 31 23:46 OWNERS.md 23:47:44 -rw-rw-r--. 1 jenkins jenkins 7661 Oct 31 23:46 README.md 23:47:44 drwxrwxr-x. 4 jenkins jenkins 71 Oct 31 23:46 snap 23:47:44 -rw-rw-r--. 1 jenkins jenkins 5 Oct 31 23:44 VERSION 23:47:44 -rw-rw-r--. 1 jenkins jenkins 713 Oct 31 23:46 version.go [Pipeline] isUnix [Pipeline] sh 23:47:45 + 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=5acad0679af3df08186a3ddc4328c435dfbdfdb8 --label arch=amd64 --label version=0.0.0 . 23:47:45 Sending build context to Docker daemon 128.5kB 23:47:45 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:47:45 Step 2/24 : FROM ${BASE} AS builder 23:47:45 ---> 3c14966fe43e 23:47:45 Step 3/24 : ARG MAKE='make build' 23:47:45 ---> Running in 5bd36ffc12dc 23:47:45 Removing intermediate container 5bd36ffc12dc 23:47:45 ---> e6d89e23a153 23:47:45 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:47:45 ---> Running in 33dc5daa4085 23:47:45 Removing intermediate container 33dc5daa4085 23:47:45 ---> 767353877cab 23:47:45 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:47:45 ---> Running in b1cee9f3ac0c 23:47:45 Removing intermediate container b1cee9f3ac0c 23:47:45 ---> a8643b8c91f5 23:47:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:47:45 ---> Running in 5ef943ce4d46 23:47:46 Removing intermediate container 5ef943ce4d46 23:47:46 ---> cfe846a270c0 23:47:46 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:47:46 ---> Running in 837d114f93bc 23:47:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:47:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:47:47 OK: 224 MiB in 56 packages 23:47:47 Removing intermediate container 837d114f93bc 23:47:47 ---> b7879af28001 23:47:47 Step 8/24 : WORKDIR /device-rest-go 23:47:47 ---> Running in 3c60aaa92970 23:47:47 Removing intermediate container 3c60aaa92970 23:47:47 ---> 76211f5b9b23 23:47:47 Step 9/24 : COPY . . 23:47:47 ---> a169dbea4194 23:47:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:47:47 ---> Running in e6ec333bab57 23:47:48 Removing intermediate container e6ec333bab57 23:47:48 ---> 5f1381116e0c 23:47:48 Step 11/24 : RUN $MAKE 23:47:48 ---> Running in 77b96f396860 23:47:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 23:48:01 Removing intermediate container 77b96f396860 23:48:01 ---> aad492b85d28 23:48:01 Step 12/24 : FROM alpine:3.14 23:48:01 3.14: Pulling from library/alpine 23:48:01 a0d0a0d46f8b: Already exists 23:48:01 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 23:48:01 Status: Downloaded newer image for alpine:3.14 23:48:01 ---> 14119a10abf4 23:48:01 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:48:01 ---> Running in 2fe212ab43d8 23:48:01 Removing intermediate container 2fe212ab43d8 23:48:01 ---> f8ab99a226b4 23:48:01 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 23:48:01 ---> Running in 67688392616b 23:48:01 Removing intermediate container 67688392616b 23:48:01 ---> d5b08a74ddf4 23:48:01 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:48:01 ---> Running in 4a07ba17f378 23:48:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:48:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:48:01 (1/6) Installing dumb-init (1.2.5-r1) 23:48:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:48:01 (3/6) Installing libsodium (1.0.18-r0) 23:48:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:48:01 (5/6) Installing libzmq (4.3.4-r0) 23:48:01 (6/6) Installing zeromq (4.3.4-r0) 23:48:01 Executing busybox-1.33.1-r3.trigger 23:48:01 OK: 8 MiB in 20 packages 23:48:01 Removing intermediate container 4a07ba17f378 23:48:01 ---> 5385491a4553 23:48:01 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 23:48:02 ---> 14feff4b2192 23:48:02 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 23:48:02 ---> e9b421505921 23:48:02 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 23:48:02 ---> 86394c9cd05f 23:48:02 Step 19/24 : EXPOSE 59986 23:48:02 ---> Running in 1c9082c512ec 23:48:02 Removing intermediate container 1c9082c512ec 23:48:02 ---> 55febb2704d2 23:48:02 Step 20/24 : ENTRYPOINT ["/device-rest"] 23:48:02 ---> Running in c2e32f3c1b44 23:48:02 Removing intermediate container c2e32f3c1b44 23:48:02 ---> 769ccb297f0d 23:48:02 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:48:02 ---> Running in 1319823826d9 23:48:02 Removing intermediate container 1319823826d9 23:48:02 ---> c9878e5e7d8c 23:48:02 Step 22/24 : LABEL arch=amd64 23:48:02 ---> Running in ff8a4c9f59db 23:48:02 Removing intermediate container ff8a4c9f59db 23:48:02 ---> 0a2caa8a98ad 23:48:02 Step 23/24 : LABEL git_sha=5acad0679af3df08186a3ddc4328c435dfbdfdb8 23:48:02 ---> Running in 0d834a98bef3 23:48:02 Removing intermediate container 0d834a98bef3 23:48:02 ---> 4558120b9859 23:48:02 Step 24/24 : LABEL version=0.0.0 23:48:02 ---> Running in 01d7a9694a93 23:48:02 Removing intermediate container 01d7a9694a93 23:48:02 ---> f0d7f5b1dccf 23:48:02 [Warning] One or more build-args [ARCH] were not consumed 23:48:02 Successfully built f0d7f5b1dccf 23:48:02 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 23:48:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:03 23:48:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:48:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:03 latest: Pulling from edgex-lftools-log-publisher 23:48:03 b4d181a07f80: Pulling fs layer 23:48:03 a1111a8f2ec3: Pulling fs layer 23:48:03 ed53099fbce6: Pulling fs layer 23:48:03 dc539afda2c1: Pulling fs layer 23:48:03 77bc0d833cb6: Pulling fs layer 23:48:03 9065ff56babe: Pulling fs layer 23:48:03 d287ab97295c: Pulling fs layer 23:48:03 77bc0d833cb6: Waiting 23:48:03 9065ff56babe: Waiting 23:48:03 d287ab97295c: Waiting 23:48:03 dc539afda2c1: Waiting 23:48:03 a1111a8f2ec3: Verifying Checksum 23:48:03 a1111a8f2ec3: Download complete 23:48:03 dc539afda2c1: Verifying Checksum 23:48:03 dc539afda2c1: Download complete 23:48:03 ed53099fbce6: Verifying Checksum 23:48:03 ed53099fbce6: Download complete 23:48:03 9065ff56babe: Verifying Checksum 23:48:03 9065ff56babe: Download complete 23:48:04 77bc0d833cb6: Verifying Checksum 23:48:04 77bc0d833cb6: Download complete 23:48:04 b4d181a07f80: Verifying Checksum 23:48:04 b4d181a07f80: Download complete 23:48:04 d287ab97295c: Verifying Checksum 23:48:04 d287ab97295c: Download complete 23:48:05 b4d181a07f80: Pull complete 23:48:05 a1111a8f2ec3: Pull complete 23:48:06 ed53099fbce6: Pull complete 23:48:06 dc539afda2c1: Pull complete 23:48:06 77bc0d833cb6: Pull complete 23:48:06 9065ff56babe: Pull complete 23:48:12 d287ab97295c: Pull complete 23:48:12 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:48:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:48:12 prd-centos7-docker-4c-2g-13583 does not seem to be running inside a container 23:48:12 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 23:48:14 $ docker top 8aed10e0d544091120c2dd14bd7f023c3b06131903f9033b757b3e54d19612a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:14 ---> job-cost.sh 23:48:14 lf-activate-venv: SKIPPING 23:48:14 INFO: No Stack... 23:48:15 INFO: Retrieving Pricing Info for: v3-standard-2 23:48:15 INFO: Archiving Costs [Pipeline] sh 23:48:15 + cat /w/workspace/device-rest-go/3/archives/cost.csv 23:48:15 + cut -d, -f6 [Pipeline] lock 23:48:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] 23:48:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] did not exist. Created. 23:48:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:48:16 + echo total: 0.05999999865889549 [Pipeline] stash 23:48:16 Stashed 1 file(s) [Pipeline] } 23:48:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:48:16 $ docker stop --time=1 8aed10e0d544091120c2dd14bd7f023c3b06131903f9033b757b3e54d19612a2 23:48:17 $ docker rm -f 8aed10e0d544091120c2dd14bd7f023c3b06131903f9033b757b3e54d19612a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:49:05 Removing intermediate container 29f4bfe3e06a 23:49:05 ---> 1c243f6271f7 23:49:05 Step 11/11 : RUN $MAKE 23:49:05 ---> Running in 55babfaa638a 23:49:05 noop 23:49:05 Removing intermediate container 55babfaa638a 23:49:05 ---> 69e754bbd99f 23:49:05 Successfully built 69e754bbd99f 23:49:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:49:05 + docker inspect -f . ci-base-image-arm64 23:49:05 . [Pipeline] withDockerContainer 23:49:06 prd-ubuntu18.04-docker-arm64-4c-16g-13581 does not seem to be running inside a container 23:49:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat 23:49:07 $ docker top 67d747dd786ac56df8f99aef79e6832dfe44a4af82543b8bb8b5d54be3f3dd55 -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:08 + go version 23:49:08 go version go1.16.8 linux/arm64 [Pipeline] } 23:49:08 $ docker stop --time=1 67d747dd786ac56df8f99aef79e6832dfe44a4af82543b8bb8b5d54be3f3dd55 23:49:10 $ docker rm -f 67d747dd786ac56df8f99aef79e6832dfe44a4af82543b8bb8b5d54be3f3dd55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:49:11 + docker inspect -f . ci-base-image-arm64 23:49:11 . [Pipeline] withDockerContainer 23:49:11 prd-ubuntu18.04-docker-arm64-4c-16g-13581 does not seem to be running inside a container 23:49:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat 23:49:13 $ docker top d158b9c17cd71667af01e9a775a858a235532e627e26723ed4ef46f3be295d7a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:49:14 + make test 23:49:14 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:49:15 ? github.com/edgexfoundry/device-rest-go [no test files] 23:50:12 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:50:12 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 53.8% of statements 23:50:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:50:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:50:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:50:39 ./bin/test-attribution-txt.sh [Pipeline] } 23:50:39 $ docker stop --time=1 d158b9c17cd71667af01e9a775a858a235532e627e26723ed4ef46f3be295d7a 23:50:40 $ docker rm -f d158b9c17cd71667af01e9a775a858a235532e627e26723ed4ef46f3be295d7a [Pipeline] // withDockerContainer [Pipeline] sh 23:50:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:50:41 Warning: overwriting stash ‘coverage-report’ 23:50:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:50:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:50:43 + ls -al . 23:50:43 total 172 23:50:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 23:50 . 23:50:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 23:46 .. 23:50:43 -rw-rw-r-- 1 jenkins jenkins 151 Oct 31 23:46 .dockerignore 23:50:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 23:46 .git 23:50:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 23:46 .github 23:50:43 -rw-rw-r-- 1 jenkins jenkins 329 Oct 31 23:46 .gitignore 23:50:43 -rw-rw-r-- 1 jenkins jenkins 7095 Oct 31 23:46 Attribution.txt 23:50:43 -rw-rw-r-- 1 jenkins jenkins 7459 Oct 31 23:46 CHANGELOG.md 23:50:43 -rw-rw-r-- 1 jenkins jenkins 1649 Oct 31 23:46 Dockerfile 23:50:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 23:46 GOVERNANCE.md 23:50:43 -rw-rw-r-- 1 jenkins jenkins 680 Oct 31 23:46 Jenkinsfile 23:50:43 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 23:46 LICENSE 23:50:43 -rw-rw-r-- 1 jenkins jenkins 1078 Oct 31 23:46 Makefile 23:50:43 -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 23:46 OWNERS.md 23:50:43 -rw-rw-r-- 1 jenkins jenkins 7661 Oct 31 23:46 README.md 23:50:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 23:44 VERSION 23:50:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 23:46 bin 23:50:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 23:46 cmd 23:50:43 -rw-r--r-- 1 jenkins jenkins 8435 Oct 31 23:50 coverage.out 23:50:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 23:46 driver 23:50:43 -rw-rw-r-- 1 jenkins jenkins 285 Oct 31 23:46 go.mod 23:50:43 -rw-rw-r-- 1 jenkins jenkins 50386 Oct 31 23:46 go.sum 23:50:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 23:46 snap 23:50:43 -rw-rw-r-- 1 jenkins jenkins 713 Oct 31 23:46 version.go [Pipeline] isUnix [Pipeline] sh 23:50:43 + 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=5acad0679af3df08186a3ddc4328c435dfbdfdb8 --label arch=arm64 --label version=0.0.0 . 23:50:43 Sending build context to Docker daemon 128.5kB 23:50:43 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:50:43 Step 2/24 : FROM ${BASE} AS builder 23:50:43 ---> 69e754bbd99f 23:50:43 Step 3/24 : ARG MAKE='make build' 23:50:43 ---> Running in 695e8b941870 23:50:44 Removing intermediate container 695e8b941870 23:50:44 ---> 11c786db1eed 23:50:44 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:50:44 ---> Running in df5361c32f6c 23:50:44 Removing intermediate container df5361c32f6c 23:50:44 ---> 0eff068b9412 23:50:44 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:50:45 ---> Running in de93a03311c0 23:50:45 Removing intermediate container de93a03311c0 23:50:45 ---> 7be0c1b33abd 23:50:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:50:45 ---> Running in 6531cb89ce1c 23:50:47 Removing intermediate container 6531cb89ce1c 23:50:47 ---> 79b5afe3a4d8 23:50:47 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:50:47 ---> Running in e6ff588c36f1 23:50:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:50:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:50:50 OK: 223 MiB in 56 packages 23:50:51 Removing intermediate container e6ff588c36f1 23:50:51 ---> 891ecadd5dc5 23:50:51 Step 8/24 : WORKDIR /device-rest-go 23:50:51 ---> Running in 7b6894f2673a 23:50:51 Removing intermediate container 7b6894f2673a 23:50:51 ---> 5a1051056f24 23:50:51 Step 9/24 : COPY . . 23:50:52 ---> 2bb2da6d4090 23:50:52 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:50:52 ---> Running in 72c0b4c5f54c 23:50:55 Removing intermediate container 72c0b4c5f54c 23:50:55 ---> bf0b895c5174 23:50:55 Step 11/24 : RUN $MAKE 23:50:55 ---> Running in 978e4872ed1a 23:50:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 23:51:44 Removing intermediate container 978e4872ed1a 23:51:44 ---> e12a0452f641 23:51:44 Step 12/24 : FROM alpine:3.14 23:51:44 3.14: Pulling from library/alpine 23:51:44 552d1f2373af: Already exists 23:51:44 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 23:51:44 Status: Downloaded newer image for alpine:3.14 23:51:44 ---> bb3de5531c18 23:51:44 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:51:44 ---> Running in db6e0c308ad9 23:51:44 Removing intermediate container db6e0c308ad9 23:51:44 ---> 239b7ad93ddf 23:51:44 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 23:51:44 ---> Running in 793b33202849 23:51:44 Removing intermediate container 793b33202849 23:51:44 ---> f1860ff07494 23:51:44 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:51:44 ---> Running in 7e4e64d1283b 23:51:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:51:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:51:44 (1/6) Installing dumb-init (1.2.5-r1) 23:51:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:51:44 (3/6) Installing libsodium (1.0.18-r0) 23:51:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:51:44 (5/6) Installing libzmq (4.3.4-r0) 23:51:44 (6/6) Installing zeromq (4.3.4-r0) 23:51:44 Executing busybox-1.33.1-r3.trigger 23:51:44 OK: 8 MiB in 20 packages 23:51:44 Removing intermediate container 7e4e64d1283b 23:51:44 ---> b1285d54bfba 23:51:44 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 23:51:44 ---> 0d7fbd2c1bbd 23:51:44 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 23:51:44 ---> 6f5990733aed 23:51:44 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 23:51:45 ---> f68383f1858e 23:51:45 Step 19/24 : EXPOSE 59986 23:51:45 ---> Running in 80c0bedc5844 23:51:46 Removing intermediate container 80c0bedc5844 23:51:46 ---> b253b0704baf 23:51:46 Step 20/24 : ENTRYPOINT ["/device-rest"] 23:51:46 ---> Running in 0785b7033b46 23:51:46 Removing intermediate container 0785b7033b46 23:51:46 ---> bdfea3a18d8a 23:51:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:51:46 ---> Running in 85d7a1bd99c5 23:51:47 Removing intermediate container 85d7a1bd99c5 23:51:47 ---> b5ec297764fd 23:51:47 Step 22/24 : LABEL arch=arm64 23:51:47 ---> Running in c11403ea9477 23:51:48 Removing intermediate container c11403ea9477 23:51:48 ---> 26a531fd0afb 23:51:48 Step 23/24 : LABEL git_sha=5acad0679af3df08186a3ddc4328c435dfbdfdb8 23:51:48 ---> Running in 985fc59967c6 23:51:48 Removing intermediate container 985fc59967c6 23:51:48 ---> f132ffef2206 23:51:48 Step 24/24 : LABEL version=0.0.0 23:51:48 ---> Running in b9ce65e7b424 23:51:49 Removing intermediate container b9ce65e7b424 23:51:49 ---> 259989944e23 23:51:49 [Warning] One or more build-args [ARCH] were not consumed 23:51:49 Successfully built 259989944e23 23:51:49 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 23:51:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:50 23:51:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:51:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:50 arm64: Pulling from edgex-lftools-log-publisher 23:51:50 448f6bf000e3: Pulling fs layer 23:51:50 f757da607395: Pulling fs layer 23:51:50 05883995daec: Pulling fs layer 23:51:50 8603b9c90790: Pulling fs layer 23:51:50 1560dd03e051: Pulling fs layer 23:51:50 27f5ce0e4adf: Pulling fs layer 23:51:50 c2d8d7efcc4b: Pulling fs layer 23:51:50 1560dd03e051: Waiting 23:51:50 27f5ce0e4adf: Waiting 23:51:50 f757da607395: Verifying Checksum 23:51:50 f757da607395: Download complete 23:51:50 8603b9c90790: Verifying Checksum 23:51:50 8603b9c90790: Download complete 23:51:50 1560dd03e051: Verifying Checksum 23:51:50 1560dd03e051: Download complete 23:51:50 27f5ce0e4adf: Verifying Checksum 23:51:50 27f5ce0e4adf: Download complete 23:51:50 05883995daec: Verifying Checksum 23:51:50 05883995daec: Download complete 23:51:51 448f6bf000e3: Verifying Checksum 23:51:51 448f6bf000e3: Download complete 23:51:53 c2d8d7efcc4b: Verifying Checksum 23:51:53 c2d8d7efcc4b: Download complete 23:51:55 448f6bf000e3: Pull complete 23:51:55 f757da607395: Pull complete 23:51:57 05883995daec: Pull complete 23:51:57 8603b9c90790: Pull complete 23:51:58 1560dd03e051: Pull complete 23:51:59 27f5ce0e4adf: Pull complete 23:52:14 c2d8d7efcc4b: Pull complete 23:52:14 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:52:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:52:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:52:14 prd-ubuntu18.04-docker-arm64-4c-16g-13581 does not seem to be running inside a container 23:52:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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:arm64 cat 23:52:18 $ docker top d8b2a00c9d7a4d81fb233f4fed3b136a28109dd01e3962a6015b5786eb197c65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:19 ---> job-cost.sh 23:52:19 lf-activate-venv: SKIPPING 23:52:19 INFO: No Stack... 23:52:19 INFO: Retrieving Pricing Info for: v3-standard-4 23:52:20 INFO: Archiving Costs [Pipeline] sh 23:52:20 + cut -d, -f6 23:52:20 + cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock 23:52:20 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] 23:52:20 Resource [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] did not exist. Created. 23:52:20 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:52:21 /w/workspace/device-rest-go/3@tmp/durable-9f6bece8/script.sh: 1: /w/workspace/device-rest-go/3@tmp/durable-9f6bece8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:52:22 + echo total: 0.10999999940395355 [Pipeline] stash 23:52:22 Warning: overwriting stash ‘stack-cost’ 23:52:22 Stashed 1 file(s) [Pipeline] } 23:52:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:52:22 $ docker stop --time=1 d8b2a00c9d7a4d81fb233f4fed3b136a28109dd01e3962a6015b5786eb197c65 23:52:23 $ docker rm -f d8b2a00c9d7a4d81fb233f4fed3b136a28109dd01e3962a6015b5786eb197c65 [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 23:52:24 provisioning config files... 23:52:24 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config5649120783753687739tmp [Pipeline] { [Pipeline] sh 23:52:24 + set +x 23:52:24 + curl -s https://codecov.io/bash 23:52:24 + bash -s -- 23:52:24 23:52:24 _____ _ 23:52:24 / ____| | | 23:52:24 | | ___ __| | ___ ___ _____ __ 23:52:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:52:24 | |___| (_) | (_| | __/ (_| (_) \ V / 23:52:24 \_____\___/ \__,_|\___|\___\___/ \_/ 23:52:24 Bash-1.0.6 23:52:24 23:52:24 23:52:24 ==> git version 2.24.4 found 23:52:24 ==> 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 23:52:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:52:24 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:52:24 ==> Jenkins CI detected. 23:52:24 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-140 23:52:24 project root: . 23:52:24 --> token set from env 23:52:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:52:24 ==> Running gcov in . (disable via -X gcov) 23:52:24 ==> Python coveragepy not found 23:52:24 ==> Searching for coverage reports in: 23:52:24 + . 23:52:24 -> Found 1 reports 23:52:24 ==> Detecting git/mercurial file structure 23:52:24 ==> Reading reports 23:52:24 + ./coverage.out bytes=8435 23:52:25 ==> Appending adjustments 23:52:25 https://docs.codecov.io/docs/fixing-reports 23:52:25 + Found adjustments 23:52:25 ==> Gzipping contents 23:52:25 4.0K /tmp/codecov.uNL3VX.gz 23:52:25 ==> Uploading reports 23:52:25 url: https://codecov.io 23:52:25 query: branch=PR-140&commit=5acad0679af3df08186a3ddc4328c435dfbdfdb8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-140%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=140&job=&cmd_args= 23:52:25 -> Pinging Codecov 23:52:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-140&commit=5acad0679af3df08186a3ddc4328c435dfbdfdb8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-140%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=140&job=&cmd_args= 23:52:25 -> Uploading to 23:52:25 https://storage.googleapis.com/codecov/v4/raw/2021-10-31/4E5D53B4F1F92C436F7061BF334D961C/5acad0679af3df08186a3ddc4328c435dfbdfdb8/eb2cbfed-1e60-4f45-90ea-34d2471417fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211031T235225Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6c7eaa16b561300a52f786e272b65aad402706058c106b9a757d85070d4d21f 23:52:25 % Total % Received % Xferd Average Speed Time Time Time Current 23:52:25 Dload Upload Total Spent Left Speed 23:52:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 5037 --:--:-- --:--:-- --:--:-- 5046 23:52:25 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5acad0679af3df08186a3ddc4328c435dfbdfdb8 [Pipeline] } 23:52:25 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:52:27 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-140/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:52:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:52:28 ---> package-listing.sh 23:52:28 ++ facter osfamily 23:52:28 ++ tr '[:upper:]' '[:lower:]' 23:52:28 + OS_FAMILY=redhat 23:52:28 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-140 23:52:28 + START_PACKAGES=/tmp/packages_start.txt 23:52:28 + END_PACKAGES=/tmp/packages_end.txt 23:52:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:52:28 + PACKAGES=/tmp/packages_start.txt 23:52:28 + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' 23:52:28 + PACKAGES=/tmp/packages_end.txt 23:52:28 + case "${OS_FAMILY}" in 23:52:28 + sort 23:52:28 + rpm -qa 23:52:29 + '[' -f /tmp/packages_start.txt ']' 23:52:29 + '[' -f /tmp/packages_end.txt ']' 23:52:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:52:29 + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' 23:52:29 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ 23:52:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ [Pipeline] echo 23:52:29 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-140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:52:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:52:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:29 23:52:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:52:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:30 latest: Pulling from edgex-lftools-log-publisher 23:52:30 b4d181a07f80: Pulling fs layer 23:52:30 a1111a8f2ec3: Pulling fs layer 23:52:30 ed53099fbce6: Pulling fs layer 23:52:30 dc539afda2c1: Pulling fs layer 23:52:30 77bc0d833cb6: Pulling fs layer 23:52:30 9065ff56babe: Pulling fs layer 23:52:30 d287ab97295c: Pulling fs layer 23:52:30 77bc0d833cb6: Waiting 23:52:30 9065ff56babe: Waiting 23:52:30 d287ab97295c: Waiting 23:52:30 dc539afda2c1: Waiting 23:52:30 a1111a8f2ec3: Verifying Checksum 23:52:30 a1111a8f2ec3: Download complete 23:52:30 dc539afda2c1: Verifying Checksum 23:52:30 dc539afda2c1: Download complete 23:52:30 ed53099fbce6: Verifying Checksum 23:52:30 ed53099fbce6: Download complete 23:52:30 9065ff56babe: Verifying Checksum 23:52:30 9065ff56babe: Download complete 23:52:30 77bc0d833cb6: Verifying Checksum 23:52:30 77bc0d833cb6: Download complete 23:52:30 b4d181a07f80: Verifying Checksum 23:52:30 b4d181a07f80: Download complete 23:52:30 d287ab97295c: Verifying Checksum 23:52:30 d287ab97295c: Download complete 23:52:31 b4d181a07f80: Pull complete 23:52:32 a1111a8f2ec3: Pull complete 23:52:32 ed53099fbce6: Pull complete 23:52:32 dc539afda2c1: Pull complete 23:52:33 77bc0d833cb6: Pull complete 23:52:33 9065ff56babe: Pull complete 23:52:38 d287ab97295c: Pull complete 23:52:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:52:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:52:38 prd-centos7-docker-4c-2g-13579 does not seem to be running inside a container 23:52:38 $ 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-140/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-140 -v /w/workspace/gexfoundry_device-rest-go_PR-140:/w/workspace/gexfoundry_device-rest-go_PR-140:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-140@tmp:/w/workspace/gexfoundry_device-rest-go_PR-140@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:52:41 $ docker top 23daa542e362820067208701af05bc174f8e261795d63be567416bf4431d90e7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:42 + touch /tmp/pre-build-complete [Pipeline] sh 23:52:42 + mkdir -p /var/log/sysstat [Pipeline] sh 23:52:42 + ls /var/log/sa-host 23:52:42 + sadf -c /var/log/sa-host/sa30 23:52:42 file_magic: OK 23:52:42 HZ: Using current value: 100 23:52:42 file_header: OK 23:52:42 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 23:52:42 Statistics: 23:52:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:52:42 File successfully converted to sysstat format version 12.0.3 23:52:42 + sadf -c /var/log/sa-host/sa31 23:52:42 file_magic: OK 23:52:42 HZ: Using current value: 100 23:52:42 file_header: OK 23:52:42 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 23:52:42 Statistics: 23:52:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:52:42 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:42 provisioning config files... 23:52:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config3864852703245742976tmp [Pipeline] { [Pipeline] echo 23:52:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:52:43 ---> create-netrc.sh [Pipeline] } 23:52:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:52:43 ---> python-tools-install.sh [Pipeline] echo 23:52:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:52:43 ---> sudo-logs.sh 23:52:43 Archiving 'sudo' log.. 23:52:43 sudo: unable to resolve host prd-centos7-docker-4c-2g-13579.novalocal: Name or service not known 23:52:43 sudo: unable to resolve host prd-centos7-docker-4c-2g-13579.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:52:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:52:44 ---> job-cost.sh 23:52:44 lf-activate-venv: SKIPPING 23:52:44 DEBUG: total: 0.10999999940395355 23:52:44 INFO: Retrieving Stack Cost... 23:52:44 INFO: Retrieving Pricing Info for: v3-standard-2 23:52:44 INFO: Archiving Costs [Pipeline] echo 23:52:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:52:45 ---> logs-deploy.sh 23:52:45 lf-activate-venv: SKIPPING 23:52:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-140/3 23:52:45 INFO: archiving workspace using pattern(s): 23:52:45 Archives upload complete. 23:52:45 INFO: archiving logs to Nexus 23:52:46 ---> uname -a: 23:52:46 Linux prd-centos7-docker-4c-2g-13579.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 23:52:46 23:52:46 23:52:46 ---> lscpu: 23:52:46 Architecture: x86_64 23:52:46 CPU op-mode(s): 32-bit, 64-bit 23:52:46 Byte Order: Little Endian 23:52:46 Address sizes: 40 bits physical, 48 bits virtual 23:52:46 CPU(s): 2 23:52:46 On-line CPU(s) list: 0,1 23:52:46 Thread(s) per core: 1 23:52:46 Core(s) per socket: 1 23:52:46 Socket(s): 2 23:52:46 NUMA node(s): 1 23:52:46 Vendor ID: AuthenticAMD 23:52:46 CPU family: 23 23:52:46 Model: 49 23:52:46 Model name: AMD EPYC-Rome Processor 23:52:46 Stepping: 0 23:52:46 CPU MHz: 2799.998 23:52:46 BogoMIPS: 5599.99 23:52:46 Virtualization: AMD-V 23:52:46 Hypervisor vendor: KVM 23:52:46 Virtualization type: full 23:52:46 L1d cache: 32K 23:52:46 L1i cache: 32K 23:52:46 L2 cache: 512K 23:52:46 L3 cache: 16384K 23:52:46 NUMA node0 CPU(s): 0,1 23:52:46 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 23:52:46 23:52:46 23:52:46 ---> nproc: 23:52:46 2 23:52:46 23:52:46 23:52:46 ---> df -h: 23:52:46 Filesystem Size Used Avail Use% Mounted on 23:52:46 overlay 40G 7.7G 33G 20% / 23:52:46 tmpfs 64M 0 64M 0% /dev 23:52:46 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:52:46 shm 64M 0 64M 0% /dev/shm 23:52:46 /dev/vda1 40G 7.7G 33G 20% /facter-os 23:52:46 23:52:46 23:52:46 ---> sar -b -r -n DEV: 23:52:46 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/31/21 _x86_64_ (2 CPU) 23:52:46 23:52:46 23:43:43 LINUX RESTART (2 CPU) 23:52:46 23:52:46 23:44:01 tps rtps wtps bread/s bwrtn/s 23:52:46 23:45:01 95.22 18.08 77.14 5287.06 4408.98 23:52:46 23:46:01 1.73 0.00 1.73 0.00 37.74 23:52:46 23:47:01 0.22 0.00 0.22 0.00 3.10 23:52:46 23:48:01 0.15 0.00 0.15 0.00 2.18 23:52:46 23:49:01 0.38 0.00 0.38 0.00 5.31 23:52:46 23:50:01 0.28 0.00 0.28 0.00 4.51 23:52:46 23:51:01 0.23 0.00 0.23 0.00 3.65 23:52:46 23:52:01 0.28 0.00 0.28 0.00 2.87 23:52:46 Average: 12.32 2.26 10.05 661.03 558.67 23:52:46 23:52:46 23:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:52:46 23:45:01 5684900 0 610740 7.63 2620 1710672 1247412 13.77 559592 1530160 128 23:52:46 23:46:01 5681512 0 614120 7.67 2620 1710680 1247388 13.77 563336 1530336 8 23:52:46 23:47:01 5692500 0 603132 7.53 2620 1710680 1194132 13.18 552832 1530336 8 23:52:46 23:48:01 5689380 0 606244 7.57 2620 1710688 1194120 13.18 555592 1531152 8 23:52:46 23:49:01 5694980 0 600640 7.50 2620 1710692 1155260 12.75 550968 1531152 8 23:52:46 23:50:01 5694924 0 600696 7.50 2620 1710692 1155248 12.75 550860 1531192 8 23:52:46 23:51:01 5694628 0 600984 7.50 2620 1710700 1155224 12.75 551480 1531192 8 23:52:46 23:52:01 5687180 0 608428 7.60 2620 1710704 1155032 12.75 559296 1531192 8 23:52:46 Average: 5690000 0 605623 7.56 2620 1710688 1187977 13.12 555494 1530839 23 23:52:46 23:52:46 23:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:52:46 23:45:01 eth0 517.57 318.07 1239.47 79.48 0.00 0.00 0.00 0.00 23:52:46 23:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:45:01 docker0 31.44 17.97 2.98 133.15 0.00 0.00 0.00 0.00 23:52:46 23:46:01 eth0 5.45 1.87 3.66 0.45 0.00 0.00 0.00 0.00 23:52:46 23:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:47:01 eth0 2.18 0.52 0.66 0.39 0.00 0.00 0.00 0.00 23:52:46 23:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:48:01 eth0 1.05 0.28 0.31 0.23 0.00 0.00 0.00 0.00 23:52:46 23:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:49:01 eth0 0.75 0.33 0.30 0.20 0.00 0.00 0.00 0.00 23:52:46 23:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:50:01 eth0 0.75 0.45 0.41 0.27 0.00 0.00 0.00 0.00 23:52:46 23:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:51:01 eth0 0.97 0.35 0.32 0.17 0.00 0.00 0.00 0.00 23:52:46 23:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:52:01 eth0 0.17 0.10 0.01 0.04 0.00 0.00 0.00 0.00 23:52:46 23:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 23:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 Average: eth0 66.12 40.25 155.68 10.16 0.00 0.00 0.00 0.00 23:52:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:52:46 Average: docker0 3.93 2.25 0.37 16.65 0.00 0.00 0.00 0.00 23:52:46 23:52:46 23:52:46 ---> sar -P ALL: 23:52:46 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/31/21 _x86_64_ (2 CPU) 23:52:46 23:52:46 23:43:43 LINUX RESTART (2 CPU) 23:52:46 23:52:46 23:44:01 CPU %user %nice %system %iowait %steal %idle 23:52:46 23:45:01 all 14.80 0.00 3.42 2.39 0.05 79.35 23:52:46 23:45:01 0 15.47 0.00 3.32 1.18 0.05 79.97 23:52:46 23:45:01 1 14.12 0.00 3.52 3.59 0.05 78.72 23:52:46 23:46:01 all 0.30 0.00 0.08 0.00 0.01 99.62 23:52:46 23:46:01 0 0.43 0.00 0.05 0.00 0.00 99.52 23:52:46 23:46:01 1 0.17 0.00 0.10 0.00 0.02 99.72 23:52:46 23:47:01 all 0.24 0.00 0.05 0.00 0.00 99.71 23:52:46 23:47:01 0 0.40 0.00 0.03 0.00 0.00 99.57 23:52:46 23:47:01 1 0.08 0.00 0.07 0.00 0.00 99.85 23:52:46 23:48:01 all 0.23 0.00 0.06 0.00 0.02 99.70 23:52:46 23:48:01 0 0.37 0.00 0.03 0.00 0.02 99.58 23:52:46 23:48:01 1 0.08 0.00 0.08 0.00 0.02 99.82 23:52:46 23:49:01 all 0.25 0.00 0.06 0.00 0.02 99.67 23:52:46 23:49:01 0 0.42 0.00 0.05 0.00 0.02 99.52 23:52:46 23:49:01 1 0.08 0.00 0.07 0.00 0.02 99.83 23:52:46 23:50:01 all 0.23 0.00 0.03 0.00 0.01 99.72 23:52:46 23:50:01 0 0.35 0.00 0.02 0.00 0.00 99.63 23:52:46 23:50:01 1 0.12 0.00 0.05 0.00 0.02 99.82 23:52:46 23:51:01 all 0.26 0.00 0.04 0.00 0.01 99.69 23:52:46 23:51:01 0 0.42 0.00 0.03 0.00 0.00 99.55 23:52:46 23:51:01 1 0.10 0.00 0.05 0.00 0.02 99.83 23:52:46 23:52:01 all 0.23 0.00 0.06 0.00 0.01 99.71 23:52:46 23:52:01 0 0.33 0.00 0.05 0.00 0.02 99.60 23:52:46 23:52:01 1 0.12 0.00 0.07 0.00 0.00 99.82 23:52:46 Average: all 2.03 0.00 0.47 0.29 0.01 97.20 23:52:46 Average: 0 2.23 0.00 0.44 0.14 0.01 97.17 23:52:46 Average: 1 1.82 0.00 0.49 0.44 0.02 97.23 23:52:46 23:52:46 23:52:46