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 0360482d07a1081c93c83dbef0c3950328d2281a 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-ssh6654812792625941430.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-ssh5822234638421793482.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-ssh2439374028895482110.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-ssh2355330972489794650.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-ssh6806624411120402706.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-951 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-ssh7184810273220160155.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-ssh4887060306051158254.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 0360482d07a1081c93c83dbef0c3950328d2281a Merge succeeded, producing 0360482d07a1081c93c83dbef0c3950328d2281a Checking out Revision 0360482d07a1081c93c83dbef0c3950328d2281a (PR-146) > git config core.sparsecheckout # timeout=10 > git checkout -f 0360482d07a1081c93c83dbef0c3950328d2281a # 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-ssh46492949464690336.key > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0360482d07a1081c93c83dbef0c3950328d2281a # timeout=10 Commit message: "docs(snap): update snap/README's format" > git rev-list --no-walk 1941e3630abaae09606c5ad1af3cca3f79fef641 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-17T11:14:03.599Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-17T11:14:03.651Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-17T11:14:03.664Z] ========================================================= [2021-11-17T11:14:03.664Z] EdgeX Global Pipelines Version Info [2021-11-17T11:14:03.664Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:14:05.793Z] ------------------- [2021-11-17T11:14:05.793Z] stable info: [2021-11-17T11:14:05.793Z] ------------------- [2021-11-17T11:14:05.793Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-17T11:14:05.793Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T11:14:05.793Z] Message: update stable to v1.0.215 [2021-11-17T11:14:06.363Z] ------------------- [2021-11-17T11:14:06.363Z] experimental info: [2021-11-17T11:14:06.363Z] ------------------- [2021-11-17T11:14:06.363Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-17T11:14:06.363Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T11:14:06.363Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-17T11:14:06.440Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-17T11:14:06.454Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-17T11:14:06.466Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-17T11:14:06.479Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-17T11:14:06.493Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-17T11:14:06.504Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-17T11:14:06.515Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-17T11:14:06.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-17T11:14:06.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-17T11:14:06.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-17T11:14:06.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-17T11:14:06.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-17T11:14:06.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-17T11:14:06.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-17T11:14:06.610Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T11:14:06.622Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T11:14:06.635Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T11:14:06.646Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T11:14:06.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-17T11:14:06.670Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-17T11:14:06.681Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-17T11:14:06.692Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-17T11:14:06.703Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-17T11:14:06.713Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-17T11:14:06.721Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-17T11:14:06.729Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-17T11:14:06.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo [2021-11-17T11:14:06.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo [2021-11-17T11:14:06.764Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo [2021-11-17T11:14:06.774Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0360482d07a1081c93c83dbef0c3950328d2281a [Pipeline] echo [2021-11-17T11:14:06.785Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0360482 [Pipeline] echo [2021-11-17T11:14:06.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:14:06.835Z] provisioning config files... [2021-11-17T11:14:06.846Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config5668616407501188775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:14:07.154Z] ---> docker-login.sh [2021-11-17T11:14:07.154Z] nexus3.edgexfoundry.org:10001 [2021-11-17T11:14:07.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:14:07.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:14:07.414Z] Configure a credential helper to remove this warning. See [2021-11-17T11:14:07.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:14:07.414Z] [2021-11-17T11:14:07.415Z] Login Succeeded [2021-11-17T11:14:07.415Z] nexus3.edgexfoundry.org:10002 [2021-11-17T11:14:07.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:14:07.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:14:07.415Z] Configure a credential helper to remove this warning. See [2021-11-17T11:14:07.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:14:07.415Z] [2021-11-17T11:14:07.415Z] Login Succeeded [2021-11-17T11:14:07.415Z] nexus3.edgexfoundry.org:10003 [2021-11-17T11:14:07.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:14:07.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:14:07.676Z] Configure a credential helper to remove this warning. See [2021-11-17T11:14:07.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:14:07.676Z] [2021-11-17T11:14:07.676Z] Login Succeeded [2021-11-17T11:14:07.676Z] nexus3.edgexfoundry.org:10004 [2021-11-17T11:14:07.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:14:07.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:14:07.676Z] Configure a credential helper to remove this warning. See [2021-11-17T11:14:07.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:14:07.676Z] [2021-11-17T11:14:07.676Z] Login Succeeded [2021-11-17T11:14:07.676Z] docker.io [2021-11-17T11:14:07.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:14:08.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:14:08.251Z] Configure a credential helper to remove this warning. See [2021-11-17T11:14:08.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:14:08.251Z] [2021-11-17T11:14:08.251Z] Login Succeeded [2021-11-17T11:14:08.251Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T11:14:08.259Z] 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:14:08.697Z] + git rev-list -1 --merges 0360482d07a1081c93c83dbef0c3950328d2281a~1..0360482d07a1081c93c83dbef0c3950328d2281a [Pipeline] echo [2021-11-17T11:14:08.741Z] -----------> git rev-list -1 --merges 0360482d07a1081c93c83dbef0c3950328d2281a~1..0360482d07a1081c93c83dbef0c3950328d2281a 0360482d07a1081c93c83dbef0c3950328d2281a [false] [Pipeline] sh [2021-11-17T11:14:09.050Z] + git log --format=format:%s -1 0360482d07a1081c93c83dbef0c3950328d2281a [Pipeline] echo [2021-11-17T11:14:09.067Z] ========================================================= [2021-11-17T11:14:09.067Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-17T11:14:09.067Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T11:14:09.396Z] + git log --format=format:%s -1 0360482d07a1081c93c83dbef0c3950328d2281a [Pipeline] echo [2021-11-17T11:14:09.409Z] [semverPrep] GIT_COMMIT: 0360482d07a1081c93c83dbef0c3950328d2281a, Commit Message: docs(snap): update snap/README's format [Pipeline] echo [2021-11-17T11:14:09.418Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:14:09.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T11:14:09.832Z] [2021-11-17T11:14:09.832Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:14:10.136Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T11:14:10.136Z] latest: Pulling from edgex-devops/git-semver [2021-11-17T11:14:10.136Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T11:14:10.136Z] 3e5f54012d9b: Pulling fs layer [2021-11-17T11:14:10.136Z] 4c7163046ea9: Pulling fs layer [2021-11-17T11:14:10.136Z] 0c2d73faf560: Pulling fs layer [2021-11-17T11:14:10.136Z] 0c2d73faf560: Waiting [2021-11-17T11:14:10.136Z] 3e5f54012d9b: Verifying Checksum [2021-11-17T11:14:10.136Z] 3e5f54012d9b: Download complete [2021-11-17T11:14:10.136Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T11:14:10.136Z] a0d0a0d46f8b: Download complete [2021-11-17T11:14:10.136Z] 0c2d73faf560: Verifying Checksum [2021-11-17T11:14:10.136Z] 0c2d73faf560: Download complete [2021-11-17T11:14:10.136Z] 4c7163046ea9: Verifying Checksum [2021-11-17T11:14:10.136Z] 4c7163046ea9: Download complete [2021-11-17T11:14:10.409Z] a0d0a0d46f8b: Pull complete [2021-11-17T11:14:10.409Z] 3e5f54012d9b: Pull complete [2021-11-17T11:14:10.670Z] 4c7163046ea9: Pull complete [2021-11-17T11:14:10.932Z] 0c2d73faf560: Pull complete [2021-11-17T11:14:10.932Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-17T11:14:10.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T11:14:10.932Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-17T11:14:10.996Z] prd-centos7-docker-4c-2g-951 does not seem to be running inside a container [2021-11-17T11:14:11.038Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T11:14:11.689Z] $ docker top a6dd9f1f2658ff6c5697ff775c8a8630ec2f0b1102c8bc66c2c5172f6408986f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T11:14:11.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T11:14:11.787Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T11:14:11.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T11:14:11.895Z] $ docker exec a6dd9f1f2658ff6c5697ff775c8a8630ec2f0b1102c8bc66c2c5172f6408986f ssh-agent [2021-11-17T11:14:11.993Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMAdcde/agent.14 [2021-11-17T11:14:11.993Z] SSH_AGENT_PID=21 [2021-11-17T11:14:12.000Z] Running ssh-add (command line suppressed) [2021-11-17T11:14:12.090Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_1322205621936122309.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_1322205621936122309.key) [2021-11-17T11:14:12.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T11:14:12.400Z] + git tag --points-at HEAD [Pipeline] } [2021-11-17T11:14:12.414Z] $ docker exec --env ******** --env ******** a6dd9f1f2658ff6c5697ff775c8a8630ec2f0b1102c8bc66c2c5172f6408986f ssh-agent -k [2021-11-17T11:14:12.521Z] unset SSH_AUTH_SOCK; [2021-11-17T11:14:12.521Z] unset SSH_AGENT_PID; [2021-11-17T11:14:12.521Z] echo Agent pid 21 killed; [2021-11-17T11:14:12.531Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-17T11:14:12.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T11:14:12.557Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T11:14:12.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T11:14:12.676Z] $ docker exec a6dd9f1f2658ff6c5697ff775c8a8630ec2f0b1102c8bc66c2c5172f6408986f ssh-agent [2021-11-17T11:14:12.782Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXObELgG/agent.54 [2021-11-17T11:14:12.782Z] SSH_AGENT_PID=60 [2021-11-17T11:14:12.788Z] Running ssh-add (command line suppressed) [2021-11-17T11:14:12.894Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_4298552735322897115.key (/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/private_key_4298552735322897115.key) [2021-11-17T11:14:12.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T11:14:13.203Z] + git semver init [2021-11-17T11:14:13.203Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T11:14:13.203Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.git [2021-11-17T11:14:13.203Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T11:14:13.203Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T11:14:13.203Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T11:14:13.203Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T11:14:13.203Z] # $SEMVER_BRANCH = PR-146 [2021-11-17T11:14:13.203Z] # $SEMVER_TEMP = /tmp/semver-831396138 [2021-11-17T11:14:13.203Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-17T11:14:13.203Z] # -> Clone(): ssh: handshake failed: knownhosts: key mismatch [2021-11-17T11:14:13.203Z] # git init /tmp/semver-831396138 [2021-11-17T11:14:13.203Z] # '/tmp/semver-831396138' -> '/w/workspace/gexfoundry_device-rest-go_PR-146/.semver' [2021-11-17T11:14:13.203Z] # -> Force: false [2021-11-17T11:14:13.203Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-146/.semver [Pipeline] } [2021-11-17T11:14:13.216Z] $ docker exec --env ******** --env ******** a6dd9f1f2658ff6c5697ff775c8a8630ec2f0b1102c8bc66c2c5172f6408986f ssh-agent -k [2021-11-17T11:14:13.311Z] unset SSH_AUTH_SOCK; [2021-11-17T11:14:13.311Z] unset SSH_AGENT_PID; [2021-11-17T11:14:13.311Z] echo Agent pid 60 killed; [2021-11-17T11:14:13.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T11:14:13.623Z] + git semver [Pipeline] } [2021-11-17T11:14:13.636Z] $ docker stop --time=1 a6dd9f1f2658ff6c5697ff775c8a8630ec2f0b1102c8bc66c2c5172f6408986f [2021-11-17T11:14:14.832Z] $ docker rm -f a6dd9f1f2658ff6c5697ff775c8a8630ec2f0b1102c8bc66c2c5172f6408986f [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T11:14:15.172Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-17T11:14:15.424Z] Stashed 1 file(s) [Pipeline] echo [2021-11-17T11:14:15.427Z] [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:14:30.558Z] Still waiting to schedule task [2021-11-17T11:14:30.558Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-17T11:14:30.560Z] Still waiting to schedule task [2021-11-17T11:14:30.560Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-949’ is offline [2021-11-17T11:15:44.108Z] Running on prd-centos7-docker-4c-2g-953 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws [2021-11-17T11:15:44.118Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-11-17T11:15:44.219Z] The recommended git tool is: git [2021-11-17T11:15:46.085Z] using credential edgex-jenkins-ssh [2021-11-17T11:15:46.100Z] Cloning the remote Git repository [2021-11-17T11:15:45.720Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:15:45.771Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-11-17T11:15:45.805Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:15:45.806Z] > git --version # timeout=10 [2021-11-17T11:15:45.813Z] > git --version # 'git version 2.24.4' [2021-11-17T11:15:45.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:15:45.836Z] [INFO] Currently running in a labeled security context [2021-11-17T11:15:45.836Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T11:15:45.836Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh8678695672133366554.key [2021-11-17T11:15:45.867Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:15:46.746Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:15:46.757Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:15:46.771Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:15:46.789Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:15:46.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:15:46.790Z] [INFO] Currently running in a labeled security context [2021-11-17T11:15:46.790Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T11:15:46.790Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh2867791191576525880.key [2021-11-17T11:15:46.794Z] > 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:15:47.750Z] Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit 0360482d07a1081c93c83dbef0c3950328d2281a [2021-11-17T11:15:47.840Z] Merge succeeded, producing 0360482d07a1081c93c83dbef0c3950328d2281a [2021-11-17T11:15:47.840Z] Checking out Revision 0360482d07a1081c93c83dbef0c3950328d2281a (PR-146) [2021-11-17T11:15:47.357Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:15:47.368Z] > git checkout -f 0360482d07a1081c93c83dbef0c3950328d2281a # timeout=10 [2021-11-17T11:15:47.395Z] > git remote # timeout=10 [2021-11-17T11:15:47.404Z] > git config --get remote.origin.url # timeout=10 [2021-11-17T11:15:47.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:15:47.413Z] [INFO] Currently running in a labeled security context [2021-11-17T11:15:47.413Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T11:15:47.413Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh7601775437476344650.key [2021-11-17T11:15:47.419Z] > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-17T11:15:47.430Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-17T11:15:47.443Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:15:47.448Z] > git checkout -f 0360482d07a1081c93c83dbef0c3950328d2281a # timeout=10 [2021-11-17T11:15:51.436Z] Commit message: "docs(snap): update snap/README's format" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:15:51.790Z] provisioning config files... [2021-11-17T11:15:51.803Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config1682019661069454608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:15:52.192Z] ---> docker-login.sh [2021-11-17T11:15:52.192Z] nexus3.edgexfoundry.org:10001 [2021-11-17T11:15:52.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:15:52.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:15:52.454Z] Configure a credential helper to remove this warning. See [2021-11-17T11:15:52.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:15:52.454Z] [2021-11-17T11:15:52.454Z] Login Succeeded [2021-11-17T11:15:52.454Z] nexus3.edgexfoundry.org:10002 [2021-11-17T11:15:52.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:15:52.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:15:52.454Z] Configure a credential helper to remove this warning. See [2021-11-17T11:15:52.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:15:52.454Z] [2021-11-17T11:15:52.454Z] Login Succeeded [2021-11-17T11:15:52.454Z] nexus3.edgexfoundry.org:10003 [2021-11-17T11:15:52.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:15:52.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:15:52.714Z] Configure a credential helper to remove this warning. See [2021-11-17T11:15:52.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:15:52.714Z] [2021-11-17T11:15:52.714Z] Login Succeeded [2021-11-17T11:15:52.714Z] nexus3.edgexfoundry.org:10004 [2021-11-17T11:15:52.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:15:52.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:15:52.714Z] Configure a credential helper to remove this warning. See [2021-11-17T11:15:52.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:15:52.714Z] [2021-11-17T11:15:52.714Z] Login Succeeded [2021-11-17T11:15:52.714Z] docker.io [2021-11-17T11:15:52.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:15:53.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:15:53.285Z] Configure a credential helper to remove this warning. See [2021-11-17T11:15:53.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:15:53.285Z] [2021-11-17T11:15:53.285Z] Login Succeeded [2021-11-17T11:15:53.285Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T11:15:53.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T11:15:53.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T11:15:53.462Z] ========================================================= [2021-11-17T11:15:53.462Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-17T11:15:53.462Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:15:53.763Z] + 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:15:53.763Z] Sending build context to Docker daemon 121.9kB [2021-11-17T11:15:53.763Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:15:53.763Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T11:15:53.763Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-17T11:15:53.763Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T11:15:53.763Z] 31adcdaf11c8: Pulling fs layer [2021-11-17T11:15:53.763Z] b8b176561691: Pulling fs layer [2021-11-17T11:15:53.763Z] 4527c011a84f: Pulling fs layer [2021-11-17T11:15:53.763Z] 5d74067f8e1e: Pulling fs layer [2021-11-17T11:15:53.763Z] e0aca202a116: Pulling fs layer [2021-11-17T11:15:53.763Z] 3a43be97a3b4: Pulling fs layer [2021-11-17T11:15:53.763Z] 34cad66bf833: Pulling fs layer [2021-11-17T11:15:53.763Z] b4e3c513aaa6: Pulling fs layer [2021-11-17T11:15:53.763Z] e0aca202a116: Waiting [2021-11-17T11:15:53.763Z] 3a43be97a3b4: Waiting [2021-11-17T11:15:53.763Z] 34cad66bf833: Waiting [2021-11-17T11:15:53.763Z] b4e3c513aaa6: Waiting [2021-11-17T11:15:53.763Z] 4527c011a84f: Waiting [2021-11-17T11:15:53.763Z] 5d74067f8e1e: Waiting [2021-11-17T11:15:53.763Z] b8b176561691: Verifying Checksum [2021-11-17T11:15:53.763Z] b8b176561691: Download complete [2021-11-17T11:15:53.763Z] 31adcdaf11c8: Download complete [2021-11-17T11:15:53.763Z] 5d74067f8e1e: Verifying Checksum [2021-11-17T11:15:53.763Z] 5d74067f8e1e: Download complete [2021-11-17T11:15:53.763Z] e0aca202a116: Verifying Checksum [2021-11-17T11:15:53.763Z] e0aca202a116: Download complete [2021-11-17T11:15:54.032Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T11:15:54.032Z] a0d0a0d46f8b: Download complete [2021-11-17T11:15:54.032Z] 3a43be97a3b4: Verifying Checksum [2021-11-17T11:15:54.032Z] 3a43be97a3b4: Download complete [2021-11-17T11:15:54.032Z] 34cad66bf833: Verifying Checksum [2021-11-17T11:15:54.032Z] 34cad66bf833: Download complete [2021-11-17T11:15:54.302Z] a0d0a0d46f8b: Pull complete [2021-11-17T11:15:54.564Z] 4527c011a84f: Verifying Checksum [2021-11-17T11:15:54.564Z] 4527c011a84f: Download complete [2021-11-17T11:15:54.564Z] b4e3c513aaa6: Verifying Checksum [2021-11-17T11:15:54.564Z] b4e3c513aaa6: Download complete [2021-11-17T11:15:54.564Z] 31adcdaf11c8: Pull complete [2021-11-17T11:15:54.564Z] b8b176561691: Pull complete [2021-11-17T11:15:58.831Z] 4527c011a84f: Pull complete [2021-11-17T11:15:58.831Z] 5d74067f8e1e: Pull complete [2021-11-17T11:15:58.831Z] e0aca202a116: Pull complete [2021-11-17T11:15:58.831Z] 3a43be97a3b4: Pull complete [2021-11-17T11:15:58.831Z] 34cad66bf833: Pull complete [2021-11-17T11:16:00.405Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-952 in /w/workspace/gexfoundry_device-rest-go_PR-146 [Pipeline] { [Pipeline] ws [2021-11-17T11:16:00.414Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-11-17T11:16:00.644Z] The recommended git tool is: git [2021-11-17T11:16:01.399Z] b4e3c513aaa6: Pull complete [2021-11-17T11:16:01.399Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-17T11:16:01.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-17T11:16:01.399Z] ---> 9f6097aaca64 [2021-11-17T11:16:01.399Z] Step 3/11 : ARG MAKE='make build' [2021-11-17T11:16:04.703Z] ---> Running in cddb25c771a9 [2021-11-17T11:16:04.965Z] Removing intermediate container cddb25c771a9 [2021-11-17T11:16:04.965Z] ---> 92b4a45ea6f4 [2021-11-17T11:16:04.965Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:16:04.965Z] ---> Running in 9fd12aca8e2b [2021-11-17T11:16:04.965Z] Removing intermediate container 9fd12aca8e2b [2021-11-17T11:16:04.965Z] ---> f90f93c92463 [2021-11-17T11:16:04.965Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:16:04.965Z] ---> Running in 6e91fdd8f77a [2021-11-17T11:16:05.227Z] Removing intermediate container 6e91fdd8f77a [2021-11-17T11:16:05.227Z] ---> bef6176af2d0 [2021-11-17T11:16:05.227Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:16:05.227Z] ---> Running in 8106b94045d2 [2021-11-17T11:16:05.496Z] Removing intermediate container 8106b94045d2 [2021-11-17T11:16:05.496Z] ---> 6c3951474842 [2021-11-17T11:16:05.496Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:16:05.496Z] ---> Running in 82682182b057 [2021-11-17T11:16:05.757Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T11:16:05.989Z] using credential edgex-jenkins-ssh [2021-11-17T11:16:06.005Z] Cloning the remote Git repository [2021-11-17T11:16:06.697Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T11:16:06.053Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:16:06.146Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-11-17T11:16:06.253Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:16:06.254Z] > git --version # timeout=10 [2021-11-17T11:16:06.276Z] > git --version # 'git version 2.17.1' [2021-11-17T11:16:06.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:16:06.368Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:16:06.956Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T11:16:06.956Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T11:16:07.215Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T11:16:07.215Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T11:16:07.215Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T11:16:07.215Z] OK: 224 MiB in 56 packages [2021-11-17T11:16:07.787Z] Removing intermediate container 82682182b057 [2021-11-17T11:16:07.787Z] ---> d76f81e5a105 [2021-11-17T11:16:07.787Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-17T11:16:07.787Z] ---> Running in e5c2acb70aac [2021-11-17T11:16:07.787Z] Removing intermediate container e5c2acb70aac [2021-11-17T11:16:07.787Z] ---> 1529f92fb5ae [2021-11-17T11:16:07.787Z] Step 9/11 : COPY . . [2021-11-17T11:16:07.787Z] ---> e9c732cbbdb7 [2021-11-17T11:16:07.787Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:16:07.932Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:16:07.951Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T11:16:07.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T11:16:08.052Z] ---> Running in b226a6fefcad [2021-11-17T11:16:08.761Z] Merging remotes/origin/main commit 7759c41568adf15208c0dd5cadcdb8f87895acd8 into PR head commit 0360482d07a1081c93c83dbef0c3950328d2281a [2021-11-17T11:16:08.979Z] Merge succeeded, producing 0360482d07a1081c93c83dbef0c3950328d2281a [2021-11-17T11:16:08.980Z] Checking out Revision 0360482d07a1081c93c83dbef0c3950328d2281a (PR-146) [2021-11-17T11:16:08.027Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T11:16:08.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:16:08.039Z] > 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:16:08.778Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:16:08.799Z] > git checkout -f 0360482d07a1081c93c83dbef0c3950328d2281a # timeout=10 [2021-11-17T11:16:08.895Z] > git remote # timeout=10 [2021-11-17T11:16:08.912Z] > git config --get remote.origin.url # timeout=10 [2021-11-17T11:16:08.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T11:16:08.938Z] > git merge 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-17T11:16:08.963Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-17T11:16:08.982Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T11:16:09.000Z] > git checkout -f 0360482d07a1081c93c83dbef0c3950328d2281a # timeout=10 [2021-11-17T11:16:13.180Z] Commit message: "docs(snap): update snap/README's format" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T11:16:13.988Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-17T11:16:13.988Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T11:16:13.988Z] Dload Upload Total Spent Left Speed [2021-11-17T11:16:13.988Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 80986 0 --:--:-- --:--:-- --:--:-- 80986 [Pipeline] sh [2021-11-17T11:16:14.408Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-17T11:16:14.755Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-17T11:16:14.755Z] + sudo tee /etc/docker/daemon.new [2021-11-17T11:16:14.755Z] { [2021-11-17T11:16:14.755Z] "registry-mirrors": [ [2021-11-17T11:16:14.755Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-17T11:16:14.755Z] ], [2021-11-17T11:16:14.755Z] "bip": "10.250.0.254/24", [2021-11-17T11:16:14.755Z] "hosts": [ [2021-11-17T11:16:14.755Z] "tcp://0.0.0.0:5555", [2021-11-17T11:16:14.755Z] "unix:///var/run/docker.sock" [2021-11-17T11:16:14.755Z] ], [2021-11-17T11:16:14.755Z] "mtu": 1458, [2021-11-17T11:16:14.755Z] "selinux-enabled": true, [2021-11-17T11:16:14.755Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-17T11:16:14.755Z] } [Pipeline] sh [2021-11-17T11:16:15.106Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-17T11:16:15.452Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:16:33.797Z] provisioning config files... [2021-11-17T11:16:33.821Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config5827512984375386201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:16:34.177Z] ---> docker-login.sh [2021-11-17T11:16:34.177Z] nexus3.edgexfoundry.org:10001 [2021-11-17T11:16:34.727Z] Removing intermediate container b226a6fefcad [2021-11-17T11:16:34.727Z] ---> 5f2ca56ad1c7 [2021-11-17T11:16:34.727Z] Step 11/11 : RUN $MAKE [2021-11-17T11:16:34.727Z] ---> Running in 463ac4b71d85 [2021-11-17T11:16:34.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:16:34.994Z] noop [2021-11-17T11:16:35.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:16:35.058Z] Configure a credential helper to remove this warning. See [2021-11-17T11:16:35.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:16:35.058Z] [2021-11-17T11:16:35.058Z] Login Succeeded [2021-11-17T11:16:35.058Z] nexus3.edgexfoundry.org:10002 [2021-11-17T11:16:35.260Z] Removing intermediate container 463ac4b71d85 [2021-11-17T11:16:35.260Z] ---> 365cc3a7f1f4 [2021-11-17T11:16:35.260Z] Successfully built 365cc3a7f1f4 [2021-11-17T11:16:35.260Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:16:35.559Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T11:16:35.559Z] . [Pipeline] withDockerContainer [2021-11-17T11:16:35.634Z] prd-centos7-docker-4c-2g-953 does not seem to be running inside a container [2021-11-17T11:16:35.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:16:35.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:16:35.654Z] Configure a credential helper to remove this warning. See [2021-11-17T11:16:35.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:16:35.654Z] [2021-11-17T11:16:35.654Z] Login Succeeded [2021-11-17T11:16:35.654Z] nexus3.edgexfoundry.org:10003 [2021-11-17T11:16:35.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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:16:35.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:16:36.044Z] $ docker top 1ca9e3d9a6c5df29a75b82c9e969a5cca6c3876127ae18683824d2a0ac4bff83 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T11:16:36.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:16:36.205Z] Configure a credential helper to remove this warning. See [2021-11-17T11:16:36.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:16:36.205Z] [2021-11-17T11:16:36.205Z] Login Succeeded [2021-11-17T11:16:36.205Z] nexus3.edgexfoundry.org:10004 [2021-11-17T11:16:36.416Z] + go version [2021-11-17T11:16:36.416Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-17T11:16:36.429Z] $ docker stop --time=1 1ca9e3d9a6c5df29a75b82c9e969a5cca6c3876127ae18683824d2a0ac4bff83 [2021-11-17T11:16:36.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:16:36.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:16:36.753Z] Configure a credential helper to remove this warning. See [2021-11-17T11:16:36.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:16:36.753Z] [2021-11-17T11:16:36.753Z] Login Succeeded [2021-11-17T11:16:36.753Z] docker.io [2021-11-17T11:16:37.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T11:16:37.609Z] $ docker rm -f 1ca9e3d9a6c5df29a75b82c9e969a5cca6c3876127ae18683824d2a0ac4bff83 [2021-11-17T11:16:37.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T11:16:37.629Z] Configure a credential helper to remove this warning. See [2021-11-17T11:16:37.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T11:16:37.629Z] [2021-11-17T11:16:37.629Z] Login Succeeded [2021-11-17T11:16:37.629Z] ---> docker-login.sh ends [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-11-17T11:16:37.667Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:16:38.126Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T11:16:38.126Z] . [Pipeline] withDockerContainer [2021-11-17T11:16:38.190Z] prd-centos7-docker-4c-2g-953 does not seem to be running inside a container [2021-11-17T11:16:38.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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:16:38.569Z] $ docker top 15549ffe5ad147f02606ca0846c3f4aadff45a56bea52e8cf205fcb07e63d5f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] echo [2021-11-17T11:16:38.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [Pipeline] echo [2021-11-17T11:16:38.691Z] ========================================================= [2021-11-17T11:16:38.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-17T11:16:38.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:16:38.948Z] + make test [2021-11-17T11:16:38.948Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-17T11:16:39.043Z] + 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:16:39.043Z] Sending build context to Docker daemon 121.9kB [2021-11-17T11:16:39.218Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-17T11:16:39.317Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:16:39.317Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T11:16:39.602Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-17T11:16:39.602Z] 552d1f2373af: Pulling fs layer [2021-11-17T11:16:39.602Z] ea3f2d53f512: Pulling fs layer [2021-11-17T11:16:39.602Z] 9e70ebbbe112: Pulling fs layer [2021-11-17T11:16:39.602Z] 7a9cfe048b4a: Pulling fs layer [2021-11-17T11:16:39.602Z] 72dc09318566: Pulling fs layer [2021-11-17T11:16:39.602Z] f4f7b4309257: Pulling fs layer [2021-11-17T11:16:39.602Z] 0ac9a79272e3: Pulling fs layer [2021-11-17T11:16:39.602Z] b78e95d17946: Pulling fs layer [2021-11-17T11:16:39.602Z] f4f7b4309257: Waiting [2021-11-17T11:16:39.602Z] 0ac9a79272e3: Waiting [2021-11-17T11:16:39.602Z] b78e95d17946: Waiting [2021-11-17T11:16:39.602Z] 7a9cfe048b4a: Waiting [2021-11-17T11:16:39.602Z] 72dc09318566: Waiting [2021-11-17T11:16:39.602Z] 9e70ebbbe112: Verifying Checksum [2021-11-17T11:16:39.602Z] 9e70ebbbe112: Download complete [2021-11-17T11:16:39.602Z] ea3f2d53f512: Verifying Checksum [2021-11-17T11:16:39.602Z] ea3f2d53f512: Download complete [2021-11-17T11:16:39.602Z] 72dc09318566: Verifying Checksum [2021-11-17T11:16:39.602Z] 72dc09318566: Download complete [2021-11-17T11:16:39.602Z] f4f7b4309257: Verifying Checksum [2021-11-17T11:16:39.602Z] f4f7b4309257: Download complete [2021-11-17T11:16:39.602Z] 552d1f2373af: Verifying Checksum [2021-11-17T11:16:39.602Z] 552d1f2373af: Download complete [2021-11-17T11:16:39.602Z] 0ac9a79272e3: Verifying Checksum [2021-11-17T11:16:39.602Z] 0ac9a79272e3: Download complete [2021-11-17T11:16:40.596Z] 552d1f2373af: Pull complete [2021-11-17T11:16:41.197Z] ea3f2d53f512: Pull complete [2021-11-17T11:16:41.477Z] 9e70ebbbe112: Pull complete [2021-11-17T11:16:41.762Z] b78e95d17946: Verifying Checksum [2021-11-17T11:16:41.762Z] b78e95d17946: Download complete [2021-11-17T11:16:42.036Z] 7a9cfe048b4a: Verifying Checksum [2021-11-17T11:16:42.037Z] 7a9cfe048b4a: Download complete [2021-11-17T11:16:52.184Z] 7a9cfe048b4a: Pull complete [2021-11-17T11:16:52.184Z] 72dc09318566: Pull complete [2021-11-17T11:16:52.458Z] f4f7b4309257: Pull complete [2021-11-17T11:16:53.056Z] 0ac9a79272e3: Pull complete [2021-11-17T11:16:57.422Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-17T11:16:57.422Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 56.0% of statements [2021-11-17T11:16:57.422Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T11:16:58.460Z] b78e95d17946: Pull complete [2021-11-17T11:16:58.460Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-17T11:16:58.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-17T11:16:58.460Z] ---> 8b459fc5aaf0 [2021-11-17T11:16:58.460Z] Step 3/11 : ARG MAKE='make build' [2021-11-17T11:17:00.437Z] ---> Running in f08aaf202347 [2021-11-17T11:17:00.711Z] Removing intermediate container f08aaf202347 [2021-11-17T11:17:00.711Z] ---> 87d63fec8262 [2021-11-17T11:17:00.711Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:17:00.711Z] ---> Running in ef8ac749d5dd [2021-11-17T11:17:00.984Z] Removing intermediate container ef8ac749d5dd [2021-11-17T11:17:00.984Z] ---> 7540fe583773 [2021-11-17T11:17:00.984Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:17:01.262Z] ---> Running in f39d82edbb38 [2021-11-17T11:17:01.534Z] Removing intermediate container f39d82edbb38 [2021-11-17T11:17:01.534Z] ---> 4f2153999c26 [2021-11-17T11:17:01.534Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:17:01.695Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T11:17:01.695Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T11:17:01.695Z] ./bin/test-attribution-txt.sh [2021-11-17T11:17:01.810Z] ---> Running in 8fb4b4bf2332 [Pipeline] echo [2021-11-17T11:17:02.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T11:17:02.296Z] $ docker stop --time=1 15549ffe5ad147f02606ca0846c3f4aadff45a56bea52e8cf205fcb07e63d5f8 [2021-11-17T11:17:03.763Z] $ docker rm -f 15549ffe5ad147f02606ca0846c3f4aadff45a56bea52e8cf205fcb07e63d5f8 [2021-11-17T11:17:03.784Z] Removing intermediate container 8fb4b4bf2332 [2021-11-17T11:17:03.784Z] ---> dd759ee48be3 [2021-11-17T11:17:03.784Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:17:03.784Z] ---> Running in 72610a566c84 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T11:17:04.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T11:17:04.322Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-17T11:17:04.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T11:17:05.214Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T11:17:05.247Z] + ls -al . [2021-11-17T11:17:05.247Z] total 148 [2021-11-17T11:17:05.247Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 17 11:17 . [2021-11-17T11:17:05.247Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 17 11:15 .. [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 17 11:15 Attribution.txt [2021-11-17T11:17:05.247Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 17 11:15 bin [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 17 11:15 CHANGELOG.md [2021-11-17T11:17:05.247Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 11:15 cmd [2021-11-17T11:17:05.247Z] -rw-r--r--. 1 jenkins jenkins 9215 Nov 17 11:16 coverage.out [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 17 11:15 Dockerfile [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 17 11:15 .dockerignore [2021-11-17T11:17:05.247Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 17 11:15 driver [2021-11-17T11:17:05.247Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 17 11:15 .git [2021-11-17T11:17:05.247Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 17 11:15 .github [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 17 11:15 .gitignore [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 271 Nov 17 11:15 go.mod [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 49306 Nov 17 11:15 go.sum [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 11:15 GOVERNANCE.md [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 17 11:15 Jenkinsfile [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 11:15 LICENSE [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 17 11:15 Makefile [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 17 11:15 OWNERS.md [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 8246 Nov 17 11:15 README.md [2021-11-17T11:17:05.247Z] drwxrwxr-x. 3 jenkins jenkins 58 Nov 17 11:15 snap [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 11:14 VERSION [2021-11-17T11:17:05.247Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 17 11:15 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:17:05.552Z] + 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=0360482d07a1081c93c83dbef0c3950328d2281a --label arch=amd64 --label version=0.0.0 . [2021-11-17T11:17:05.552Z] Sending build context to Docker daemon 131.6kB [2021-11-17T11:17:05.552Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:17:05.552Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-17T11:17:05.552Z] ---> 365cc3a7f1f4 [2021-11-17T11:17:05.552Z] Step 3/24 : ARG MAKE='make build' [2021-11-17T11:17:05.552Z] ---> Running in df821f37689f [2021-11-17T11:17:05.552Z] Removing intermediate container df821f37689f [2021-11-17T11:17:05.552Z] ---> 2a0ee9d2ec2b [2021-11-17T11:17:05.552Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:17:05.552Z] ---> Running in 6d4b8e566c99 [2021-11-17T11:17:05.808Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T11:17:05.812Z] Removing intermediate container 6d4b8e566c99 [2021-11-17T11:17:05.812Z] ---> 3ad22799757a [2021-11-17T11:17:05.812Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:17:05.812Z] ---> Running in 379aecfb9781 [2021-11-17T11:17:05.812Z] Removing intermediate container 379aecfb9781 [2021-11-17T11:17:05.812Z] ---> 9f346de3bcd4 [2021-11-17T11:17:05.812Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:17:05.812Z] ---> Running in 0365809afcf8 [2021-11-17T11:17:06.386Z] Removing intermediate container 0365809afcf8 [2021-11-17T11:17:06.387Z] ---> 691e58066c1f [2021-11-17T11:17:06.387Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:17:06.387Z] ---> Running in 324dd660c3a9 [2021-11-17T11:17:06.387Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T11:17:06.403Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T11:17:06.675Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T11:17:06.676Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T11:17:06.948Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T11:17:06.948Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T11:17:06.948Z] OK: 223 MiB in 56 packages [2021-11-17T11:17:07.329Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T11:17:07.594Z] OK: 224 MiB in 56 packages [2021-11-17T11:17:07.856Z] Removing intermediate container 324dd660c3a9 [2021-11-17T11:17:07.856Z] ---> 7bdc3746d622 [2021-11-17T11:17:07.856Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-17T11:17:07.856Z] ---> Running in f492e95a49af [2021-11-17T11:17:07.856Z] Removing intermediate container f492e95a49af [2021-11-17T11:17:07.856Z] ---> a9e76fb171fa [2021-11-17T11:17:07.856Z] Step 9/24 : COPY . . [2021-11-17T11:17:07.931Z] Removing intermediate container 72610a566c84 [2021-11-17T11:17:07.931Z] ---> d87993d01f35 [2021-11-17T11:17:07.931Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-17T11:17:08.117Z] ---> 55fe4d9bdf52 [2021-11-17T11:17:08.117Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:17:08.117Z] ---> Running in bfcf7aebf0b4 [2021-11-17T11:17:08.212Z] ---> Running in 0e1d74ceb5c7 [2021-11-17T11:17:08.488Z] Removing intermediate container 0e1d74ceb5c7 [2021-11-17T11:17:08.488Z] ---> 3923d5067e11 [2021-11-17T11:17:08.488Z] Step 9/11 : COPY . . [2021-11-17T11:17:08.702Z] Removing intermediate container bfcf7aebf0b4 [2021-11-17T11:17:08.702Z] ---> 0d4b7196519a [2021-11-17T11:17:08.702Z] Step 11/24 : RUN $MAKE [2021-11-17T11:17:08.702Z] ---> Running in a86410031595 [2021-11-17T11:17:08.702Z] 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:17:09.465Z] ---> 48dcbb4a6e88 [2021-11-17T11:17:09.465Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:17:09.465Z] ---> Running in f93dfc0f6828 [2021-11-17T11:17:21.031Z] Removing intermediate container a86410031595 [2021-11-17T11:17:21.031Z] ---> 4d33f97a6e7d [2021-11-17T11:17:21.031Z] Step 12/24 : FROM alpine:3.14 [2021-11-17T11:17:21.031Z] 3.14: Pulling from library/alpine [2021-11-17T11:17:21.031Z] 97518928ae5f: Pulling fs layer [2021-11-17T11:17:21.031Z] 97518928ae5f: Verifying Checksum [2021-11-17T11:17:21.031Z] 97518928ae5f: Download complete [2021-11-17T11:17:21.031Z] 97518928ae5f: Pull complete [2021-11-17T11:17:21.031Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T11:17:21.031Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T11:17:21.031Z] ---> 0a97eee8041e [2021-11-17T11:17:21.031Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-17T11:17:21.031Z] ---> Running in 087f77bdf5f0 [2021-11-17T11:17:21.031Z] Removing intermediate container 087f77bdf5f0 [2021-11-17T11:17:21.031Z] ---> 9eb6cab07f4f [2021-11-17T11:17:21.031Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-17T11:17:21.031Z] ---> Running in 0589a415dc7f [2021-11-17T11:17:21.294Z] Removing intermediate container 0589a415dc7f [2021-11-17T11:17:21.294Z] ---> 610f3e34d835 [2021-11-17T11:17:21.294Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T11:17:21.294Z] ---> Running in b66d8894c6e3 [2021-11-17T11:17:21.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T11:17:21.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T11:17:21.816Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T11:17:21.816Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T11:17:21.816Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T11:17:21.816Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T11:17:21.816Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T11:17:21.816Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T11:17:21.816Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T11:17:21.816Z] OK: 8 MiB in 20 packages [2021-11-17T11:17:22.077Z] Removing intermediate container b66d8894c6e3 [2021-11-17T11:17:22.077Z] ---> 38d4d074e59e [2021-11-17T11:17:22.077Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-17T11:17:22.653Z] ---> 1f9c1268876f [2021-11-17T11:17:22.653Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-17T11:17:22.653Z] ---> 54d6861536e8 [2021-11-17T11:17:22.653Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-17T11:17:22.653Z] ---> 8bdfbbfaeb1d [2021-11-17T11:17:22.653Z] Step 19/24 : EXPOSE 59986 [2021-11-17T11:17:22.653Z] ---> Running in a8f18d5a0b4a [2021-11-17T11:17:22.914Z] Removing intermediate container a8f18d5a0b4a [2021-11-17T11:17:22.914Z] ---> d446a4da8749 [2021-11-17T11:17:22.914Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-17T11:17:22.914Z] ---> Running in f2361fad172b [2021-11-17T11:17:22.914Z] Removing intermediate container f2361fad172b [2021-11-17T11:17:22.914Z] ---> 960f210ecd6b [2021-11-17T11:17:22.914Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-17T11:17:22.914Z] ---> Running in 2aefb4b25c8f [2021-11-17T11:17:23.177Z] Removing intermediate container 2aefb4b25c8f [2021-11-17T11:17:23.177Z] ---> 75d39b86a985 [2021-11-17T11:17:23.177Z] Step 22/24 : LABEL arch=amd64 [2021-11-17T11:17:23.177Z] ---> Running in 3d20e5703db5 [2021-11-17T11:17:23.177Z] Removing intermediate container 3d20e5703db5 [2021-11-17T11:17:23.177Z] ---> 48ef43e7e94a [2021-11-17T11:17:23.177Z] Step 23/24 : LABEL git_sha=0360482d07a1081c93c83dbef0c3950328d2281a [2021-11-17T11:17:23.177Z] ---> Running in 5c28a37a8ed2 [2021-11-17T11:17:23.177Z] Removing intermediate container 5c28a37a8ed2 [2021-11-17T11:17:23.177Z] ---> be82677c8dbd [2021-11-17T11:17:23.177Z] Step 24/24 : LABEL version=0.0.0 [2021-11-17T11:17:23.177Z] ---> Running in 4d7ce2c03143 [2021-11-17T11:17:23.451Z] Removing intermediate container 4d7ce2c03143 [2021-11-17T11:17:23.451Z] ---> 455416c236ac [2021-11-17T11:17:23.451Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T11:17:23.451Z] Successfully built 455416c236ac [2021-11-17T11:17:23.451Z] 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:17:24.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:17:24.090Z] [2021-11-17T11:17:24.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:17:24.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:17:24.402Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T11:17:24.402Z] b4d181a07f80: Pulling fs layer [2021-11-17T11:17:24.402Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T11:17:24.402Z] ed53099fbce6: Pulling fs layer [2021-11-17T11:17:24.402Z] dc539afda2c1: Pulling fs layer [2021-11-17T11:17:24.402Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T11:17:24.402Z] 9065ff56babe: Pulling fs layer [2021-11-17T11:17:24.402Z] d287ab97295c: Pulling fs layer [2021-11-17T11:17:24.402Z] dc539afda2c1: Waiting [2021-11-17T11:17:24.402Z] 77bc0d833cb6: Waiting [2021-11-17T11:17:24.402Z] 9065ff56babe: Waiting [2021-11-17T11:17:24.402Z] d287ab97295c: Waiting [2021-11-17T11:17:24.402Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T11:17:24.402Z] a1111a8f2ec3: Download complete [2021-11-17T11:17:24.402Z] dc539afda2c1: Verifying Checksum [2021-11-17T11:17:24.402Z] dc539afda2c1: Download complete [2021-11-17T11:17:24.402Z] ed53099fbce6: Verifying Checksum [2021-11-17T11:17:24.402Z] ed53099fbce6: Download complete [2021-11-17T11:17:24.402Z] 9065ff56babe: Verifying Checksum [2021-11-17T11:17:24.402Z] 9065ff56babe: Download complete [2021-11-17T11:17:24.666Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T11:17:24.666Z] 77bc0d833cb6: Download complete [2021-11-17T11:17:24.666Z] b4d181a07f80: Verifying Checksum [2021-11-17T11:17:24.666Z] b4d181a07f80: Download complete [2021-11-17T11:17:25.248Z] d287ab97295c: Verifying Checksum [2021-11-17T11:17:25.248Z] d287ab97295c: Download complete [2021-11-17T11:17:26.196Z] b4d181a07f80: Pull complete [2021-11-17T11:17:26.196Z] a1111a8f2ec3: Pull complete [2021-11-17T11:17:26.775Z] ed53099fbce6: Pull complete [2021-11-17T11:17:26.775Z] dc539afda2c1: Pull complete [2021-11-17T11:17:27.049Z] 77bc0d833cb6: Pull complete [2021-11-17T11:17:27.049Z] 9065ff56babe: Pull complete [2021-11-17T11:17:32.381Z] d287ab97295c: Pull complete [2021-11-17T11:17:32.381Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T11:17:32.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:17:32.381Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T11:17:32.447Z] prd-centos7-docker-4c-2g-953 does not seem to be running inside a container [2021-11-17T11:17:32.481Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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:17:34.975Z] $ docker top 4a7e196c40d894e174f5825907deeea64be420069434823afbb41bc98fa2a37d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:17:35.353Z] ---> job-cost.sh [2021-11-17T11:17:35.353Z] lf-activate-venv: SKIPPING [2021-11-17T11:17:35.353Z] INFO: No Stack... [2021-11-17T11:17:35.613Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T11:17:35.875Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T11:17:36.179Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-11-17T11:17:36.179Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T11:17:36.206Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-4-stack-cost] [2021-11-17T11:17:36.214Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-146-4-stack-cost] did not exist. Created. [2021-11-17T11:17:36.214Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T11:17:36.522Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-17T11:17:36.554Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T11:17:36.560Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T11:17:36.575Z] $ docker stop --time=1 4a7e196c40d894e174f5825907deeea64be420069434823afbb41bc98fa2a37d [2021-11-17T11:17:37.694Z] $ docker rm -f 4a7e196c40d894e174f5825907deeea64be420069434823afbb41bc98fa2a37d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-17T11:18:31.249Z] Removing intermediate container f93dfc0f6828 [2021-11-17T11:18:31.249Z] ---> baddaa932fc6 [2021-11-17T11:18:31.249Z] Step 11/11 : RUN $MAKE [2021-11-17T11:18:31.249Z] ---> Running in c6bb603437dc [2021-11-17T11:18:31.249Z] noop [2021-11-17T11:18:31.249Z] Removing intermediate container c6bb603437dc [2021-11-17T11:18:31.249Z] ---> ce1ddd4d9fed [2021-11-17T11:18:31.249Z] Successfully built ce1ddd4d9fed [2021-11-17T11:18:31.249Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:18:31.588Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T11:18:31.588Z] . [Pipeline] withDockerContainer [2021-11-17T11:18:31.848Z] prd-ubuntu18.04-docker-arm64-4c-16g-952 does not seem to be running inside a container [2021-11-17T11:18:31.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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:18:33.357Z] $ docker top 080770cbdad96e7bc636c4790f00b2c42e57eb2a1cbeda5896a1f3f093e5d908 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T11:18:34.293Z] + go version [2021-11-17T11:18:34.293Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-17T11:18:34.320Z] $ docker stop --time=1 080770cbdad96e7bc636c4790f00b2c42e57eb2a1cbeda5896a1f3f093e5d908 [2021-11-17T11:18:36.022Z] $ docker rm -f 080770cbdad96e7bc636c4790f00b2c42e57eb2a1cbeda5896a1f3f093e5d908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:18:36.748Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T11:18:36.748Z] . [Pipeline] withDockerContainer [2021-11-17T11:18:37.002Z] prd-ubuntu18.04-docker-arm64-4c-16g-952 does not seem to be running inside a container [2021-11-17T11:18:37.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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:18:38.576Z] $ docker top 0b2af450e89bf56edc801c44ed890684c496b806338733ff00cff1cf7cfc2bc5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T11:18:39.563Z] + make test [2021-11-17T11:18:39.563Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-17T11:18:41.006Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-17T11:19:37.613Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-17T11:19:37.613Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.0% of statements [2021-11-17T11:19:37.613Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T11:19:59.815Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T11:19:59.815Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T11:19:59.815Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T11:20:00.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T11:20:00.450Z] $ docker stop --time=1 0b2af450e89bf56edc801c44ed890684c496b806338733ff00cff1cf7cfc2bc5 [2021-11-17T11:20:02.223Z] $ docker rm -f 0b2af450e89bf56edc801c44ed890684c496b806338733ff00cff1cf7cfc2bc5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T11:20:03.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T11:20:03.078Z] Warning: overwriting stash ‘coverage-report’ [2021-11-17T11:20:03.533Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T11:20:04.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T11:20:04.363Z] + ls -al . [2021-11-17T11:20:04.363Z] total 176 [2021-11-17T11:20:04.363Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 11:20 . [2021-11-17T11:20:04.363Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 11:16 .. [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 17 11:16 .dockerignore [2021-11-17T11:20:04.363Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 11:16 .git [2021-11-17T11:20:04.363Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 11:16 .github [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 17 11:16 .gitignore [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 17 11:16 Attribution.txt [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 17 11:16 CHANGELOG.md [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 17 11:16 Dockerfile [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 11:16 GOVERNANCE.md [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 17 11:16 Jenkinsfile [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 11:16 LICENSE [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 17 11:16 Makefile [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 17 11:16 OWNERS.md [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 8246 Nov 17 11:16 README.md [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 11:14 VERSION [2021-11-17T11:20:04.363Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 11:16 bin [2021-11-17T11:20:04.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 11:16 cmd [2021-11-17T11:20:04.363Z] -rw-r--r-- 1 jenkins jenkins 9215 Nov 17 11:19 coverage.out [2021-11-17T11:20:04.363Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 11:16 driver [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 271 Nov 17 11:16 go.mod [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 49306 Nov 17 11:16 go.sum [2021-11-17T11:20:04.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 11:16 snap [2021-11-17T11:20:04.363Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 17 11:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:20:04.774Z] + 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=0360482d07a1081c93c83dbef0c3950328d2281a --label arch=arm64 --label version=0.0.0 . [2021-11-17T11:20:04.774Z] Sending build context to Docker daemon 131.6kB [2021-11-17T11:20:05.059Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T11:20:05.059Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-17T11:20:05.059Z] ---> ce1ddd4d9fed [2021-11-17T11:20:05.059Z] Step 3/24 : ARG MAKE='make build' [2021-11-17T11:20:05.337Z] ---> Running in a2ba5dcae747 [2021-11-17T11:20:05.624Z] Removing intermediate container a2ba5dcae747 [2021-11-17T11:20:05.624Z] ---> c782c8d257ad [2021-11-17T11:20:05.624Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T11:20:05.915Z] ---> Running in fc916f6f3653 [2021-11-17T11:20:06.217Z] Removing intermediate container fc916f6f3653 [2021-11-17T11:20:06.217Z] ---> c370cfd7a782 [2021-11-17T11:20:06.217Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T11:20:06.497Z] ---> Running in 722679380cde [2021-11-17T11:20:06.800Z] Removing intermediate container 722679380cde [2021-11-17T11:20:06.800Z] ---> b7591691c913 [2021-11-17T11:20:06.800Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T11:20:06.800Z] ---> Running in 3befbe07f46a [2021-11-17T11:20:08.784Z] Removing intermediate container 3befbe07f46a [2021-11-17T11:20:08.784Z] ---> a71c9aacf033 [2021-11-17T11:20:08.784Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T11:20:08.784Z] ---> Running in d36ba88bcb1e [2021-11-17T11:20:10.224Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T11:20:10.816Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T11:20:11.791Z] OK: 223 MiB in 56 packages [2021-11-17T11:20:12.389Z] Removing intermediate container d36ba88bcb1e [2021-11-17T11:20:12.389Z] ---> a7084d62f036 [2021-11-17T11:20:12.389Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-17T11:20:12.661Z] ---> Running in 7bbdad2339ce [2021-11-17T11:20:12.933Z] Removing intermediate container 7bbdad2339ce [2021-11-17T11:20:12.933Z] ---> 3007cd68f032 [2021-11-17T11:20:12.933Z] Step 9/24 : COPY . . [2021-11-17T11:20:13.909Z] ---> 9be3ab642b8f [2021-11-17T11:20:13.909Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T11:20:13.909Z] ---> Running in 247abb1362e0 [2021-11-17T11:20:16.541Z] Removing intermediate container 247abb1362e0 [2021-11-17T11:20:16.541Z] ---> d2584aa8e3b3 [2021-11-17T11:20:16.541Z] Step 11/24 : RUN $MAKE [2021-11-17T11:20:16.541Z] ---> Running in 1d084977ea61 [2021-11-17T11:20:17.521Z] 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:20:56.536Z] Removing intermediate container 1d084977ea61 [2021-11-17T11:20:56.536Z] ---> 6f0c16bccf75 [2021-11-17T11:20:56.536Z] Step 12/24 : FROM alpine:3.14 [2021-11-17T11:20:56.536Z] 3.14: Pulling from library/alpine [2021-11-17T11:20:56.536Z] be307f383ecc: Pulling fs layer [2021-11-17T11:20:56.536Z] be307f383ecc: Download complete [2021-11-17T11:20:56.536Z] be307f383ecc: Pull complete [2021-11-17T11:20:56.536Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T11:20:56.536Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T11:20:56.536Z] ---> 5b8b7b635229 [2021-11-17T11:20:56.536Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-17T11:20:56.536Z] ---> Running in b8b0668d6daf [2021-11-17T11:20:56.536Z] Removing intermediate container b8b0668d6daf [2021-11-17T11:20:56.536Z] ---> f67e3ff3b505 [2021-11-17T11:20:56.536Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-17T11:20:56.536Z] ---> Running in 346b69b3dc1f [2021-11-17T11:20:56.536Z] Removing intermediate container 346b69b3dc1f [2021-11-17T11:20:56.536Z] ---> 0c9a62ee5006 [2021-11-17T11:20:56.536Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T11:20:56.536Z] ---> Running in 922385e0e0d4 [2021-11-17T11:20:56.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T11:20:56.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T11:20:56.536Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T11:20:56.536Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T11:20:56.536Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T11:20:56.536Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T11:20:56.536Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T11:20:56.536Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T11:20:56.536Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T11:20:56.536Z] OK: 8 MiB in 20 packages [2021-11-17T11:20:57.505Z] Removing intermediate container 922385e0e0d4 [2021-11-17T11:20:57.505Z] ---> e6450100cb72 [2021-11-17T11:20:57.505Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-17T11:20:58.482Z] ---> d5361a7ecc69 [2021-11-17T11:20:58.482Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-17T11:20:59.077Z] ---> cd52828f3dc3 [2021-11-17T11:20:59.077Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-17T11:21:00.054Z] ---> 458b66ff65be [2021-11-17T11:21:00.054Z] Step 19/24 : EXPOSE 59986 [2021-11-17T11:21:00.054Z] ---> Running in 339fd423e1c5 [2021-11-17T11:21:00.326Z] Removing intermediate container 339fd423e1c5 [2021-11-17T11:21:00.326Z] ---> 1ff17189c1c4 [2021-11-17T11:21:00.326Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-17T11:21:00.326Z] ---> Running in 7d87c3724c27 [2021-11-17T11:21:00.921Z] Removing intermediate container 7d87c3724c27 [2021-11-17T11:21:00.921Z] ---> 354a40385099 [2021-11-17T11:21:00.921Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-17T11:21:00.921Z] ---> Running in 9f94e11161ef [2021-11-17T11:21:01.193Z] Removing intermediate container 9f94e11161ef [2021-11-17T11:21:01.193Z] ---> a2c1a48aac5a [2021-11-17T11:21:01.193Z] Step 22/24 : LABEL arch=arm64 [2021-11-17T11:21:01.466Z] ---> Running in c8525cc2b252 [2021-11-17T11:21:01.738Z] Removing intermediate container c8525cc2b252 [2021-11-17T11:21:01.738Z] ---> 0a6c56cc32f7 [2021-11-17T11:21:01.738Z] Step 23/24 : LABEL git_sha=0360482d07a1081c93c83dbef0c3950328d2281a [2021-11-17T11:21:02.008Z] ---> Running in 3782bf23caac [2021-11-17T11:21:02.278Z] Removing intermediate container 3782bf23caac [2021-11-17T11:21:02.278Z] ---> 8f95ac301fc2 [2021-11-17T11:21:02.278Z] Step 24/24 : LABEL version=0.0.0 [2021-11-17T11:21:02.553Z] ---> Running in 151dc6470f57 [2021-11-17T11:21:02.826Z] Removing intermediate container 151dc6470f57 [2021-11-17T11:21:02.826Z] ---> 1c6c97f123ad [2021-11-17T11:21:02.826Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T11:21:02.826Z] Successfully built 1c6c97f123ad [2021-11-17T11:21:02.826Z] 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:21:03.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T11:21:03.387Z] [2021-11-17T11:21:03.387Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:21:03.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T11:21:04.003Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-17T11:21:04.003Z] 448f6bf000e3: Pulling fs layer [2021-11-17T11:21:04.003Z] f757da607395: Pulling fs layer [2021-11-17T11:21:04.003Z] 05883995daec: Pulling fs layer [2021-11-17T11:21:04.003Z] 8603b9c90790: Pulling fs layer [2021-11-17T11:21:04.003Z] 1560dd03e051: Pulling fs layer [2021-11-17T11:21:04.003Z] 27f5ce0e4adf: Pulling fs layer [2021-11-17T11:21:04.003Z] c2d8d7efcc4b: Pulling fs layer [2021-11-17T11:21:04.003Z] 1560dd03e051: Waiting [2021-11-17T11:21:04.003Z] 27f5ce0e4adf: Waiting [2021-11-17T11:21:04.003Z] c2d8d7efcc4b: Waiting [2021-11-17T11:21:04.003Z] 8603b9c90790: Waiting [2021-11-17T11:21:04.003Z] f757da607395: Verifying Checksum [2021-11-17T11:21:04.003Z] f757da607395: Download complete [2021-11-17T11:21:04.003Z] 8603b9c90790: Verifying Checksum [2021-11-17T11:21:04.003Z] 8603b9c90790: Download complete [2021-11-17T11:21:04.275Z] 1560dd03e051: Verifying Checksum [2021-11-17T11:21:04.275Z] 1560dd03e051: Download complete [2021-11-17T11:21:04.275Z] 05883995daec: Verifying Checksum [2021-11-17T11:21:04.275Z] 27f5ce0e4adf: Verifying Checksum [2021-11-17T11:21:04.275Z] 27f5ce0e4adf: Download complete [2021-11-17T11:21:04.275Z] 05883995daec: Download complete [2021-11-17T11:21:04.550Z] 448f6bf000e3: Verifying Checksum [2021-11-17T11:21:04.550Z] 448f6bf000e3: Download complete [2021-11-17T11:21:07.169Z] c2d8d7efcc4b: Verifying Checksum [2021-11-17T11:21:07.169Z] c2d8d7efcc4b: Download complete [2021-11-17T11:21:08.147Z] 448f6bf000e3: Pull complete [2021-11-17T11:21:08.743Z] f757da607395: Pull complete [2021-11-17T11:21:10.176Z] 05883995daec: Pull complete [2021-11-17T11:21:10.447Z] 8603b9c90790: Pull complete [2021-11-17T11:21:11.432Z] 1560dd03e051: Pull complete [2021-11-17T11:21:11.705Z] 27f5ce0e4adf: Pull complete [2021-11-17T11:21:26.783Z] c2d8d7efcc4b: Pull complete [2021-11-17T11:21:26.783Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-17T11:21:26.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T11:21:26.783Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-17T11:21:27.039Z] prd-ubuntu18.04-docker-arm64-4c-16g-952 does not seem to be running inside a container [2021-11-17T11:21:27.119Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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:21:29.920Z] $ docker top 7decf97c7890de0731ddba4e1fb3b60622e799708ca8dd29db3916712df10f14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:21:30.848Z] ---> job-cost.sh [2021-11-17T11:21:30.848Z] lf-activate-venv: SKIPPING [2021-11-17T11:21:30.848Z] INFO: No Stack... [2021-11-17T11:21:31.119Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-17T11:21:31.391Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T11:21:32.049Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-11-17T11:21:32.049Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T11:21:32.109Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-146-4-stack-cost] [2021-11-17T11:21:32.114Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-146-4-stack-cost] did not exist. Created. [2021-11-17T11:21:32.114Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-146-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T11:21:32.785Z] /w/workspace/device-rest-go/4@tmp/durable-195d7311/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-195d7311/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-17T11:21:33.449Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-17T11:21:33.475Z] Warning: overwriting stash ‘stack-cost’ [2021-11-17T11:21:33.517Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T11:21:33.523Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-146-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T11:21:33.545Z] $ docker stop --time=1 7decf97c7890de0731ddba4e1fb3b60622e799708ca8dd29db3916712df10f14 [2021-11-17T11:21:35.089Z] $ docker rm -f 7decf97c7890de0731ddba4e1fb3b60622e799708ca8dd29db3916712df10f14 [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:21:35.836Z] provisioning config files... [2021-11-17T11:21:35.845Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config2497378139705965973tmp [Pipeline] { [Pipeline] sh [2021-11-17T11:21:36.150Z] + set +x [2021-11-17T11:21:36.150Z] + curl -s https://codecov.io/bash [2021-11-17T11:21:36.150Z] + bash -s -- [2021-11-17T11:21:36.150Z] [2021-11-17T11:21:36.150Z] _____ _ [2021-11-17T11:21:36.150Z] / ____| | | [2021-11-17T11:21:36.150Z] | | ___ __| | ___ ___ _____ __ [2021-11-17T11:21:36.150Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-17T11:21:36.150Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-17T11:21:36.150Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-17T11:21:36.150Z] Bash-1.0.6 [2021-11-17T11:21:36.150Z] [2021-11-17T11:21:36.150Z] [2021-11-17T11:21:36.150Z] ==> git version 2.24.4 found [2021-11-17T11:21:36.150Z] ==> 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:21:36.150Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-17T11:21:36.150Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-17T11:21:36.150Z] ==> Jenkins CI detected. [2021-11-17T11:21:36.150Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T11:21:36.150Z] project root: . [2021-11-17T11:21:36.150Z] --> token set from env [2021-11-17T11:21:36.150Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-17T11:21:36.150Z] ==> Running gcov in . (disable via -X gcov) [2021-11-17T11:21:36.150Z] ==> Python coveragepy not found [2021-11-17T11:21:36.150Z] ==> Searching for coverage reports in: [2021-11-17T11:21:36.150Z] + . [2021-11-17T11:21:36.150Z] -> Found 1 reports [2021-11-17T11:21:36.150Z] ==> Detecting git/mercurial file structure [2021-11-17T11:21:36.150Z] ==> Reading reports [2021-11-17T11:21:36.410Z] + ./coverage.out bytes=9215 [2021-11-17T11:21:36.410Z] ==> Appending adjustments [2021-11-17T11:21:36.410Z] https://docs.codecov.io/docs/fixing-reports [2021-11-17T11:21:36.410Z] + Found adjustments [2021-11-17T11:21:36.410Z] ==> Gzipping contents [2021-11-17T11:21:36.410Z] 4.0K /tmp/codecov.RW1mrQ.gz [2021-11-17T11:21:36.410Z] ==> Uploading reports [2021-11-17T11:21:36.410Z] url: https://codecov.io [2021-11-17T11:21:36.410Z] query: branch=PR-146&commit=0360482d07a1081c93c83dbef0c3950328d2281a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= [2021-11-17T11:21:36.410Z] -> Pinging Codecov [2021-11-17T11:21:36.410Z] 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=0360482d07a1081c93c83dbef0c3950328d2281a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-146%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=146&job=&cmd_args= [2021-11-17T11:21:36.675Z] -> Uploading to [2021-11-17T11:21:36.675Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-17/4E5D53B4F1F92C436F7061BF334D961C/0360482d07a1081c93c83dbef0c3950328d2281a/6cfa1d41-3022-49c6-93b7-2de800bb327c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211117T112136Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5d4083ab6cdf7d31f290bf6e34fd4c4e2150817073446091a48c1e8b49490e7 [2021-11-17T11:21:36.675Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T11:21:36.675Z] Dload Upload Total Spent Left Speed [2021-11-17T11:21:36.944Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5789 --:--:-- --:--:-- --:--:-- 5803 [2021-11-17T11:21:36.944Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/0360482d07a1081c93c83dbef0c3950328d2281a [Pipeline] } [2021-11-17T11:21:36.961Z] 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:21:38.186Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-146/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:21:38.512Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:21:39.100Z] ---> package-listing.sh [2021-11-17T11:21:39.100Z] ++ facter osfamily [2021-11-17T11:21:39.100Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-17T11:21:39.366Z] + OS_FAMILY=redhat [2021-11-17T11:21:39.366Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-146 [2021-11-17T11:21:39.366Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-17T11:21:39.366Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-17T11:21:39.366Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-17T11:21:39.366Z] + PACKAGES=/tmp/packages_start.txt [2021-11-17T11:21:39.366Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' [2021-11-17T11:21:39.366Z] + PACKAGES=/tmp/packages_end.txt [2021-11-17T11:21:39.366Z] + case "${OS_FAMILY}" in [2021-11-17T11:21:39.366Z] + rpm -qa [2021-11-17T11:21:39.366Z] + sort [2021-11-17T11:21:39.954Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-17T11:21:39.954Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-17T11:21:39.954Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-17T11:21:39.954Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-146 ']' [2021-11-17T11:21:39.954Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-146/archives/ [2021-11-17T11:21:39.954Z] + 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:21:39.966Z] 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:21:40.252Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:21:40.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:21:40.815Z] [2021-11-17T11:21:40.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T11:21:41.122Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:21:41.122Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T11:21:41.122Z] b4d181a07f80: Pulling fs layer [2021-11-17T11:21:41.122Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T11:21:41.122Z] ed53099fbce6: Pulling fs layer [2021-11-17T11:21:41.122Z] dc539afda2c1: Pulling fs layer [2021-11-17T11:21:41.122Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T11:21:41.122Z] 9065ff56babe: Pulling fs layer [2021-11-17T11:21:41.122Z] d287ab97295c: Pulling fs layer [2021-11-17T11:21:41.122Z] dc539afda2c1: Waiting [2021-11-17T11:21:41.122Z] 77bc0d833cb6: Waiting [2021-11-17T11:21:41.122Z] 9065ff56babe: Waiting [2021-11-17T11:21:41.122Z] d287ab97295c: Waiting [2021-11-17T11:21:41.122Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T11:21:41.122Z] a1111a8f2ec3: Download complete [2021-11-17T11:21:41.122Z] dc539afda2c1: Verifying Checksum [2021-11-17T11:21:41.122Z] dc539afda2c1: Download complete [2021-11-17T11:21:41.122Z] ed53099fbce6: Verifying Checksum [2021-11-17T11:21:41.122Z] ed53099fbce6: Download complete [2021-11-17T11:21:41.122Z] 9065ff56babe: Verifying Checksum [2021-11-17T11:21:41.122Z] 9065ff56babe: Download complete [2021-11-17T11:21:41.389Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T11:21:41.389Z] 77bc0d833cb6: Download complete [2021-11-17T11:21:41.389Z] b4d181a07f80: Download complete [2021-11-17T11:21:41.971Z] d287ab97295c: Verifying Checksum [2021-11-17T11:21:41.971Z] d287ab97295c: Download complete [2021-11-17T11:21:42.931Z] b4d181a07f80: Pull complete [2021-11-17T11:21:42.931Z] a1111a8f2ec3: Pull complete [2021-11-17T11:21:43.507Z] ed53099fbce6: Pull complete [2021-11-17T11:21:43.507Z] dc539afda2c1: Pull complete [2021-11-17T11:21:43.766Z] 77bc0d833cb6: Pull complete [2021-11-17T11:21:44.034Z] 9065ff56babe: Pull complete [2021-11-17T11:21:49.399Z] d287ab97295c: Pull complete [2021-11-17T11:21:49.399Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T11:21:49.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T11:21:49.399Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T11:21:49.467Z] prd-centos7-docker-4c-2g-951 does not seem to be running inside a container [2021-11-17T11:21:49.505Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T11:21:51.727Z] $ docker top 75b2721f1efa92acbb626e9a2a3830e476c628a3912f543ee4103a5654ba29f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T11:21:52.089Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-17T11:21:52.387Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-17T11:21:52.693Z] + ls /var/log/sa-host [2021-11-17T11:21:52.693Z] + sadf -c /var/log/sa-host/sa17 [2021-11-17T11:21:52.693Z] file_magic: OK [2021-11-17T11:21:52.693Z] HZ: Using current value: 100 [2021-11-17T11:21:52.693Z] file_header: OK [2021-11-17T11:21:52.694Z] 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:21:52.694Z] Statistics: [2021-11-17T11:21:52.694Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T11:21:52.694Z] File successfully converted to sysstat format version 12.0.3 [2021-11-17T11:21:52.694Z] + sadf -c /var/log/sa-host/sa30 [2021-11-17T11:21:52.694Z] file_magic: OK [2021-11-17T11:21:52.694Z] HZ: Using current value: 100 [2021-11-17T11:21:52.694Z] file_header: OK [2021-11-17T11:21:52.694Z] 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:21:52.694Z] Statistics: [2021-11-17T11:21:52.694Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T11:21:52.694Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T11:21:52.784Z] provisioning config files... [2021-11-17T11:21:52.800Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-146@tmp/config4922906074654793123tmp [Pipeline] { [Pipeline] echo [2021-11-17T11:21:52.816Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:21:53.123Z] ---> create-netrc.sh [Pipeline] } [2021-11-17T11:21:53.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:21:53.462Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-17T11:21:53.473Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:21:53.768Z] ---> sudo-logs.sh [2021-11-17T11:21:53.768Z] Archiving 'sudo' log.. [2021-11-17T11:21:53.768Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-951.novalocal: Name or service not known [2021-11-17T11:21:53.768Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-951.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-17T11:21:53.795Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:21:54.107Z] ---> job-cost.sh [2021-11-17T11:21:54.107Z] lf-activate-venv: SKIPPING [2021-11-17T11:21:54.107Z] DEBUG: total: 0.10999999940395355 [2021-11-17T11:21:54.107Z] INFO: Retrieving Stack Cost... [2021-11-17T11:21:54.366Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T11:21:54.627Z] INFO: Archiving Costs [Pipeline] echo [2021-11-17T11:21:54.640Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T11:21:54.936Z] ---> logs-deploy.sh [2021-11-17T11:21:54.936Z] lf-activate-venv: SKIPPING [2021-11-17T11:21:54.936Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-146/4 [2021-11-17T11:21:54.936Z] INFO: archiving workspace using pattern(s): [2021-11-17T11:21:55.516Z] Archives upload complete. [2021-11-17T11:21:55.783Z] INFO: archiving logs to Nexus