Pull request #146 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 7759c41568adf15208c0dd5cadcdb8f87895acd8 rather than 1941e3630abaae09606c5ad1af3cca3f79fef641 Obtained Jenkinsfile from 7759c41568adf15208c0dd5cadcdb8f87895acd8 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2422889572283122774.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-ssh6175434464297536807.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-146/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-146/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4002947370950114958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2530539161273730580.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-146/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-146/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8262891532681118718.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-948 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-ssh5658518741988939370.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-ssh2016866628470377628.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 1941e3630abaae09606c5ad1af3cca3f79fef641 Merge succeeded, producing 1941e3630abaae09606c5ad1af3cca3f79fef641 Checking out Revision 1941e3630abaae09606c5ad1af3cca3f79fef641 (PR-146) > git config core.sparsecheckout # timeout=10 > git checkout -f 1941e3630abaae09606c5ad1af3cca3f79fef641 # 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-ssh2079451394988801581.key > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1941e3630abaae09606c5ad1af3cca3f79fef641 # timeout=10 Commit message: "docs(snap): update snap/README (part 2)" > git rev-list --no-walk ae9526dcd376c8b43b4b87defde3e416751ee266 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-17T11:06:10.972Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-17T11:06:11.006Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-17T11:06:11.026Z] ========================================================= [2021-11-17T11:06:11.026Z] EdgeX Global Pipelines Version Info [2021-11-17T11:06:11.026Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:06:12.211Z] ------------------- [2021-11-17T11:06:12.211Z] stable info: [2021-11-17T11:06:12.211Z] ------------------- [2021-11-17T11:06:12.211Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-17T11:06:12.211Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T11:06:12.211Z] Message: update stable to v1.0.215 [2021-11-17T11:06:12.785Z] ------------------- [2021-11-17T11:06:12.785Z] experimental info: [2021-11-17T11:06:12.785Z] ------------------- [2021-11-17T11:06:12.785Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-17T11:06:12.785Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T11:06:12.785Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-17T11:06:12.874Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-17T11:06:12.886Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-17T11:06:12.896Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-17T11:06:12.906Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-17T11:06:12.916Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-17T11:06:12.926Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-17T11:06:12.936Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-17T11:06:12.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-17T11:06:12.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-17T11:06:12.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-17T11:06:12.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-17T11:06:12.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-17T11:06:12.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-17T11:06:13.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-17T11:06:13.026Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T11:06:13.036Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T11:06:13.046Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T11:06:13.056Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T11:06:13.066Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-17T11:06:13.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-17T11:06:13.089Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-17T11:06:13.100Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-17T11:06:13.110Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-17T11:06:13.123Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-17T11:06:13.133Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-17T11:06:13.143Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-17T11:06:13.153Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo [2021-11-17T11:06:13.170Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo [2021-11-17T11:06:13.181Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo [2021-11-17T11:06:13.192Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1941e3630abaae09606c5ad1af3cca3f79fef641 [Pipeline] echo [2021-11-17T11:06:13.202Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1941e36 [Pipeline] echo [2021-11-17T11:06:13.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:06:13.250Z] provisioning config files... [2021-11-17T11:06:13.265Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config3565802336868747901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:06:13.579Z] ---> docker-login.sh [2021-11-17T11:06:13.580Z] nexus3.edgexfoundry.org:10001 [2021-11-17T11:06:13.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:06:13.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:06:13.839Z] Configure a credential helper to remove this warning. See [2021-11-17T11:06:13.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:06:13.839Z] [2021-11-17T11:06:13.839Z] Login Succeeded [2021-11-17T11:06:13.839Z] nexus3.edgexfoundry.org:10002 [2021-11-17T11:06:13.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:06:13.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:06:13.839Z] Configure a credential helper to remove this warning. See [2021-11-17T11:06:13.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:06:13.839Z] [2021-11-17T11:06:13.839Z] Login Succeeded [2021-11-17T11:06:13.839Z] nexus3.edgexfoundry.org:10003 [2021-11-17T11:06:13.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:06:14.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:06:14.101Z] Configure a credential helper to remove this warning. See [2021-11-17T11:06:14.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:06:14.101Z] [2021-11-17T11:06:14.101Z] Login Succeeded [2021-11-17T11:06:14.101Z] nexus3.edgexfoundry.org:10004 [2021-11-17T11:06:14.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:06:14.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:06:14.101Z] Configure a credential helper to remove this warning. See [2021-11-17T11:06:14.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:06:14.101Z] [2021-11-17T11:06:14.101Z] Login Succeeded [2021-11-17T11:06:14.101Z] docker.io [2021-11-17T11:06:14.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:06:14.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:06:14.674Z] Configure a credential helper to remove this warning. See [2021-11-17T11:06:14.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:06:14.674Z] [2021-11-17T11:06:14.674Z] Login Succeeded [2021-11-17T11:06:14.674Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T11:06:14.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-17T11:06:15.107Z] + git rev-list -1 --merges 1941e3630abaae09606c5ad1af3cca3f79fef641~1..1941e3630abaae09606c5ad1af3cca3f79fef641 [Pipeline] echo [2021-11-17T11:06:15.145Z] -----------> git rev-list -1 --merges 1941e3630abaae09606c5ad1af3cca3f79fef641~1..1941e3630abaae09606c5ad1af3cca3f79fef641 1941e3630abaae09606c5ad1af3cca3f79fef641 [false] [Pipeline] sh [2021-11-17T11:06:15.437Z] + git log --format=format:%s -1 1941e3630abaae09606c5ad1af3cca3f79fef641 [Pipeline] echo [2021-11-17T11:06:15.453Z] ========================================================= [2021-11-17T11:06:15.453Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-17T11:06:15.453Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T11:06:15.794Z] + git log --format=format:%s -1 1941e3630abaae09606c5ad1af3cca3f79fef641 [Pipeline] echo [2021-11-17T11:06:15.808Z] [semverPrep] GIT_COMMIT: 1941e3630abaae09606c5ad1af3cca3f79fef641, Commit Message: docs(snap): update snap/README (part 2) [Pipeline] echo [2021-11-17T11:06:15.819Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:06:16.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T11:06:16.384Z] [2021-11-17T11:06:16.384Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:06:16.686Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T11:06:16.686Z] latest: Pulling from edgex-devops/git-semver [2021-11-17T11:06:16.686Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T11:06:16.686Z] 3e5f54012d9b: Pulling fs layer [2021-11-17T11:06:16.686Z] 4c7163046ea9: Pulling fs layer [2021-11-17T11:06:16.686Z] 0c2d73faf560: Pulling fs layer [2021-11-17T11:06:16.686Z] 0c2d73faf560: Waiting [2021-11-17T11:06:16.686Z] 3e5f54012d9b: Download complete [2021-11-17T11:06:16.686Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T11:06:16.686Z] a0d0a0d46f8b: Download complete [2021-11-17T11:06:16.686Z] 0c2d73faf560: Verifying Checksum [2021-11-17T11:06:16.686Z] 0c2d73faf560: Download complete [2021-11-17T11:06:16.952Z] 4c7163046ea9: Verifying Checksum [2021-11-17T11:06:16.952Z] 4c7163046ea9: Download complete [2021-11-17T11:06:16.952Z] a0d0a0d46f8b: Pull complete [2021-11-17T11:06:16.952Z] 3e5f54012d9b: Pull complete [2021-11-17T11:06:17.222Z] 4c7163046ea9: Pull complete [2021-11-17T11:06:17.482Z] 0c2d73faf560: Pull complete [2021-11-17T11:06:17.482Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-17T11:06:17.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T11:06:17.482Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-17T11:06:17.553Z] prd-centos7-docker-4c-2g-948 does not seem to be running inside a container [2021-11-17T11:06:17.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-146 -v /w/workspace/gexfoundry_device-rest-go_PR-146:/w/workspace/gexfoundry_device-rest-go_PR-146:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-146@tmp:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T11:06:18.220Z] $ docker top f6d125fde97665e1e3a191698c3b9119a15974ef24a1e13a5b324c60a13498a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T11:06:18.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T11:06:18.318Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T11:06:18.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T11:06:18.435Z] $ docker exec f6d125fde97665e1e3a191698c3b9119a15974ef24a1e13a5b324c60a13498a3 ssh-agent [2021-11-17T11:06:18.554Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmaKNPI/agent.15 [2021-11-17T11:06:18.554Z] SSH_AGENT_PID=22 [2021-11-17T11:06:18.562Z] Running ssh-add (command line suppressed) [2021-11-17T11:06:18.660Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_8581517778485802565.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_8581517778485802565.key) [2021-11-17T11:06:18.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T11:06:18.976Z] + git tag --points-at HEAD [Pipeline] } [2021-11-17T11:06:18.994Z] $ docker exec --env ******** --env ******** f6d125fde97665e1e3a191698c3b9119a15974ef24a1e13a5b324c60a13498a3 ssh-agent -k [2021-11-17T11:06:19.103Z] unset SSH_AUTH_SOCK; [2021-11-17T11:06:19.103Z] unset SSH_AGENT_PID; [2021-11-17T11:06:19.103Z] echo Agent pid 22 killed; [2021-11-17T11:06:19.116Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-17T11:06:19.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T11:06:19.140Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T11:06:19.264Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T11:06:19.267Z] $ docker exec f6d125fde97665e1e3a191698c3b9119a15974ef24a1e13a5b324c60a13498a3 ssh-agent [2021-11-17T11:06:19.369Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoifloD/agent.56 [2021-11-17T11:06:19.369Z] SSH_AGENT_PID=63 [2021-11-17T11:06:19.376Z] Running ssh-add (command line suppressed) [2021-11-17T11:06:19.476Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_6254091557075824429.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_6254091557075824429.key) [2021-11-17T11:06:19.490Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T11:06:19.789Z] + git semver init [2021-11-17T11:06:19.789Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T11:06:19.789Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.git [2021-11-17T11:06:19.789Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T11:06:19.789Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T11:06:19.789Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T11:06:19.789Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T11:06:19.789Z] # $SEMVER_BRANCH = PR-146 [2021-11-17T11:06:19.789Z] # $SEMVER_TEMP = /tmp/semver-971792808 [2021-11-17T11:06:19.789Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-17T11:06:19.789Z] # -> Clone(): ssh: handshake failed: knownhosts: key mismatch [2021-11-17T11:06:19.789Z] # git init /tmp/semver-971792808 [2021-11-17T11:06:19.789Z] # '/tmp/semver-971792808' -> '/w/workspace/gexfoundry_device-rest-go_PR-146/.semver' [2021-11-17T11:06:19.789Z] # -> Force: false [2021-11-17T11:06:19.789Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.semver [Pipeline] } [2021-11-17T11:06:19.800Z] $ docker exec --env ******** --env ******** f6d125fde97665e1e3a191698c3b9119a15974ef24a1e13a5b324c60a13498a3 ssh-agent -k [2021-11-17T11:06:19.899Z] unset SSH_AUTH_SOCK; [2021-11-17T11:06:19.899Z] unset SSH_AGENT_PID; [2021-11-17T11:06:19.900Z] echo Agent pid 63 killed; [2021-11-17T11:06:19.909Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T11:06:20.227Z] + git semver [Pipeline] } [2021-11-17T11:06:20.242Z] $ docker stop --time=1 f6d125fde97665e1e3a191698c3b9119a15974ef24a1e13a5b324c60a13498a3 [2021-11-17T11:06:21.441Z] $ docker rm -f f6d125fde97665e1e3a191698c3b9119a15974ef24a1e13a5b324c60a13498a3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T11:06:21.778Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-17T11:06:22.017Z] Stashed 1 file(s) [Pipeline] echo [2021-11-17T11:06:22.021Z] [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 [2021-11-17T11:06:37.149Z] Still waiting to schedule task [2021-11-17T11:06:37.150Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-948’ [2021-11-17T11:06:37.151Z] Still waiting to schedule task [2021-11-17T11:06:37.151Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-17T11:08:05.305Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-949 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws [2021-11-17T11:08:05.317Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-11-17T11:08:05.509Z] The recommended git tool is: git [2021-11-17T11:08:10.855Z] using credential edgex-jenkins-ssh [2021-11-17T11:08:10.879Z] Cloning the remote Git repository [2021-11-17T11:08:10.940Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:08:11.139Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-11-17T11:08:11.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:08:11.208Z] > git --version # timeout=10 [2021-11-17T11:08:11.225Z] > git --version # 'git version 2.17.1' [2021-11-17T11:08:11.227Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:08:11.342Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:08:12.877Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:08:12.901Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:08:12.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:08:13.677Z] Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit 1941e3630abaae09606c5ad1af3cca3f79fef641 [2021-11-17T11:08:13.894Z] Merge succeeded, producing 1941e3630abaae09606c5ad1af3cca3f79fef641 [2021-11-17T11:08:13.895Z] Checking out Revision 1941e3630abaae09606c5ad1af3cca3f79fef641 (PR-146) [2021-11-17T11:08:12.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:08:12.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:08:12.983Z] > 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 [2021-11-17T11:08:13.690Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:08:13.710Z] > git checkout -f 1941e3630abaae09606c5ad1af3cca3f79fef641 # timeout=10 [2021-11-17T11:08:13.792Z] > git remote # timeout=10 [2021-11-17T11:08:13.818Z] > git config --get remote.origin.url # timeout=10 [2021-11-17T11:08:13.831Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:08:13.844Z] > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-17T11:08:13.868Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-17T11:08:13.897Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:08:13.906Z] > git checkout -f 1941e3630abaae09606c5ad1af3cca3f79fef641 # timeout=10 [2021-11-17T11:08:18.087Z] Commit message: "docs(snap): update snap/README (part 2)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T11:08:19.099Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-17T11:08:19.100Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T11:08:19.100Z] Dload Upload Total Spent Left Speed [2021-11-17T11:08:19.100Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 86941 0 --:--:-- --:--:-- --:--:-- 86941 [Pipeline] sh [2021-11-17T11:08:19.504Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-17T11:08:19.849Z] + + sudo tee /etc/docker/daemon.new [2021-11-17T11:08:19.849Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-17T11:08:19.849Z] { [2021-11-17T11:08:19.849Z] "registry-mirrors": [ [2021-11-17T11:08:19.849Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-17T11:08:19.849Z] ], [2021-11-17T11:08:19.849Z] "bip": "10.250.0.254/24", [2021-11-17T11:08:19.849Z] "hosts": [ [2021-11-17T11:08:19.849Z] "tcp://0.0.0.0:5555", [2021-11-17T11:08:19.849Z] "unix:///var/run/docker.sock" [2021-11-17T11:08:19.849Z] ], [2021-11-17T11:08:19.849Z] "mtu": 1458, [2021-11-17T11:08:19.849Z] "selinux-enabled": true, [2021-11-17T11:08:19.849Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-17T11:08:19.849Z] } [Pipeline] sh [2021-11-17T11:08:20.195Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-17T11:08:20.536Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:08:38.871Z] provisioning config files... [2021-11-17T11:08:38.896Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config1412438440771404835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:08:39.261Z] ---> docker-login.sh [2021-11-17T11:08:39.262Z] nexus3.edgexfoundry.org:10001 [2021-11-17T11:08:39.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:08:40.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:08:40.149Z] Configure a credential helper to remove this warning. See [2021-11-17T11:08:40.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:08:40.149Z] [2021-11-17T11:08:40.149Z] Login Succeeded [2021-11-17T11:08:40.149Z] nexus3.edgexfoundry.org:10002 [2021-11-17T11:08:40.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:08:40.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:08:40.745Z] Configure a credential helper to remove this warning. See [2021-11-17T11:08:40.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:08:40.745Z] [2021-11-17T11:08:40.745Z] Login Succeeded [2021-11-17T11:08:40.745Z] nexus3.edgexfoundry.org:10003 [2021-11-17T11:08:41.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:08:41.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:08:41.298Z] Configure a credential helper to remove this warning. See [2021-11-17T11:08:41.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:08:41.298Z] [2021-11-17T11:08:41.298Z] Login Succeeded [2021-11-17T11:08:41.298Z] nexus3.edgexfoundry.org:10004 [2021-11-17T11:08:41.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:08:41.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:08:41.876Z] Configure a credential helper to remove this warning. See [2021-11-17T11:08:41.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:08:41.876Z] [2021-11-17T11:08:41.876Z] Login Succeeded [2021-11-17T11:08:41.876Z] docker.io [2021-11-17T11:08:42.064Z] Running on prd-centos7-docker-4c-2g-950 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws [2021-11-17T11:08:42.076Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-11-17T11:08:42.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:08:42.163Z] The recommended git tool is: git [2021-11-17T11:08:42.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:08:42.754Z] Configure a credential helper to remove this warning. See [2021-11-17T11:08:42.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:08:42.754Z] [2021-11-17T11:08:42.754Z] Login Succeeded [2021-11-17T11:08:42.754Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T11:08:42.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T11:08:43.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T11:08:43.250Z] ========================================================= [2021-11-17T11:08:43.251Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-17T11:08:43.251Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:08:43.592Z] + 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 . [2021-11-17T11:08:43.593Z] Sending build context to Docker daemon 121.9kB [2021-11-17T11:08:43.884Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:08:43.884Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T11:08:44.089Z] using credential edgex-jenkins-ssh [2021-11-17T11:08:44.103Z] Cloning the remote Git repository [2021-11-17T11:08:44.173Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-17T11:08:44.173Z] 552d1f2373af: Pulling fs layer [2021-11-17T11:08:44.173Z] ea3f2d53f512: Pulling fs layer [2021-11-17T11:08:44.173Z] 9e70ebbbe112: Pulling fs layer [2021-11-17T11:08:44.173Z] 7a9cfe048b4a: Pulling fs layer [2021-11-17T11:08:44.173Z] 72dc09318566: Pulling fs layer [2021-11-17T11:08:44.173Z] f4f7b4309257: Pulling fs layer [2021-11-17T11:08:44.173Z] 0ac9a79272e3: Pulling fs layer [2021-11-17T11:08:44.173Z] b78e95d17946: Pulling fs layer [2021-11-17T11:08:44.173Z] 7a9cfe048b4a: Waiting [2021-11-17T11:08:44.173Z] 72dc09318566: Waiting [2021-11-17T11:08:44.173Z] 0ac9a79272e3: Waiting [2021-11-17T11:08:44.173Z] b78e95d17946: Waiting [2021-11-17T11:08:44.173Z] 9e70ebbbe112: Verifying Checksum [2021-11-17T11:08:44.173Z] 9e70ebbbe112: Download complete [2021-11-17T11:08:44.173Z] ea3f2d53f512: Verifying Checksum [2021-11-17T11:08:44.173Z] ea3f2d53f512: Download complete [2021-11-17T11:08:44.173Z] 72dc09318566: Download complete [2021-11-17T11:08:44.173Z] f4f7b4309257: Download complete [2021-11-17T11:08:44.173Z] 552d1f2373af: Verifying Checksum [2021-11-17T11:08:44.173Z] 0ac9a79272e3: Verifying Checksum [2021-11-17T11:08:44.173Z] 0ac9a79272e3: Download complete [2021-11-17T11:08:43.598Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:08:43.652Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-11-17T11:08:43.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:08:43.677Z] > git --version # timeout=10 [2021-11-17T11:08:43.685Z] > git --version # 'git version 2.24.4' [2021-11-17T11:08:43.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:08:43.715Z] [INFO] Currently running in a labeled security context [2021-11-17T11:08:43.715Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T11:08:43.716Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh4204413189667383196.key [2021-11-17T11:08:43.745Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:08:45.160Z] 552d1f2373af: Pull complete [2021-11-17T11:08:45.436Z] ea3f2d53f512: Pull complete [2021-11-17T11:08:44.534Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:08:44.547Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:08:44.563Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:08:44.579Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:08:44.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:08:44.580Z] [INFO] Currently running in a labeled security context [2021-11-17T11:08:44.580Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T11:08:44.580Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh7028708088023602030.key [2021-11-17T11:08:44.592Z] > 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 [2021-11-17T11:08:45.658Z] Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit 1941e3630abaae09606c5ad1af3cca3f79fef641 [2021-11-17T11:08:45.741Z] Merge succeeded, producing 1941e3630abaae09606c5ad1af3cca3f79fef641 [2021-11-17T11:08:45.742Z] Checking out Revision 1941e3630abaae09606c5ad1af3cca3f79fef641 (PR-146) [2021-11-17T11:08:46.028Z] 9e70ebbbe112: Pull complete [2021-11-17T11:08:46.028Z] b78e95d17946: Verifying Checksum [2021-11-17T11:08:46.028Z] b78e95d17946: Download complete [2021-11-17T11:08:46.624Z] 7a9cfe048b4a: Verifying Checksum [2021-11-17T11:08:46.624Z] 7a9cfe048b4a: Download complete [2021-11-17T11:08:45.143Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:08:45.151Z] > git checkout -f 1941e3630abaae09606c5ad1af3cca3f79fef641 # timeout=10 [2021-11-17T11:08:45.181Z] > git remote # timeout=10 [2021-11-17T11:08:45.192Z] > git config --get remote.origin.url # timeout=10 [2021-11-17T11:08:45.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:08:45.197Z] [INFO] Currently running in a labeled security context [2021-11-17T11:08:45.197Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T11:08:45.197Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh5151670723106902505.key [2021-11-17T11:08:45.202Z] > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-17T11:08:45.209Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-17T11:08:45.220Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:08:45.229Z] > git checkout -f 1941e3630abaae09606c5ad1af3cca3f79fef641 # timeout=10 [2021-11-17T11:08:49.447Z] Commit message: "docs(snap): update snap/README (part 2)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:08:49.775Z] provisioning config files... [2021-11-17T11:08:49.787Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config94571930497773595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:08:50.174Z] ---> docker-login.sh [2021-11-17T11:08:50.174Z] nexus3.edgexfoundry.org:10001 [2021-11-17T11:08:50.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:08:50.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:08:50.174Z] Configure a credential helper to remove this warning. See [2021-11-17T11:08:50.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:08:50.174Z] [2021-11-17T11:08:50.174Z] Login Succeeded [2021-11-17T11:08:50.174Z] nexus3.edgexfoundry.org:10002 [2021-11-17T11:08:50.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:08:50.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:08:50.435Z] Configure a credential helper to remove this warning. See [2021-11-17T11:08:50.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:08:50.435Z] [2021-11-17T11:08:50.435Z] Login Succeeded [2021-11-17T11:08:50.435Z] nexus3.edgexfoundry.org:10003 [2021-11-17T11:08:50.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:08:50.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:08:50.435Z] Configure a credential helper to remove this warning. See [2021-11-17T11:08:50.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:08:50.435Z] [2021-11-17T11:08:50.435Z] Login Succeeded [2021-11-17T11:08:50.435Z] nexus3.edgexfoundry.org:10004 [2021-11-17T11:08:50.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:08:50.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:08:50.696Z] Configure a credential helper to remove this warning. See [2021-11-17T11:08:50.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:08:50.696Z] [2021-11-17T11:08:50.696Z] Login Succeeded [2021-11-17T11:08:50.696Z] docker.io [2021-11-17T11:08:50.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:08:50.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:08:50.957Z] Configure a credential helper to remove this warning. See [2021-11-17T11:08:50.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:08:50.957Z] [2021-11-17T11:08:50.957Z] Login Succeeded [2021-11-17T11:08:50.957Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T11:08:50.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T11:08:51.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T11:08:51.123Z] ========================================================= [2021-11-17T11:08:51.123Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-17T11:08:51.123Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:08:51.430Z] + 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 . [2021-11-17T11:08:51.430Z] Sending build context to Docker daemon 121.9kB [2021-11-17T11:08:51.430Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:08:51.430Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T11:08:51.430Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-17T11:08:51.430Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T11:08:51.430Z] 31adcdaf11c8: Pulling fs layer [2021-11-17T11:08:51.430Z] b8b176561691: Pulling fs layer [2021-11-17T11:08:51.430Z] 4527c011a84f: Pulling fs layer [2021-11-17T11:08:51.430Z] 5d74067f8e1e: Pulling fs layer [2021-11-17T11:08:51.430Z] e0aca202a116: Pulling fs layer [2021-11-17T11:08:51.430Z] 3a43be97a3b4: Pulling fs layer [2021-11-17T11:08:51.430Z] 34cad66bf833: Pulling fs layer [2021-11-17T11:08:51.430Z] b4e3c513aaa6: Pulling fs layer [2021-11-17T11:08:51.430Z] 4527c011a84f: Waiting [2021-11-17T11:08:51.430Z] 5d74067f8e1e: Waiting [2021-11-17T11:08:51.430Z] e0aca202a116: Waiting [2021-11-17T11:08:51.430Z] 3a43be97a3b4: Waiting [2021-11-17T11:08:51.430Z] 34cad66bf833: Waiting [2021-11-17T11:08:51.430Z] b4e3c513aaa6: Waiting [2021-11-17T11:08:51.430Z] b8b176561691: Verifying Checksum [2021-11-17T11:08:51.430Z] b8b176561691: Download complete [2021-11-17T11:08:51.430Z] 31adcdaf11c8: Download complete [2021-11-17T11:08:51.430Z] 5d74067f8e1e: Verifying Checksum [2021-11-17T11:08:51.430Z] 5d74067f8e1e: Download complete [2021-11-17T11:08:51.430Z] e0aca202a116: Verifying Checksum [2021-11-17T11:08:51.430Z] e0aca202a116: Download complete [2021-11-17T11:08:51.430Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T11:08:51.430Z] a0d0a0d46f8b: Download complete [2021-11-17T11:08:51.430Z] 3a43be97a3b4: Verifying Checksum [2021-11-17T11:08:51.430Z] 3a43be97a3b4: Download complete [2021-11-17T11:08:51.693Z] 34cad66bf833: Verifying Checksum [2021-11-17T11:08:51.693Z] 34cad66bf833: Download complete [2021-11-17T11:08:51.960Z] a0d0a0d46f8b: Pull complete [2021-11-17T11:08:52.230Z] 4527c011a84f: Verifying Checksum [2021-11-17T11:08:52.230Z] 4527c011a84f: Download complete [2021-11-17T11:08:52.230Z] 31adcdaf11c8: Pull complete [2021-11-17T11:08:52.230Z] b8b176561691: Pull complete [2021-11-17T11:08:52.230Z] b4e3c513aaa6: Verifying Checksum [2021-11-17T11:08:52.230Z] b4e3c513aaa6: Download complete [2021-11-17T11:08:55.559Z] 4527c011a84f: Pull complete [2021-11-17T11:08:55.559Z] 5d74067f8e1e: Pull complete [2021-11-17T11:08:55.825Z] e0aca202a116: Pull complete [2021-11-17T11:08:55.825Z] 3a43be97a3b4: Pull complete [2021-11-17T11:08:55.825Z] 34cad66bf833: Pull complete [2021-11-17T11:08:56.762Z] 7a9cfe048b4a: Pull complete [2021-11-17T11:08:56.762Z] 72dc09318566: Pull complete [2021-11-17T11:08:56.762Z] f4f7b4309257: Pull complete [2021-11-17T11:08:57.034Z] 0ac9a79272e3: Pull complete [2021-11-17T11:08:58.399Z] b4e3c513aaa6: Pull complete [2021-11-17T11:08:58.400Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-17T11:08:58.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-17T11:08:58.400Z] ---> 9f6097aaca64 [2021-11-17T11:08:58.400Z] Step 3/11 : ARG MAKE='make build' [2021-11-17T11:09:01.700Z] ---> Running in e850b7a4f50e [2021-11-17T11:09:01.700Z] Removing intermediate container e850b7a4f50e [2021-11-17T11:09:01.700Z] ---> 8a6d9bb0e028 [2021-11-17T11:09:01.700Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:09:01.700Z] ---> Running in fcaf5cfd1237 [2021-11-17T11:09:01.700Z] Removing intermediate container fcaf5cfd1237 [2021-11-17T11:09:01.700Z] ---> 279facaae005 [2021-11-17T11:09:01.700Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:09:01.700Z] ---> Running in d50c85ac19e8 [2021-11-17T11:09:01.960Z] Removing intermediate container d50c85ac19e8 [2021-11-17T11:09:01.960Z] ---> 65e7b680d568 [2021-11-17T11:09:01.960Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:09:01.960Z] ---> Running in 907c57c7b2db [2021-11-17T11:09:02.220Z] Removing intermediate container 907c57c7b2db [2021-11-17T11:09:02.220Z] ---> f729dcdf30e0 [2021-11-17T11:09:02.220Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:09:02.220Z] ---> Running in 40bbcd99be69 [2021-11-17T11:09:02.439Z] b78e95d17946: Pull complete [2021-11-17T11:09:02.439Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-17T11:09:02.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-17T11:09:02.439Z] ---> 8b459fc5aaf0 [2021-11-17T11:09:02.439Z] Step 3/11 : ARG MAKE='make build' [2021-11-17T11:09:02.480Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T11:09:03.418Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T11:09:03.682Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T11:09:03.943Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T11:09:03.943Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T11:09:03.943Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T11:09:04.205Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T11:09:04.205Z] OK: 224 MiB in 56 packages [2021-11-17T11:09:04.403Z] ---> Running in 25360a5871e2 [2021-11-17T11:09:04.403Z] Removing intermediate container 25360a5871e2 [2021-11-17T11:09:04.403Z] ---> 0c56fef1afa2 [2021-11-17T11:09:04.403Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:09:04.477Z] Removing intermediate container 40bbcd99be69 [2021-11-17T11:09:04.477Z] ---> 5faffb5bb0f7 [2021-11-17T11:09:04.477Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-17T11:09:04.477Z] ---> Running in c43d6bf17829 [2021-11-17T11:09:04.477Z] Removing intermediate container c43d6bf17829 [2021-11-17T11:09:04.477Z] ---> 449f983334b1 [2021-11-17T11:09:04.477Z] Step 9/11 : COPY . . [2021-11-17T11:09:04.673Z] ---> Running in 3418308b1fca [2021-11-17T11:09:04.746Z] ---> f37f06d3bb53 [2021-11-17T11:09:04.746Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:09:04.746Z] ---> Running in f5aebf88ebbd [2021-11-17T11:09:04.945Z] Removing intermediate container 3418308b1fca [2021-11-17T11:09:04.945Z] ---> 2e1c17ddb22f [2021-11-17T11:09:04.945Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:09:04.945Z] ---> Running in 6ae02a27b64b [2021-11-17T11:09:05.536Z] Removing intermediate container 6ae02a27b64b [2021-11-17T11:09:05.536Z] ---> d82fc6cbd118 [2021-11-17T11:09:05.536Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:09:05.536Z] ---> Running in b07c7e5ba996 [2021-11-17T11:09:07.515Z] Removing intermediate container b07c7e5ba996 [2021-11-17T11:09:07.515Z] ---> cef46e6bb1a3 [2021-11-17T11:09:07.515Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:09:07.515Z] ---> Running in 19e13a2157dc [2021-11-17T11:09:08.493Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T11:09:09.490Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T11:09:10.089Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T11:09:10.363Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T11:09:10.363Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T11:09:10.363Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T11:09:10.639Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T11:09:10.639Z] OK: 223 MiB in 56 packages [2021-11-17T11:09:11.625Z] Removing intermediate container 19e13a2157dc [2021-11-17T11:09:11.625Z] ---> ae07d97dbe3e [2021-11-17T11:09:11.625Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-17T11:09:11.625Z] ---> Running in 97f89bfc534e [2021-11-17T11:09:12.219Z] Removing intermediate container 97f89bfc534e [2021-11-17T11:09:12.219Z] ---> 97bf4aee6fa3 [2021-11-17T11:09:12.219Z] Step 9/11 : COPY . . [2021-11-17T11:09:12.818Z] ---> 18b1bf04aa25 [2021-11-17T11:09:12.818Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:09:13.091Z] ---> Running in c2b081b3b338 [2021-11-17T11:09:36.911Z] Removing intermediate container f5aebf88ebbd [2021-11-17T11:09:36.911Z] ---> 75dc1fc987d0 [2021-11-17T11:09:36.911Z] Step 11/11 : RUN $MAKE [2021-11-17T11:09:36.911Z] ---> Running in dc9c07268326 [2021-11-17T11:09:36.911Z] noop [2021-11-17T11:09:36.911Z] Removing intermediate container dc9c07268326 [2021-11-17T11:09:36.911Z] ---> b79c1fbe1a56 [2021-11-17T11:09:36.911Z] Successfully built b79c1fbe1a56 [2021-11-17T11:09:36.911Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:09:37.209Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T11:09:37.209Z] . [Pipeline] withDockerContainer [2021-11-17T11:09:37.275Z] prd-centos7-docker-4c-2g-950 does not seem to be running inside a container [2021-11-17T11:09:37.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T11:09:37.643Z] $ docker top 0d88008eef596bd8974f96e2a458ab1ce90f71832ffebf2c49cfeade6e6d2fd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T11:09:37.995Z] + go version [2021-11-17T11:09:37.995Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-17T11:09:38.008Z] $ docker stop --time=1 0d88008eef596bd8974f96e2a458ab1ce90f71832ffebf2c49cfeade6e6d2fd3 [2021-11-17T11:09:39.173Z] $ docker rm -f 0d88008eef596bd8974f96e2a458ab1ce90f71832ffebf2c49cfeade6e6d2fd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:09:39.697Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T11:09:39.697Z] . [Pipeline] withDockerContainer [2021-11-17T11:09:39.756Z] prd-centos7-docker-4c-2g-950 does not seem to be running inside a container [2021-11-17T11:09:39.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T11:09:40.118Z] $ docker top 0d3ea128e8e6984de6b438edd1868f1b2f46c5d68e165975a72161a480778c8e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T11:09:40.475Z] + make test [2021-11-17T11:09:40.475Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-17T11:09:40.740Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-17T11:09:55.762Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-17T11:09:56.337Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 56.0% of statements [2021-11-17T11:09:56.600Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T11:10:03.218Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T11:10:03.218Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T11:10:03.218Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T11:10:03.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T11:10:03.247Z] $ docker stop --time=1 0d3ea128e8e6984de6b438edd1868f1b2f46c5d68e165975a72161a480778c8e [2021-11-17T11:10:04.643Z] $ docker rm -f 0d3ea128e8e6984de6b438edd1868f1b2f46c5d68e165975a72161a480778c8e [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T11:10:05.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T11:10:05.190Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-17T11:10:06.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T11:10:06.666Z] + ls -al . [2021-11-17T11:10:06.666Z] total 148 [2021-11-17T11:10:06.666Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 17 11:10 . [2021-11-17T11:10:06.666Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 17 11:08 .. [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 17 11:08 Attribution.txt [2021-11-17T11:10:06.666Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 17 11:08 bin [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 17 11:08 CHANGELOG.md [2021-11-17T11:10:06.666Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 11:08 cmd [2021-11-17T11:10:06.666Z] -rw-r--r--. 1 jenkins jenkins 9215 Nov 17 11:09 coverage.out [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 17 11:08 Dockerfile [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 17 11:08 .dockerignore [2021-11-17T11:10:06.666Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 17 11:08 driver [2021-11-17T11:10:06.666Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 17 11:08 .git [2021-11-17T11:10:06.666Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 17 11:08 .github [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 17 11:08 .gitignore [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 271 Nov 17 11:08 go.mod [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 49306 Nov 17 11:08 go.sum [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 11:08 GOVERNANCE.md [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 17 11:08 Jenkinsfile [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 11:08 LICENSE [2021-11-17T11:10:06.666Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 17 11:08 Makefile [2021-11-17T11:10:06.667Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 17 11:08 OWNERS.md [2021-11-17T11:10:06.667Z] -rw-rw-r--. 1 jenkins jenkins 8246 Nov 17 11:08 README.md [2021-11-17T11:10:06.667Z] drwxrwxr-x. 3 jenkins jenkins 58 Nov 17 11:08 snap [2021-11-17T11:10:06.667Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 11:06 VERSION [2021-11-17T11:10:06.667Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 17 11:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:10:06.970Z] + 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=1941e3630abaae09606c5ad1af3cca3f79fef641 --label arch=amd64 --label version=0.0.0 . [2021-11-17T11:10:06.970Z] Sending build context to Docker daemon 131.6kB [2021-11-17T11:10:06.970Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:10:06.970Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-17T11:10:06.970Z] ---> b79c1fbe1a56 [2021-11-17T11:10:06.970Z] Step 3/24 : ARG MAKE='make build' [2021-11-17T11:10:06.970Z] ---> Running in 11b17c9aa733 [2021-11-17T11:10:07.241Z] Removing intermediate container 11b17c9aa733 [2021-11-17T11:10:07.241Z] ---> 01ce41db842b [2021-11-17T11:10:07.241Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:10:07.241Z] ---> Running in e68efd08639b [2021-11-17T11:10:07.241Z] Removing intermediate container e68efd08639b [2021-11-17T11:10:07.241Z] ---> e2654cdd7074 [2021-11-17T11:10:07.241Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:10:07.241Z] ---> Running in eac93549e01e [2021-11-17T11:10:07.241Z] Removing intermediate container eac93549e01e [2021-11-17T11:10:07.241Z] ---> ca14a6a2986c [2021-11-17T11:10:07.241Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:10:07.241Z] ---> Running in fed88776132c [2021-11-17T11:10:07.821Z] Removing intermediate container fed88776132c [2021-11-17T11:10:07.821Z] ---> e758f23c9dfb [2021-11-17T11:10:07.821Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:10:07.821Z] ---> Running in b40495e78a77 [2021-11-17T11:10:08.087Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T11:10:09.032Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T11:10:09.296Z] OK: 224 MiB in 56 packages [2021-11-17T11:10:09.557Z] Removing intermediate container b40495e78a77 [2021-11-17T11:10:09.557Z] ---> 1dfc88688b7a [2021-11-17T11:10:09.557Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-17T11:10:09.557Z] ---> Running in cbd2d2f1cf10 [2021-11-17T11:10:09.557Z] Removing intermediate container cbd2d2f1cf10 [2021-11-17T11:10:09.557Z] ---> fac3842a3b9d [2021-11-17T11:10:09.557Z] Step 9/24 : COPY . . [2021-11-17T11:10:09.823Z] ---> fca999307104 [2021-11-17T11:10:09.823Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:10:09.823Z] ---> Running in 54025bfad4cc [2021-11-17T11:10:10.396Z] Removing intermediate container 54025bfad4cc [2021-11-17T11:10:10.396Z] ---> e4a672efa8ab [2021-11-17T11:10:10.396Z] Step 11/24 : RUN $MAKE [2021-11-17T11:10:10.396Z] ---> Running in cd24b1895666 [2021-11-17T11:10:10.666Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-11-17T11:10:22.969Z] Removing intermediate container cd24b1895666 [2021-11-17T11:10:22.969Z] ---> 1049d9083262 [2021-11-17T11:10:22.969Z] Step 12/24 : FROM alpine:3.14 [2021-11-17T11:10:22.969Z] 3.14: Pulling from library/alpine [2021-11-17T11:10:22.969Z] 97518928ae5f: Pulling fs layer [2021-11-17T11:10:22.969Z] 97518928ae5f: Verifying Checksum [2021-11-17T11:10:22.969Z] 97518928ae5f: Download complete [2021-11-17T11:10:22.969Z] 97518928ae5f: Pull complete [2021-11-17T11:10:22.969Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T11:10:22.969Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T11:10:22.969Z] ---> 0a97eee8041e [2021-11-17T11:10:22.969Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-17T11:10:22.969Z] ---> Running in ce4a5a6edb37 [2021-11-17T11:10:22.969Z] Removing intermediate container ce4a5a6edb37 [2021-11-17T11:10:22.969Z] ---> 5eff2fbd98b3 [2021-11-17T11:10:22.969Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-17T11:10:22.969Z] ---> Running in 0f7829cc2186 [2021-11-17T11:10:22.969Z] Removing intermediate container 0f7829cc2186 [2021-11-17T11:10:22.969Z] ---> fb80e83ddbb8 [2021-11-17T11:10:22.969Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T11:10:22.969Z] ---> Running in 8468f34f417d [2021-11-17T11:10:22.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T11:10:23.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T11:10:23.493Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T11:10:23.493Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T11:10:23.493Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T11:10:23.493Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T11:10:23.493Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T11:10:23.493Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T11:10:23.493Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T11:10:23.493Z] OK: 8 MiB in 20 packages [2021-11-17T11:10:23.759Z] Removing intermediate container 8468f34f417d [2021-11-17T11:10:23.759Z] ---> 55d5dca40e78 [2021-11-17T11:10:23.759Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-17T11:10:24.024Z] ---> b35c06a9e47e [2021-11-17T11:10:24.024Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-17T11:10:24.024Z] ---> 9695dc387e73 [2021-11-17T11:10:24.024Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-17T11:10:24.287Z] ---> 710a3bd49fce [2021-11-17T11:10:24.287Z] Step 19/24 : EXPOSE 59986 [2021-11-17T11:10:24.287Z] ---> Running in 92eb9b69ee19 [2021-11-17T11:10:24.287Z] Removing intermediate container 92eb9b69ee19 [2021-11-17T11:10:24.287Z] ---> b4cb5f346374 [2021-11-17T11:10:24.287Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-17T11:10:24.287Z] ---> Running in 3dde82e4d6fd [2021-11-17T11:10:24.555Z] Removing intermediate container 3dde82e4d6fd [2021-11-17T11:10:24.555Z] ---> db01e2fdcfc3 [2021-11-17T11:10:24.555Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-17T11:10:24.555Z] ---> Running in 0aa7957a1033 [2021-11-17T11:10:24.555Z] Removing intermediate container 0aa7957a1033 [2021-11-17T11:10:24.555Z] ---> dffa37fde22b [2021-11-17T11:10:24.555Z] Step 22/24 : LABEL arch=amd64 [2021-11-17T11:10:24.555Z] ---> Running in 642726aeb005 [2021-11-17T11:10:24.555Z] Removing intermediate container 642726aeb005 [2021-11-17T11:10:24.555Z] ---> 2c8895c2505a [2021-11-17T11:10:24.555Z] Step 23/24 : LABEL git_sha=1941e3630abaae09606c5ad1af3cca3f79fef641 [2021-11-17T11:10:24.814Z] ---> Running in 2a46b687162c [2021-11-17T11:10:24.814Z] Removing intermediate container 2a46b687162c [2021-11-17T11:10:24.814Z] ---> 34c08f18fb15 [2021-11-17T11:10:24.814Z] Step 24/24 : LABEL version=0.0.0 [2021-11-17T11:10:24.814Z] ---> Running in 0f67943d5da9 [2021-11-17T11:10:24.814Z] Removing intermediate container 0f67943d5da9 [2021-11-17T11:10:24.814Z] ---> 3776cae30800 [2021-11-17T11:10:24.814Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T11:10:24.814Z] Successfully built 3776cae30800 [2021-11-17T11:10:24.814Z] 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 [2021-11-17T11:10:25.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:10:25.402Z] [2021-11-17T11:10:25.402Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:10:25.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:10:25.704Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T11:10:25.704Z] b4d181a07f80: Pulling fs layer [2021-11-17T11:10:25.704Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T11:10:25.704Z] ed53099fbce6: Pulling fs layer [2021-11-17T11:10:25.704Z] dc539afda2c1: Pulling fs layer [2021-11-17T11:10:25.704Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T11:10:25.704Z] 9065ff56babe: Pulling fs layer [2021-11-17T11:10:25.704Z] d287ab97295c: Pulling fs layer [2021-11-17T11:10:25.704Z] 77bc0d833cb6: Waiting [2021-11-17T11:10:25.704Z] 9065ff56babe: Waiting [2021-11-17T11:10:25.704Z] d287ab97295c: Waiting [2021-11-17T11:10:25.704Z] dc539afda2c1: Waiting [2021-11-17T11:10:25.704Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T11:10:25.704Z] a1111a8f2ec3: Download complete [2021-11-17T11:10:25.704Z] dc539afda2c1: Verifying Checksum [2021-11-17T11:10:25.704Z] dc539afda2c1: Download complete [2021-11-17T11:10:25.704Z] ed53099fbce6: Verifying Checksum [2021-11-17T11:10:25.704Z] ed53099fbce6: Download complete [2021-11-17T11:10:25.704Z] 9065ff56babe: Verifying Checksum [2021-11-17T11:10:25.704Z] 9065ff56babe: Download complete [2021-11-17T11:10:25.971Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T11:10:25.971Z] 77bc0d833cb6: Download complete [2021-11-17T11:10:25.971Z] b4d181a07f80: Verifying Checksum [2021-11-17T11:10:25.971Z] b4d181a07f80: Download complete [2021-11-17T11:10:26.552Z] d287ab97295c: Verifying Checksum [2021-11-17T11:10:26.552Z] d287ab97295c: Download complete [2021-11-17T11:10:27.139Z] b4d181a07f80: Pull complete [2021-11-17T11:10:27.401Z] a1111a8f2ec3: Pull complete [2021-11-17T11:10:27.977Z] ed53099fbce6: Pull complete [2021-11-17T11:10:27.977Z] dc539afda2c1: Pull complete [2021-11-17T11:10:28.244Z] 77bc0d833cb6: Pull complete [2021-11-17T11:10:28.507Z] 9065ff56babe: Pull complete [2021-11-17T11:10:33.838Z] d287ab97295c: Pull complete [2021-11-17T11:10:33.838Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T11:10:33.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:10:33.838Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T11:10:33.906Z] prd-centos7-docker-4c-2g-950 does not seem to be running inside a container [2021-11-17T11:10:33.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T11:10:34.906Z] Removing intermediate container c2b081b3b338 [2021-11-17T11:10:34.906Z] ---> b8a5c23b9e57 [2021-11-17T11:10:34.906Z] Step 11/11 : RUN $MAKE [2021-11-17T11:10:34.906Z] ---> Running in 41511199fad3 [2021-11-17T11:10:34.906Z] noop [2021-11-17T11:10:34.906Z] Removing intermediate container 41511199fad3 [2021-11-17T11:10:34.906Z] ---> e1b5dae9662b [2021-11-17T11:10:34.906Z] Successfully built e1b5dae9662b [2021-11-17T11:10:34.906Z] Successfully tagged ci-base-image-arm64:latest [2021-11-17T11:10:36.897Z] $ docker top 5813ca84d78562b9a362a9e9c71dd035487128f452fd9f98ddbb16936fd83d1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:10:37.353Z] ---> job-cost.sh [2021-11-17T11:10:37.353Z] lf-activate-venv: SKIPPING [2021-11-17T11:10:37.353Z] INFO: No Stack... [2021-11-17T11:10:37.428Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T11:10:37.428Z] . [Pipeline] withDockerContainer [2021-11-17T11:10:37.613Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T11:10:37.678Z] prd-ubuntu18.04-docker-arm64-4c-16g-949 does not seem to be running inside a container [2021-11-17T11:10:37.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-17T11:10:38.183Z] INFO: Archiving Costs [2021-11-17T11:10:39.286Z] $ docker top 9b1e098671cd260bd3486546926fa32e4a1ef0321ca5464075827633098d620c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-11-17T11:10:39.886Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2021-11-17T11:10:39.887Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T11:10:39.913Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-3-stack-cost] [2021-11-17T11:10:39.918Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-146-3-stack-cost] did not exist. Created. [2021-11-17T11:10:39.918Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T11:10:40.225Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-17T11:10:40.259Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T11:10:40.265Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-3-stack-cost] [Pipeline] // lock [2021-11-17T11:10:40.274Z] + go version [2021-11-17T11:10:40.275Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-17T11:10:40.287Z] $ docker stop --time=1 5813ca84d78562b9a362a9e9c71dd035487128f452fd9f98ddbb16936fd83d1b [2021-11-17T11:10:41.419Z] $ docker rm -f 5813ca84d78562b9a362a9e9c71dd035487128f452fd9f98ddbb16936fd83d1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-11-17T11:10:41.474Z] $ docker stop --time=1 9b1e098671cd260bd3486546926fa32e4a1ef0321ca5464075827633098d620c [2021-11-17T11:10:43.200Z] $ docker rm -f 9b1e098671cd260bd3486546926fa32e4a1ef0321ca5464075827633098d620c [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:10:44.037Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T11:10:44.037Z] . [Pipeline] withDockerContainer [2021-11-17T11:10:44.273Z] prd-ubuntu18.04-docker-arm64-4c-16g-949 does not seem to be running inside a container [2021-11-17T11:10:44.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-17T11:10:45.845Z] $ docker top 03c2eb9098365e0e958d31c788e4530fbe74d038294df05b972700ebcf1f428a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T11:10:46.808Z] + make test [2021-11-17T11:10:46.808Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-17T11:10:48.253Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-17T11:11:44.843Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-17T11:11:44.843Z] ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 56.0% of statements [2021-11-17T11:11:44.843Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T11:12:07.051Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T11:12:07.051Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T11:12:07.051Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T11:12:08.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T11:12:08.536Z] $ docker stop --time=1 03c2eb9098365e0e958d31c788e4530fbe74d038294df05b972700ebcf1f428a [2021-11-17T11:12:10.324Z] $ docker rm -f 03c2eb9098365e0e958d31c788e4530fbe74d038294df05b972700ebcf1f428a [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T11:12:11.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T11:12:11.219Z] Warning: overwriting stash ‘coverage-report’ [2021-11-17T11:12:11.697Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T11:12:12.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T11:12:12.551Z] + ls -al . [2021-11-17T11:12:12.551Z] total 176 [2021-11-17T11:12:12.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 11:12 . [2021-11-17T11:12:12.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 11:08 .. [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 17 11:08 .dockerignore [2021-11-17T11:12:12.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 11:08 .git [2021-11-17T11:12:12.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 11:08 .github [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 17 11:08 .gitignore [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 17 11:08 Attribution.txt [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 17 11:08 CHANGELOG.md [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 17 11:08 Dockerfile [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 11:08 GOVERNANCE.md [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 17 11:08 Jenkinsfile [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 11:08 LICENSE [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 17 11:08 Makefile [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 17 11:08 OWNERS.md [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 8246 Nov 17 11:08 README.md [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 11:06 VERSION [2021-11-17T11:12:12.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 11:08 bin [2021-11-17T11:12:12.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 11:08 cmd [2021-11-17T11:12:12.551Z] -rw-r--r-- 1 jenkins jenkins 9215 Nov 17 11:11 coverage.out [2021-11-17T11:12:12.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 11:08 driver [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 271 Nov 17 11:08 go.mod [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 49306 Nov 17 11:08 go.sum [2021-11-17T11:12:12.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 11:08 snap [2021-11-17T11:12:12.551Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 17 11:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:12:12.890Z] + 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=1941e3630abaae09606c5ad1af3cca3f79fef641 --label arch=arm64 --label version=0.0.0 . [2021-11-17T11:12:12.890Z] Sending build context to Docker daemon 131.6kB [2021-11-17T11:12:13.164Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:12:13.164Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-17T11:12:13.164Z] ---> e1b5dae9662b [2021-11-17T11:12:13.164Z] Step 3/24 : ARG MAKE='make build' [2021-11-17T11:12:13.437Z] ---> Running in 22773ed1d1f2 [2021-11-17T11:12:13.710Z] Removing intermediate container 22773ed1d1f2 [2021-11-17T11:12:13.710Z] ---> b6e64cd88a5a [2021-11-17T11:12:13.710Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:12:13.983Z] ---> Running in 609e1302fe73 [2021-11-17T11:12:14.264Z] Removing intermediate container 609e1302fe73 [2021-11-17T11:12:14.264Z] ---> 4ca8f83b0ada [2021-11-17T11:12:14.264Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:12:14.264Z] ---> Running in 9001075a23f5 [2021-11-17T11:12:14.861Z] Removing intermediate container 9001075a23f5 [2021-11-17T11:12:14.861Z] ---> e32917c051b0 [2021-11-17T11:12:14.861Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:12:14.861Z] ---> Running in adad119e118a [2021-11-17T11:12:16.891Z] Removing intermediate container adad119e118a [2021-11-17T11:12:16.891Z] ---> 4da1ce205917 [2021-11-17T11:12:16.891Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:12:16.891Z] ---> Running in 9019a6efe78f [2021-11-17T11:12:18.377Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T11:12:19.358Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T11:12:19.953Z] OK: 223 MiB in 56 packages [2021-11-17T11:12:20.948Z] Removing intermediate container 9019a6efe78f [2021-11-17T11:12:20.948Z] ---> fe440155cfe3 [2021-11-17T11:12:20.948Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-17T11:12:20.948Z] ---> Running in 2e892781632a [2021-11-17T11:12:21.223Z] Removing intermediate container 2e892781632a [2021-11-17T11:12:21.223Z] ---> a9903d42d64e [2021-11-17T11:12:21.223Z] Step 9/24 : COPY . . [2021-11-17T11:12:22.201Z] ---> 165eea930055 [2021-11-17T11:12:22.201Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:12:22.201Z] ---> Running in 91556e2abb2a [2021-11-17T11:12:24.828Z] Removing intermediate container 91556e2abb2a [2021-11-17T11:12:24.828Z] ---> e065398bc00f [2021-11-17T11:12:24.828Z] Step 11/24 : RUN $MAKE [2021-11-17T11:12:24.828Z] ---> Running in 2138af9b4a73 [2021-11-17T11:12:25.423Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-11-17T11:13:04.440Z] Removing intermediate container 2138af9b4a73 [2021-11-17T11:13:04.440Z] ---> 754544f395db [2021-11-17T11:13:04.440Z] Step 12/24 : FROM alpine:3.14 [2021-11-17T11:13:04.440Z] 3.14: Pulling from library/alpine [2021-11-17T11:13:04.440Z] be307f383ecc: Pulling fs layer [2021-11-17T11:13:04.440Z] be307f383ecc: Verifying Checksum [2021-11-17T11:13:04.440Z] be307f383ecc: Download complete [2021-11-17T11:13:04.440Z] be307f383ecc: Pull complete [2021-11-17T11:13:04.440Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T11:13:04.440Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T11:13:04.440Z] ---> 5b8b7b635229 [2021-11-17T11:13:04.440Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-17T11:13:04.440Z] ---> Running in 830109425b38 [2021-11-17T11:13:04.440Z] Removing intermediate container 830109425b38 [2021-11-17T11:13:04.440Z] ---> 33dd24af00a0 [2021-11-17T11:13:04.440Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-17T11:13:04.440Z] ---> Running in b85ae4e0d603 [2021-11-17T11:13:04.440Z] Removing intermediate container b85ae4e0d603 [2021-11-17T11:13:04.440Z] ---> 002651a57de8 [2021-11-17T11:13:04.440Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T11:13:04.440Z] ---> Running in b76eb96209f7 [2021-11-17T11:13:05.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T11:13:05.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T11:13:06.307Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T11:13:06.307Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T11:13:06.307Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T11:13:06.307Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T11:13:06.580Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T11:13:06.580Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T11:13:06.580Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T11:13:06.580Z] OK: 8 MiB in 20 packages [2021-11-17T11:13:07.560Z] Removing intermediate container b76eb96209f7 [2021-11-17T11:13:07.560Z] ---> 97b51ca8780d [2021-11-17T11:13:07.560Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-17T11:13:08.549Z] ---> 18498d5823af [2021-11-17T11:13:08.549Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-17T11:13:09.525Z] ---> 55e88806c6e4 [2021-11-17T11:13:09.525Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-17T11:13:10.124Z] ---> 9e57fc8e798b [2021-11-17T11:13:10.124Z] Step 19/24 : EXPOSE 59986 [2021-11-17T11:13:10.124Z] ---> Running in 9e790056011a [2021-11-17T11:13:10.722Z] Removing intermediate container 9e790056011a [2021-11-17T11:13:10.722Z] ---> f750b7c827a1 [2021-11-17T11:13:10.722Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-17T11:13:10.722Z] ---> Running in acb343dcf52b [2021-11-17T11:13:10.998Z] Removing intermediate container acb343dcf52b [2021-11-17T11:13:10.998Z] ---> 590704ed6214 [2021-11-17T11:13:10.998Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-17T11:13:10.998Z] ---> Running in 01efdadcf889 [2021-11-17T11:13:11.594Z] Removing intermediate container 01efdadcf889 [2021-11-17T11:13:11.594Z] ---> 2c0918ca6915 [2021-11-17T11:13:11.594Z] Step 22/24 : LABEL arch=arm64 [2021-11-17T11:13:11.594Z] ---> Running in bebbddd45ed5 [2021-11-17T11:13:11.868Z] Removing intermediate container bebbddd45ed5 [2021-11-17T11:13:11.868Z] ---> 2373cd7cceb6 [2021-11-17T11:13:11.868Z] Step 23/24 : LABEL git_sha=1941e3630abaae09606c5ad1af3cca3f79fef641 [2021-11-17T11:13:12.154Z] ---> Running in a9f9216fc562 [2021-11-17T11:13:12.426Z] Removing intermediate container a9f9216fc562 [2021-11-17T11:13:12.426Z] ---> c998a98abda3 [2021-11-17T11:13:12.426Z] Step 24/24 : LABEL version=0.0.0 [2021-11-17T11:13:12.426Z] ---> Running in b12b037624d3 [2021-11-17T11:13:13.030Z] Removing intermediate container b12b037624d3 [2021-11-17T11:13:13.030Z] ---> 71e9815ae21c [2021-11-17T11:13:13.030Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T11:13:13.030Z] Successfully built 71e9815ae21c [2021-11-17T11:13:13.030Z] 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 [2021-11-17T11:13:13.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T11:13:13.606Z] [2021-11-17T11:13:13.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:13:13.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T11:13:14.224Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-17T11:13:14.224Z] 448f6bf000e3: Pulling fs layer [2021-11-17T11:13:14.224Z] f757da607395: Pulling fs layer [2021-11-17T11:13:14.224Z] 05883995daec: Pulling fs layer [2021-11-17T11:13:14.224Z] 8603b9c90790: Pulling fs layer [2021-11-17T11:13:14.224Z] 1560dd03e051: Pulling fs layer [2021-11-17T11:13:14.224Z] 27f5ce0e4adf: Pulling fs layer [2021-11-17T11:13:14.224Z] c2d8d7efcc4b: Pulling fs layer [2021-11-17T11:13:14.224Z] 8603b9c90790: Waiting [2021-11-17T11:13:14.224Z] 1560dd03e051: Waiting [2021-11-17T11:13:14.224Z] 27f5ce0e4adf: Waiting [2021-11-17T11:13:14.224Z] c2d8d7efcc4b: Waiting [2021-11-17T11:13:14.224Z] f757da607395: Verifying Checksum [2021-11-17T11:13:14.224Z] f757da607395: Download complete [2021-11-17T11:13:14.224Z] 8603b9c90790: Verifying Checksum [2021-11-17T11:13:14.224Z] 8603b9c90790: Download complete [2021-11-17T11:13:14.224Z] 1560dd03e051: Verifying Checksum [2021-11-17T11:13:14.224Z] 1560dd03e051: Download complete [2021-11-17T11:13:14.499Z] 27f5ce0e4adf: Verifying Checksum [2021-11-17T11:13:14.499Z] 27f5ce0e4adf: Download complete [2021-11-17T11:13:14.499Z] 05883995daec: Verifying Checksum [2021-11-17T11:13:14.499Z] 05883995daec: Download complete [2021-11-17T11:13:14.773Z] 448f6bf000e3: Verifying Checksum [2021-11-17T11:13:14.773Z] 448f6bf000e3: Download complete [2021-11-17T11:13:17.401Z] c2d8d7efcc4b: Verifying Checksum [2021-11-17T11:13:17.401Z] c2d8d7efcc4b: Download complete [2021-11-17T11:13:18.382Z] 448f6bf000e3: Pull complete [2021-11-17T11:13:18.978Z] f757da607395: Pull complete [2021-11-17T11:13:20.415Z] 05883995daec: Pull complete [2021-11-17T11:13:20.688Z] 8603b9c90790: Pull complete [2021-11-17T11:13:21.670Z] 1560dd03e051: Pull complete [2021-11-17T11:13:21.942Z] 27f5ce0e4adf: Pull complete [2021-11-17T11:13:37.020Z] c2d8d7efcc4b: Pull complete [2021-11-17T11:13:37.020Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-17T11:13:37.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T11:13:37.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-17T11:13:37.254Z] prd-ubuntu18.04-docker-arm64-4c-16g-949 does not seem to be running inside a container [2021-11-17T11:13:37.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-17T11:13:40.176Z] $ docker top 09ad55c958fefcd5cf8aef8d42a10edac2a3b7f62e84884ddb95f4e4a06415e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:13:41.122Z] ---> job-cost.sh [2021-11-17T11:13:41.122Z] lf-activate-venv: SKIPPING [2021-11-17T11:13:41.122Z] INFO: No Stack... [2021-11-17T11:13:41.393Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-17T11:13:41.989Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T11:13:42.647Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2021-11-17T11:13:42.647Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T11:13:42.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-3-stack-cost] [2021-11-17T11:13:42.714Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-146-3-stack-cost] did not exist. Created. [2021-11-17T11:13:42.714Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T11:13:43.387Z] /w/workspace/device-rest-go/3@tmp/durable-e8e412cb/script.sh: 1: /w/workspace/device-rest-go/3@tmp/durable-e8e412cb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-17T11:13:44.051Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-17T11:13:44.073Z] Warning: overwriting stash ‘stack-cost’ [2021-11-17T11:13:44.118Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T11:13:44.124Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T11:13:44.134Z] $ docker stop --time=1 09ad55c958fefcd5cf8aef8d42a10edac2a3b7f62e84884ddb95f4e4a06415e8 [2021-11-17T11:13:45.707Z] $ docker rm -f 09ad55c958fefcd5cf8aef8d42a10edac2a3b7f62e84884ddb95f4e4a06415e8 [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 [2021-11-17T11:13:46.354Z] provisioning config files... [2021-11-17T11:13:46.362Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config4770050589583684552tmp [Pipeline] { [Pipeline] sh [2021-11-17T11:13:46.666Z] + set +x [2021-11-17T11:13:46.666Z] + curl -s https://codecov.io/bash [2021-11-17T11:13:46.666Z] + bash -s -- [2021-11-17T11:13:46.666Z] [2021-11-17T11:13:46.666Z] _____ _ [2021-11-17T11:13:46.666Z] / ____| | | [2021-11-17T11:13:46.666Z] | | ___ __| | ___ ___ _____ __ [2021-11-17T11:13:46.666Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-17T11:13:46.666Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-17T11:13:46.666Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-17T11:13:46.666Z] Bash-1.0.6 [2021-11-17T11:13:46.666Z] [2021-11-17T11:13:46.666Z] [2021-11-17T11:13:46.666Z] ==> git version 2.24.4 found [2021-11-17T11:13:46.666Z] ==> 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 [2021-11-17T11:13:46.666Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-17T11:13:46.666Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-17T11:13:46.666Z] ==> Jenkins CI detected. [2021-11-17T11:13:46.666Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T11:13:46.666Z] project root: . [2021-11-17T11:13:46.666Z] --> token set from env [2021-11-17T11:13:46.666Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-17T11:13:46.666Z] ==> Running gcov in . (disable via -X gcov) [2021-11-17T11:13:46.666Z] ==> Python coveragepy not found [2021-11-17T11:13:46.666Z] ==> Searching for coverage reports in: [2021-11-17T11:13:46.666Z] + . [2021-11-17T11:13:46.666Z] -> Found 1 reports [2021-11-17T11:13:46.666Z] ==> Detecting git/mercurial file structure [2021-11-17T11:13:46.666Z] ==> Reading reports [2021-11-17T11:13:46.666Z] + ./coverage.out bytes=9215 [2021-11-17T11:13:46.666Z] ==> Appending adjustments [2021-11-17T11:13:46.666Z] https://docs.codecov.io/docs/fixing-reports [2021-11-17T11:13:46.928Z] + Found adjustments [2021-11-17T11:13:46.928Z] ==> Gzipping contents [2021-11-17T11:13:46.928Z] 4.0K /tmp/codecov.RFwWfE.gz [2021-11-17T11:13:46.928Z] ==> Uploading reports [2021-11-17T11:13:46.928Z] url: https://codecov.io [2021-11-17T11:13:46.928Z] query: branch=PR-146&commit=1941e3630abaae09606c5ad1af3cca3f79fef641&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= [2021-11-17T11:13:46.928Z] -> Pinging Codecov [2021-11-17T11:13:46.928Z] 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=1941e3630abaae09606c5ad1af3cca3f79fef641&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= [2021-11-17T11:13:47.188Z] -> Uploading to [2021-11-17T11:13:47.188Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-17/4E5D53B4F1F92C436F7061BF334D961C/1941e3630abaae09606c5ad1af3cca3f79fef641/ff4d4ab5-5de6-46ff-803b-ad48b803d303.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211117T111346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=518027b635148e559d53e083e8cbd36fbb9ecfdb02565dc596b35f07269b13d3 [2021-11-17T11:13:47.188Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T11:13:47.188Z] Dload Upload Total Spent Left Speed [2021-11-17T11:13:47.449Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 4658 --:--:-- --:--:-- --:--:-- 4663 [2021-11-17T11:13:47.449Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/1941e3630abaae09606c5ad1af3cca3f79fef641 [Pipeline] } [2021-11-17T11:13:47.458Z] 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 [2021-11-17T11:13:48.695Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-146/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:13:49.007Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:13:49.567Z] ---> package-listing.sh [2021-11-17T11:13:49.567Z] ++ facter osfamily [2021-11-17T11:13:49.567Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-17T11:13:49.830Z] + OS_FAMILY=redhat [2021-11-17T11:13:49.830Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T11:13:49.830Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-17T11:13:49.830Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-17T11:13:49.830Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-17T11:13:49.830Z] + PACKAGES=/tmp/packages_start.txt [2021-11-17T11:13:49.830Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' [2021-11-17T11:13:49.830Z] + PACKAGES=/tmp/packages_end.txt [2021-11-17T11:13:49.830Z] + case "${OS_FAMILY}" in [2021-11-17T11:13:49.830Z] + rpm -qa [2021-11-17T11:13:49.830Z] + sort [2021-11-17T11:13:50.403Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-17T11:13:50.403Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-17T11:13:50.403Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-17T11:13:50.403Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' [2021-11-17T11:13:50.403Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-146/archives/ [2021-11-17T11:13:50.403Z] + 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 [2021-11-17T11:13:50.420Z] 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 [2021-11-17T11:13:50.702Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:13:51.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:13:51.276Z] [2021-11-17T11:13:51.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:13:51.584Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:13:51.584Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T11:13:51.584Z] b4d181a07f80: Pulling fs layer [2021-11-17T11:13:51.584Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T11:13:51.584Z] ed53099fbce6: Pulling fs layer [2021-11-17T11:13:51.584Z] dc539afda2c1: Pulling fs layer [2021-11-17T11:13:51.584Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T11:13:51.584Z] 9065ff56babe: Pulling fs layer [2021-11-17T11:13:51.584Z] d287ab97295c: Pulling fs layer [2021-11-17T11:13:51.584Z] dc539afda2c1: Waiting [2021-11-17T11:13:51.584Z] 77bc0d833cb6: Waiting [2021-11-17T11:13:51.584Z] 9065ff56babe: Waiting [2021-11-17T11:13:51.584Z] d287ab97295c: Waiting [2021-11-17T11:13:51.584Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T11:13:51.584Z] a1111a8f2ec3: Download complete [2021-11-17T11:13:51.584Z] dc539afda2c1: Verifying Checksum [2021-11-17T11:13:51.584Z] dc539afda2c1: Download complete [2021-11-17T11:13:51.854Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T11:13:51.854Z] 77bc0d833cb6: Download complete [2021-11-17T11:13:51.854Z] 9065ff56babe: Verifying Checksum [2021-11-17T11:13:51.854Z] 9065ff56babe: Download complete [2021-11-17T11:13:51.854Z] ed53099fbce6: Verifying Checksum [2021-11-17T11:13:51.854Z] ed53099fbce6: Download complete [2021-11-17T11:13:51.854Z] b4d181a07f80: Verifying Checksum [2021-11-17T11:13:51.854Z] b4d181a07f80: Download complete [2021-11-17T11:13:52.451Z] d287ab97295c: Verifying Checksum [2021-11-17T11:13:52.451Z] d287ab97295c: Download complete [2021-11-17T11:13:53.409Z] b4d181a07f80: Pull complete [2021-11-17T11:13:53.409Z] a1111a8f2ec3: Pull complete [2021-11-17T11:13:53.992Z] ed53099fbce6: Pull complete [2021-11-17T11:13:53.992Z] dc539afda2c1: Pull complete [2021-11-17T11:13:54.575Z] 77bc0d833cb6: Pull complete [2021-11-17T11:13:54.575Z] 9065ff56babe: Pull complete [2021-11-17T11:13:59.910Z] d287ab97295c: Pull complete [2021-11-17T11:13:59.910Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T11:13:59.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:13:59.910Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T11:13:59.978Z] prd-centos7-docker-4c-2g-948 does not seem to be running inside a container [2021-11-17T11:14:00.015Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-146 -v /w/workspace/gexfoundry_device-rest-go_PR-146:/w/workspace/gexfoundry_device-rest-go_PR-146:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-146@tmp:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T11:14:02.758Z] $ docker top 202a8508f76afa6b8a4430c5adaae7feaba08ca0fcabe0edd582ae21461977d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T11:14:03.108Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-17T11:14:03.406Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-17T11:14:03.709Z] + ls /var/log/sa-host [2021-11-17T11:14:03.709Z] + sadf -c /var/log/sa-host/sa17 [2021-11-17T11:14:03.709Z] file_magic: OK [2021-11-17T11:14:03.709Z] HZ: Using current value: 100 [2021-11-17T11:14:03.709Z] file_header: OK [2021-11-17T11:14:03.709Z] 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 [2021-11-17T11:14:03.709Z] Statistics: [2021-11-17T11:14:03.709Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T11:14:03.709Z] File successfully converted to sysstat format version 12.0.3 [2021-11-17T11:14:03.709Z] + sadf -c /var/log/sa-host/sa30 [2021-11-17T11:14:03.709Z] file_magic: OK [2021-11-17T11:14:03.709Z] HZ: Using current value: 100 [2021-11-17T11:14:03.709Z] file_header: OK [2021-11-17T11:14:03.709Z] 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 [2021-11-17T11:14:03.709Z] Statistics: [2021-11-17T11:14:03.709Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T11:14:03.709Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:14:04.970Z] provisioning config files... [2021-11-17T11:14:04.980Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config5585767723216196127tmp [Pipeline] { [Pipeline] echo [2021-11-17T11:14:04.999Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:14:05.294Z] ---> create-netrc.sh [Pipeline] } [2021-11-17T11:14:05.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:14:05.649Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-17T11:14:05.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:14:05.951Z] ---> sudo-logs.sh [2021-11-17T11:14:05.951Z] Archiving 'sudo' log.. [2021-11-17T11:14:05.951Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-948.novalocal: Name or service not known [2021-11-17T11:14:05.951Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-948.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-17T11:14:05.980Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:14:06.273Z] ---> job-cost.sh [2021-11-17T11:14:06.273Z] lf-activate-venv: SKIPPING [2021-11-17T11:14:06.273Z] DEBUG: total: 0.10999999940395355 [2021-11-17T11:14:06.273Z] INFO: Retrieving Stack Cost... [2021-11-17T11:14:06.533Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T11:14:06.793Z] INFO: Archiving Costs [Pipeline] echo [2021-11-17T11:14:06.804Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:14:07.106Z] ---> logs-deploy.sh [2021-11-17T11:14:07.106Z] lf-activate-venv: SKIPPING [2021-11-17T11:14:07.106Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-146/3 [2021-11-17T11:14:07.106Z] INFO: archiving workspace using pattern(s): [2021-11-17T11:14:07.687Z] Archives upload complete. [2021-11-17T11:14:07.948Z] INFO: archiving logs to Nexus