Pull request #146 opened 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 cbfdaf904ac601d3ba49eb9838138f50b9acca7f Obtained Jenkinsfile from 7759c41568adf15208c0dd5cadcdb8f87895acd8 Running in Durability level: MAX_SURVIVABILITY 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-ssh2046524710896466715.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-ssh2769069015982357497.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-146/workspace@libs/edgex-global-pipelines # timeout=10 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-ssh9054556810460919260.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh9197648968224912544.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5133568720011262545.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-146/workspace@libs/lf-pipelines # timeout=10 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-ssh2956747609821100981.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-824’ Running on prd-centos7-docker-4c-2g-829 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-ssh4193471037931684978.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-ssh4816230217250713048.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 cbfdaf904ac601d3ba49eb9838138f50b9acca7f Merge succeeded, producing cbfdaf904ac601d3ba49eb9838138f50b9acca7f Checking out Revision cbfdaf904ac601d3ba49eb9838138f50b9acca7f (PR-146) > git config core.sparsecheckout # timeout=10 > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # 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-ssh3552588284685934181.key > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 Commit message: "build(snap): update snap packaging" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:14:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:14:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:14:14 ========================================================= 16:14:14 EdgeX Global Pipelines Version Info 16:14:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:14:16 ------------------- 16:14:16 stable info: 16:14:16 ------------------- 16:14:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:14:16 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 16:14:16 Message: update stable to v1.0.215 16:14:16 ------------------- 16:14:16 experimental info: 16:14:16 ------------------- 16:14:16 Commited By: **** collab-it+edgex@linuxfoundation.org 16:14:16 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 16:14:16 Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:14:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbfdaf904ac601d3ba49eb9838138f50b9acca7f [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbfdaf9 [Pipeline] echo 16:14:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:18 provisioning config files... 16:14:18 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config4700624609948782802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:18 ---> docker-login.sh 16:14:18 nexus3.edgexfoundry.org:10001 16:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:19 Configure a credential helper to remove this warning. See 16:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:19 16:14:19 Login Succeeded 16:14:19 nexus3.edgexfoundry.org:10002 16:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:19 Configure a credential helper to remove this warning. See 16:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:19 16:14:19 Login Succeeded 16:14:19 nexus3.edgexfoundry.org:10003 16:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:19 Configure a credential helper to remove this warning. See 16:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:19 16:14:19 Login Succeeded 16:14:19 nexus3.edgexfoundry.org:10004 16:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:19 Configure a credential helper to remove this warning. See 16:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:19 16:14:19 Login Succeeded 16:14:19 docker.io 16:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:21 Configure a credential helper to remove this warning. See 16:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:21 16:14:21 Login Succeeded 16:14:21 ---> docker-login.sh ends [Pipeline] } 16:14:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:14:22 + git rev-list -1 --merges cbfdaf904ac601d3ba49eb9838138f50b9acca7f~1..cbfdaf904ac601d3ba49eb9838138f50b9acca7f [Pipeline] echo 16:14:23 -----------> git rev-list -1 --merges cbfdaf904ac601d3ba49eb9838138f50b9acca7f~1..cbfdaf904ac601d3ba49eb9838138f50b9acca7f cbfdaf904ac601d3ba49eb9838138f50b9acca7f [false] [Pipeline] sh 16:14:23 + git log --format=format:%s -1 cbfdaf904ac601d3ba49eb9838138f50b9acca7f [Pipeline] echo 16:14:23 ========================================================= 16:14:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:14:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:23 + git log --format=format:%s -1 cbfdaf904ac601d3ba49eb9838138f50b9acca7f [Pipeline] echo 16:14:23 [semverPrep] GIT_COMMIT: cbfdaf904ac601d3ba49eb9838138f50b9acca7f, Commit Message: build(snap): update snap packaging [Pipeline] echo 16:14:23 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:14:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:24 16:14:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:14:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:24 latest: Pulling from edgex-devops/git-semver 16:14:24 a0d0a0d46f8b: Pulling fs layer 16:14:24 3e5f54012d9b: Pulling fs layer 16:14:24 4c7163046ea9: Pulling fs layer 16:14:24 0c2d73faf560: Pulling fs layer 16:14:24 0c2d73faf560: Waiting 16:14:24 3e5f54012d9b: Verifying Checksum 16:14:24 3e5f54012d9b: Download complete 16:14:24 a0d0a0d46f8b: Verifying Checksum 16:14:24 a0d0a0d46f8b: Download complete 16:14:24 0c2d73faf560: Verifying Checksum 16:14:24 0c2d73faf560: Download complete 16:14:24 4c7163046ea9: Verifying Checksum 16:14:24 4c7163046ea9: Download complete 16:14:25 a0d0a0d46f8b: Pull complete 16:14:25 3e5f54012d9b: Pull complete 16:14:25 4c7163046ea9: Pull complete 16:14:25 0c2d73faf560: Pull complete 16:14:25 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:14:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:14:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:14:25 prd-centos7-docker-4c-2g-829 does not seem to be running inside a container 16:14:25 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:14:26 $ docker top 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:14:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:26 [ssh-agent] Looking for ssh-agent implementation... 16:14:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:26 $ docker exec 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c ssh-agent 16:14:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoCelPn/agent.14 16:14:26 SSH_AGENT_PID=21 16:14:26 Running ssh-add (command line suppressed) 16:14:26 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_8963961429817531300.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_8963961429817531300.key) 16:14:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:27 + git tag --points-at HEAD [Pipeline] } 16:14:27 $ docker exec --env ******** --env ******** 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c ssh-agent -k 16:14:27 unset SSH_AUTH_SOCK; 16:14:27 unset SSH_AGENT_PID; 16:14:27 echo Agent pid 21 killed; 16:14:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:14:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:27 [ssh-agent] Looking for ssh-agent implementation... 16:14:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:27 $ docker exec 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c ssh-agent 16:14:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcADKFM/agent.53 16:14:27 SSH_AGENT_PID=59 16:14:27 Running ssh-add (command line suppressed) 16:14:27 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_7009194349590087024.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_7009194349590087024.key) 16:14:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:28 + git semver init 16:14:28 # -> Open(): unable to determine branch for HEAD 16:14:28 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.git 16:14:28 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-146 16:14:28 # $SEMVER_REMOTE_NAME = origin 16:14:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:14:28 # $SEMVER_USER_NAME = edgex-jenkins 16:14:28 # $SEMVER_BRANCH = PR-146 16:14:28 # $SEMVER_TEMP = /tmp/semver-088053152 16:14:28 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 16:14:29 # '/tmp/semver-088053152' -> '/w/workspace/gexfoundry_device-rest-go_PR-146/.semver' 16:14:29 # -> Force: false 16:14:29 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.semver [Pipeline] } 16:14:29 $ docker exec --env ******** --env ******** 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c ssh-agent -k 16:14:29 unset SSH_AUTH_SOCK; 16:14:29 unset SSH_AGENT_PID; 16:14:29 echo Agent pid 59 killed; 16:14:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:14:30 + git semver [Pipeline] } 16:14:30 $ docker stop --time=1 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c 16:14:31 $ docker rm -f 87739d13ff510bbaa34d803dbec55e7a5a7614e226106d4fb4fc3d8b163d8f4c [Pipeline] // withDockerContainer [Pipeline] sh 16:14:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:14:32 Stashed 1 file(s) [Pipeline] echo 16:14:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:14:47 Still waiting to schedule task 16:14:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:14:47 Still waiting to schedule task 16:14:47 ‘prd-ubuntu18.04-docker-arm64-4c-16g-826’ is offline 16:16:16 Running on prd-centos7-docker-4c-2g-831 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws 16:16:16 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 16:16:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-830 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { 16:16:17 The recommended git tool is: git [Pipeline] ws 16:16:17 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 16:16:17 The recommended git tool is: git 16:16:19 using credential edgex-jenkins-ssh 16:16:19 Cloning the remote Git repository 16:16:19 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:16:19 > git init /w/workspace/device-rest-go/1 # timeout=10 16:16:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:16:19 > git --version # timeout=10 16:16:19 > git --version # 'git version 2.24.4' 16:16:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:19 [INFO] Currently running in a labeled security context 16:16:19 [INFO] Currently SELinux is 'enforcing' on the host 16:16:19 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh4935898671037001940.key 16:16:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:16:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:16:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:16:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:20 [INFO] Currently running in a labeled security context 16:16:20 [INFO] Currently SELinux is 'enforcing' on the host 16:16:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh2700235430549858531.key 16:16:20 > 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 16:16:21 Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit cbfdaf904ac601d3ba49eb9838138f50b9acca7f 16:16:21 Merge succeeded, producing cbfdaf904ac601d3ba49eb9838138f50b9acca7f 16:16:21 Checking out Revision cbfdaf904ac601d3ba49eb9838138f50b9acca7f (PR-146) 16:16:20 > git config core.sparsecheckout # timeout=10 16:16:20 > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 16:16:20 > git remote # timeout=10 16:16:20 > git config --get remote.origin.url # timeout=10 16:16:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:20 [INFO] Currently running in a labeled security context 16:16:20 [INFO] Currently SELinux is 'enforcing' on the host 16:16:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh4013383755545081931.key 16:16:20 > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 16:16:20 > git rev-parse HEAD^{commit} # timeout=10 16:16:20 > git config core.sparsecheckout # timeout=10 16:16:21 > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 16:16:23 using credential edgex-jenkins-ssh 16:16:23 Cloning the remote Git repository 16:16:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:16:23 > git init /w/workspace/device-rest-go/1 # timeout=10 16:16:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:16:23 > git --version # timeout=10 16:16:23 > git --version # 'git version 2.17.1' 16:16:23 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:24 Commit message: "build(snap): update snap packaging" 16:16:24 > git --version # timeout=10 16:16:24 > git --version # 'git version 2.24.4' 16:16:24 fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:25 provisioning config files... 16:16:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7269234429006637320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:25 ---> docker-login.sh 16:16:25 nexus3.edgexfoundry.org:10001 16:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:25 Configure a credential helper to remove this warning. See 16:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:25 16:16:25 Login Succeeded 16:16:25 nexus3.edgexfoundry.org:10002 16:16:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:16:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:16:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:16:25 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:25 > 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 16:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:26 Configure a credential helper to remove this warning. See 16:16:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:26 16:16:26 Login Succeeded 16:16:26 nexus3.edgexfoundry.org:10003 16:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:26 Configure a credential helper to remove this warning. See 16:16:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:26 16:16:26 Login Succeeded 16:16:26 nexus3.edgexfoundry.org:10004 16:16:26 Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit cbfdaf904ac601d3ba49eb9838138f50b9acca7f 16:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:26 Configure a credential helper to remove this warning. See 16:16:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:26 16:16:26 Login Succeeded 16:16:26 docker.io 16:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:26 Merge succeeded, producing cbfdaf904ac601d3ba49eb9838138f50b9acca7f 16:16:26 Checking out Revision cbfdaf904ac601d3ba49eb9838138f50b9acca7f (PR-146) 16:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:26 Configure a credential helper to remove this warning. See 16:16:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:26 16:16:26 Login Succeeded 16:16:26 ---> docker-login.sh ends [Pipeline] } 16:16:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:16:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:27 ========================================================= 16:16:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:16:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:16:26 > git config core.sparsecheckout # timeout=10 16:16:26 > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 16:16:26 > git remote # timeout=10 16:16:26 > git config --get remote.origin.url # timeout=10 16:16:26 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:26 > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 16:16:26 > git rev-parse HEAD^{commit} # timeout=10 16:16:26 > git config core.sparsecheckout # timeout=10 16:16:26 > git checkout -f cbfdaf904ac601d3ba49eb9838138f50b9acca7f # timeout=10 16:16:27 + 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 . 16:16:27 Sending build context to Docker daemon 119.3kB 16:16:27 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 16:16:27 Step 2/11 : FROM ${BASE} AS builder 16:16:27 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:16:27 a0d0a0d46f8b: Pulling fs layer 16:16:27 31adcdaf11c8: Pulling fs layer 16:16:27 b8b176561691: Pulling fs layer 16:16:27 4527c011a84f: Pulling fs layer 16:16:27 5d74067f8e1e: Pulling fs layer 16:16:27 e0aca202a116: Pulling fs layer 16:16:27 3a43be97a3b4: Pulling fs layer 16:16:27 34cad66bf833: Pulling fs layer 16:16:27 b4e3c513aaa6: Pulling fs layer 16:16:27 4527c011a84f: Waiting 16:16:27 5d74067f8e1e: Waiting 16:16:27 e0aca202a116: Waiting 16:16:27 3a43be97a3b4: Waiting 16:16:27 34cad66bf833: Waiting 16:16:27 b4e3c513aaa6: Waiting 16:16:27 b8b176561691: Verifying Checksum 16:16:27 b8b176561691: Download complete 16:16:27 31adcdaf11c8: Verifying Checksum 16:16:27 31adcdaf11c8: Download complete 16:16:27 a0d0a0d46f8b: Verifying Checksum 16:16:27 a0d0a0d46f8b: Download complete 16:16:27 5d74067f8e1e: Verifying Checksum 16:16:27 5d74067f8e1e: Download complete 16:16:27 e0aca202a116: Verifying Checksum 16:16:27 e0aca202a116: Download complete 16:16:27 3a43be97a3b4: Verifying Checksum 16:16:27 3a43be97a3b4: Download complete 16:16:27 34cad66bf833: Verifying Checksum 16:16:27 34cad66bf833: Download complete 16:16:28 a0d0a0d46f8b: Pull complete 16:16:28 31adcdaf11c8: Pull complete 16:16:28 4527c011a84f: Verifying Checksum 16:16:28 4527c011a84f: Download complete 16:16:28 b4e3c513aaa6: Verifying Checksum 16:16:28 b4e3c513aaa6: Download complete 16:16:28 b8b176561691: Pull complete 16:16:30 Commit message: "build(snap): update snap packaging" 16:16:30 > git --version # timeout=10 16:16:30 > git --version # 'git version 2.17.1' 16:16:30 fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:16:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:16:31 % Total % Received % Xferd Average Speed Time Time Time Current 16:16:31 Dload Upload Total Spent Left Speed 16:16:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 93841 0 --:--:-- --:--:-- --:--:-- 93841 [Pipeline] sh 16:16:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:16:32 + sudo tee /etc/docker/daemon.new 16:16:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:16:32 { 16:16:32 "registry-mirrors": [ 16:16:32 "https://nexus3.edgexfoundry.org:10001" 16:16:32 ], 16:16:32 "bip": "10.250.0.254/24", 16:16:32 "hosts": [ 16:16:32 "tcp://0.0.0.0:5555", 16:16:32 "unix:///var/run/docker.sock" 16:16:32 ], 16:16:32 "mtu": 1458, 16:16:32 "selinux-enabled": true, 16:16:32 "seccomp-profile": "/etc/docker/seccomp.json" 16:16:32 } [Pipeline] sh 16:16:32 4527c011a84f: Pull complete 16:16:32 5d74067f8e1e: Pull complete 16:16:32 e0aca202a116: Pull complete 16:16:32 3a43be97a3b4: Pull complete 16:16:32 34cad66bf833: Pull complete 16:16:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:16:33 + sudo service docker restart 16:16:34 b4e3c513aaa6: Pull complete 16:16:34 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 16:16:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:16:34 ---> 9f6097aaca64 16:16:34 Step 3/11 : ARG MAKE='make build' 16:16:36 ---> Running in f8a476ef9971 16:16:36 Removing intermediate container f8a476ef9971 16:16:36 ---> 2a6859aec62f 16:16:36 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:16:36 ---> Running in 5b276529d02c 16:16:36 Removing intermediate container 5b276529d02c 16:16:36 ---> 713213581a5a 16:16:36 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 16:16:36 ---> Running in f57212262904 16:16:36 Removing intermediate container f57212262904 16:16:36 ---> 966f44a29160 16:16:36 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:16:36 ---> Running in ff1f476d5760 16:16:37 Removing intermediate container ff1f476d5760 16:16:37 ---> 6d75802f972a 16:16:37 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:16:37 ---> Running in 9d152f7b2432 16:16:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:16:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:16:38 (1/4) Installing openssh-keygen (8.6_p1-r3) 16:16:38 (2/4) Installing libedit (20210216.3.1-r0) 16:16:38 (3/4) Installing openssh-client-common (8.6_p1-r3) 16:16:38 (4/4) Installing openssh-client-default (8.6_p1-r3) 16:16:39 Executing busybox-1.33.1-r3.trigger 16:16:39 OK: 224 MiB in 56 packages 16:16:39 Removing intermediate container 9d152f7b2432 16:16:39 ---> a6891baace98 16:16:39 Step 8/11 : WORKDIR /device-rest-go 16:16:39 ---> Running in 45470a846df2 16:16:39 Removing intermediate container 45470a846df2 16:16:39 ---> 2428b4787240 16:16:39 Step 9/11 : COPY . . 16:16:39 ---> b467fe795dd3 16:16:39 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:16:39 ---> Running in 572cf72a798a [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:51 provisioning config files... 16:16:51 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8184584155667386037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:52 ---> docker-login.sh 16:16:52 nexus3.edgexfoundry.org:10001 16:16:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:53 Configure a credential helper to remove this warning. See 16:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:53 16:16:53 Login Succeeded 16:16:53 nexus3.edgexfoundry.org:10002 16:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:53 Configure a credential helper to remove this warning. See 16:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:53 16:16:53 Login Succeeded 16:16:53 nexus3.edgexfoundry.org:10003 16:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:54 Configure a credential helper to remove this warning. See 16:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:54 16:16:54 Login Succeeded 16:16:54 nexus3.edgexfoundry.org:10004 16:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:54 Configure a credential helper to remove this warning. See 16:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:54 16:16:54 Login Succeeded 16:16:54 docker.io 16:16:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:55 Configure a credential helper to remove this warning. See 16:16:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:55 16:16:55 Login Succeeded 16:16:55 ---> docker-login.sh ends [Pipeline] } 16:16:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:16:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:56 ========================================================= 16:16:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:16:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:16:56 + 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 . 16:16:56 Sending build context to Docker daemon 119.3kB 16:16:57 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 16:16:57 Step 2/11 : FROM ${BASE} AS builder 16:16:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:16:57 552d1f2373af: Pulling fs layer 16:16:57 ea3f2d53f512: Pulling fs layer 16:16:57 9e70ebbbe112: Pulling fs layer 16:16:57 7a9cfe048b4a: Pulling fs layer 16:16:57 72dc09318566: Pulling fs layer 16:16:57 f4f7b4309257: Pulling fs layer 16:16:57 0ac9a79272e3: Pulling fs layer 16:16:57 b78e95d17946: Pulling fs layer 16:16:57 72dc09318566: Waiting 16:16:57 f4f7b4309257: Waiting 16:16:57 0ac9a79272e3: Waiting 16:16:57 b78e95d17946: Waiting 16:16:57 7a9cfe048b4a: Waiting 16:16:57 9e70ebbbe112: Verifying Checksum 16:16:57 9e70ebbbe112: Download complete 16:16:57 ea3f2d53f512: Verifying Checksum 16:16:57 ea3f2d53f512: Download complete 16:16:57 72dc09318566: Verifying Checksum 16:16:57 72dc09318566: Download complete 16:16:57 f4f7b4309257: Verifying Checksum 16:16:57 f4f7b4309257: Download complete 16:16:57 552d1f2373af: Verifying Checksum 16:16:57 552d1f2373af: Download complete 16:16:57 0ac9a79272e3: Verifying Checksum 16:16:57 0ac9a79272e3: Download complete 16:16:58 552d1f2373af: Pull complete 16:16:58 ea3f2d53f512: Pull complete 16:16:59 9e70ebbbe112: Pull complete 16:16:59 b78e95d17946: Download complete 16:17:00 7a9cfe048b4a: Verifying Checksum 16:17:00 7a9cfe048b4a: Download complete 16:17:10 7a9cfe048b4a: Pull complete 16:17:10 72dc09318566: Pull complete 16:17:10 f4f7b4309257: Pull complete 16:17:11 0ac9a79272e3: Pull complete 16:17:11 Removing intermediate container 572cf72a798a 16:17:11 ---> cdbc1c30c27b 16:17:11 Step 11/11 : RUN $MAKE 16:17:11 ---> Running in 42ecbe356347 16:17:11 noop 16:17:11 Removing intermediate container 42ecbe356347 16:17:11 ---> a02f3ed0aac9 16:17:11 Successfully built a02f3ed0aac9 16:17:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:17:12 + docker inspect -f . ci-base-image-x86_64 16:17:12 . [Pipeline] withDockerContainer 16:17:12 prd-centos7-docker-4c-2g-831 does not seem to be running inside a container 16:17:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat 16:17:12 $ docker top b65494826a7410fd6f2b8426018ee1e298ebd068ad1996f28656db234a6fc1f2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:17:13 + go version 16:17:13 go version go1.16.8 linux/amd64 [Pipeline] } 16:17:13 $ docker stop --time=1 b65494826a7410fd6f2b8426018ee1e298ebd068ad1996f28656db234a6fc1f2 16:17:14 $ docker rm -f b65494826a7410fd6f2b8426018ee1e298ebd068ad1996f28656db234a6fc1f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:17:15 + docker inspect -f . ci-base-image-x86_64 16:17:15 . [Pipeline] withDockerContainer 16:17:15 prd-centos7-docker-4c-2g-831 does not seem to be running inside a container 16:17:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat 16:17:15 $ docker top 51c121eca34201a55df7976442ee4cc40b667d3192440b7a79738ea829044789 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:17:15 + make test 16:17:15 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:17:16 ? github.com/edgexfoundry/device-rest-go [no test files] 16:17:17 b78e95d17946: Pull complete 16:17:17 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 16:17:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:17:17 ---> 8b459fc5aaf0 16:17:17 Step 3/11 : ARG MAKE='make build' 16:17:17 ---> Running in f119892aea24 16:17:18 Removing intermediate container f119892aea24 16:17:18 ---> 1630bfe64448 16:17:18 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:17:18 ---> Running in 86dd79569b81 16:17:18 Removing intermediate container 86dd79569b81 16:17:18 ---> 1c70e53a174d 16:17:18 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 16:17:18 ---> Running in ddde65b89b52 16:17:18 Removing intermediate container ddde65b89b52 16:17:18 ---> cb72c9d12d27 16:17:18 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:17:19 ---> Running in 974a900645b0 16:17:21 Removing intermediate container 974a900645b0 16:17:21 ---> edd5405274a4 16:17:21 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:21 ---> Running in 1ceb649013e2 16:17:22 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:17:23 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:17:24 (1/4) Installing openssh-keygen (8.6_p1-r3) 16:17:24 (2/4) Installing libedit (20210216.3.1-r0) 16:17:24 (3/4) Installing openssh-client-common (8.6_p1-r3) 16:17:24 (4/4) Installing openssh-client-default (8.6_p1-r3) 16:17:24 Executing busybox-1.33.1-r3.trigger 16:17:24 OK: 223 MiB in 56 packages 16:17:25 Removing intermediate container 1ceb649013e2 16:17:25 ---> 99014d6ed3ce 16:17:25 Step 8/11 : WORKDIR /device-rest-go 16:17:25 ---> Running in 8e3bda1142bd 16:17:26 Removing intermediate container 8e3bda1142bd 16:17:26 ---> 095144bf3822 16:17:26 Step 9/11 : COPY . . 16:17:26 ---> 981fecbc62b3 16:17:26 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:17:26 ---> Running in cd081223af77 16:17:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:17:31 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 56.0% of statements 16:17:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:17:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:17:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:17:38 ./bin/test-attribution-txt.sh [Pipeline] echo 16:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:17:38 $ docker stop --time=1 51c121eca34201a55df7976442ee4cc40b667d3192440b7a79738ea829044789 16:17:40 $ docker rm -f 51c121eca34201a55df7976442ee4cc40b667d3192440b7a79738ea829044789 [Pipeline] // withDockerContainer [Pipeline] sh 16:17:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:17:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:17:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:17:42 + ls -al . 16:17:42 total 148 16:17:42 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 16 16:17 . 16:17:42 drwxrwxr-x. 4 jenkins jenkins 28 Nov 16 16:16 .. 16:17:42 -rw-rw-r--. 1 jenkins jenkins 7095 Nov 16 16:16 Attribution.txt 16:17:42 drwxrwxr-x. 2 jenkins jenkins 37 Nov 16 16:16 bin 16:17:42 -rw-rw-r--. 1 jenkins jenkins 7459 Nov 16 16:16 CHANGELOG.md 16:17:42 drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 16:16 cmd 16:17:42 -rw-r--r--. 1 jenkins jenkins 9215 Nov 16 16:17 coverage.out 16:17:42 -rw-rw-r--. 1 jenkins jenkins 1649 Nov 16 16:16 Dockerfile 16:17:42 -rw-rw-r--. 1 jenkins jenkins 151 Nov 16 16:16 .dockerignore 16:17:42 drwxrwxr-x. 2 jenkins jenkins 76 Nov 16 16:16 driver 16:17:42 drwxrwxr-x. 8 jenkins jenkins 179 Nov 16 16:16 .git 16:17:42 drwxrwxr-x. 2 jenkins jenkins 103 Nov 16 16:16 .github 16:17:42 -rw-rw-r--. 1 jenkins jenkins 329 Nov 16 16:16 .gitignore 16:17:42 -rw-rw-r--. 1 jenkins jenkins 271 Nov 16 16:16 go.mod 16:17:42 -rw-rw-r--. 1 jenkins jenkins 49306 Nov 16 16:16 go.sum 16:17:42 -rw-rw-r--. 1 jenkins jenkins 677 Nov 16 16:16 GOVERNANCE.md 16:17:42 -rw-rw-r--. 1 jenkins jenkins 680 Nov 16 16:16 Jenkinsfile 16:17:42 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 16:16 LICENSE 16:17:42 -rw-rw-r--. 1 jenkins jenkins 1078 Nov 16 16:16 Makefile 16:17:42 -rw-rw-r--. 1 jenkins jenkins 620 Nov 16 16:16 OWNERS.md 16:17:42 -rw-rw-r--. 1 jenkins jenkins 8245 Nov 16 16:16 README.md 16:17:42 drwxrwxr-x. 3 jenkins jenkins 58 Nov 16 16:16 snap 16:17:42 -rw-rw-r--. 1 jenkins jenkins 5 Nov 16 16:14 VERSION 16:17:42 -rw-rw-r--. 1 jenkins jenkins 713 Nov 16 16:16 version.go [Pipeline] isUnix [Pipeline] sh 16:17:43 + 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=cbfdaf904ac601d3ba49eb9838138f50b9acca7f --label arch=amd64 --label version=0.0.0 . 16:17:43 Sending build context to Docker daemon 129kB 16:17:43 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 16:17:43 Step 2/24 : FROM ${BASE} AS builder 16:17:43 ---> a02f3ed0aac9 16:17:43 Step 3/24 : ARG MAKE='make build' 16:17:43 ---> Running in 015601de9ce9 16:17:43 Removing intermediate container 015601de9ce9 16:17:43 ---> 49737766184d 16:17:43 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:17:43 ---> Running in 67644dd90a9e 16:17:43 Removing intermediate container 67644dd90a9e 16:17:43 ---> 4360e35a6bde 16:17:43 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 16:17:43 ---> Running in de18e52595da 16:17:43 Removing intermediate container de18e52595da 16:17:43 ---> 6468906de079 16:17:43 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:17:43 ---> Running in 30b66d3b0669 16:17:44 Removing intermediate container 30b66d3b0669 16:17:44 ---> d8371e86ec79 16:17:44 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:44 ---> Running in 70a888465f86 16:17:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:17:44 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:17:45 OK: 224 MiB in 56 packages 16:17:45 Removing intermediate container 70a888465f86 16:17:45 ---> ccf2b578e93d 16:17:45 Step 8/24 : WORKDIR /device-rest-go 16:17:45 ---> Running in fab32cbeff5e 16:17:45 Removing intermediate container fab32cbeff5e 16:17:45 ---> 285e9f2c3c0d 16:17:45 Step 9/24 : COPY . . 16:17:45 ---> 08f43418a53b 16:17:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:17:45 ---> Running in 3ea5611a7b56 16:17:46 Removing intermediate container 3ea5611a7b56 16:17:46 ---> 68238d93b1d9 16:17:46 Step 11/24 : RUN $MAKE 16:17:46 ---> Running in 5abf137a3411 16:17:46 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 16:17:58 Removing intermediate container 5abf137a3411 16:17:58 ---> f9ea0ccfe507 16:17:58 Step 12/24 : FROM alpine:3.14 16:18:02 3.14: Pulling from library/alpine 16:18:02 97518928ae5f: Pulling fs layer 16:18:02 97518928ae5f: Verifying Checksum 16:18:02 97518928ae5f: Download complete 16:18:02 97518928ae5f: Pull complete 16:18:02 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 16:18:02 Status: Downloaded newer image for alpine:3.14 16:18:02 ---> 0a97eee8041e 16:18:02 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:18:02 ---> Running in 864a5fed92c6 16:18:02 Removing intermediate container 864a5fed92c6 16:18:02 ---> ce40d449413b 16:18:02 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 16:18:02 ---> Running in 1dfb993ce8ad 16:18:02 Removing intermediate container 1dfb993ce8ad 16:18:02 ---> 3c1bbbfc408f 16:18:02 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:18:02 ---> Running in ac659792a24b 16:18:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:18:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:18:03 (1/6) Installing dumb-init (1.2.5-r1) 16:18:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:18:03 (3/6) Installing libsodium (1.0.18-r0) 16:18:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:18:03 (5/6) Installing libzmq (4.3.4-r0) 16:18:03 (6/6) Installing zeromq (4.3.4-r0) 16:18:03 Executing busybox-1.33.1-r6.trigger 16:18:03 OK: 8 MiB in 20 packages 16:18:03 Removing intermediate container ac659792a24b 16:18:03 ---> 771b358f21c9 16:18:03 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 16:18:04 ---> 2b283676808f 16:18:04 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 16:18:04 ---> da01f25f5209 16:18:04 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 16:18:04 ---> b80578759687 16:18:04 Step 19/24 : EXPOSE 59986 16:18:04 ---> Running in e5add28131c1 16:18:04 Removing intermediate container e5add28131c1 16:18:04 ---> a569473ce1f8 16:18:04 Step 20/24 : ENTRYPOINT ["/device-rest"] 16:18:04 ---> Running in 296adccfe114 16:18:04 Removing intermediate container 296adccfe114 16:18:04 ---> eb3e0b8465d8 16:18:04 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:18:04 ---> Running in be1f28c6102b 16:18:04 Removing intermediate container be1f28c6102b 16:18:04 ---> 08dc45ccf4e4 16:18:04 Step 22/24 : LABEL arch=amd64 16:18:04 ---> Running in 4920370474b3 16:18:04 Removing intermediate container 4920370474b3 16:18:04 ---> 558d07cd1b91 16:18:04 Step 23/24 : LABEL git_sha=cbfdaf904ac601d3ba49eb9838138f50b9acca7f 16:18:04 ---> Running in 2ef48ddd581a 16:18:04 Removing intermediate container 2ef48ddd581a 16:18:04 ---> de51f74465bf 16:18:04 Step 24/24 : LABEL version=0.0.0 16:18:04 ---> Running in 109b6e10f2bc 16:18:04 Removing intermediate container 109b6e10f2bc 16:18:04 ---> 674233373931 16:18:04 [Warning] One or more build-args [ARCH] were not consumed 16:18:04 Successfully built 674233373931 16:18:04 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:18:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:05 16:18:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:18:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:05 latest: Pulling from edgex-lftools-log-publisher 16:18:05 b4d181a07f80: Pulling fs layer 16:18:05 a1111a8f2ec3: Pulling fs layer 16:18:05 ed53099fbce6: Pulling fs layer 16:18:05 dc539afda2c1: Pulling fs layer 16:18:05 77bc0d833cb6: Pulling fs layer 16:18:05 9065ff56babe: Pulling fs layer 16:18:05 d287ab97295c: Pulling fs layer 16:18:05 dc539afda2c1: Waiting 16:18:05 77bc0d833cb6: Waiting 16:18:05 9065ff56babe: Waiting 16:18:05 d287ab97295c: Waiting 16:18:05 a1111a8f2ec3: Verifying Checksum 16:18:05 a1111a8f2ec3: Download complete 16:18:05 dc539afda2c1: Verifying Checksum 16:18:05 dc539afda2c1: Download complete 16:18:06 ed53099fbce6: Verifying Checksum 16:18:06 ed53099fbce6: Download complete 16:18:06 9065ff56babe: Verifying Checksum 16:18:06 9065ff56babe: Download complete 16:18:06 77bc0d833cb6: Verifying Checksum 16:18:06 77bc0d833cb6: Download complete 16:18:06 b4d181a07f80: Verifying Checksum 16:18:06 b4d181a07f80: Download complete 16:18:06 d287ab97295c: Verifying Checksum 16:18:06 d287ab97295c: Download complete 16:18:07 b4d181a07f80: Pull complete 16:18:07 a1111a8f2ec3: Pull complete 16:18:08 ed53099fbce6: Pull complete 16:18:08 dc539afda2c1: Pull complete 16:18:08 77bc0d833cb6: Pull complete 16:18:08 9065ff56babe: Pull complete 16:18:14 d287ab97295c: Pull complete 16:18:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:18:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:18:14 prd-centos7-docker-4c-2g-831 does not seem to be running inside a container 16:18:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:18:17 $ docker top 5e2238a184032a912625db94a0279d06b8ff412d609714f03ccb6465b144506c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:17 ---> job-cost.sh 16:18:17 lf-activate-venv: SKIPPING 16:18:17 INFO: No Stack... 16:18:17 INFO: Retrieving Pricing Info for: v3-standard-2 16:18:17 INFO: Archiving Costs [Pipeline] sh 16:18:18 + cut -d, -f6 16:18:18 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 16:18:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] 16:18:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] did not exist. Created. 16:18:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:18:18 + echo total: 0.05999999865889549 [Pipeline] stash 16:18:18 Stashed 1 file(s) [Pipeline] } 16:18:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:18:18 $ docker stop --time=1 5e2238a184032a912625db94a0279d06b8ff412d609714f03ccb6465b144506c 16:18:19 $ docker rm -f 5e2238a184032a912625db94a0279d06b8ff412d609714f03ccb6465b144506c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:18:48 Removing intermediate container cd081223af77 16:18:48 ---> e5c2c4388c0c 16:18:48 Step 11/11 : RUN $MAKE 16:18:48 ---> Running in f7b9bf136b86 16:18:48 noop 16:18:48 Removing intermediate container f7b9bf136b86 16:18:48 ---> 5cdf95177067 16:18:48 Successfully built 5cdf95177067 16:18:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:18:49 + docker inspect -f . ci-base-image-arm64 16:18:49 . [Pipeline] withDockerContainer 16:18:49 prd-ubuntu18.04-docker-arm64-4c-16g-830 does not seem to be running inside a container 16:18:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 16:18:50 $ docker top 0129db2682c6b42827beaaae66ad8487ac5b5eb4fce38b22d1036359390e1e06 -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:51 + go version 16:18:51 go version go1.16.8 linux/arm64 [Pipeline] } 16:18:51 $ docker stop --time=1 0129db2682c6b42827beaaae66ad8487ac5b5eb4fce38b22d1036359390e1e06 16:18:53 $ docker rm -f 0129db2682c6b42827beaaae66ad8487ac5b5eb4fce38b22d1036359390e1e06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:18:54 + docker inspect -f . ci-base-image-arm64 16:18:54 . [Pipeline] withDockerContainer 16:18:54 prd-ubuntu18.04-docker-arm64-4c-16g-830 does not seem to be running inside a container 16:18:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 16:18:56 $ docker top 2cfacce53913f5c91a95b2585f97d502df71ca6080b2b5b454c7f5b496ee2634 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:18:57 + make test 16:18:57 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:18:58 ? github.com/edgexfoundry/device-rest-go [no test files] 16:19:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:19:55 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.0% of statements 16:19:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:20:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:20:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:20:17 ./bin/test-attribution-txt.sh [Pipeline] echo 16:20:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:20:19 $ docker stop --time=1 2cfacce53913f5c91a95b2585f97d502df71ca6080b2b5b454c7f5b496ee2634 16:20:21 $ docker rm -f 2cfacce53913f5c91a95b2585f97d502df71ca6080b2b5b454c7f5b496ee2634 [Pipeline] // withDockerContainer [Pipeline] sh 16:20:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:20:21 Warning: overwriting stash ‘coverage-report’ 16:20:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:23 + ls -al . 16:20:23 total 176 16:20:23 drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:20 . 16:20:23 drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:16 .. 16:20:23 -rw-rw-r-- 1 jenkins jenkins 151 Nov 16 16:16 .dockerignore 16:20:23 drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:16 .git 16:20:23 drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:16 .github 16:20:23 -rw-rw-r-- 1 jenkins jenkins 329 Nov 16 16:16 .gitignore 16:20:23 -rw-rw-r-- 1 jenkins jenkins 7095 Nov 16 16:16 Attribution.txt 16:20:23 -rw-rw-r-- 1 jenkins jenkins 7459 Nov 16 16:16 CHANGELOG.md 16:20:23 -rw-rw-r-- 1 jenkins jenkins 1649 Nov 16 16:16 Dockerfile 16:20:23 -rw-rw-r-- 1 jenkins jenkins 677 Nov 16 16:16 GOVERNANCE.md 16:20:23 -rw-rw-r-- 1 jenkins jenkins 680 Nov 16 16:16 Jenkinsfile 16:20:23 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 16:16 LICENSE 16:20:23 -rw-rw-r-- 1 jenkins jenkins 1078 Nov 16 16:16 Makefile 16:20:23 -rw-rw-r-- 1 jenkins jenkins 620 Nov 16 16:16 OWNERS.md 16:20:23 -rw-rw-r-- 1 jenkins jenkins 8245 Nov 16 16:16 README.md 16:20:23 -rw-rw-r-- 1 jenkins jenkins 5 Nov 16 16:14 VERSION 16:20:23 drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:16 bin 16:20:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:16 cmd 16:20:23 -rw-r--r-- 1 jenkins jenkins 9215 Nov 16 16:19 coverage.out 16:20:23 drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:16 driver 16:20:23 -rw-rw-r-- 1 jenkins jenkins 271 Nov 16 16:16 go.mod 16:20:23 -rw-rw-r-- 1 jenkins jenkins 49306 Nov 16 16:16 go.sum 16:20:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:16 snap 16:20:23 -rw-rw-r-- 1 jenkins jenkins 713 Nov 16 16:16 version.go [Pipeline] isUnix [Pipeline] sh 16:20:23 + 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=cbfdaf904ac601d3ba49eb9838138f50b9acca7f --label arch=arm64 --label version=0.0.0 . 16:20:23 Sending build context to Docker daemon 129kB 16:20:24 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 16:20:24 Step 2/24 : FROM ${BASE} AS builder 16:20:24 ---> 5cdf95177067 16:20:24 Step 3/24 : ARG MAKE='make build' 16:20:24 ---> Running in 46f0a5ad6fcc 16:20:25 Removing intermediate container 46f0a5ad6fcc 16:20:25 ---> aac69e799d07 16:20:25 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:20:25 ---> Running in 4006b5b2bf6d 16:20:25 Removing intermediate container 4006b5b2bf6d 16:20:25 ---> 35d457d9d8ec 16:20:25 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 16:20:25 ---> Running in f18b11fa513d 16:20:25 Removing intermediate container f18b11fa513d 16:20:25 ---> 2fab20963df1 16:20:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:20:26 ---> Running in 82a13194a7a2 16:20:28 Removing intermediate container 82a13194a7a2 16:20:28 ---> 2607c95325d9 16:20:28 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:28 ---> Running in 1edd6f968eeb 16:20:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:20:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:20:30 OK: 223 MiB in 56 packages 16:20:31 Removing intermediate container 1edd6f968eeb 16:20:31 ---> 167a68234d2b 16:20:31 Step 8/24 : WORKDIR /device-rest-go 16:20:31 ---> Running in 5c3a20d67873 16:20:32 Removing intermediate container 5c3a20d67873 16:20:32 ---> f564779919de 16:20:32 Step 9/24 : COPY . . 16:20:33 ---> 96007c6865e4 16:20:33 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:33 ---> Running in 91f696cdb5ff 16:20:35 Removing intermediate container 91f696cdb5ff 16:20:35 ---> f97b11035713 16:20:35 Step 11/24 : RUN $MAKE 16:20:35 ---> Running in 4d97456df1f8 16:20:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 16:21:15 Removing intermediate container 4d97456df1f8 16:21:15 ---> 1b828209da73 16:21:15 Step 12/24 : FROM alpine:3.14 16:21:15 3.14: Pulling from library/alpine 16:21:15 be307f383ecc: Pulling fs layer 16:21:15 be307f383ecc: Verifying Checksum 16:21:15 be307f383ecc: Download complete 16:21:16 be307f383ecc: Pull complete 16:21:16 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 16:21:16 Status: Downloaded newer image for alpine:3.14 16:21:16 ---> 5b8b7b635229 16:21:16 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:21:16 ---> Running in 4f5ea87ddbc8 16:21:17 Removing intermediate container 4f5ea87ddbc8 16:21:17 ---> 11da1cad6280 16:21:17 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 16:21:17 ---> Running in 256108419b65 16:21:17 Removing intermediate container 256108419b65 16:21:17 ---> 37e77a991358 16:21:17 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:21:17 ---> Running in 8f289b90be73 16:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:21:19 (1/6) Installing dumb-init (1.2.5-r1) 16:21:19 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:21:19 (3/6) Installing libsodium (1.0.18-r0) 16:21:19 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:21:19 (5/6) Installing libzmq (4.3.4-r0) 16:21:19 (6/6) Installing zeromq (4.3.4-r0) 16:21:19 Executing busybox-1.33.1-r6.trigger 16:21:19 OK: 8 MiB in 20 packages 16:21:20 Removing intermediate container 8f289b90be73 16:21:20 ---> 444c8ad89ca9 16:21:20 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 16:21:21 ---> 7ab99da116cb 16:21:21 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 16:21:22 ---> 8e7bd995643b 16:21:22 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 16:21:23 ---> 2bff637665fb 16:21:23 Step 19/24 : EXPOSE 59986 16:21:23 ---> Running in 9d2daa616aa5 16:21:23 Removing intermediate container 9d2daa616aa5 16:21:23 ---> e86866306d62 16:21:23 Step 20/24 : ENTRYPOINT ["/device-rest"] 16:21:23 ---> Running in 260f861c54af 16:21:24 Removing intermediate container 260f861c54af 16:21:24 ---> 5357dab785a5 16:21:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:21:24 ---> Running in dc76d0cd740d 16:21:24 Removing intermediate container dc76d0cd740d 16:21:24 ---> eb6a70a6db23 16:21:24 Step 22/24 : LABEL arch=arm64 16:21:24 ---> Running in 900a6da354db 16:21:24 Removing intermediate container 900a6da354db 16:21:24 ---> bd693f63f206 16:21:24 Step 23/24 : LABEL git_sha=cbfdaf904ac601d3ba49eb9838138f50b9acca7f 16:21:24 ---> Running in d79680993bd7 16:21:25 Removing intermediate container d79680993bd7 16:21:25 ---> 17cf697945a9 16:21:25 Step 24/24 : LABEL version=0.0.0 16:21:25 ---> Running in e4edda675825 16:21:25 Removing intermediate container e4edda675825 16:21:25 ---> 9608828688ec 16:21:25 [Warning] One or more build-args [ARCH] were not consumed 16:21:25 Successfully built 9608828688ec 16:21:25 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:21:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:26 16:21:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:21:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:27 arm64: Pulling from edgex-lftools-log-publisher 16:21:27 448f6bf000e3: Pulling fs layer 16:21:27 f757da607395: Pulling fs layer 16:21:27 05883995daec: Pulling fs layer 16:21:27 8603b9c90790: Pulling fs layer 16:21:27 1560dd03e051: Pulling fs layer 16:21:27 27f5ce0e4adf: Pulling fs layer 16:21:27 c2d8d7efcc4b: Pulling fs layer 16:21:27 1560dd03e051: Waiting 16:21:27 27f5ce0e4adf: Waiting 16:21:27 c2d8d7efcc4b: Waiting 16:21:27 8603b9c90790: Waiting 16:21:27 f757da607395: Verifying Checksum 16:21:27 f757da607395: Download complete 16:21:27 8603b9c90790: Download complete 16:21:27 1560dd03e051: Download complete 16:21:27 27f5ce0e4adf: Verifying Checksum 16:21:27 27f5ce0e4adf: Download complete 16:21:27 05883995daec: Verifying Checksum 16:21:27 05883995daec: Download complete 16:21:27 448f6bf000e3: Verifying Checksum 16:21:27 448f6bf000e3: Download complete 16:21:30 c2d8d7efcc4b: Verifying Checksum 16:21:30 c2d8d7efcc4b: Download complete 16:21:31 448f6bf000e3: Pull complete 16:21:31 f757da607395: Pull complete 16:21:33 05883995daec: Pull complete 16:21:33 8603b9c90790: Pull complete 16:21:34 1560dd03e051: Pull complete 16:21:34 27f5ce0e4adf: Pull complete 16:21:49 c2d8d7efcc4b: Pull complete 16:21:49 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:21:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:21:49 prd-ubuntu18.04-docker-arm64-4c-16g-830 does not seem to be running inside a container 16:21:49 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:21:52 $ docker top 52865d5aa755f0bfbd37d0da9b955d12573d6ec92104ee626cc09b30abb507b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:53 ---> job-cost.sh 16:21:53 lf-activate-venv: SKIPPING 16:21:53 INFO: No Stack... 16:21:54 INFO: Retrieving Pricing Info for: v3-standard-4 16:21:54 INFO: Archiving Costs [Pipeline] sh 16:21:55 + cat /w/workspace/device-rest-go/1/archives/cost.csv 16:21:55 + cut -d, -f6 [Pipeline] lock 16:21:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] 16:21:55 Resource [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] did not exist. Created. 16:21:55 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:21:56 /w/workspace/device-rest-go/1@tmp/durable-23fd3f73/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-23fd3f73/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:21:56 + echo total: 0.10999999940395355 [Pipeline] stash 16:21:56 Warning: overwriting stash ‘stack-cost’ 16:21:56 Stashed 1 file(s) [Pipeline] } 16:21:56 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:21:56 $ docker stop --time=1 52865d5aa755f0bfbd37d0da9b955d12573d6ec92104ee626cc09b30abb507b4 16:21:58 $ docker rm -f 52865d5aa755f0bfbd37d0da9b955d12573d6ec92104ee626cc09b30abb507b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:21:59 provisioning config files... 16:21:59 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config3442796273287929685tmp [Pipeline] { [Pipeline] sh 16:22:00 + set +x 16:22:00 + curl -s https://codecov.io/bash 16:22:00 + bash -s -- 16:22:00 16:22:00 _____ _ 16:22:00 / ____| | | 16:22:00 | | ___ __| | ___ ___ _____ __ 16:22:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:22:00 | |___| (_) | (_| | __/ (_| (_) \ V / 16:22:00 \_____\___/ \__,_|\___|\___\___/ \_/ 16:22:00 Bash-1.0.6 16:22:00 16:22:00 16:22:00 ==> git version 2.24.4 found 16:22:00 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 16:22:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:22:00 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:22:00 ==> Jenkins CI detected. 16:22:00 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-146 16:22:00 project root: . 16:22:00 --> token set from env 16:22:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:22:00 ==> Running gcov in . (disable via -X gcov) 16:22:00 ==> Python coveragepy not found 16:22:00 ==> Searching for coverage reports in: 16:22:00 + . 16:22:00 -> Found 1 reports 16:22:00 ==> Detecting git/mercurial file structure 16:22:00 ==> Reading reports 16:22:00 + ./coverage.out bytes=9215 16:22:00 ==> Appending adjustments 16:22:00 https://docs.codecov.io/docs/fixing-reports 16:22:00 + Found adjustments 16:22:00 ==> Gzipping contents 16:22:00 4.0K /tmp/codecov.eJh44z.gz 16:22:00 ==> Uploading reports 16:22:00 url: https://codecov.io 16:22:00 query: branch=PR-146&commit=cbfdaf904ac601d3ba49eb9838138f50b9acca7f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= 16:22:00 -> Pinging Codecov 16:22:00 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=cbfdaf904ac601d3ba49eb9838138f50b9acca7f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= 16:22:00 -> Uploading to 16:22:00 https://storage.googleapis.com/codecov/v4/raw/2021-11-16/4E5D53B4F1F92C436F7061BF334D961C/cbfdaf904ac601d3ba49eb9838138f50b9acca7f/49b118b1-cf2c-4d86-a8a2-538d112c253c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211116T162200Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=648e811c077cbe3f666017deb393a83ec44a6dec8146aed9d67f15857a902324 16:22:00 % Total % Received % Xferd Average Speed Time Time Time Current 16:22:00 Dload Upload Total Spent Left Speed 16:22:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 5406 --:--:-- --:--:-- --:--:-- 5421 16:22:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/cbfdaf904ac601d3ba49eb9838138f50b9acca7f [Pipeline] } 16:22:00 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 16:22:02 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-146/archives ']' [Pipeline] libraryResource [Pipeline] sh 16:22:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:22:03 ---> package-listing.sh 16:22:03 ++ facter osfamily 16:22:03 ++ tr '[:upper:]' '[:lower:]' 16:22:04 + OS_FAMILY=redhat 16:22:04 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-146 16:22:04 + START_PACKAGES=/tmp/packages_start.txt 16:22:04 + END_PACKAGES=/tmp/packages_end.txt 16:22:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:22:04 + PACKAGES=/tmp/packages_start.txt 16:22:04 + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' 16:22:04 + PACKAGES=/tmp/packages_end.txt 16:22:04 + case "${OS_FAMILY}" in 16:22:04 + sort 16:22:04 + rpm -qa 16:22:04 + '[' -f /tmp/packages_start.txt ']' 16:22:04 + '[' -f /tmp/packages_end.txt ']' 16:22:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:22:04 + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' 16:22:04 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-146/archives/ 16:22:04 + 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 16:22:04 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 16:22:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:22:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:05 16:22:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:22:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:06 latest: Pulling from edgex-lftools-log-publisher 16:22:06 b4d181a07f80: Pulling fs layer 16:22:06 a1111a8f2ec3: Pulling fs layer 16:22:06 ed53099fbce6: Pulling fs layer 16:22:06 dc539afda2c1: Pulling fs layer 16:22:06 77bc0d833cb6: Pulling fs layer 16:22:06 9065ff56babe: Pulling fs layer 16:22:06 d287ab97295c: Pulling fs layer 16:22:06 77bc0d833cb6: Waiting 16:22:06 9065ff56babe: Waiting 16:22:06 d287ab97295c: Waiting 16:22:06 dc539afda2c1: Waiting 16:22:06 a1111a8f2ec3: Verifying Checksum 16:22:06 a1111a8f2ec3: Download complete 16:22:06 dc539afda2c1: Verifying Checksum 16:22:06 dc539afda2c1: Download complete 16:22:06 77bc0d833cb6: Verifying Checksum 16:22:06 77bc0d833cb6: Download complete 16:22:06 ed53099fbce6: Verifying Checksum 16:22:06 ed53099fbce6: Download complete 16:22:06 9065ff56babe: Verifying Checksum 16:22:06 9065ff56babe: Download complete 16:22:06 b4d181a07f80: Verifying Checksum 16:22:06 b4d181a07f80: Download complete 16:22:06 d287ab97295c: Verifying Checksum 16:22:06 d287ab97295c: Download complete 16:22:07 b4d181a07f80: Pull complete 16:22:08 a1111a8f2ec3: Pull complete 16:22:08 ed53099fbce6: Pull complete 16:22:08 dc539afda2c1: Pull complete 16:22:08 77bc0d833cb6: Pull complete 16:22:09 9065ff56babe: Pull complete 16:22:14 d287ab97295c: Pull complete 16:22:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:22:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:22:14 prd-centos7-docker-4c-2g-829 does not seem to be running inside a container 16:22:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:22:16 $ docker top 99a9e2a35831497ce59e5a464ebbf4315da817c9ea102654bb5a7372d472e4ff -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:16 + touch /tmp/pre-build-complete [Pipeline] sh 16:22:17 + mkdir -p /var/log/sysstat [Pipeline] sh 16:22:17 + ls /var/log/sa-host 16:22:17 + sadf -c /var/log/sa-host/sa16 16:22:17 file_magic: OK 16:22:17 HZ: Using current value: 100 16:22:17 file_header: OK 16:22:17 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:22:17 Statistics: 16:22:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:22:17 File successfully converted to sysstat format version 12.0.3 16:22:17 + sadf -c /var/log/sa-host/sa30 16:22:17 file_magic: OK 16:22:17 HZ: Using current value: 100 16:22:17 file_header: OK 16:22:17 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:22:17 Statistics: 16:22:17 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:22:17 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:22:17 provisioning config files... 16:22:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config427858314112225167tmp [Pipeline] { [Pipeline] echo 16:22:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:22:18 ---> create-netrc.sh [Pipeline] } 16:22:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:22:18 ---> python-tools-install.sh [Pipeline] echo 16:22:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:22:18 ---> sudo-logs.sh 16:22:18 Archiving 'sudo' log.. 16:22:18 sudo: unable to resolve host prd-centos7-docker-4c-2g-829.novalocal: Name or service not known 16:22:18 sudo: unable to resolve host prd-centos7-docker-4c-2g-829.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 16:22:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:22:19 ---> job-cost.sh 16:22:19 lf-activate-venv: SKIPPING 16:22:19 DEBUG: total: 0.10999999940395355 16:22:19 INFO: Retrieving Stack Cost... 16:22:19 INFO: Retrieving Pricing Info for: v3-standard-2 16:22:19 INFO: Archiving Costs [Pipeline] echo 16:22:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:22:20 ---> logs-deploy.sh 16:22:20 lf-activate-venv: SKIPPING 16:22:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-146/1 16:22:20 INFO: archiving workspace using pattern(s): 16:22:21 Archives upload complete. 16:22:21 INFO: archiving logs to Nexus 16:22:21 ---> uname -a: 16:22:21 Linux prd-centos7-docker-4c-2g-829.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 16:22:21 16:22:21 16:22:21 ---> lscpu: 16:22:21 Architecture: x86_64 16:22:21 CPU op-mode(s): 32-bit, 64-bit 16:22:21 Byte Order: Little Endian 16:22:21 Address sizes: 40 bits physical, 48 bits virtual 16:22:21 CPU(s): 2 16:22:21 On-line CPU(s) list: 0,1 16:22:21 Thread(s) per core: 1 16:22:21 Core(s) per socket: 1 16:22:21 Socket(s): 2 16:22:21 NUMA node(s): 1 16:22:21 Vendor ID: AuthenticAMD 16:22:21 CPU family: 23 16:22:21 Model: 49 16:22:21 Model name: AMD EPYC-Rome Processor 16:22:21 Stepping: 0 16:22:21 CPU MHz: 2799.998 16:22:21 BogoMIPS: 5599.99 16:22:21 Virtualization: AMD-V 16:22:21 Hypervisor vendor: KVM 16:22:21 Virtualization type: full 16:22:21 L1d cache: 32K 16:22:21 L1i cache: 32K 16:22:21 L2 cache: 512K 16:22:21 L3 cache: 16384K 16:22:21 NUMA node0 CPU(s): 0,1 16:22:21 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 16:22:21 16:22:21 16:22:21 ---> nproc: 16:22:21 2 16:22:21 16:22:21 16:22:21 ---> df -h: 16:22:21 Filesystem Size Used Avail Use% Mounted on 16:22:21 overlay 40G 7.7G 33G 20% / 16:22:21 tmpfs 64M 0 64M 0% /dev 16:22:21 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:22:21 shm 64M 0 64M 0% /dev/shm 16:22:21 /dev/vda1 40G 7.7G 33G 20% /facter-os 16:22:21 16:22:21 16:22:21 ---> sar -b -r -n DEV: 16:22:21 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/16/21 _x86_64_ (2 CPU) 16:22:21 16:22:21 16:13:35 LINUX RESTART (2 CPU) 16:22:21 16:22:21 16:14:01 tps rtps wtps bread/s bwrtn/s 16:22:21 16:15:01 81.75 3.65 78.10 2380.55 4000.40 16:22:21 16:16:01 1.52 0.00 1.52 0.00 31.68 16:22:21 16:17:01 0.52 0.00 0.52 0.00 8.80 16:22:21 16:18:01 0.27 0.00 0.27 0.00 4.78 16:22:21 16:19:01 0.17 0.00 0.17 0.00 2.35 16:22:21 16:20:02 0.30 0.00 0.30 0.00 4.76 16:22:21 16:21:01 0.22 0.00 0.22 0.00 3.30 16:22:21 16:22:01 0.38 0.03 0.35 3.73 4.91 16:22:21 Average: 10.66 0.46 10.20 298.71 508.77 16:22:21 16:22:21 16:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:22:21 16:15:01 5668704 0 626780 7.83 2620 1710836 1260316 13.91 575744 1530228 132 16:22:21 16:16:01 5681168 0 614308 7.67 2620 1710844 1162796 12.84 565732 1530192 20 16:22:21 16:17:01 5678364 0 617112 7.71 2620 1710844 1163412 12.84 566900 1530888 8 16:22:21 16:18:01 5678836 0 616632 7.70 2620 1710852 1163052 12.84 567052 1530888 16 16:22:21 16:19:01 5682216 0 613248 7.66 2620 1710856 1163280 12.84 563840 1530888 12 16:22:21 16:20:02 5683004 0 612456 7.65 2620 1710860 1163136 12.84 563028 1530892 20 16:22:21 16:21:01 5683836 0 611620 7.64 2620 1710864 1163052 12.84 562464 1530888 8 16:22:21 16:22:01 5678564 0 616852 7.70 2620 1710904 1164796 12.86 566964 1530832 56 16:22:21 Average: 5679336 0 616126 7.69 2620 1710858 1175480 12.98 566466 1530712 34 16:22:21 16:22:21 16:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:22:21 16:15:01 eth0 141.88 124.78 632.83 31.34 0.00 0.00 0.00 0.00 16:22:21 16:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:15:01 docker0 41.33 24.56 3.75 135.43 0.00 0.00 0.00 0.00 16:22:21 16:16:01 eth0 0.98 0.10 0.10 0.02 0.00 0.00 0.00 0.00 16:22:21 16:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:17:01 eth0 3.78 1.77 3.27 0.30 0.00 0.00 0.00 0.00 16:22:21 16:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:18:01 eth0 0.53 0.10 0.05 0.01 0.00 0.00 0.00 0.00 16:22:21 16:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:19:01 eth0 0.67 0.57 0.35 0.25 0.00 0.00 0.00 0.00 16:22:21 16:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:20:02 eth0 0.20 0.13 0.07 0.04 0.00 0.00 0.00 0.00 16:22:21 16:20:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:20:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:21:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 16:22:21 16:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:22:01 eth0 4.06 2.68 4.04 1.29 0.00 0.00 0.00 0.00 16:22:21 16:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 16:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 Average: eth0 19.07 16.32 80.27 4.16 0.00 0.00 0.00 0.00 16:22:21 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:21 Average: docker0 5.18 3.08 0.47 16.97 0.00 0.00 0.00 0.00 16:22:21 16:22:21 16:22:21 ---> sar -P ALL: 16:22:21 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/16/21 _x86_64_ (2 CPU) 16:22:21 16:22:21 16:13:35 LINUX RESTART (2 CPU) 16:22:21 16:22:21 16:14:01 CPU %user %nice %system %iowait %steal %idle 16:22:21 16:15:01 all 6.02 0.00 2.50 2.18 0.06 89.24 16:22:21 16:15:01 0 5.70 0.00 2.97 2.44 0.05 88.84 16:22:21 16:15:01 1 6.33 0.00 2.04 1.92 0.07 89.64 16:22:21 16:16:01 all 0.23 0.00 0.07 0.00 0.03 99.67 16:22:21 16:16:01 0 0.08 0.00 0.05 0.00 0.03 99.83 16:22:21 16:16:01 1 0.38 0.00 0.08 0.00 0.02 99.52 16:22:21 16:17:01 all 0.26 0.00 0.07 0.00 0.03 99.64 16:22:21 16:17:01 0 0.13 0.00 0.07 0.00 0.03 99.77 16:22:21 16:17:01 1 0.38 0.00 0.07 0.00 0.03 99.52 16:22:21 16:18:01 all 0.24 0.00 0.05 0.00 0.01 99.70 16:22:21 16:18:01 0 0.07 0.00 0.07 0.00 0.00 99.87 16:22:21 16:18:01 1 0.42 0.00 0.03 0.00 0.02 99.53 16:22:21 16:19:01 all 0.25 0.00 0.06 0.00 0.03 99.67 16:22:21 16:19:01 0 0.13 0.00 0.07 0.00 0.03 99.77 16:22:21 16:19:01 1 0.37 0.00 0.05 0.00 0.02 99.57 16:22:21 16:20:02 all 0.24 0.00 0.05 0.00 0.02 99.69 16:22:21 16:20:02 0 0.08 0.00 0.05 0.00 0.00 99.87 16:22:21 16:20:02 1 0.40 0.00 0.05 0.00 0.03 99.52 16:22:21 16:21:01 all 0.19 0.00 0.05 0.00 0.03 99.74 16:22:21 16:21:01 0 0.10 0.00 0.05 0.00 0.03 99.81 16:22:21 16:21:01 1 0.27 0.00 0.05 0.00 0.02 99.66 16:22:21 16:22:01 all 0.34 0.00 0.32 0.01 0.03 99.31 16:22:21 16:22:01 0 0.47 0.00 0.35 0.00 0.03 99.15 16:22:21 16:22:01 1 0.22 0.00 0.28 0.02 0.02 99.47 16:22:21 Average: all 0.96 0.00 0.39 0.27 0.03 98.35 16:22:21 Average: 0 0.84 0.00 0.45 0.30 0.03 98.38 16:22:21 Average: 1 1.09 0.00 0.33 0.24 0.03 98.32 16:22:21 16:22:21 16:22:21