Pull request #146 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 MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 7759c41568adf15208c0dd5cadcdb8f87895acd8 rather than ae9526dcd376c8b43b4b87defde3e416751ee266 Obtained Jenkinsfile from 7759c41568adf15208c0dd5cadcdb8f87895acd8 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-ssh5557957544742503064.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh1643812929214181641.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-146/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-146/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh583356981182924779.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh3925662435783865080.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-146/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-146/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1283098003505524641.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-931 in /w/workspace/gexfoundry_device-rest-go_PR-146 [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-146 # 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-146@tmp/jenkins-gitclient-ssh6104837715142067548.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-146@tmp/jenkins-gitclient-ssh7429746651651262830.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit ae9526dcd376c8b43b4b87defde3e416751ee266 Merge succeeded, producing ae9526dcd376c8b43b4b87defde3e416751ee266 Checking out Revision ae9526dcd376c8b43b4b87defde3e416751ee266 (PR-146) > git config core.sparsecheckout # timeout=10 > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # 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-146@tmp/jenkins-gitclient-ssh5285399419630876757.key > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 Commit message: "build(snap): update README and add snap/local/hooks/go.sum" > git rev-list --no-walk cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:08:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:08:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:08:57 ========================================================= 09:08:57 EdgeX Global Pipelines Version Info 09:08:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:08:58 ------------------- 09:08:58 stable info: 09:08:58 ------------------- 09:08:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:08:58 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 09:08:58 Message: update stable to v1.0.215 09:08:58 ------------------- 09:08:58 experimental info: 09:08:58 ------------------- 09:08:58 Commited By: **** collab-it+edgex@linuxfoundation.org 09:08:58 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 09:08:58 Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:08:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:08:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:08:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:08:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:08:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae9526dcd376c8b43b4b87defde3e416751ee266 [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae9526d [Pipeline] echo 09:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:59 provisioning config files... 09:08:59 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config2300848545503274598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:08:59 ---> docker-login.sh 09:08:59 nexus3.edgexfoundry.org:10001 09:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:59 Configure a credential helper to remove this warning. See 09:08:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:59 09:08:59 Login Succeeded 09:08:59 nexus3.edgexfoundry.org:10002 09:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:59 Configure a credential helper to remove this warning. See 09:08:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:59 09:08:59 Login Succeeded 09:08:59 nexus3.edgexfoundry.org:10003 09:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:00 Configure a credential helper to remove this warning. See 09:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:00 09:09:00 Login Succeeded 09:09:00 nexus3.edgexfoundry.org:10004 09:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:00 Configure a credential helper to remove this warning. See 09:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:00 09:09:00 Login Succeeded 09:09:00 docker.io 09:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:00 Configure a credential helper to remove this warning. See 09:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:00 09:09:00 Login Succeeded 09:09:00 ---> docker-login.sh ends [Pipeline] } 09:09:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:09:01 + git rev-list -1 --merges ae9526dcd376c8b43b4b87defde3e416751ee266~1..ae9526dcd376c8b43b4b87defde3e416751ee266 [Pipeline] echo 09:09:01 -----------> git rev-list -1 --merges ae9526dcd376c8b43b4b87defde3e416751ee266~1..ae9526dcd376c8b43b4b87defde3e416751ee266 ae9526dcd376c8b43b4b87defde3e416751ee266 [false] [Pipeline] sh 09:09:01 + git log --format=format:%s -1 ae9526dcd376c8b43b4b87defde3e416751ee266 [Pipeline] echo 09:09:01 ========================================================= 09:09:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:09:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:01 + git log --format=format:%s -1 ae9526dcd376c8b43b4b87defde3e416751ee266 [Pipeline] echo 09:09:01 [semverPrep] GIT_COMMIT: ae9526dcd376c8b43b4b87defde3e416751ee266, Commit Message: build(snap): update README and add snap/local/hooks/go.sum [Pipeline] echo 09:09:01 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:09:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:09:02 09:09:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:09:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:09:02 latest: Pulling from edgex-devops/git-semver 09:09:02 a0d0a0d46f8b: Pulling fs layer 09:09:02 3e5f54012d9b: Pulling fs layer 09:09:02 4c7163046ea9: Pulling fs layer 09:09:02 0c2d73faf560: Pulling fs layer 09:09:02 0c2d73faf560: Waiting 09:09:02 3e5f54012d9b: Verifying Checksum 09:09:02 3e5f54012d9b: Download complete 09:09:02 a0d0a0d46f8b: Verifying Checksum 09:09:02 a0d0a0d46f8b: Download complete 09:09:02 0c2d73faf560: Verifying Checksum 09:09:02 0c2d73faf560: Download complete 09:09:02 4c7163046ea9: Verifying Checksum 09:09:02 4c7163046ea9: Download complete 09:09:03 a0d0a0d46f8b: Pull complete 09:09:03 3e5f54012d9b: Pull complete 09:09:03 4c7163046ea9: Pull complete 09:09:03 0c2d73faf560: Pull complete 09:09:03 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:09:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:09:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:09:03 prd-centos7-docker-4c-2g-931 does not seem to be running inside a container 09:09:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-146 -v /w/workspace/gexfoundry_device-rest-go_PR-146:/w/workspace/gexfoundry_device-rest-go_PR-146:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-146@tmp:/w/workspace/gexfoundry_device-rest-go_PR-146@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 09:09:04 $ docker top 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:09:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:09:04 [ssh-agent] Looking for ssh-agent implementation... 09:09:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:09:04 $ docker exec 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 ssh-agent 09:09:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPGCNfe/agent.13 09:09:04 SSH_AGENT_PID=20 09:09:04 Running ssh-add (command line suppressed) 09:09:04 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_5597192824166590297.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_5597192824166590297.key) 09:09:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:09:05 + git tag --points-at HEAD [Pipeline] } 09:09:05 $ docker exec --env ******** --env ******** 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 ssh-agent -k 09:09:05 unset SSH_AUTH_SOCK; 09:09:05 unset SSH_AGENT_PID; 09:09:05 echo Agent pid 20 killed; 09:09:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:09:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:09:05 [ssh-agent] Looking for ssh-agent implementation... 09:09:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:09:05 $ docker exec 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 ssh-agent 09:09:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOgCinJ/agent.55 09:09:05 SSH_AGENT_PID=61 09:09:05 Running ssh-add (command line suppressed) 09:09:05 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_6252199723676567826.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_6252199723676567826.key) 09:09:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:09:05 + git semver init 09:09:05 # -> Open(): unable to determine branch for HEAD 09:09:05 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.git 09:09:05 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-146 09:09:05 # $SEMVER_REMOTE_NAME = origin 09:09:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:09:05 # $SEMVER_USER_NAME = edgex-jenkins 09:09:05 # $SEMVER_BRANCH = PR-146 09:09:05 # $SEMVER_TEMP = /tmp/semver-278761218 09:09:05 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 09:09:05 # -> Clone(): ssh: handshake failed: knownhosts: key mismatch 09:09:05 # git init /tmp/semver-278761218 09:09:05 # '/tmp/semver-278761218' -> '/w/workspace/gexfoundry_device-rest-go_PR-146/.semver' 09:09:05 # -> Force: false 09:09:05 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.semver [Pipeline] } 09:09:05 $ docker exec --env ******** --env ******** 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 ssh-agent -k 09:09:05 unset SSH_AUTH_SOCK; 09:09:05 unset SSH_AGENT_PID; 09:09:05 echo Agent pid 61 killed; 09:09:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:09:06 + git semver [Pipeline] } 09:09:06 $ docker stop --time=1 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 09:09:07 $ docker rm -f 1862981ef58e9d4d74d1eb4578530e7d6211e62b5fab02d10e85d4b98e985f88 [Pipeline] // withDockerContainer [Pipeline] sh 09:09:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:09:08 Stashed 1 file(s) [Pipeline] echo 09:09:08 [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 09:09:23 Still waiting to schedule task 09:09:23 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-931’ 09:09:23 Still waiting to schedule task 09:09:23 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:10:25 Running on prd-centos7-docker-4c-2g-934 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws 09:10:25 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 09:10:25 The recommended git tool is: git 09:10:27 using credential edgex-jenkins-ssh 09:10:27 Cloning the remote Git repository 09:10:27 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:10:27 > git init /w/workspace/device-rest-go/2 # timeout=10 09:10:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:10:27 > git --version # timeout=10 09:10:27 > git --version # 'git version 2.24.4' 09:10:27 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:27 [INFO] Currently running in a labeled security context 09:10:27 [INFO] Currently SELinux is 'enforcing' on the host 09:10:27 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh7656141673148067085.key 09:10:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:10:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:10:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:10:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:10:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:10:28 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:28 [INFO] Currently running in a labeled security context 09:10:28 [INFO] Currently SELinux is 'enforcing' on the host 09:10:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh41699837738024773.key 09:10:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:10:29 Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit ae9526dcd376c8b43b4b87defde3e416751ee266 09:10:29 Merge succeeded, producing ae9526dcd376c8b43b4b87defde3e416751ee266 09:10:29 Checking out Revision ae9526dcd376c8b43b4b87defde3e416751ee266 (PR-146) 09:10:28 > git config core.sparsecheckout # timeout=10 09:10:28 > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 09:10:28 > git remote # timeout=10 09:10:28 > git config --get remote.origin.url # timeout=10 09:10:28 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:28 [INFO] Currently running in a labeled security context 09:10:28 [INFO] Currently SELinux is 'enforcing' on the host 09:10:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh869916596378996821.key 09:10:28 > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 09:10:28 > git rev-parse HEAD^{commit} # timeout=10 09:10:28 > git config core.sparsecheckout # timeout=10 09:10:28 > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 09:10:32 Commit message: "build(snap): update README and add snap/local/hooks/go.sum" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:10:33 provisioning config files... 09:10:33 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2360830452853699499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:10:33 ---> docker-login.sh 09:10:33 nexus3.edgexfoundry.org:10001 09:10:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:33 Configure a credential helper to remove this warning. See 09:10:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:33 09:10:33 Login Succeeded 09:10:33 nexus3.edgexfoundry.org:10002 09:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:34 Configure a credential helper to remove this warning. See 09:10:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:34 09:10:34 Login Succeeded 09:10:34 nexus3.edgexfoundry.org:10003 09:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:34 Configure a credential helper to remove this warning. See 09:10:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:34 09:10:34 Login Succeeded 09:10:34 nexus3.edgexfoundry.org:10004 09:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:34 Configure a credential helper to remove this warning. See 09:10:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:34 09:10:34 Login Succeeded 09:10:34 docker.io 09:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:34 Configure a credential helper to remove this warning. See 09:10:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:34 09:10:34 Login Succeeded 09:10:34 ---> docker-login.sh ends [Pipeline] } 09:10:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:10:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:10:34 ========================================================= 09:10:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 09:10:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:10:35 + 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 . 09:10:35 Sending build context to Docker daemon 121.3kB 09:10:35 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 09:10:35 Step 2/11 : FROM ${BASE} AS builder 09:10:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 09:10:35 a0d0a0d46f8b: Pulling fs layer 09:10:35 31adcdaf11c8: Pulling fs layer 09:10:35 b8b176561691: Pulling fs layer 09:10:35 4527c011a84f: Pulling fs layer 09:10:35 5d74067f8e1e: Pulling fs layer 09:10:35 e0aca202a116: Pulling fs layer 09:10:35 3a43be97a3b4: Pulling fs layer 09:10:35 34cad66bf833: Pulling fs layer 09:10:35 b4e3c513aaa6: Pulling fs layer 09:10:35 4527c011a84f: Waiting 09:10:35 5d74067f8e1e: Waiting 09:10:35 e0aca202a116: Waiting 09:10:35 3a43be97a3b4: Waiting 09:10:35 34cad66bf833: Waiting 09:10:35 b4e3c513aaa6: Waiting 09:10:35 b8b176561691: Verifying Checksum 09:10:35 b8b176561691: Download complete 09:10:35 31adcdaf11c8: Verifying Checksum 09:10:35 31adcdaf11c8: Download complete 09:10:35 5d74067f8e1e: Verifying Checksum 09:10:35 5d74067f8e1e: Download complete 09:10:35 e0aca202a116: Verifying Checksum 09:10:35 e0aca202a116: Download complete 09:10:35 a0d0a0d46f8b: Verifying Checksum 09:10:35 a0d0a0d46f8b: Download complete 09:10:35 3a43be97a3b4: Verifying Checksum 09:10:35 3a43be97a3b4: Download complete 09:10:35 34cad66bf833: Verifying Checksum 09:10:35 34cad66bf833: Download complete 09:10:35 a0d0a0d46f8b: Pull complete 09:10:35 31adcdaf11c8: Pull complete 09:10:35 b8b176561691: Pull complete 09:10:35 4527c011a84f: Verifying Checksum 09:10:35 4527c011a84f: Download complete 09:10:35 b4e3c513aaa6: Verifying Checksum 09:10:35 b4e3c513aaa6: Download complete 09:10:39 4527c011a84f: Pull complete 09:10:39 5d74067f8e1e: Pull complete 09:10:39 e0aca202a116: Pull complete 09:10:39 3a43be97a3b4: Pull complete 09:10:39 34cad66bf833: Pull complete 09:10:42 b4e3c513aaa6: Pull complete 09:10:42 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 09:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 09:10:42 ---> 9f6097aaca64 09:10:42 Step 3/11 : ARG MAKE='make build' 09:10:45 ---> Running in 3fc0cc78c2de 09:10:45 Removing intermediate container 3fc0cc78c2de 09:10:45 ---> 4b33971af62c 09:10:45 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:10:45 ---> Running in 98a47f22426e 09:10:45 Removing intermediate container 98a47f22426e 09:10:45 ---> cf2519e2745c 09:10:45 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 09:10:45 ---> Running in 2faa1b2c3d13 09:10:45 Removing intermediate container 2faa1b2c3d13 09:10:45 ---> 99c67ced8e9f 09:10:45 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:45 ---> Running in 4543fd87343c 09:10:46 Removing intermediate container 4543fd87343c 09:10:46 ---> 535dbc49351c 09:10:46 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:10:46 ---> Running in 1c23a6a828bd 09:10:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:10:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:10:47 (1/4) Installing openssh-keygen (8.6_p1-r3) 09:10:47 (2/4) Installing libedit (20210216.3.1-r0) 09:10:47 (3/4) Installing openssh-client-common (8.6_p1-r3) 09:10:47 (4/4) Installing openssh-client-default (8.6_p1-r3) 09:10:47 Executing busybox-1.33.1-r3.trigger 09:10:47 OK: 224 MiB in 56 packages 09:10:48 Removing intermediate container 1c23a6a828bd 09:10:48 ---> 665d8e2d2d76 09:10:48 Step 8/11 : WORKDIR /device-rest-go 09:10:48 ---> Running in 5e142c91372d 09:10:48 Removing intermediate container 5e142c91372d 09:10:48 ---> f222cb5890f3 09:10:48 Step 9/11 : COPY . . 09:10:48 ---> 2a43fcab104f 09:10:48 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:48 ---> Running in eb50dbc9d89c 09:10:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-933 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws 09:10:49 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 09:10:49 The recommended git tool is: git 09:10:54 using credential edgex-jenkins-ssh 09:10:54 Cloning the remote Git repository 09:10:54 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:10:54 > git init /w/workspace/device-rest-go/2 # timeout=10 09:10:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:10:54 > git --version # timeout=10 09:10:54 > git --version # 'git version 2.17.1' 09:10:54 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:10:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:10:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:10:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:10:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:10:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:10:56 Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit ae9526dcd376c8b43b4b87defde3e416751ee266 09:10:57 Merge succeeded, producing ae9526dcd376c8b43b4b87defde3e416751ee266 09:10:57 Checking out Revision ae9526dcd376c8b43b4b87defde3e416751ee266 (PR-146) 09:10:56 > git config core.sparsecheckout # timeout=10 09:10:56 > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 09:10:56 > git remote # timeout=10 09:10:56 > git config --get remote.origin.url # timeout=10 09:10:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:57 > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 09:10:57 > git rev-parse HEAD^{commit} # timeout=10 09:10:57 > git config core.sparsecheckout # timeout=10 09:10:57 > git checkout -f ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 09:11:01 Commit message: "build(snap): update README and add snap/local/hooks/go.sum" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:11:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:11:02 % Total % Received % Xferd Average Speed Time Time Time Current 09:11:02 Dload Upload Total Spent Left Speed 09:11:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 73900 0 --:--:-- --:--:-- --:--:-- 73900 [Pipeline] sh 09:11:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:11:03 + + sudo tee /etc/docker/daemon.new 09:11:03 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:11:03 { 09:11:03 "registry-mirrors": [ 09:11:03 "https://nexus3.edgexfoundry.org:10001" 09:11:03 ], 09:11:03 "bip": "10.250.0.254/24", 09:11:03 "hosts": [ 09:11:03 "tcp://0.0.0.0:5555", 09:11:03 "unix:///var/run/docker.sock" 09:11:03 ], 09:11:03 "mtu": 1458, 09:11:03 "selinux-enabled": true, 09:11:03 "seccomp-profile": "/etc/docker/seccomp.json" 09:11:03 } [Pipeline] sh 09:11:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:11:03 + sudo service docker restart 09:11:20 Removing intermediate container eb50dbc9d89c 09:11:20 ---> 488644c08e99 09:11:20 Step 11/11 : RUN $MAKE 09:11:20 ---> Running in 674199cfff5b 09:11:20 noop 09:11:20 Removing intermediate container 674199cfff5b 09:11:20 ---> 8a2b92a5a958 09:11:20 Successfully built 8a2b92a5a958 09:11:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:11:20 + docker inspect -f . ci-base-image-x86_64 09:11:20 . [Pipeline] withDockerContainer 09:11:20 prd-centos7-docker-4c-2g-934 does not seem to be running inside a container 09:11:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:11:21 $ docker top d674846a0c2fb4811a02d44074f1e01cb9e5670087d7dacc21b9d9352f933dd6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:21 + go version 09:11:21 go version go1.16.8 linux/amd64 [Pipeline] } 09:11:21 $ docker stop --time=1 d674846a0c2fb4811a02d44074f1e01cb9e5670087d7dacc21b9d9352f933dd6 09:11:22 $ docker rm -f d674846a0c2fb4811a02d44074f1e01cb9e5670087d7dacc21b9d9352f933dd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] configFileProvider 09:11:23 provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script 09:11:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5844451647923185953tmp [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:23 + docker inspect -f . ci-base-image-x86_64 09:11:23 . [Pipeline] withDockerContainer 09:11:23 prd-centos7-docker-4c-2g-934 does not seem to be running inside a container 09:11:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:11:23 ---> docker-login.sh 09:11:23 nexus3.edgexfoundry.org:10001 09:11:23 $ docker top 2dc98d3cc728573a4ac82d9622439735650a594c4126f4c6f52fee04a79cee2d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:24 + make test 09:11:24 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:24 Configure a credential helper to remove this warning. See 09:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:24 09:11:24 Login Succeeded 09:11:24 nexus3.edgexfoundry.org:10002 09:11:24 ? github.com/edgexfoundry/device-rest-go [no test files] 09:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:25 Configure a credential helper to remove this warning. See 09:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:25 09:11:25 Login Succeeded 09:11:25 nexus3.edgexfoundry.org:10003 09:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:25 Configure a credential helper to remove this warning. See 09:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:25 09:11:25 Login Succeeded 09:11:25 nexus3.edgexfoundry.org:10004 09:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:26 Configure a credential helper to remove this warning. See 09:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:26 09:11:26 Login Succeeded 09:11:26 docker.io 09:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:27 Configure a credential helper to remove this warning. See 09:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:27 09:11:27 Login Succeeded 09:11:27 ---> docker-login.sh ends [Pipeline] } 09:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:11:27 ========================================================= 09:11:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 09:11:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:11:28 + 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 . 09:11:28 Sending build context to Docker daemon 121.3kB 09:11:28 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 09:11:28 Step 2/11 : FROM ${BASE} AS builder 09:11:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:11:28 552d1f2373af: Pulling fs layer 09:11:28 ea3f2d53f512: Pulling fs layer 09:11:28 9e70ebbbe112: Pulling fs layer 09:11:28 7a9cfe048b4a: Pulling fs layer 09:11:28 72dc09318566: Pulling fs layer 09:11:28 f4f7b4309257: Pulling fs layer 09:11:28 0ac9a79272e3: Pulling fs layer 09:11:28 b78e95d17946: Pulling fs layer 09:11:28 7a9cfe048b4a: Waiting 09:11:28 72dc09318566: Waiting 09:11:28 f4f7b4309257: Waiting 09:11:28 0ac9a79272e3: Waiting 09:11:28 b78e95d17946: Waiting 09:11:28 9e70ebbbe112: Verifying Checksum 09:11:28 9e70ebbbe112: Download complete 09:11:28 ea3f2d53f512: Verifying Checksum 09:11:28 ea3f2d53f512: Download complete 09:11:28 72dc09318566: Verifying Checksum 09:11:28 72dc09318566: Download complete 09:11:28 f4f7b4309257: Verifying Checksum 09:11:28 f4f7b4309257: Download complete 09:11:28 552d1f2373af: Download complete 09:11:28 0ac9a79272e3: Verifying Checksum 09:11:28 0ac9a79272e3: Download complete 09:11:29 552d1f2373af: Pull complete 09:11:30 ea3f2d53f512: Pull complete 09:11:30 9e70ebbbe112: Pull complete 09:11:30 b78e95d17946: Download complete 09:11:31 7a9cfe048b4a: Verifying Checksum 09:11:31 7a9cfe048b4a: Download complete 09:11:39 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:11:39 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 56.0% of statements 09:11:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:11:41 7a9cfe048b4a: Pull complete 09:11:41 72dc09318566: Pull complete 09:11:42 f4f7b4309257: Pull complete 09:11:42 0ac9a79272e3: Pull complete 09:11:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:11:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:11:46 ./bin/test-attribution-txt.sh [Pipeline] echo 09:11:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:11:46 $ docker stop --time=1 2dc98d3cc728573a4ac82d9622439735650a594c4126f4c6f52fee04a79cee2d 09:11:48 $ docker rm -f 2dc98d3cc728573a4ac82d9622439735650a594c4126f4c6f52fee04a79cee2d [Pipeline] // withDockerContainer [Pipeline] sh 09:11:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:11:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 09:11:49 b78e95d17946: Pull complete 09:11:49 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 09:11:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 09:11:49 ---> 8b459fc5aaf0 09:11:49 Step 3/11 : ARG MAKE='make build' [Pipeline] sh 09:11:49 ---> Running in 7a605d005b24 09:11:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:11:50 Removing intermediate container 7a605d005b24 09:11:50 ---> 64961aa916ea 09:11:50 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:11:50 + ls -al . 09:11:50 total 148 09:11:50 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 17 09:11 . 09:11:50 drwxrwxr-x. 4 jenkins jenkins 28 Nov 17 09:10 .. 09:11:50 -rw-rw-r--. 1 jenkins jenkins 7095 Nov 17 09:10 Attribution.txt 09:11:50 drwxrwxr-x. 2 jenkins jenkins 37 Nov 17 09:10 bin 09:11:50 -rw-rw-r--. 1 jenkins jenkins 7459 Nov 17 09:10 CHANGELOG.md 09:11:50 drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 09:10 cmd 09:11:50 -rw-r--r--. 1 jenkins jenkins 9215 Nov 17 09:11 coverage.out 09:11:50 -rw-rw-r--. 1 jenkins jenkins 1649 Nov 17 09:10 Dockerfile 09:11:50 -rw-rw-r--. 1 jenkins jenkins 151 Nov 17 09:10 .dockerignore 09:11:50 drwxrwxr-x. 2 jenkins jenkins 76 Nov 17 09:10 driver 09:11:50 drwxrwxr-x. 8 jenkins jenkins 179 Nov 17 09:10 .git 09:11:50 drwxrwxr-x. 2 jenkins jenkins 103 Nov 17 09:10 .github 09:11:50 -rw-rw-r--. 1 jenkins jenkins 329 Nov 17 09:10 .gitignore 09:11:50 -rw-rw-r--. 1 jenkins jenkins 271 Nov 17 09:10 go.mod 09:11:50 -rw-rw-r--. 1 jenkins jenkins 49306 Nov 17 09:10 go.sum 09:11:50 -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 09:10 GOVERNANCE.md 09:11:50 -rw-rw-r--. 1 jenkins jenkins 680 Nov 17 09:10 Jenkinsfile 09:11:50 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 09:10 LICENSE 09:11:50 -rw-rw-r--. 1 jenkins jenkins 1078 Nov 17 09:10 Makefile 09:11:50 -rw-rw-r--. 1 jenkins jenkins 620 Nov 17 09:10 OWNERS.md 09:11:50 -rw-rw-r--. 1 jenkins jenkins 8246 Nov 17 09:10 README.md 09:11:50 drwxrwxr-x. 3 jenkins jenkins 58 Nov 17 09:10 snap 09:11:50 -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 09:09 VERSION 09:11:50 -rw-rw-r--. 1 jenkins jenkins 713 Nov 17 09:10 version.go [Pipeline] isUnix [Pipeline] sh 09:11:50 ---> Running in 950c2c0141a3 09:11:50 + 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=ae9526dcd376c8b43b4b87defde3e416751ee266 --label arch=amd64 --label version=0.0.0 . 09:11:50 Sending build context to Docker daemon 131.1kB 09:11:50 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 09:11:50 Step 2/24 : FROM ${BASE} AS builder 09:11:50 ---> 8a2b92a5a958 09:11:50 Step 3/24 : ARG MAKE='make build' 09:11:50 ---> Running in ec8e08c5d999 09:11:50 Removing intermediate container ec8e08c5d999 09:11:50 ---> 47b6bcf7e451 09:11:50 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:11:50 ---> Running in a1b78d2e4f7e 09:11:50 Removing intermediate container 950c2c0141a3 09:11:50 ---> 30f96e547f7e 09:11:50 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 09:11:50 Removing intermediate container a1b78d2e4f7e 09:11:50 ---> 59ab5a156177 09:11:50 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 09:11:50 ---> Running in c6e1125b5a1d 09:11:50 Removing intermediate container c6e1125b5a1d 09:11:50 ---> 772c96a35118 09:11:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:11:50 ---> Running in 3c0aae4ef202 09:11:51 ---> Running in 31344b521dc1 09:11:51 Removing intermediate container 31344b521dc1 09:11:51 ---> 777fa75def82 09:11:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:11:51 Removing intermediate container 3c0aae4ef202 09:11:51 ---> 54895463132d 09:11:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:11:51 ---> Running in 8e0031a48b24 09:11:51 ---> Running in 3c98d4215d21 09:11:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:11:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:11:52 OK: 224 MiB in 56 packages 09:11:52 Removing intermediate container 8e0031a48b24 09:11:52 ---> d8473a81fd6b 09:11:52 Step 8/24 : WORKDIR /device-rest-go 09:11:52 ---> Running in 6e1ccdc67d69 09:11:53 Removing intermediate container 6e1ccdc67d69 09:11:53 ---> 45617d7003c4 09:11:53 Step 9/24 : COPY . . 09:11:53 ---> 63acf5c4c1bb 09:11:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:11:53 ---> Running in 2648fa00193b 09:11:53 Removing intermediate container 3c98d4215d21 09:11:53 ---> b4dbe11a10f9 09:11:53 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:11:53 ---> Running in 2309850771cf 09:11:53 Removing intermediate container 2648fa00193b 09:11:53 ---> 801d1960cea5 09:11:53 Step 11/24 : RUN $MAKE 09:11:53 ---> Running in fbcc94fa603b 09:11:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 09:11:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:11:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:11:56 (1/4) Installing openssh-keygen (8.6_p1-r3) 09:11:56 (2/4) Installing libedit (20210216.3.1-r0) 09:11:56 (3/4) Installing openssh-client-common (8.6_p1-r3) 09:11:56 (4/4) Installing openssh-client-default (8.6_p1-r3) 09:11:56 Executing busybox-1.33.1-r3.trigger 09:11:56 OK: 223 MiB in 56 packages 09:11:57 Removing intermediate container 2309850771cf 09:11:57 ---> 9ab7023f1746 09:11:57 Step 8/11 : WORKDIR /device-rest-go 09:11:57 ---> Running in 47fdefbd1953 09:11:58 Removing intermediate container 47fdefbd1953 09:11:58 ---> 980d87a554f1 09:11:58 Step 9/11 : COPY . . 09:11:59 ---> 17e61fbb712d 09:11:59 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:11:59 ---> Running in 183e982013e2 09:12:06 Removing intermediate container fbcc94fa603b 09:12:06 ---> 850264964a08 09:12:06 Step 12/24 : FROM alpine:3.14 09:12:06 3.14: Pulling from library/alpine 09:12:06 97518928ae5f: Pulling fs layer 09:12:06 97518928ae5f: Verifying Checksum 09:12:06 97518928ae5f: Download complete 09:12:06 97518928ae5f: Pull complete 09:12:06 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 09:12:06 Status: Downloaded newer image for alpine:3.14 09:12:06 ---> 0a97eee8041e 09:12:06 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:12:06 ---> Running in 3551c54f2dfd 09:12:06 Removing intermediate container 3551c54f2dfd 09:12:06 ---> faa2a4b1b8fb 09:12:06 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 09:12:06 ---> Running in 658f149f8772 09:12:06 Removing intermediate container 658f149f8772 09:12:06 ---> cec93f7b14bd 09:12:06 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:12:06 ---> Running in 718caef6f64c 09:12:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:12:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:12:07 (1/6) Installing dumb-init (1.2.5-r1) 09:12:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:12:07 (3/6) Installing libsodium (1.0.18-r0) 09:12:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:12:07 (5/6) Installing libzmq (4.3.4-r0) 09:12:07 (6/6) Installing zeromq (4.3.4-r0) 09:12:07 Executing busybox-1.33.1-r6.trigger 09:12:07 OK: 8 MiB in 20 packages 09:12:07 Removing intermediate container 718caef6f64c 09:12:07 ---> 7fb5de907fd9 09:12:07 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 09:12:07 ---> 43a6ac243ec9 09:12:07 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 09:12:07 ---> 11d9e7d1a6de 09:12:07 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 09:12:08 ---> b2cd8982c0a4 09:12:08 Step 19/24 : EXPOSE 59986 09:12:08 ---> Running in 3848919e0686 09:12:08 Removing intermediate container 3848919e0686 09:12:08 ---> 44c3cdcf05bb 09:12:08 Step 20/24 : ENTRYPOINT ["/device-rest"] 09:12:08 ---> Running in dbeccb524db5 09:12:08 Removing intermediate container dbeccb524db5 09:12:08 ---> ddc8b3bf5643 09:12:08 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:12:08 ---> Running in 9e894eaf413b 09:12:08 Removing intermediate container 9e894eaf413b 09:12:08 ---> e781b73f8dc9 09:12:08 Step 22/24 : LABEL arch=amd64 09:12:08 ---> Running in ebd819b33be3 09:12:08 Removing intermediate container ebd819b33be3 09:12:08 ---> 8240b1bcaa75 09:12:08 Step 23/24 : LABEL git_sha=ae9526dcd376c8b43b4b87defde3e416751ee266 09:12:08 ---> Running in cfc9bd14de74 09:12:08 Removing intermediate container cfc9bd14de74 09:12:08 ---> 9428ca1320a8 09:12:08 Step 24/24 : LABEL version=0.0.0 09:12:08 ---> Running in 2c7a376a5fe9 09:12:08 Removing intermediate container 2c7a376a5fe9 09:12:08 ---> b63f1d23bb9a 09:12:08 [Warning] One or more build-args [ARCH] were not consumed 09:12:08 Successfully built b63f1d23bb9a 09:12:08 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 09:12:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:12:09 09:12:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:12:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:12:09 latest: Pulling from edgex-lftools-log-publisher 09:12:09 b4d181a07f80: Pulling fs layer 09:12:09 a1111a8f2ec3: Pulling fs layer 09:12:09 ed53099fbce6: Pulling fs layer 09:12:09 dc539afda2c1: Pulling fs layer 09:12:09 77bc0d833cb6: Pulling fs layer 09:12:09 9065ff56babe: Pulling fs layer 09:12:09 d287ab97295c: Pulling fs layer 09:12:09 77bc0d833cb6: Waiting 09:12:09 dc539afda2c1: Waiting 09:12:09 9065ff56babe: Waiting 09:12:09 d287ab97295c: Waiting 09:12:09 a1111a8f2ec3: Verifying Checksum 09:12:09 a1111a8f2ec3: Download complete 09:12:09 dc539afda2c1: Verifying Checksum 09:12:09 dc539afda2c1: Download complete 09:12:09 ed53099fbce6: Verifying Checksum 09:12:09 ed53099fbce6: Download complete 09:12:09 9065ff56babe: Verifying Checksum 09:12:09 9065ff56babe: Download complete 09:12:09 b4d181a07f80: Verifying Checksum 09:12:09 b4d181a07f80: Download complete 09:12:09 77bc0d833cb6: Verifying Checksum 09:12:09 77bc0d833cb6: Download complete 09:12:10 d287ab97295c: Verifying Checksum 09:12:10 d287ab97295c: Download complete 09:12:10 b4d181a07f80: Pull complete 09:12:11 a1111a8f2ec3: Pull complete 09:12:11 ed53099fbce6: Pull complete 09:12:11 dc539afda2c1: Pull complete 09:12:12 77bc0d833cb6: Pull complete 09:12:12 9065ff56babe: Pull complete 09:12:17 d287ab97295c: Pull complete 09:12:17 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 09:12:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:12:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:12:17 prd-centos7-docker-4c-2g-934 does not seem to be running inside a container 09:12:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:12:20 $ docker top 7e9ea61dbde9915bc13510848f9c304bd5db9557828e431c1caf2ea8d339efd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:20 ---> job-cost.sh 09:12:20 lf-activate-venv: SKIPPING 09:12:20 INFO: No Stack... 09:12:21 INFO: Retrieving Pricing Info for: v3-standard-2 09:12:21 INFO: Archiving Costs [Pipeline] sh 09:12:21 + cat /w/workspace/device-rest-go/2/archives/cost.csv 09:12:21 + cut -d, -f6 [Pipeline] lock 09:12:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] 09:12:21 Resource [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] did not exist. Created. 09:12:21 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:12:22 + echo total: 0.05999999865889549 [Pipeline] stash 09:12:22 Stashed 1 file(s) [Pipeline] } 09:12:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:12:22 $ docker stop --time=1 7e9ea61dbde9915bc13510848f9c304bd5db9557828e431c1caf2ea8d339efd8 09:12:23 $ docker rm -f 7e9ea61dbde9915bc13510848f9c304bd5db9557828e431c1caf2ea8d339efd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:13:20 Removing intermediate container 183e982013e2 09:13:20 ---> 57f720efdb9a 09:13:20 Step 11/11 : RUN $MAKE 09:13:20 ---> Running in 5e144100b553 09:13:20 noop 09:13:20 Removing intermediate container 5e144100b553 09:13:20 ---> b6c898ad81b1 09:13:20 Successfully built b6c898ad81b1 09:13:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:13:21 + docker inspect -f . ci-base-image-arm64 09:13:21 . [Pipeline] withDockerContainer 09:13:21 prd-ubuntu18.04-docker-arm64-4c-16g-933 does not seem to be running inside a container 09:13:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:13:23 $ docker top d0820930be1cc1aad9683a1e458677aba006b4b0386b49ff3ab5489d792fc123 -eo pid,comm [Pipeline] { [Pipeline] sh 09:13:24 + go version 09:13:24 go version go1.16.8 linux/arm64 [Pipeline] } 09:13:24 $ docker stop --time=1 d0820930be1cc1aad9683a1e458677aba006b4b0386b49ff3ab5489d792fc123 09:13:25 $ docker rm -f d0820930be1cc1aad9683a1e458677aba006b4b0386b49ff3ab5489d792fc123 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:13:26 + docker inspect -f . ci-base-image-arm64 09:13:26 . [Pipeline] withDockerContainer 09:13:26 prd-ubuntu18.04-docker-arm64-4c-16g-933 does not seem to be running inside a container 09:13:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:13:28 $ docker top 774add1174d86f270ad6729c43977f3a3d84dcdfe6b2c2224722fbc3e475e915 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:13:29 + make test 09:13:29 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:13:31 ? github.com/edgexfoundry/device-rest-go [no test files] 09:14:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:14:27 ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.0% of statements 09:14:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:14:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:14:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:14:54 ./bin/test-attribution-txt.sh [Pipeline] echo 09:14:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:14:54 $ docker stop --time=1 774add1174d86f270ad6729c43977f3a3d84dcdfe6b2c2224722fbc3e475e915 09:14:56 $ docker rm -f 774add1174d86f270ad6729c43977f3a3d84dcdfe6b2c2224722fbc3e475e915 [Pipeline] // withDockerContainer [Pipeline] sh 09:14:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:14:57 Warning: overwriting stash ‘coverage-report’ 09:14:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:14:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:14:58 + ls -al . 09:14:58 total 176 09:14:58 drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 09:14 . 09:14:58 drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 09:10 .. 09:14:58 -rw-rw-r-- 1 jenkins jenkins 151 Nov 17 09:10 .dockerignore 09:14:58 drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 09:11 .git 09:14:58 drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:10 .github 09:14:58 -rw-rw-r-- 1 jenkins jenkins 329 Nov 17 09:10 .gitignore 09:14:58 -rw-rw-r-- 1 jenkins jenkins 7095 Nov 17 09:10 Attribution.txt 09:14:58 -rw-rw-r-- 1 jenkins jenkins 7459 Nov 17 09:10 CHANGELOG.md 09:14:58 -rw-rw-r-- 1 jenkins jenkins 1649 Nov 17 09:10 Dockerfile 09:14:58 -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 09:10 GOVERNANCE.md 09:14:58 -rw-rw-r-- 1 jenkins jenkins 680 Nov 17 09:10 Jenkinsfile 09:14:58 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 09:10 LICENSE 09:14:58 -rw-rw-r-- 1 jenkins jenkins 1078 Nov 17 09:10 Makefile 09:14:58 -rw-rw-r-- 1 jenkins jenkins 620 Nov 17 09:10 OWNERS.md 09:14:58 -rw-rw-r-- 1 jenkins jenkins 8246 Nov 17 09:10 README.md 09:14:58 -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 09:09 VERSION 09:14:58 drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:10 bin 09:14:58 drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 09:10 cmd 09:14:58 -rw-r--r-- 1 jenkins jenkins 9215 Nov 17 09:14 coverage.out 09:14:58 drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:10 driver 09:14:58 -rw-rw-r-- 1 jenkins jenkins 271 Nov 17 09:10 go.mod 09:14:58 -rw-rw-r-- 1 jenkins jenkins 49306 Nov 17 09:10 go.sum 09:14:58 drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 09:10 snap 09:14:58 -rw-rw-r-- 1 jenkins jenkins 713 Nov 17 09:10 version.go [Pipeline] isUnix [Pipeline] sh 09:14:59 + 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=ae9526dcd376c8b43b4b87defde3e416751ee266 --label arch=arm64 --label version=0.0.0 . 09:14:59 Sending build context to Docker daemon 131.1kB 09:14:59 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 09:14:59 Step 2/24 : FROM ${BASE} AS builder 09:14:59 ---> b6c898ad81b1 09:14:59 Step 3/24 : ARG MAKE='make build' 09:14:59 ---> Running in b62b9d28bc4a 09:15:00 Removing intermediate container b62b9d28bc4a 09:15:00 ---> b909b75a10bf 09:15:00 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:15:00 ---> Running in ea02fa538325 09:15:00 Removing intermediate container ea02fa538325 09:15:00 ---> dd18455d51e4 09:15:00 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 09:15:00 ---> Running in d52826167625 09:15:01 Removing intermediate container d52826167625 09:15:01 ---> f165c31d0909 09:15:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:01 ---> Running in 9fd8689b8706 09:15:03 Removing intermediate container 9fd8689b8706 09:15:03 ---> 68f1f92abf1e 09:15:03 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:15:03 ---> Running in 08310e27faf6 09:15:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:15:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:15:06 OK: 223 MiB in 56 packages 09:15:06 Removing intermediate container 08310e27faf6 09:15:06 ---> bc5794d3a26c 09:15:06 Step 8/24 : WORKDIR /device-rest-go 09:15:07 ---> Running in 84596391d90a 09:15:07 Removing intermediate container 84596391d90a 09:15:07 ---> bfcaba3aff15 09:15:07 Step 9/24 : COPY . . 09:15:08 ---> b5320d15729d 09:15:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:15:08 ---> Running in 156646d30e64 09:15:10 Removing intermediate container 156646d30e64 09:15:10 ---> 85723d0e8c3f 09:15:10 Step 11/24 : RUN $MAKE 09:15:10 ---> Running in 8f3a1d104976 09:15:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 09:15:50 Removing intermediate container 8f3a1d104976 09:15:50 ---> 14dd359b8641 09:15:50 Step 12/24 : FROM alpine:3.14 09:15:50 3.14: Pulling from library/alpine 09:15:50 be307f383ecc: Pulling fs layer 09:15:50 be307f383ecc: Verifying Checksum 09:15:50 be307f383ecc: Pull complete 09:15:50 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 09:15:50 Status: Downloaded newer image for alpine:3.14 09:15:50 ---> 5b8b7b635229 09:15:50 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:15:50 ---> Running in 26cbb6eb70ea 09:15:51 Removing intermediate container 26cbb6eb70ea 09:15:51 ---> 9ef97863ccdb 09:15:51 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 09:15:51 ---> Running in 550db1e7b31f 09:15:51 Removing intermediate container 550db1e7b31f 09:15:51 ---> 4a39508924ff 09:15:51 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:15:51 ---> Running in b74ed7b0c91e 09:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:15:54 (1/6) Installing dumb-init (1.2.5-r1) 09:15:54 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:15:54 (3/6) Installing libsodium (1.0.18-r0) 09:15:54 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:15:54 (5/6) Installing libzmq (4.3.4-r0) 09:15:54 (6/6) Installing zeromq (4.3.4-r0) 09:15:54 Executing busybox-1.33.1-r6.trigger 09:15:54 OK: 8 MiB in 20 packages 09:15:55 Removing intermediate container b74ed7b0c91e 09:15:55 ---> c01015b8e40b 09:15:55 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 09:15:56 ---> f80be21c3cc5 09:15:56 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 09:15:57 ---> a8d57b40bd70 09:15:57 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 09:15:57 ---> 0f5075160344 09:15:57 Step 19/24 : EXPOSE 59986 09:15:57 ---> Running in 7f00119223e1 09:15:58 Removing intermediate container 7f00119223e1 09:15:58 ---> a5a9b9c89f54 09:15:58 Step 20/24 : ENTRYPOINT ["/device-rest"] 09:15:58 ---> Running in 1df9f237db71 09:15:58 Removing intermediate container 1df9f237db71 09:15:58 ---> c9a4109902a8 09:15:58 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:15:58 ---> Running in bf2dfa6208db 09:15:59 Removing intermediate container bf2dfa6208db 09:15:59 ---> 1f00ebb05eda 09:15:59 Step 22/24 : LABEL arch=arm64 09:15:59 ---> Running in 794364d88c96 09:15:59 Removing intermediate container 794364d88c96 09:15:59 ---> ea73efbb9f44 09:15:59 Step 23/24 : LABEL git_sha=ae9526dcd376c8b43b4b87defde3e416751ee266 09:15:59 ---> Running in 5eeb477c3133 09:16:00 Removing intermediate container 5eeb477c3133 09:16:00 ---> a3dc81578c3c 09:16:00 Step 24/24 : LABEL version=0.0.0 09:16:00 ---> Running in ef850ebb8b45 09:16:00 Removing intermediate container ef850ebb8b45 09:16:00 ---> b07da1eb8d64 09:16:00 [Warning] One or more build-args [ARCH] were not consumed 09:16:00 Successfully built b07da1eb8d64 09:16:00 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 09:16:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:01 09:16:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:16:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:01 arm64: Pulling from edgex-lftools-log-publisher 09:16:01 448f6bf000e3: Pulling fs layer 09:16:01 f757da607395: Pulling fs layer 09:16:01 05883995daec: Pulling fs layer 09:16:01 8603b9c90790: Pulling fs layer 09:16:01 1560dd03e051: Pulling fs layer 09:16:01 27f5ce0e4adf: Pulling fs layer 09:16:01 c2d8d7efcc4b: Pulling fs layer 09:16:01 1560dd03e051: Waiting 09:16:01 27f5ce0e4adf: Waiting 09:16:01 8603b9c90790: Waiting 09:16:01 c2d8d7efcc4b: Waiting 09:16:01 f757da607395: Verifying Checksum 09:16:01 f757da607395: Download complete 09:16:01 8603b9c90790: Verifying Checksum 09:16:01 8603b9c90790: Download complete 09:16:02 1560dd03e051: Verifying Checksum 09:16:02 1560dd03e051: Download complete 09:16:02 27f5ce0e4adf: Download complete 09:16:02 05883995daec: Verifying Checksum 09:16:02 05883995daec: Download complete 09:16:02 448f6bf000e3: Verifying Checksum 09:16:02 448f6bf000e3: Download complete 09:16:05 c2d8d7efcc4b: Verifying Checksum 09:16:05 c2d8d7efcc4b: Download complete 09:16:06 448f6bf000e3: Pull complete 09:16:07 f757da607395: Pull complete 09:16:08 05883995daec: Pull complete 09:16:08 8603b9c90790: Pull complete 09:16:09 1560dd03e051: Pull complete 09:16:09 27f5ce0e4adf: Pull complete 09:16:24 c2d8d7efcc4b: Pull complete 09:16:24 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 09:16:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:16:25 prd-ubuntu18.04-docker-arm64-4c-16g-933 does not seem to be running inside a container 09:16:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:16:28 $ docker top 17dfe3ff7ad1d99ab89234f00f7a4453c21f8f5b2300310ffbfd3c5859722fc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:29 ---> job-cost.sh 09:16:29 lf-activate-venv: SKIPPING 09:16:29 INFO: No Stack... 09:16:29 INFO: Retrieving Pricing Info for: v3-standard-4 09:16:30 INFO: Archiving Costs [Pipeline] sh 09:16:30 + + cat /w/workspace/device-rest-go/2/archives/cost.csv 09:16:30 cut -d, -f6 [Pipeline] lock 09:16:30 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] 09:16:30 Resource [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] did not exist. Created. 09:16:30 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:16:31 /w/workspace/device-rest-go/2@tmp/durable-c3d319fb/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-c3d319fb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:16:32 + echo total: 0.10999999940395355 [Pipeline] stash 09:16:32 Warning: overwriting stash ‘stack-cost’ 09:16:32 Stashed 1 file(s) [Pipeline] } 09:16:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:16:32 $ docker stop --time=1 17dfe3ff7ad1d99ab89234f00f7a4453c21f8f5b2300310ffbfd3c5859722fc8 09:16:33 $ docker rm -f 17dfe3ff7ad1d99ab89234f00f7a4453c21f8f5b2300310ffbfd3c5859722fc8 [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 09:16:34 provisioning config files... 09:16:34 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config4789800957308045642tmp [Pipeline] { [Pipeline] sh 09:16:35 + set +x 09:16:35 + curl -s https://codecov.io/bash 09:16:35 + bash -s -- 09:16:35 09:16:35 _____ _ 09:16:35 / ____| | | 09:16:35 | | ___ __| | ___ ___ _____ __ 09:16:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:16:35 | |___| (_) | (_| | __/ (_| (_) \ V / 09:16:35 \_____\___/ \__,_|\___|\___\___/ \_/ 09:16:35 Bash-1.0.6 09:16:35 09:16:35 09:16:35 ==> git version 2.24.4 found 09:16:35 ==> 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 09:16:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:16:35 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:16:35 ==> Jenkins CI detected. 09:16:35 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-146 09:16:35 project root: . 09:16:35 --> token set from env 09:16:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:16:35 ==> Running gcov in . (disable via -X gcov) 09:16:35 ==> Python coveragepy not found 09:16:35 ==> Searching for coverage reports in: 09:16:35 + . 09:16:35 -> Found 1 reports 09:16:35 ==> Detecting git/mercurial file structure 09:16:35 ==> Reading reports 09:16:35 + ./coverage.out bytes=9215 09:16:35 ==> Appending adjustments 09:16:35 https://docs.codecov.io/docs/fixing-reports 09:16:35 + Found adjustments 09:16:35 ==> Gzipping contents 09:16:35 4.0K /tmp/codecov.eigagc.gz 09:16:35 ==> Uploading reports 09:16:35 url: https://codecov.io 09:16:35 query: branch=PR-146&commit=ae9526dcd376c8b43b4b87defde3e416751ee266&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= 09:16:35 -> Pinging Codecov 09:16:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-146&commit=ae9526dcd376c8b43b4b87defde3e416751ee266&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= 09:16:35 -> Uploading to 09:16:35 https://storage.googleapis.com/codecov/v4/raw/2021-11-17/4E5D53B4F1F92C436F7061BF334D961C/ae9526dcd376c8b43b4b87defde3e416751ee266/c32ac8f3-c5a4-4dd8-abbd-88b1ebfa5e17.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211117T091635Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dbb7ce90e8636a8c5dbcae8f2fe27e2567eae74bb2ceec6ed0a83f09e61a8227 09:16:35 % Total % Received % Xferd Average Speed Time Time Time Current 09:16:35 Dload Upload Total Spent Left Speed 09:16:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 6056 --:--:-- --:--:-- --:--:-- 6077 09:16:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ae9526dcd376c8b43b4b87defde3e416751ee266 [Pipeline] } 09:16:35 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 09:16:37 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-146/archives ']' [Pipeline] libraryResource [Pipeline] sh 09:16:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:16:37 ---> package-listing.sh 09:16:37 ++ tr '[:upper:]' '[:lower:]' 09:16:37 ++ facter osfamily 09:16:38 + OS_FAMILY=redhat 09:16:38 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-146 09:16:38 + START_PACKAGES=/tmp/packages_start.txt 09:16:38 + END_PACKAGES=/tmp/packages_end.txt 09:16:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:16:38 + PACKAGES=/tmp/packages_start.txt 09:16:38 + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' 09:16:38 + PACKAGES=/tmp/packages_end.txt 09:16:38 + case "${OS_FAMILY}" in 09:16:38 + rpm -qa 09:16:38 + sort 09:16:38 + '[' -f /tmp/packages_start.txt ']' 09:16:38 + '[' -f /tmp/packages_end.txt ']' 09:16:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:16:38 + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' 09:16:38 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-146/archives/ 09:16:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-146/archives/ [Pipeline] echo 09:16:38 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:16:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:16:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:39 09:16:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:16:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:39 latest: Pulling from edgex-lftools-log-publisher 09:16:39 b4d181a07f80: Pulling fs layer 09:16:39 a1111a8f2ec3: Pulling fs layer 09:16:39 ed53099fbce6: Pulling fs layer 09:16:39 dc539afda2c1: Pulling fs layer 09:16:39 77bc0d833cb6: Pulling fs layer 09:16:39 9065ff56babe: Pulling fs layer 09:16:39 d287ab97295c: Pulling fs layer 09:16:39 dc539afda2c1: Waiting 09:16:39 77bc0d833cb6: Waiting 09:16:39 9065ff56babe: Waiting 09:16:39 d287ab97295c: Waiting 09:16:39 a1111a8f2ec3: Verifying Checksum 09:16:39 a1111a8f2ec3: Download complete 09:16:39 dc539afda2c1: Verifying Checksum 09:16:39 dc539afda2c1: Download complete 09:16:39 ed53099fbce6: Verifying Checksum 09:16:39 ed53099fbce6: Download complete 09:16:39 9065ff56babe: Verifying Checksum 09:16:39 9065ff56babe: Download complete 09:16:40 77bc0d833cb6: Verifying Checksum 09:16:40 77bc0d833cb6: Download complete 09:16:40 b4d181a07f80: Verifying Checksum 09:16:40 b4d181a07f80: Download complete 09:16:40 d287ab97295c: Verifying Checksum 09:16:40 d287ab97295c: Download complete 09:16:41 b4d181a07f80: Pull complete 09:16:41 a1111a8f2ec3: Pull complete 09:16:42 ed53099fbce6: Pull complete 09:16:42 dc539afda2c1: Pull complete 09:16:42 77bc0d833cb6: Pull complete 09:16:42 9065ff56babe: Pull complete 09:16:48 d287ab97295c: Pull complete 09:16:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 09:16:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:16:48 prd-centos7-docker-4c-2g-931 does not seem to be running inside a container 09:16:48 $ 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-146/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-146 -v /w/workspace/gexfoundry_device-rest-go_PR-146:/w/workspace/gexfoundry_device-rest-go_PR-146:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-146@tmp:/w/workspace/gexfoundry_device-rest-go_PR-146@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 09:16:50 $ docker top 91473506158d821ceaca097347e288edf8b2ff54cabd94626280d57ffcc060dc -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:51 + touch /tmp/pre-build-complete [Pipeline] sh 09:16:51 + mkdir -p /var/log/sysstat [Pipeline] sh 09:16:51 + ls /var/log/sa-host 09:16:51 + sadf -c /var/log/sa-host/sa17 09:16:51 file_magic: OK 09:16:51 HZ: Using current value: 100 09:16:51 file_header: OK 09:16:51 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 09:16:51 Statistics: 09:16:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:16:51 File successfully converted to sysstat format version 12.0.3 09:16:51 + sadf -c /var/log/sa-host/sa30 09:16:51 file_magic: OK 09:16:51 HZ: Using current value: 100 09:16:51 file_header: OK 09:16:51 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 09:16:51 Statistics: 09:16:51 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:16:51 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:52 provisioning config files... 09:16:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config8372059276307548997tmp [Pipeline] { [Pipeline] echo 09:16:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:16:52 ---> create-netrc.sh [Pipeline] } 09:16:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:16:52 ---> python-tools-install.sh [Pipeline] echo 09:16:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:16:53 ---> sudo-logs.sh 09:16:53 Archiving 'sudo' log.. 09:16:53 sudo: unable to resolve host prd-centos7-docker-4c-2g-931.novalocal: Name or service not known 09:16:53 sudo: unable to resolve host prd-centos7-docker-4c-2g-931.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 09:16:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:16:53 ---> job-cost.sh 09:16:53 lf-activate-venv: SKIPPING 09:16:53 DEBUG: total: 0.10999999940395355 09:16:53 INFO: Retrieving Stack Cost... 09:16:53 INFO: Retrieving Pricing Info for: v3-standard-2 09:16:53 INFO: Archiving Costs [Pipeline] echo 09:16:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:16:54 ---> logs-deploy.sh 09:16:54 lf-activate-venv: SKIPPING 09:16:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-146/2 09:16:54 INFO: archiving workspace using pattern(s): 09:16:54 Archives upload complete. 09:16:55 INFO: archiving logs to Nexus 09:16:55 ---> uname -a: 09:16:55 Linux prd-centos7-docker-4c-2g-931.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 09:16:55 09:16:55 09:16:55 ---> lscpu: 09:16:55 Architecture: x86_64 09:16:55 CPU op-mode(s): 32-bit, 64-bit 09:16:55 Byte Order: Little Endian 09:16:55 Address sizes: 40 bits physical, 48 bits virtual 09:16:55 CPU(s): 2 09:16:55 On-line CPU(s) list: 0,1 09:16:55 Thread(s) per core: 1 09:16:55 Core(s) per socket: 1 09:16:55 Socket(s): 2 09:16:55 NUMA node(s): 1 09:16:55 Vendor ID: AuthenticAMD 09:16:55 CPU family: 23 09:16:55 Model: 49 09:16:55 Model name: AMD EPYC-Rome Processor 09:16:55 Stepping: 0 09:16:55 CPU MHz: 2799.998 09:16:55 BogoMIPS: 5599.99 09:16:55 Virtualization: AMD-V 09:16:55 Hypervisor vendor: KVM 09:16:55 Virtualization type: full 09:16:55 L1d cache: 32K 09:16:55 L1i cache: 32K 09:16:55 L2 cache: 512K 09:16:55 L3 cache: 16384K 09:16:55 NUMA node0 CPU(s): 0,1 09:16:55 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 09:16:55 09:16:55 09:16:55 ---> nproc: 09:16:55 2 09:16:55 09:16:55 09:16:55 ---> df -h: 09:16:55 Filesystem Size Used Avail Use% Mounted on 09:16:55 overlay 40G 7.7G 33G 20% / 09:16:55 tmpfs 64M 0 64M 0% /dev 09:16:55 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 09:16:55 shm 64M 0 64M 0% /dev/shm 09:16:55 /dev/vda1 40G 7.7G 33G 20% /facter-os 09:16:55 09:16:55 09:16:55 ---> sar -b -r -n DEV: 09:16:55 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/17/21 _x86_64_ (2 CPU) 09:16:55 09:16:55 09:08:22 LINUX RESTART (2 CPU) 09:16:55 09:16:55 09:09:01 tps rtps wtps bread/s bwrtn/s 09:16:55 09:10:01 12.96 0.82 12.14 336.04 1925.43 09:16:55 09:11:01 0.43 0.00 0.43 0.00 7.28 09:16:55 09:12:01 0.28 0.00 0.28 0.00 2.98 09:16:55 09:13:01 0.15 0.00 0.15 0.00 2.95 09:16:55 09:14:01 0.28 0.00 0.28 0.00 3.28 09:16:55 09:15:01 0.35 0.00 0.35 0.00 6.01 09:16:55 09:16:01 0.33 0.00 0.33 0.00 5.26 09:16:55 Average: 2.11 0.12 2.00 48.01 279.05 09:16:55 09:16:55 09:09:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:16:55 09:10:01 5682548 0 620916 7.75 2620 1702848 1258788 13.90 571048 1521468 20 09:16:55 09:11:01 5684424 0 619032 7.73 2620 1702856 1226128 13.54 569720 1521444 16 09:16:55 09:12:01 5692884 0 610572 7.62 2620 1702856 1159308 12.80 562480 1521804 20 09:16:55 09:13:01 5689324 0 614124 7.67 2620 1702864 1159572 12.80 566004 1521804 8 09:16:55 09:14:01 5693108 0 610336 7.62 2620 1702868 1159404 12.80 562540 1522484 16 09:16:55 09:15:01 5692304 0 611136 7.63 2620 1702872 1159368 12.80 562220 1522484 20 09:16:55 09:16:01 5691896 0 611540 7.64 2620 1702876 1159308 12.80 562756 1522596 12 09:16:55 Average: 5689498 0 613951 7.67 2620 1702863 1183125 13.06 565253 1522012 16 09:16:55 09:16:55 09:09:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:16:55 09:10:01 eth0 46.89 32.50 314.91 11.14 0.00 0.00 0.00 0.00 09:16:55 09:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:10:01 docker0 0.20 0.25 0.02 0.04 0.00 0.00 0.00 0.00 09:16:55 09:11:01 eth0 1.20 0.47 0.57 0.35 0.00 0.00 0.00 0.00 09:16:55 09:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:12:01 eth0 0.77 0.08 0.06 0.04 0.00 0.00 0.00 0.00 09:16:55 09:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:13:01 eth0 1.22 0.52 0.57 0.36 0.00 0.00 0.00 0.00 09:16:55 09:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:14:01 eth0 0.25 0.17 0.08 0.10 0.00 0.00 0.00 0.00 09:16:55 09:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:15:01 eth0 0.22 0.10 0.07 0.01 0.00 0.00 0.00 0.00 09:16:55 09:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:16:01 eth0 0.13 0.18 0.01 0.01 0.00 0.00 0.00 0.00 09:16:55 09:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 09:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 Average: eth0 7.24 4.86 45.19 1.72 0.00 0.00 0.00 0.00 09:16:55 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:16:55 Average: docker0 0.03 0.04 0.00 0.01 0.00 0.00 0.00 0.00 09:16:55 09:16:55 09:16:55 ---> sar -P ALL: 09:16:55 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/17/21 _x86_64_ (2 CPU) 09:16:55 09:16:55 09:08:22 LINUX RESTART (2 CPU) 09:16:55 09:16:55 09:09:01 CPU %user %nice %system %iowait %steal %idle 09:16:55 09:10:01 all 2.39 0.00 1.04 0.19 0.03 96.34 09:16:55 09:10:01 0 2.69 0.00 1.04 0.34 0.03 95.90 09:16:55 09:10:01 1 2.08 0.00 1.04 0.05 0.03 96.79 09:16:55 09:11:01 all 0.23 0.00 0.07 0.00 0.02 99.68 09:16:55 09:11:01 0 0.28 0.00 0.07 0.00 0.02 99.63 09:16:55 09:11:01 1 0.18 0.00 0.07 0.00 0.02 99.73 09:16:55 09:12:01 all 0.20 0.00 0.05 0.00 0.01 99.74 09:16:55 09:12:01 0 0.08 0.00 0.08 0.00 0.02 99.82 09:16:55 09:12:01 1 0.32 0.00 0.02 0.00 0.00 99.67 09:16:55 09:13:01 all 0.21 0.00 0.06 0.00 0.03 99.70 09:16:55 09:13:01 0 0.13 0.00 0.08 0.00 0.05 99.73 09:16:55 09:13:01 1 0.28 0.00 0.03 0.00 0.02 99.67 09:16:55 09:14:01 all 0.18 0.00 0.08 0.00 0.02 99.73 09:16:55 09:14:01 0 0.17 0.00 0.08 0.00 0.02 99.73 09:16:55 09:14:01 1 0.18 0.00 0.07 0.00 0.02 99.73 09:16:55 09:15:01 all 0.23 0.00 0.03 0.00 0.02 99.72 09:16:55 09:15:01 0 0.43 0.00 0.03 0.00 0.02 99.52 09:16:55 09:15:01 1 0.03 0.00 0.03 0.00 0.02 99.92 09:16:55 09:16:01 all 0.27 0.00 0.05 0.00 0.02 99.67 09:16:55 09:16:01 0 0.47 0.00 0.05 0.00 0.02 99.47 09:16:55 09:16:01 1 0.07 0.00 0.05 0.00 0.02 99.87 09:16:55 Average: all 0.53 0.00 0.20 0.03 0.02 99.23 09:16:55 Average: 0 0.61 0.00 0.21 0.05 0.02 99.12 09:16:55 Average: 1 0.45 0.00 0.19 0.01 0.02 99.34 09:16:55 09:16:55 09:16:55