Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0dbcdd9e1503573a6358a2219750091d278c1a40 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-ssh6164000336734485705.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3298144772352855307.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2545491967930906172.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5318478873638963645.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5105067708771330151.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-13613 in /w/workspace/edgexfoundry_device-rest-go_main [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 Avoid second fetch Checking out Revision 0dbcdd9e1503573a6358a2219750091d278c1a40 (main) > git init /w/workspace/edgexfoundry_device-rest-go_main # 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/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh7726129480274429752.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 core.sparsecheckout # timeout=10 > git checkout -f 0dbcdd9e1503573a6358a2219750091d278c1a40 # timeout=10 Commit message: "Merge pull request #140 from lenny-intel/cors-secrets" > git rev-list --no-walk ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-01T01:56:06.043Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-01T01:56:06.111Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-01T01:56:06.126Z] ========================================================= [2021-11-01T01:56:06.127Z] EdgeX Global Pipelines Version Info [2021-11-01T01:56:06.127Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-01T01:56:07.338Z] ------------------- [2021-11-01T01:56:07.338Z] stable info: [2021-11-01T01:56:07.339Z] ------------------- [2021-11-01T01:56:07.339Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-01T01:56:07.339Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T01:56:07.339Z] Message: update stable to v1.0.211 [2021-11-01T01:56:07.912Z] ------------------- [2021-11-01T01:56:07.912Z] experimental info: [2021-11-01T01:56:07.912Z] ------------------- [2021-11-01T01:56:07.912Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-01T01:56:07.912Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T01:56:07.912Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-01T01:56:07.985Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-01T01:56:07.998Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-01T01:56:08.009Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-01T01:56:08.022Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-01T01:56:08.034Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-01T01:56:08.046Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-01T01:56:08.059Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-01T01:56:08.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-01T01:56:08.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-01T01:56:08.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-01T01:56:08.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-01T01:56:08.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-01T01:56:08.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-01T01:56:08.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-01T01:56:08.159Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T01:56:08.171Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T01:56:08.184Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T01:56:08.196Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T01:56:08.207Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-01T01:56:08.218Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-01T01:56:08.229Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-01T01:56:08.239Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-01T01:56:08.249Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-01T01:56:08.261Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-01T01:56:08.272Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-01T01:56:08.283Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-01T01:56:08.294Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-01T01:56:08.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-01T01:56:08.317Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-01T01:56:08.330Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] echo [2021-11-01T01:56:08.345Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0dbcdd9 [Pipeline] echo [2021-11-01T01:56:08.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T01:56:08.402Z] provisioning config files... [2021-11-01T01:56:08.420Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7066687545300595002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T01:56:08.746Z] ---> docker-login.sh [2021-11-01T01:56:08.746Z] nexus3.edgexfoundry.org:10001 [2021-11-01T01:56:08.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:56:09.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:56:09.012Z] Configure a credential helper to remove this warning. See [2021-11-01T01:56:09.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:56:09.012Z] [2021-11-01T01:56:09.012Z] Login Succeeded [2021-11-01T01:56:09.012Z] nexus3.edgexfoundry.org:10002 [2021-11-01T01:56:09.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:56:09.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:56:09.012Z] Configure a credential helper to remove this warning. See [2021-11-01T01:56:09.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:56:09.012Z] [2021-11-01T01:56:09.012Z] Login Succeeded [2021-11-01T01:56:09.012Z] nexus3.edgexfoundry.org:10003 [2021-11-01T01:56:09.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:56:09.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:56:09.277Z] Configure a credential helper to remove this warning. See [2021-11-01T01:56:09.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:56:09.277Z] [2021-11-01T01:56:09.277Z] Login Succeeded [2021-11-01T01:56:09.277Z] nexus3.edgexfoundry.org:10004 [2021-11-01T01:56:09.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:56:09.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:56:09.277Z] Configure a credential helper to remove this warning. See [2021-11-01T01:56:09.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:56:09.277Z] [2021-11-01T01:56:09.277Z] Login Succeeded [2021-11-01T01:56:09.277Z] docker.io [2021-11-01T01:56:09.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:56:09.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:56:09.798Z] Configure a credential helper to remove this warning. See [2021-11-01T01:56:09.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:56:09.798Z] [2021-11-01T01:56:09.798Z] Login Succeeded [2021-11-01T01:56:09.798Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T01:56:09.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-01T01:56:10.229Z] + git rev-list -1 --merges 0dbcdd9e1503573a6358a2219750091d278c1a40~1..0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] echo [2021-11-01T01:56:10.275Z] -----------> git rev-list -1 --merges 0dbcdd9e1503573a6358a2219750091d278c1a40~1..0dbcdd9e1503573a6358a2219750091d278c1a40 0dbcdd9e1503573a6358a2219750091d278c1a40 [2021-11-01T01:56:10.275Z] 0dbcdd9e1503573a6358a2219750091d278c1a40 [false] [Pipeline] sh [2021-11-01T01:56:10.569Z] + git log --format=format:%s -1 0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] echo [2021-11-01T01:56:10.583Z] ========================================================= [2021-11-01T01:56:10.584Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-01T01:56:10.584Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T01:56:10.919Z] + git log --format=format:%s -1 0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] echo [2021-11-01T01:56:10.939Z] [semverPrep] GIT_COMMIT: 0dbcdd9e1503573a6358a2219750091d278c1a40, Commit Message: Merge pull request #140 from lenny-intel/cors-secrets [Pipeline] echo [2021-11-01T01:56:10.949Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:56:11.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T01:56:11.399Z] [2021-11-01T01:56:11.399Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:56:11.727Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T01:56:11.727Z] latest: Pulling from edgex-devops/git-semver [2021-11-01T01:56:11.727Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T01:56:11.727Z] 3e5f54012d9b: Pulling fs layer [2021-11-01T01:56:11.727Z] 4c7163046ea9: Pulling fs layer [2021-11-01T01:56:11.727Z] 0c2d73faf560: Pulling fs layer [2021-11-01T01:56:11.727Z] 0c2d73faf560: Waiting [2021-11-01T01:56:11.727Z] 3e5f54012d9b: Verifying Checksum [2021-11-01T01:56:11.727Z] 3e5f54012d9b: Download complete [2021-11-01T01:56:11.727Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T01:56:11.727Z] a0d0a0d46f8b: Download complete [2021-11-01T01:56:11.727Z] 4c7163046ea9: Verifying Checksum [2021-11-01T01:56:11.727Z] 4c7163046ea9: Download complete [2021-11-01T01:56:11.988Z] 0c2d73faf560: Verifying Checksum [2021-11-01T01:56:11.989Z] 0c2d73faf560: Download complete [2021-11-01T01:56:11.989Z] a0d0a0d46f8b: Pull complete [2021-11-01T01:56:11.989Z] 3e5f54012d9b: Pull complete [2021-11-01T01:56:12.567Z] 4c7163046ea9: Pull complete [2021-11-01T01:56:12.567Z] 0c2d73faf560: Pull complete [2021-11-01T01:56:12.567Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-01T01:56:12.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T01:56:12.567Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-01T01:56:12.655Z] prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container [2021-11-01T01:56:12.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T01:56:13.423Z] $ docker top 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T01:56:13.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T01:56:13.520Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T01:56:13.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T01:56:13.635Z] $ docker exec 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 ssh-agent [2021-11-01T01:56:13.772Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkBLMAl/agent.13 [2021-11-01T01:56:13.772Z] SSH_AGENT_PID=20 [2021-11-01T01:56:13.783Z] Running ssh-add (command line suppressed) [2021-11-01T01:56:13.921Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_240024785881523447.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_240024785881523447.key) [2021-11-01T01:56:13.940Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T01:56:14.250Z] + git tag --points-at HEAD [Pipeline] } [2021-11-01T01:56:14.263Z] $ docker exec --env ******** --env ******** 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 ssh-agent -k [2021-11-01T01:56:14.386Z] unset SSH_AUTH_SOCK; [2021-11-01T01:56:14.386Z] unset SSH_AGENT_PID; [2021-11-01T01:56:14.386Z] echo Agent pid 20 killed; [2021-11-01T01:56:14.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-01T01:56:14.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T01:56:14.423Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T01:56:14.537Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T01:56:14.539Z] $ docker exec 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 ssh-agent [2021-11-01T01:56:14.653Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdPnKPd/agent.55 [2021-11-01T01:56:14.653Z] SSH_AGENT_PID=61 [2021-11-01T01:56:14.660Z] Running ssh-add (command line suppressed) [2021-11-01T01:56:14.760Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1251616717039668856.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1251616717039668856.key) [2021-11-01T01:56:14.778Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T01:56:15.079Z] + git semver init [2021-11-01T01:56:15.079Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T01:56:15.079Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-01T01:56:15.079Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T01:56:15.079Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T01:56:15.079Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T01:56:15.079Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T01:56:15.079Z] # $SEMVER_BRANCH = main [2021-11-01T01:56:15.079Z] # $SEMVER_TEMP = /tmp/semver-658164519 [2021-11-01T01:56:15.079Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-01T01:56:16.025Z] # '/tmp/semver-658164519' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-11-01T01:56:16.025Z] # -> Force: false [2021-11-01T01:56:16.025Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-11-01T01:56:16.036Z] $ docker exec --env ******** --env ******** 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 ssh-agent -k [2021-11-01T01:56:16.141Z] unset SSH_AUTH_SOCK; [2021-11-01T01:56:16.142Z] unset SSH_AGENT_PID; [2021-11-01T01:56:16.142Z] echo Agent pid 61 killed; [2021-11-01T01:56:16.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T01:56:16.470Z] + git semver [Pipeline] } [2021-11-01T01:56:16.482Z] $ docker stop --time=1 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 [2021-11-01T01:56:17.710Z] $ docker rm -f 8e17fb0d567ba913d6b03e2abaeceb43b46255f6153cf89b4030c767ea8909b0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T01:56:18.068Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-01T01:56:18.349Z] Stashed 1 file(s) [Pipeline] echo [2021-11-01T01:56:18.351Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.11 [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-01T01:56:33.468Z] Still waiting to schedule task [2021-11-01T01:56:33.469Z] ‘prd-centos7-blackbox-4c-2g-13499’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-11-01T01:56:33.469Z] ‘prd-centos7-docker-4c-2g-13615’ is offline [2021-11-01T01:56:33.470Z] Still waiting to schedule task [2021-11-01T01:56:33.470Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-13609’ [2021-11-01T01:57:32.353Z] Running on prd-centos7-docker-4c-2g-13617 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-11-01T01:57:32.366Z] Running in /w/workspace/device-rest-go/16 [Pipeline] { [Pipeline] checkout [2021-11-01T01:57:32.492Z] The recommended git tool is: git [2021-11-01T01:57:34.721Z] using credential edgex-jenkins-ssh [2021-11-01T01:57:34.737Z] Cloning the remote Git repository [2021-11-01T01:57:34.755Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-01T01:57:35.933Z] Avoid second fetch [2021-11-01T01:57:35.933Z] Checking out Revision 0dbcdd9e1503573a6358a2219750091d278c1a40 (main) [2021-11-01T01:57:34.922Z] > git init /w/workspace/device-rest-go/16 # timeout=10 [2021-11-01T01:57:34.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-01T01:57:34.972Z] > git --version # timeout=10 [2021-11-01T01:57:34.988Z] > git --version # 'git version 2.24.4' [2021-11-01T01:57:34.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T01:57:35.025Z] [INFO] Currently running in a labeled security context [2021-11-01T01:57:35.025Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T01:57:35.025Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/16@tmp/jenkins-gitclient-ssh3049574154546223266.key [2021-11-01T01:57:35.072Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T01:57:35.910Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-01T01:57:35.918Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T01:57:35.946Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T01:57:35.953Z] > git checkout -f 0dbcdd9e1503573a6358a2219750091d278c1a40 # timeout=10 [2021-11-01T01:57:39.691Z] Commit message: "Merge pull request #140 from lenny-intel/cors-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T01:57:39.991Z] provisioning config files... [2021-11-01T01:57:40.005Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config2518704601364277308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T01:57:40.383Z] ---> docker-login.sh [2021-11-01T01:57:40.383Z] nexus3.edgexfoundry.org:10001 [2021-11-01T01:57:40.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:57:40.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:57:40.383Z] Configure a credential helper to remove this warning. See [2021-11-01T01:57:40.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:57:40.383Z] [2021-11-01T01:57:40.383Z] Login Succeeded [2021-11-01T01:57:40.383Z] nexus3.edgexfoundry.org:10002 [2021-11-01T01:57:40.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:57:40.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:57:40.646Z] Configure a credential helper to remove this warning. See [2021-11-01T01:57:40.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:57:40.646Z] [2021-11-01T01:57:40.646Z] Login Succeeded [2021-11-01T01:57:40.646Z] nexus3.edgexfoundry.org:10003 [2021-11-01T01:57:40.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:57:40.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:57:40.908Z] Configure a credential helper to remove this warning. See [2021-11-01T01:57:40.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:57:40.908Z] [2021-11-01T01:57:40.908Z] Login Succeeded [2021-11-01T01:57:40.908Z] nexus3.edgexfoundry.org:10004 [2021-11-01T01:57:40.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:57:40.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:57:40.908Z] Configure a credential helper to remove this warning. See [2021-11-01T01:57:40.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:57:40.908Z] [2021-11-01T01:57:40.908Z] Login Succeeded [2021-11-01T01:57:40.908Z] docker.io [2021-11-01T01:57:40.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:57:41.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:57:41.169Z] Configure a credential helper to remove this warning. See [2021-11-01T01:57:41.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:57:41.169Z] [2021-11-01T01:57:41.169Z] Login Succeeded [2021-11-01T01:57:41.432Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T01:57:41.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T01:57:41.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T01:57:41.627Z] ========================================================= [2021-11-01T01:57:41.627Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-01T01:57:41.627Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:57:41.943Z] + 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-01T01:57:41.944Z] Sending build context to Docker daemon 119.3kB [2021-11-01T01:57:41.944Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T01:57:41.944Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-01T01:57:41.944Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-01T01:57:41.944Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T01:57:41.944Z] 31adcdaf11c8: Pulling fs layer [2021-11-01T01:57:41.944Z] b8b176561691: Pulling fs layer [2021-11-01T01:57:41.944Z] 4527c011a84f: Pulling fs layer [2021-11-01T01:57:41.944Z] 5d74067f8e1e: Pulling fs layer [2021-11-01T01:57:41.944Z] e0aca202a116: Pulling fs layer [2021-11-01T01:57:41.944Z] 3a43be97a3b4: Pulling fs layer [2021-11-01T01:57:41.944Z] 34cad66bf833: Pulling fs layer [2021-11-01T01:57:41.944Z] b4e3c513aaa6: Pulling fs layer [2021-11-01T01:57:41.944Z] e0aca202a116: Waiting [2021-11-01T01:57:41.944Z] 3a43be97a3b4: Waiting [2021-11-01T01:57:41.944Z] 34cad66bf833: Waiting [2021-11-01T01:57:41.944Z] b4e3c513aaa6: Waiting [2021-11-01T01:57:41.944Z] 4527c011a84f: Waiting [2021-11-01T01:57:41.944Z] 5d74067f8e1e: Waiting [2021-11-01T01:57:42.212Z] b8b176561691: Verifying Checksum [2021-11-01T01:57:42.212Z] b8b176561691: Download complete [2021-11-01T01:57:42.212Z] 31adcdaf11c8: Verifying Checksum [2021-11-01T01:57:42.212Z] 31adcdaf11c8: Download complete [2021-11-01T01:57:42.212Z] 5d74067f8e1e: Verifying Checksum [2021-11-01T01:57:42.212Z] 5d74067f8e1e: Download complete [2021-11-01T01:57:42.212Z] e0aca202a116: Verifying Checksum [2021-11-01T01:57:42.212Z] e0aca202a116: Download complete [2021-11-01T01:57:42.212Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T01:57:42.212Z] a0d0a0d46f8b: Download complete [2021-11-01T01:57:42.212Z] 3a43be97a3b4: Verifying Checksum [2021-11-01T01:57:42.212Z] 3a43be97a3b4: Download complete [2021-11-01T01:57:42.212Z] 34cad66bf833: Verifying Checksum [2021-11-01T01:57:42.212Z] 34cad66bf833: Download complete [2021-11-01T01:57:42.790Z] b4e3c513aaa6: Verifying Checksum [2021-11-01T01:57:42.790Z] b4e3c513aaa6: Download complete [2021-11-01T01:57:42.790Z] 4527c011a84f: Verifying Checksum [2021-11-01T01:57:42.790Z] 4527c011a84f: Download complete [2021-11-01T01:57:43.053Z] a0d0a0d46f8b: Pull complete [2021-11-01T01:57:43.053Z] 31adcdaf11c8: Pull complete [2021-11-01T01:57:43.318Z] b8b176561691: Pull complete [2021-11-01T01:57:48.676Z] 4527c011a84f: Pull complete [2021-11-01T01:57:48.676Z] 5d74067f8e1e: Pull complete [2021-11-01T01:57:48.676Z] e0aca202a116: Pull complete [2021-11-01T01:57:48.676Z] 3a43be97a3b4: Pull complete [2021-11-01T01:57:48.676Z] 34cad66bf833: Pull complete [2021-11-01T01:57:51.260Z] b4e3c513aaa6: Pull complete [2021-11-01T01:57:51.260Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-01T01:57:51.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-01T01:57:51.260Z] ---> 9f6097aaca64 [2021-11-01T01:57:51.260Z] Step 3/11 : ARG MAKE='make build' [2021-11-01T01:57:53.172Z] ---> Running in a52fbe6f65d7 [2021-11-01T01:57:53.434Z] Removing intermediate container a52fbe6f65d7 [2021-11-01T01:57:53.434Z] ---> f4bc1e0ce42f [2021-11-01T01:57:53.434Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T01:57:53.434Z] ---> Running in 9c31fee8219d [2021-11-01T01:57:53.434Z] Removing intermediate container 9c31fee8219d [2021-11-01T01:57:53.434Z] ---> 6dfd0d05d501 [2021-11-01T01:57:53.434Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T01:57:53.434Z] ---> Running in 20b590a4d110 [2021-11-01T01:57:53.697Z] Removing intermediate container 20b590a4d110 [2021-11-01T01:57:53.697Z] ---> 088d4e1dc292 [2021-11-01T01:57:53.697Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T01:57:53.697Z] ---> Running in cc247e46dec0 [2021-11-01T01:57:54.283Z] Removing intermediate container cc247e46dec0 [2021-11-01T01:57:54.283Z] ---> 979b033a2b8c [2021-11-01T01:57:54.283Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T01:57:54.283Z] ---> Running in 1746ce8824a1 [2021-11-01T01:57:54.547Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T01:57:55.502Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T01:57:55.761Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-01T01:57:55.761Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-01T01:57:56.022Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-01T01:57:56.022Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-01T01:57:56.022Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T01:57:56.022Z] OK: 224 MiB in 56 packages [2021-11-01T01:57:56.593Z] Removing intermediate container 1746ce8824a1 [2021-11-01T01:57:56.593Z] ---> ad21e58ce8a2 [2021-11-01T01:57:56.593Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-01T01:57:56.593Z] ---> Running in 8bdf5500a237 [2021-11-01T01:57:56.593Z] Removing intermediate container 8bdf5500a237 [2021-11-01T01:57:56.593Z] ---> db14ae28b30a [2021-11-01T01:57:56.593Z] Step 9/11 : COPY . . [2021-11-01T01:57:56.593Z] ---> 3e911c52e4cf [2021-11-01T01:57:56.593Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T01:57:56.858Z] ---> Running in 0e7e78530cd4 [2021-11-01T01:58:35.729Z] Removing intermediate container 0e7e78530cd4 [2021-11-01T01:58:35.729Z] ---> e178b160e214 [2021-11-01T01:58:35.729Z] Step 11/11 : RUN $MAKE [2021-11-01T01:58:35.729Z] ---> Running in 51c9b06a82bd [2021-11-01T01:58:35.729Z] noop [2021-11-01T01:58:35.729Z] Removing intermediate container 51c9b06a82bd [2021-11-01T01:58:35.729Z] ---> 26e434cf569a [2021-11-01T01:58:35.729Z] Successfully built 26e434cf569a [2021-11-01T01:58:35.729Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:58:36.035Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T01:58:36.035Z] . [Pipeline] withDockerContainer [2021-11-01T01:58:36.106Z] prd-centos7-docker-4c-2g-13617 does not seem to be running inside a container [2021-11-01T01:58:36.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 ******** ci-base-image-x86_64 cat [2021-11-01T01:58:36.489Z] $ docker top 4966584ca55696434084f7a5497e42e24259b18c606430d3be1ede7a302be0f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T01:58:36.866Z] + go version [2021-11-01T01:58:36.866Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-01T01:58:36.882Z] $ docker stop --time=1 4966584ca55696434084f7a5497e42e24259b18c606430d3be1ede7a302be0f8 [2021-11-01T01:58:38.054Z] $ docker rm -f 4966584ca55696434084f7a5497e42e24259b18c606430d3be1ede7a302be0f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:58:38.611Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T01:58:38.611Z] . [Pipeline] withDockerContainer [2021-11-01T01:58:38.677Z] prd-centos7-docker-4c-2g-13617 does not seem to be running inside a container [2021-11-01T01:58:38.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 ******** ci-base-image-x86_64 cat [2021-11-01T01:58:39.100Z] $ docker top bc1e7cdc759725d09e3b8f6e6be65ba52ab809a18c72f52476f594ae351088e4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T01:58:39.472Z] + make test [2021-11-01T01:58:39.472Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-01T01:58:40.049Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-01T01:58:58.236Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-01T01:58:58.236Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements [2021-11-01T01:58:58.236Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T01:59:06.448Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T01:59:06.448Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T01:59:06.448Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T01:59:06.727Z] $ docker stop --time=1 bc1e7cdc759725d09e3b8f6e6be65ba52ab809a18c72f52476f594ae351088e4 [2021-11-01T01:59:09.682Z] $ docker rm -f bc1e7cdc759725d09e3b8f6e6be65ba52ab809a18c72f52476f594ae351088e4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T01:59:10.124Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T01:59:10.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-01T01:59:11.024Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T01:59:11.318Z] + ls -al . [2021-11-01T01:59:11.318Z] total 144 [2021-11-01T01:59:11.318Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 1 01:59 . [2021-11-01T01:59:11.318Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 1 01:57 .. [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 1 01:57 Attribution.txt [2021-11-01T01:59:11.318Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 1 01:57 bin [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 1 01:57 CHANGELOG.md [2021-11-01T01:59:11.318Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 1 01:57 cmd [2021-11-01T01:59:11.318Z] -rw-r--r--. 1 jenkins jenkins 8435 Nov 1 01:58 coverage.out [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 1 01:57 Dockerfile [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 1 01:57 .dockerignore [2021-11-01T01:59:11.318Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 1 01:57 driver [2021-11-01T01:59:11.318Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 1 01:57 .git [2021-11-01T01:59:11.318Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 1 01:57 .github [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 1 01:57 .gitignore [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 285 Nov 1 01:57 go.mod [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 50386 Nov 1 01:57 go.sum [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 01:57 GOVERNANCE.md [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 1 01:57 Jenkinsfile [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 1 01:57 LICENSE [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 1 01:57 Makefile [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 1 01:57 OWNERS.md [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 7661 Nov 1 01:57 README.md [2021-11-01T01:59:11.318Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 1 01:57 snap [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 1 01:56 VERSION [2021-11-01T01:59:11.318Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 1 01:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:11.620Z] + 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=0dbcdd9e1503573a6358a2219750091d278c1a40 --label arch=amd64 --label version=2.0.1-dev.11 . [2021-11-01T01:59:11.620Z] Sending build context to Docker daemon 128.5kB [2021-11-01T01:59:11.620Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T01:59:11.620Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-01T01:59:11.620Z] ---> 26e434cf569a [2021-11-01T01:59:11.620Z] Step 3/24 : ARG MAKE='make build' [2021-11-01T01:59:11.620Z] ---> Running in 168bd139e902 [2021-11-01T01:59:11.882Z] Removing intermediate container 168bd139e902 [2021-11-01T01:59:11.882Z] ---> f3c7b15484c5 [2021-11-01T01:59:11.882Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T01:59:11.882Z] ---> Running in d2093a7eed20 [2021-11-01T01:59:12.151Z] Removing intermediate container d2093a7eed20 [2021-11-01T01:59:12.151Z] ---> aa06fc8a94b6 [2021-11-01T01:59:12.151Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T01:59:12.151Z] ---> Running in 4ce3b948ef07 [2021-11-01T01:59:12.413Z] Removing intermediate container 4ce3b948ef07 [2021-11-01T01:59:12.413Z] ---> f17cf6c74378 [2021-11-01T01:59:12.413Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T01:59:12.413Z] ---> Running in 27c4f4bc8ae6 [2021-11-01T01:59:12.984Z] Removing intermediate container 27c4f4bc8ae6 [2021-11-01T01:59:12.984Z] ---> f37efb580baa [2021-11-01T01:59:12.984Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T01:59:12.984Z] ---> Running in f4c82adfba63 [2021-11-01T01:59:13.245Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T01:59:14.191Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T01:59:14.768Z] OK: 224 MiB in 56 packages [2021-11-01T01:59:15.033Z] Removing intermediate container f4c82adfba63 [2021-11-01T01:59:15.033Z] ---> 267a5c31d8e2 [2021-11-01T01:59:15.033Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-01T01:59:15.033Z] ---> Running in 7865670e5152 [2021-11-01T01:59:15.033Z] Removing intermediate container 7865670e5152 [2021-11-01T01:59:15.033Z] ---> 4f151eef0f9e [2021-11-01T01:59:15.033Z] Step 9/24 : COPY . . [2021-11-01T01:59:15.297Z] ---> c5773f1cd2ba [2021-11-01T01:59:15.297Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T01:59:15.297Z] ---> Running in 6d19b9060ca0 [2021-11-01T01:59:16.254Z] Removing intermediate container 6d19b9060ca0 [2021-11-01T01:59:16.254Z] ---> 366fdf053f44 [2021-11-01T01:59:16.254Z] Step 11/24 : RUN $MAKE [2021-11-01T01:59:16.254Z] ---> Running in ee5d99c0f491 [2021-11-01T01:59:16.254Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.11" -o cmd/device-rest ./cmd [2021-11-01T01:59:28.781Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13620 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-11-01T01:59:28.797Z] Running in /w/workspace/device-rest-go/16 [Pipeline] { [Pipeline] checkout [2021-11-01T01:59:29.029Z] The recommended git tool is: git [2021-11-01T01:59:31.293Z] Removing intermediate container ee5d99c0f491 [2021-11-01T01:59:31.293Z] ---> 2fcbe197236b [2021-11-01T01:59:31.293Z] Step 12/24 : FROM alpine:3.14 [2021-11-01T01:59:31.552Z] 3.14: Pulling from library/alpine [2021-11-01T01:59:31.552Z] a0d0a0d46f8b: Already exists [2021-11-01T01:59:31.816Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T01:59:31.816Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T01:59:31.816Z] ---> 14119a10abf4 [2021-11-01T01:59:31.816Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-01T01:59:31.816Z] ---> Running in 412b587abba5 [2021-11-01T01:59:31.816Z] Removing intermediate container 412b587abba5 [2021-11-01T01:59:31.816Z] ---> 2264b014d9c3 [2021-11-01T01:59:31.816Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-01T01:59:31.816Z] ---> Running in 6d2ff7adbad6 [2021-11-01T01:59:32.083Z] Removing intermediate container 6d2ff7adbad6 [2021-11-01T01:59:32.083Z] ---> 6ab9a692875a [2021-11-01T01:59:32.083Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-01T01:59:32.083Z] ---> Running in 1fcde20f9234 [2021-11-01T01:59:32.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T01:59:32.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T01:59:32.607Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-01T01:59:32.607Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T01:59:32.607Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-01T01:59:32.607Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T01:59:32.607Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-01T01:59:32.607Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-01T01:59:32.607Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T01:59:32.607Z] OK: 8 MiB in 20 packages [2021-11-01T01:59:33.179Z] Removing intermediate container 1fcde20f9234 [2021-11-01T01:59:33.179Z] ---> c407dc1110c1 [2021-11-01T01:59:33.179Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-01T01:59:33.439Z] ---> 347ac945a753 [2021-11-01T01:59:33.439Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-01T01:59:33.698Z] ---> 6d8b76941802 [2021-11-01T01:59:33.698Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-01T01:59:33.698Z] ---> 637f781f2c0c [2021-11-01T01:59:33.698Z] Step 19/24 : EXPOSE 59986 [2021-11-01T01:59:33.698Z] ---> Running in 3a76476aabd2 [2021-11-01T01:59:33.969Z] Removing intermediate container 3a76476aabd2 [2021-11-01T01:59:33.969Z] ---> 8b896f5485a4 [2021-11-01T01:59:33.969Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-01T01:59:33.969Z] ---> Running in 981e99710bf5 [2021-11-01T01:59:33.969Z] Removing intermediate container 981e99710bf5 [2021-11-01T01:59:33.969Z] ---> ac9cc32584e5 [2021-11-01T01:59:33.969Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-01T01:59:33.969Z] ---> Running in 86ea2638cafe [2021-11-01T01:59:33.969Z] Removing intermediate container 86ea2638cafe [2021-11-01T01:59:33.969Z] ---> 09cb91242c45 [2021-11-01T01:59:33.969Z] Step 22/24 : LABEL arch=amd64 [2021-11-01T01:59:33.969Z] ---> Running in 5bcca17dee57 [2021-11-01T01:59:34.230Z] Removing intermediate container 5bcca17dee57 [2021-11-01T01:59:34.230Z] ---> 942c299febc0 [2021-11-01T01:59:34.230Z] Step 23/24 : LABEL git_sha=0dbcdd9e1503573a6358a2219750091d278c1a40 [2021-11-01T01:59:34.230Z] ---> Running in b8cb76945d2a [2021-11-01T01:59:34.230Z] Removing intermediate container b8cb76945d2a [2021-11-01T01:59:34.230Z] ---> 8a5b204c31d1 [2021-11-01T01:59:34.230Z] Step 24/24 : LABEL version=2.0.1-dev.11 [2021-11-01T01:59:34.230Z] ---> Running in 87e18098d0ea [2021-11-01T01:59:34.488Z] Removing intermediate container 87e18098d0ea [2021-11-01T01:59:34.488Z] ---> 624b47039453 [2021-11-01T01:59:34.488Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T01:59:34.488Z] Successfully built 624b47039453 [2021-11-01T01:59:34.488Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T01:59:35.034Z] provisioning config files... [2021-11-01T01:59:35.051Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config4118677168060897602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T01:59:35.123Z] using credential edgex-jenkins-ssh [2021-11-01T01:59:35.149Z] Cloning the remote Git repository [2021-11-01T01:59:35.360Z] ---> docker-login.sh [2021-11-01T01:59:35.360Z] nexus3.edgexfoundry.org:10001 [2021-11-01T01:59:35.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:59:35.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:59:35.360Z] Configure a credential helper to remove this warning. See [2021-11-01T01:59:35.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:59:35.360Z] [2021-11-01T01:59:35.360Z] Login Succeeded [2021-11-01T01:59:35.360Z] nexus3.edgexfoundry.org:10002 [2021-11-01T01:59:35.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:59:35.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:59:35.621Z] Configure a credential helper to remove this warning. See [2021-11-01T01:59:35.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:59:35.621Z] [2021-11-01T01:59:35.621Z] Login Succeeded [2021-11-01T01:59:35.621Z] nexus3.edgexfoundry.org:10003 [2021-11-01T01:59:35.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:59:35.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:59:35.621Z] Configure a credential helper to remove this warning. See [2021-11-01T01:59:35.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:59:35.621Z] [2021-11-01T01:59:35.621Z] Login Succeeded [2021-11-01T01:59:35.621Z] nexus3.edgexfoundry.org:10004 [2021-11-01T01:59:35.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:59:35.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:59:35.621Z] Configure a credential helper to remove this warning. See [2021-11-01T01:59:35.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:59:35.621Z] [2021-11-01T01:59:35.621Z] Login Succeeded [2021-11-01T01:59:35.621Z] docker.io [2021-11-01T01:59:35.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T01:59:36.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T01:59:36.146Z] Configure a credential helper to remove this warning. See [2021-11-01T01:59:36.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T01:59:36.147Z] [2021-11-01T01:59:36.147Z] Login Succeeded [2021-11-01T01:59:36.147Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T01:59:36.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T01:59:36.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T01:59:36.225Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-11-01T01:59:36.225Z] 0dbcdd9e1503573a6358a2219750091d278c1a40 [2021-11-01T01:59:36.225Z] latest [2021-11-01T01:59:36.225Z] 2.0.1-dev.11 [2021-11-01T01:59:36.225Z] 0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 [2021-11-01T01:59:36.225Z] main [2021-11-01T01:59:36.225Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:35.278Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-01T01:59:35.442Z] > git init /w/workspace/device-rest-go/16 # timeout=10 [2021-11-01T01:59:35.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-01T01:59:35.638Z] > git --version # timeout=10 [2021-11-01T01:59:35.670Z] > git --version # 'git version 2.17.1' [2021-11-01T01:59:35.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T01:59:35.757Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T01:59:36.533Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:36.835Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40 [2021-11-01T01:59:36.835Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-01T01:59:36.835Z] b812a7497096: Preparing [2021-11-01T01:59:36.835Z] 91de73d7900a: Preparing [2021-11-01T01:59:36.835Z] 07c182fea59d: Preparing [2021-11-01T01:59:36.835Z] a5189e972040: Preparing [2021-11-01T01:59:36.835Z] e2eb06d8af82: Preparing [2021-11-01T01:59:36.835Z] e2eb06d8af82: Layer already exists [2021-11-01T01:59:37.100Z] 91de73d7900a: Pushed [2021-11-01T01:59:37.100Z] b812a7497096: Pushed [2021-11-01T01:59:37.100Z] a5189e972040: Pushed [2021-11-01T01:59:37.384Z] Avoid second fetch [2021-11-01T01:59:37.384Z] Checking out Revision 0dbcdd9e1503573a6358a2219750091d278c1a40 (main) [2021-11-01T01:59:37.333Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-01T01:59:37.356Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T01:59:37.403Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T01:59:37.418Z] > git checkout -f 0dbcdd9e1503573a6358a2219750091d278c1a40 # timeout=10 [2021-11-01T01:59:38.044Z] 07c182fea59d: Pushed [2021-11-01T01:59:38.044Z] 0dbcdd9e1503573a6358a2219750091d278c1a40: digest: sha256:0d66162eff35e28b42aa7156ee4393ec4d17d2e0b918d86c3fe93d543823e65d size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:38.342Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:38.644Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-11-01T01:59:38.644Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-01T01:59:38.644Z] b812a7497096: Preparing [2021-11-01T01:59:38.644Z] 91de73d7900a: Preparing [2021-11-01T01:59:38.644Z] 07c182fea59d: Preparing [2021-11-01T01:59:38.644Z] a5189e972040: Preparing [2021-11-01T01:59:38.644Z] e2eb06d8af82: Preparing [2021-11-01T01:59:38.644Z] e2eb06d8af82: Layer already exists [2021-11-01T01:59:38.644Z] 07c182fea59d: Layer already exists [2021-11-01T01:59:38.644Z] b812a7497096: Layer already exists [2021-11-01T01:59:38.644Z] 91de73d7900a: Layer already exists [2021-11-01T01:59:38.644Z] a5189e972040: Layer already exists [2021-11-01T01:59:38.644Z] latest: digest: sha256:0d66162eff35e28b42aa7156ee4393ec4d17d2e0b918d86c3fe93d543823e65d size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:38.957Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:39.261Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.11 [2021-11-01T01:59:39.261Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-01T01:59:39.261Z] b812a7497096: Preparing [2021-11-01T01:59:39.261Z] 91de73d7900a: Preparing [2021-11-01T01:59:39.261Z] 07c182fea59d: Preparing [2021-11-01T01:59:39.261Z] a5189e972040: Preparing [2021-11-01T01:59:39.261Z] e2eb06d8af82: Preparing [2021-11-01T01:59:39.261Z] e2eb06d8af82: Layer already exists [2021-11-01T01:59:39.261Z] a5189e972040: Layer already exists [2021-11-01T01:59:39.261Z] 91de73d7900a: Layer already exists [2021-11-01T01:59:39.261Z] b812a7497096: Layer already exists [2021-11-01T01:59:39.261Z] 07c182fea59d: Layer already exists [2021-11-01T01:59:39.261Z] 2.0.1-dev.11: digest: sha256:0d66162eff35e28b42aa7156ee4393ec4d17d2e0b918d86c3fe93d543823e65d size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:39.559Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:39.855Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 [2021-11-01T01:59:39.855Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-01T01:59:39.855Z] b812a7497096: Preparing [2021-11-01T01:59:39.855Z] 91de73d7900a: Preparing [2021-11-01T01:59:39.855Z] 07c182fea59d: Preparing [2021-11-01T01:59:39.855Z] a5189e972040: Preparing [2021-11-01T01:59:39.855Z] e2eb06d8af82: Preparing [2021-11-01T01:59:39.855Z] e2eb06d8af82: Layer already exists [2021-11-01T01:59:39.855Z] b812a7497096: Layer already exists [2021-11-01T01:59:39.855Z] a5189e972040: Layer already exists [2021-11-01T01:59:39.855Z] 07c182fea59d: Layer already exists [2021-11-01T01:59:39.855Z] 91de73d7900a: Layer already exists [2021-11-01T01:59:39.855Z] 0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11: digest: sha256:0d66162eff35e28b42aa7156ee4393ec4d17d2e0b918d86c3fe93d543823e65d size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:40.154Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:40.445Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-11-01T01:59:40.445Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-01T01:59:40.445Z] b812a7497096: Preparing [2021-11-01T01:59:40.445Z] 91de73d7900a: Preparing [2021-11-01T01:59:40.445Z] 07c182fea59d: Preparing [2021-11-01T01:59:40.445Z] a5189e972040: Preparing [2021-11-01T01:59:40.445Z] e2eb06d8af82: Preparing [2021-11-01T01:59:40.445Z] e2eb06d8af82: Layer already exists [2021-11-01T01:59:40.445Z] a5189e972040: Layer already exists [2021-11-01T01:59:40.445Z] 91de73d7900a: Layer already exists [2021-11-01T01:59:40.445Z] b812a7497096: Layer already exists [2021-11-01T01:59:40.445Z] 07c182fea59d: Layer already exists [2021-11-01T01:59:40.445Z] main: digest: sha256:0d66162eff35e28b42aa7156ee4393ec4d17d2e0b918d86c3fe93d543823e65d size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T01:59:40.475Z] ===================================================== [Pipeline] echo [2021-11-01T01:59:40.483Z] taggedImages: [2021-11-01T01:59:40.483Z] - nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40 [2021-11-01T01:59:40.483Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-11-01T01:59:40.483Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.11 [2021-11-01T01:59:40.483Z] - nexus3.edgexfoundry.org:10004/device-rest:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 [2021-11-01T01:59:40.483Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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-01T01:59:41.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T01:59:41.015Z] [2021-11-01T01:59:41.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T01:59:41.327Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T01:59:41.327Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T01:59:41.327Z] b4d181a07f80: Pulling fs layer [2021-11-01T01:59:41.327Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T01:59:41.327Z] ed53099fbce6: Pulling fs layer [2021-11-01T01:59:41.327Z] dc539afda2c1: Pulling fs layer [2021-11-01T01:59:41.327Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T01:59:41.327Z] 9065ff56babe: Pulling fs layer [2021-11-01T01:59:41.327Z] d287ab97295c: Pulling fs layer [2021-11-01T01:59:41.327Z] dc539afda2c1: Waiting [2021-11-01T01:59:41.327Z] 77bc0d833cb6: Waiting [2021-11-01T01:59:41.327Z] 9065ff56babe: Waiting [2021-11-01T01:59:41.327Z] d287ab97295c: Waiting [2021-11-01T01:59:41.327Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T01:59:41.327Z] a1111a8f2ec3: Download complete [2021-11-01T01:59:41.327Z] dc539afda2c1: Verifying Checksum [2021-11-01T01:59:41.327Z] dc539afda2c1: Download complete [2021-11-01T01:59:41.599Z] ed53099fbce6: Verifying Checksum [2021-11-01T01:59:41.599Z] ed53099fbce6: Download complete [2021-11-01T01:59:41.599Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T01:59:41.599Z] 77bc0d833cb6: Download complete [2021-11-01T01:59:41.599Z] b4d181a07f80: Verifying Checksum [2021-11-01T01:59:41.599Z] b4d181a07f80: Download complete [2021-11-01T01:59:41.599Z] 9065ff56babe: Verifying Checksum [2021-11-01T01:59:41.599Z] 9065ff56babe: Download complete [2021-11-01T01:59:41.865Z] Commit message: "Merge pull request #140 from lenny-intel/cors-secrets" [2021-11-01T01:59:42.121Z] [2021-11-01T01:59:42.121Z] GitHub has been notified of this commit’s build result [2021-11-01T01:59:42.121Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T01:59:42.183Z] d287ab97295c: Verifying Checksum [2021-11-01T01:59:42.183Z] d287ab97295c: Download complete [2021-11-01T01:59:42.729Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-01T01:59:42.729Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T01:59:42.729Z] Dload Upload Total Spent Left Speed [2021-11-01T01:59:42.729Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2021-11-01T01:59:43.140Z] b4d181a07f80: Pull complete [2021-11-01T01:59:43.140Z] a1111a8f2ec3: Pull complete [2021-11-01T01:59:43.144Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-01T01:59:43.490Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-01T01:59:43.490Z] + sudo tee /etc/docker/daemon.new [2021-11-01T01:59:43.490Z] { [2021-11-01T01:59:43.490Z] "registry-mirrors": [ [2021-11-01T01:59:43.490Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-01T01:59:43.490Z] ], [2021-11-01T01:59:43.490Z] "bip": "10.250.0.254/24", [2021-11-01T01:59:43.490Z] "hosts": [ [2021-11-01T01:59:43.490Z] "tcp://0.0.0.0:5555", [2021-11-01T01:59:43.490Z] "unix:///var/run/docker.sock" [2021-11-01T01:59:43.490Z] ], [2021-11-01T01:59:43.490Z] "mtu": 1458, [2021-11-01T01:59:43.490Z] "selinux-enabled": true, [2021-11-01T01:59:43.490Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-01T01:59:43.490Z] } [Pipeline] sh [2021-11-01T01:59:43.710Z] ed53099fbce6: Pull complete [2021-11-01T01:59:43.710Z] dc539afda2c1: Pull complete [2021-11-01T01:59:43.844Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-01T01:59:43.975Z] 77bc0d833cb6: Pull complete [2021-11-01T01:59:44.197Z] + sudo service docker restart [2021-11-01T01:59:44.239Z] 9065ff56babe: Pull complete [2021-11-01T01:59:49.588Z] d287ab97295c: Pull complete [2021-11-01T01:59:49.588Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T01:59:49.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T01:59:49.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T01:59:49.676Z] prd-centos7-docker-4c-2g-13617 does not seem to be running inside a container [2021-11-01T01:59:49.710Z] $ 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/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-01T01:59:52.261Z] $ docker top 18d887e9e9f22f16f35d6ac069434b49c4d52e0e4cd8563e3f6aa5f63cbea087 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T01:59:52.649Z] ---> job-cost.sh [2021-11-01T01:59:52.649Z] lf-activate-venv: SKIPPING [2021-11-01T01:59:52.649Z] INFO: No Stack... [2021-11-01T01:59:52.909Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T01:59:53.171Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T01:59:53.469Z] + cat /w/workspace/device-rest-go/16/archives/cost.csv [2021-11-01T01:59:53.469Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T01:59:53.492Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] [2021-11-01T01:59:53.501Z] Resource [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] did not exist. Created. [2021-11-01T01:59:53.501Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T01:59:53.800Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-01T01:59:53.829Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T01:59:53.835Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T01:59:53.847Z] $ docker stop --time=1 18d887e9e9f22f16f35d6ac069434b49c4d52e0e4cd8563e3f6aa5f63cbea087 [2021-11-01T01:59:54.973Z] $ docker rm -f 18d887e9e9f22f16f35d6ac069434b49c4d52e0e4cd8563e3f6aa5f63cbea087 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T02:00:02.560Z] provisioning config files... [2021-11-01T02:00:02.587Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config2177181299390355224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:00:02.954Z] ---> docker-login.sh [2021-11-01T02:00:02.954Z] nexus3.edgexfoundry.org:10001 [2021-11-01T02:00:03.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:00:04.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:00:04.211Z] Configure a credential helper to remove this warning. See [2021-11-01T02:00:04.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:00:04.211Z] [2021-11-01T02:00:04.211Z] Login Succeeded [2021-11-01T02:00:04.211Z] nexus3.edgexfoundry.org:10002 [2021-11-01T02:00:04.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:00:04.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:00:04.760Z] Configure a credential helper to remove this warning. See [2021-11-01T02:00:04.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:00:04.760Z] [2021-11-01T02:00:04.760Z] Login Succeeded [2021-11-01T02:00:04.760Z] nexus3.edgexfoundry.org:10003 [2021-11-01T02:00:05.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:00:05.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:00:05.317Z] Configure a credential helper to remove this warning. See [2021-11-01T02:00:05.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:00:05.317Z] [2021-11-01T02:00:05.317Z] Login Succeeded [2021-11-01T02:00:05.317Z] nexus3.edgexfoundry.org:10004 [2021-11-01T02:00:05.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:00:05.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:00:05.879Z] Configure a credential helper to remove this warning. See [2021-11-01T02:00:05.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:00:05.879Z] [2021-11-01T02:00:05.879Z] Login Succeeded [2021-11-01T02:00:05.879Z] docker.io [2021-11-01T02:00:06.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:00:06.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:00:06.751Z] Configure a credential helper to remove this warning. See [2021-11-01T02:00:06.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:00:06.751Z] [2021-11-01T02:00:06.751Z] Login Succeeded [2021-11-01T02:00:06.751Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T02:00:06.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T02:00:07.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T02:00:07.139Z] ========================================================= [2021-11-01T02:00:07.139Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-01T02:00:07.139Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:00:07.597Z] + 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-01T02:00:07.597Z] Sending build context to Docker daemon 119.3kB [2021-11-01T02:00:07.902Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T02:00:07.902Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-01T02:00:08.217Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-01T02:00:08.217Z] 552d1f2373af: Pulling fs layer [2021-11-01T02:00:08.217Z] ea3f2d53f512: Pulling fs layer [2021-11-01T02:00:08.217Z] 9e70ebbbe112: Pulling fs layer [2021-11-01T02:00:08.217Z] 7a9cfe048b4a: Pulling fs layer [2021-11-01T02:00:08.217Z] 72dc09318566: Pulling fs layer [2021-11-01T02:00:08.217Z] f4f7b4309257: Pulling fs layer [2021-11-01T02:00:08.217Z] 0ac9a79272e3: Pulling fs layer [2021-11-01T02:00:08.217Z] b78e95d17946: Pulling fs layer [2021-11-01T02:00:08.217Z] f4f7b4309257: Waiting [2021-11-01T02:00:08.217Z] 7a9cfe048b4a: Waiting [2021-11-01T02:00:08.217Z] 72dc09318566: Waiting [2021-11-01T02:00:08.217Z] b78e95d17946: Waiting [2021-11-01T02:00:08.217Z] 0ac9a79272e3: Waiting [2021-11-01T02:00:08.217Z] 9e70ebbbe112: Verifying Checksum [2021-11-01T02:00:08.217Z] 9e70ebbbe112: Download complete [2021-11-01T02:00:08.217Z] ea3f2d53f512: Verifying Checksum [2021-11-01T02:00:08.217Z] ea3f2d53f512: Download complete [2021-11-01T02:00:08.217Z] 72dc09318566: Verifying Checksum [2021-11-01T02:00:08.217Z] 72dc09318566: Download complete [2021-11-01T02:00:08.217Z] f4f7b4309257: Verifying Checksum [2021-11-01T02:00:08.217Z] f4f7b4309257: Download complete [2021-11-01T02:00:08.217Z] 0ac9a79272e3: Verifying Checksum [2021-11-01T02:00:08.217Z] 0ac9a79272e3: Download complete [2021-11-01T02:00:08.217Z] 552d1f2373af: Verifying Checksum [2021-11-01T02:00:08.518Z] 552d1f2373af: Download complete [2021-11-01T02:00:09.133Z] 552d1f2373af: Pull complete [2021-11-01T02:00:09.745Z] ea3f2d53f512: Pull complete [2021-11-01T02:00:10.349Z] 9e70ebbbe112: Pull complete [2021-11-01T02:00:10.349Z] b78e95d17946: Verifying Checksum [2021-11-01T02:00:10.349Z] b78e95d17946: Download complete [2021-11-01T02:00:10.630Z] 7a9cfe048b4a: Verifying Checksum [2021-11-01T02:00:10.630Z] 7a9cfe048b4a: Download complete [2021-11-01T02:00:20.816Z] 7a9cfe048b4a: Pull complete [2021-11-01T02:00:20.816Z] 72dc09318566: Pull complete [2021-11-01T02:00:21.420Z] f4f7b4309257: Pull complete [2021-11-01T02:00:21.699Z] 0ac9a79272e3: Pull complete [2021-11-01T02:00:28.476Z] b78e95d17946: Pull complete [2021-11-01T02:00:28.476Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-01T02:00:28.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-01T02:00:28.476Z] ---> 8b459fc5aaf0 [2021-11-01T02:00:28.476Z] Step 3/11 : ARG MAKE='make build' [2021-11-01T02:00:30.650Z] ---> Running in ab844f87cf0a [2021-11-01T02:00:30.928Z] Removing intermediate container ab844f87cf0a [2021-11-01T02:00:30.928Z] ---> 4eedfd6bcca0 [2021-11-01T02:00:30.928Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T02:00:31.200Z] ---> Running in b57fae57fea2 [2021-11-01T02:00:31.481Z] Removing intermediate container b57fae57fea2 [2021-11-01T02:00:31.481Z] ---> c7aee6cbff0d [2021-11-01T02:00:31.481Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T02:00:31.760Z] ---> Running in 362891941f35 [2021-11-01T02:00:32.033Z] Removing intermediate container 362891941f35 [2021-11-01T02:00:32.033Z] ---> 273311cd5e66 [2021-11-01T02:00:32.033Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T02:00:32.306Z] ---> Running in 90f1f9b6307f [2021-11-01T02:00:34.297Z] Removing intermediate container 90f1f9b6307f [2021-11-01T02:00:34.297Z] ---> b2212785cd8a [2021-11-01T02:00:34.297Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T02:00:34.570Z] ---> Running in 3b6c6ea64619 [2021-11-01T02:00:35.569Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T02:00:36.555Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T02:00:37.534Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-01T02:00:37.806Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-01T02:00:37.806Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-01T02:00:38.080Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-01T02:00:38.080Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T02:00:38.080Z] OK: 223 MiB in 56 packages [2021-11-01T02:00:39.526Z] Removing intermediate container 3b6c6ea64619 [2021-11-01T02:00:39.526Z] ---> c6f246e16cd0 [2021-11-01T02:00:39.526Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-01T02:00:39.526Z] ---> Running in 456990aae0db [2021-11-01T02:00:40.127Z] Removing intermediate container 456990aae0db [2021-11-01T02:00:40.127Z] ---> 5bfbde9acaea [2021-11-01T02:00:40.127Z] Step 9/11 : COPY . . [2021-11-01T02:00:40.747Z] ---> f7a95060cf02 [2021-11-01T02:00:40.747Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T02:00:41.024Z] ---> Running in 4f2820a52bde [2021-11-01T02:02:02.860Z] Removing intermediate container 4f2820a52bde [2021-11-01T02:02:02.860Z] ---> aacf3be53a67 [2021-11-01T02:02:02.860Z] Step 11/11 : RUN $MAKE [2021-11-01T02:02:02.860Z] ---> Running in 730f8144f940 [2021-11-01T02:02:02.860Z] noop [2021-11-01T02:02:02.860Z] Removing intermediate container 730f8144f940 [2021-11-01T02:02:02.860Z] ---> 0b2bcb6dc8ad [2021-11-01T02:02:02.860Z] Successfully built 0b2bcb6dc8ad [2021-11-01T02:02:02.861Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:02:03.221Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T02:02:03.221Z] . [Pipeline] withDockerContainer [2021-11-01T02:02:03.477Z] prd-ubuntu18.04-docker-arm64-4c-16g-13620 does not seem to be running inside a container [2021-11-01T02:02:03.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 ******** ci-base-image-arm64 cat [2021-11-01T02:02:05.183Z] $ docker top a9d46d173decfce51b478de7e2b14276a1003c225d86d910694d4f81298cf70f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T02:02:06.152Z] + go version [2021-11-01T02:02:06.152Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-01T02:02:06.177Z] $ docker stop --time=1 a9d46d173decfce51b478de7e2b14276a1003c225d86d910694d4f81298cf70f [2021-11-01T02:02:07.994Z] $ docker rm -f a9d46d173decfce51b478de7e2b14276a1003c225d86d910694d4f81298cf70f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:02:08.750Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T02:02:08.750Z] . [Pipeline] withDockerContainer [2021-11-01T02:02:09.004Z] prd-ubuntu18.04-docker-arm64-4c-16g-13620 does not seem to be running inside a container [2021-11-01T02:02:09.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 ******** ci-base-image-arm64 cat [2021-11-01T02:02:10.695Z] $ docker top e893539632c9941def09761266419ec78925fd3f5828adb5f990e2f0e2eb8f6c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T02:02:11.701Z] + make test [2021-11-01T02:02:11.701Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-01T02:02:13.150Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-01T02:03:21.272Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-01T02:03:21.272Z] ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 53.8% of statements [2021-11-01T02:03:21.272Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T02:03:48.154Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T02:03:48.154Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T02:03:48.154Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T02:03:48.179Z] $ docker stop --time=1 e893539632c9941def09761266419ec78925fd3f5828adb5f990e2f0e2eb8f6c [2021-11-01T02:03:50.148Z] $ docker rm -f e893539632c9941def09761266419ec78925fd3f5828adb5f990e2f0e2eb8f6c [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T02:03:51.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T02:03:51.125Z] Warning: overwriting stash ‘coverage-report’ [2021-11-01T02:03:51.690Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T02:03:52.160Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T02:03:52.515Z] + ls -al . [2021-11-01T02:03:52.515Z] total 172 [2021-11-01T02:03:52.515Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 02:03 . [2021-11-01T02:03:52.515Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 01:59 .. [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 01:59 .dockerignore [2021-11-01T02:03:52.515Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 01:59 .git [2021-11-01T02:03:52.515Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:59 .github [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 1 01:59 .gitignore [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 1 01:59 Attribution.txt [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 1 01:59 CHANGELOG.md [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 1 01:59 Dockerfile [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 01:59 GOVERNANCE.md [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 01:59 Jenkinsfile [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 01:59 LICENSE [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 1 01:59 Makefile [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 01:59 OWNERS.md [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 7661 Nov 1 01:59 README.md [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 01:56 VERSION [2021-11-01T02:03:52.515Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:59 bin [2021-11-01T02:03:52.515Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 01:59 cmd [2021-11-01T02:03:52.515Z] -rw-r--r-- 1 jenkins jenkins 8435 Nov 1 02:03 coverage.out [2021-11-01T02:03:52.515Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:59 driver [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 285 Nov 1 01:59 go.mod [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 50386 Nov 1 01:59 go.sum [2021-11-01T02:03:52.515Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 01:59 snap [2021-11-01T02:03:52.515Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 01:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:03:52.868Z] + 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=0dbcdd9e1503573a6358a2219750091d278c1a40 --label arch=arm64 --label version=2.0.1-dev.11 . [2021-11-01T02:03:52.868Z] Sending build context to Docker daemon 128.5kB [2021-11-01T02:03:53.470Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T02:03:53.470Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-01T02:03:53.470Z] ---> 0b2bcb6dc8ad [2021-11-01T02:03:53.470Z] Step 3/24 : ARG MAKE='make build' [2021-11-01T02:03:53.470Z] ---> Running in 72f029b9904a [2021-11-01T02:03:54.075Z] Removing intermediate container 72f029b9904a [2021-11-01T02:03:54.075Z] ---> e61eca21faf4 [2021-11-01T02:03:54.075Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T02:03:54.075Z] ---> Running in d12cb84e8ce0 [2021-11-01T02:03:54.679Z] Removing intermediate container d12cb84e8ce0 [2021-11-01T02:03:54.679Z] ---> 6cf305b61047 [2021-11-01T02:03:54.679Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T02:03:54.679Z] ---> Running in 649003f78d16 [2021-11-01T02:03:55.277Z] Removing intermediate container 649003f78d16 [2021-11-01T02:03:55.277Z] ---> e260b5938ffd [2021-11-01T02:03:55.277Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T02:03:55.277Z] ---> Running in 9df727797174 [2021-11-01T02:03:57.905Z] Removing intermediate container 9df727797174 [2021-11-01T02:03:57.905Z] ---> 910b629e3e1d [2021-11-01T02:03:57.905Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T02:03:57.905Z] ---> Running in 994b01365b21 [2021-11-01T02:03:59.340Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T02:04:00.325Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T02:04:01.306Z] OK: 223 MiB in 56 packages [2021-11-01T02:04:02.301Z] Removing intermediate container 994b01365b21 [2021-11-01T02:04:02.301Z] ---> f4a20ff44eb2 [2021-11-01T02:04:02.301Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-01T02:04:02.301Z] ---> Running in 705f8a5d4ed7 [2021-11-01T02:04:02.899Z] Removing intermediate container 705f8a5d4ed7 [2021-11-01T02:04:02.899Z] ---> 0b2b2cca8eb8 [2021-11-01T02:04:02.899Z] Step 9/24 : COPY . . [2021-11-01T02:04:03.907Z] ---> 1ab09ccf4184 [2021-11-01T02:04:03.907Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T02:04:03.907Z] ---> Running in b7dd02fee0de [2021-11-01T02:04:06.579Z] Removing intermediate container b7dd02fee0de [2021-11-01T02:04:06.579Z] ---> 993f3184b0f4 [2021-11-01T02:04:06.579Z] Step 11/24 : RUN $MAKE [2021-11-01T02:04:06.872Z] ---> Running in ee5c1cb3b067 [2021-11-01T02:04:08.366Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.11" -o cmd/device-rest ./cmd [2021-11-01T02:04:55.409Z] Removing intermediate container ee5c1cb3b067 [2021-11-01T02:04:55.409Z] ---> 8037a90cb786 [2021-11-01T02:04:55.409Z] Step 12/24 : FROM alpine:3.14 [2021-11-01T02:04:55.409Z] 3.14: Pulling from library/alpine [2021-11-01T02:04:55.409Z] 552d1f2373af: Already exists [2021-11-01T02:04:55.409Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T02:04:55.409Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T02:04:55.409Z] ---> bb3de5531c18 [2021-11-01T02:04:55.409Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-01T02:04:55.409Z] ---> Running in 78220e3b5bbb [2021-11-01T02:04:55.409Z] Removing intermediate container 78220e3b5bbb [2021-11-01T02:04:55.409Z] ---> 2cd6687b0afd [2021-11-01T02:04:55.409Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-01T02:04:55.409Z] ---> Running in 3aa00b549b16 [2021-11-01T02:04:55.409Z] Removing intermediate container 3aa00b549b16 [2021-11-01T02:04:55.409Z] ---> d7ccbec97ffe [2021-11-01T02:04:55.409Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-01T02:04:55.409Z] ---> Running in 82503e65b9ba [2021-11-01T02:04:55.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T02:04:55.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T02:04:55.409Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-01T02:04:55.409Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T02:04:55.409Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-01T02:04:55.409Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T02:04:55.409Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-01T02:04:55.409Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-01T02:04:55.409Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T02:04:55.409Z] OK: 8 MiB in 20 packages [2021-11-01T02:04:56.856Z] Removing intermediate container 82503e65b9ba [2021-11-01T02:04:56.856Z] ---> beecc7c1c16e [2021-11-01T02:04:56.856Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-01T02:04:57.845Z] ---> 481c6daf2ce4 [2021-11-01T02:04:57.845Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-01T02:04:58.863Z] ---> 5155a27d68bc [2021-11-01T02:04:58.863Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-01T02:04:59.854Z] ---> a0422ba8be8b [2021-11-01T02:04:59.854Z] Step 19/24 : EXPOSE 59986 [2021-11-01T02:04:59.854Z] ---> Running in 8f80b8a080a2 [2021-11-01T02:05:00.130Z] Removing intermediate container 8f80b8a080a2 [2021-11-01T02:05:00.130Z] ---> a7824e50fc02 [2021-11-01T02:05:00.130Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-01T02:05:00.407Z] ---> Running in b2c22f80cd23 [2021-11-01T02:05:01.016Z] Removing intermediate container b2c22f80cd23 [2021-11-01T02:05:01.016Z] ---> 08051669bb07 [2021-11-01T02:05:01.016Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-01T02:05:01.016Z] ---> Running in 2fe4accd9ec6 [2021-11-01T02:05:01.617Z] Removing intermediate container 2fe4accd9ec6 [2021-11-01T02:05:01.617Z] ---> 4e36383e686d [2021-11-01T02:05:01.617Z] Step 22/24 : LABEL arch=arm64 [2021-11-01T02:05:01.618Z] ---> Running in 71d649b94bf0 [2021-11-01T02:05:02.216Z] Removing intermediate container 71d649b94bf0 [2021-11-01T02:05:02.216Z] ---> 006ecdfc69b8 [2021-11-01T02:05:02.216Z] Step 23/24 : LABEL git_sha=0dbcdd9e1503573a6358a2219750091d278c1a40 [2021-11-01T02:05:02.216Z] ---> Running in c672f063667e [2021-11-01T02:05:02.817Z] Removing intermediate container c672f063667e [2021-11-01T02:05:02.817Z] ---> 9aaaa8ab559f [2021-11-01T02:05:02.817Z] Step 24/24 : LABEL version=2.0.1-dev.11 [2021-11-01T02:05:02.817Z] ---> Running in b72f5ab124de [2021-11-01T02:05:03.418Z] Removing intermediate container b72f5ab124de [2021-11-01T02:05:03.418Z] ---> a3b944282641 [2021-11-01T02:05:03.418Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T02:05:03.418Z] Successfully built a3b944282641 [2021-11-01T02:05:03.418Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T02:05:03.561Z] provisioning config files... [2021-11-01T02:05:03.581Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config7887895652305095301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:05:03.943Z] ---> docker-login.sh [2021-11-01T02:05:03.943Z] nexus3.edgexfoundry.org:10001 [2021-11-01T02:05:04.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:05:04.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:05:04.501Z] Configure a credential helper to remove this warning. See [2021-11-01T02:05:04.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:05:04.501Z] [2021-11-01T02:05:04.501Z] Login Succeeded [2021-11-01T02:05:04.501Z] nexus3.edgexfoundry.org:10002 [2021-11-01T02:05:04.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:05:05.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:05:05.054Z] Configure a credential helper to remove this warning. See [2021-11-01T02:05:05.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:05:05.054Z] [2021-11-01T02:05:05.054Z] Login Succeeded [2021-11-01T02:05:05.054Z] nexus3.edgexfoundry.org:10003 [2021-11-01T02:05:05.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:05:05.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:05:05.656Z] Configure a credential helper to remove this warning. See [2021-11-01T02:05:05.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:05:05.656Z] [2021-11-01T02:05:05.656Z] Login Succeeded [2021-11-01T02:05:05.656Z] nexus3.edgexfoundry.org:10004 [2021-11-01T02:05:06.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:05:06.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:05:06.545Z] Configure a credential helper to remove this warning. See [2021-11-01T02:05:06.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:05:06.545Z] [2021-11-01T02:05:06.545Z] Login Succeeded [2021-11-01T02:05:06.545Z] docker.io [2021-11-01T02:05:06.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T02:05:07.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T02:05:07.427Z] Configure a credential helper to remove this warning. See [2021-11-01T02:05:07.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T02:05:07.427Z] [2021-11-01T02:05:07.427Z] Login Succeeded [2021-11-01T02:05:07.427Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T02:05:07.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T02:05:07.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T02:05:07.511Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-11-01T02:05:07.511Z] 0dbcdd9e1503573a6358a2219750091d278c1a40 [2021-11-01T02:05:07.511Z] latest [2021-11-01T02:05:07.511Z] 2.0.1-dev.11 [2021-11-01T02:05:07.511Z] 0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 [2021-11-01T02:05:07.511Z] main [2021-11-01T02:05:07.511Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:07.892Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:08.259Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40 [2021-11-01T02:05:08.259Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-01T02:05:08.259Z] b8945011ca9e: Preparing [2021-11-01T02:05:08.259Z] b10c08ac7357: Preparing [2021-11-01T02:05:08.259Z] b8f94c12d9c0: Preparing [2021-11-01T02:05:08.259Z] 7e6ead1ff352: Preparing [2021-11-01T02:05:08.259Z] ee420dfed78a: Preparing [2021-11-01T02:05:08.571Z] ee420dfed78a: Layer already exists [2021-11-01T02:05:08.571Z] b8945011ca9e: Pushed [2021-11-01T02:05:08.571Z] b10c08ac7357: Pushed [2021-11-01T02:05:09.575Z] 7e6ead1ff352: Pushed [2021-11-01T02:05:11.564Z] b8f94c12d9c0: Pushed [2021-11-01T02:05:11.838Z] 0dbcdd9e1503573a6358a2219750091d278c1a40: digest: sha256:79b69dc51af90279533a5ad3e3841a01328e54bb17013fc43e98029ce73b5681 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:12.197Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:12.548Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-11-01T02:05:12.548Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-01T02:05:12.548Z] b8945011ca9e: Preparing [2021-11-01T02:05:12.548Z] b10c08ac7357: Preparing [2021-11-01T02:05:12.548Z] b8f94c12d9c0: Preparing [2021-11-01T02:05:12.548Z] 7e6ead1ff352: Preparing [2021-11-01T02:05:12.548Z] ee420dfed78a: Preparing [2021-11-01T02:05:12.823Z] 7e6ead1ff352: Layer already exists [2021-11-01T02:05:12.823Z] b8f94c12d9c0: Layer already exists [2021-11-01T02:05:12.823Z] b10c08ac7357: Layer already exists [2021-11-01T02:05:12.823Z] ee420dfed78a: Layer already exists [2021-11-01T02:05:12.823Z] b8945011ca9e: Layer already exists [2021-11-01T02:05:12.823Z] latest: digest: sha256:79b69dc51af90279533a5ad3e3841a01328e54bb17013fc43e98029ce73b5681 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:13.168Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:13.505Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.11 [2021-11-01T02:05:13.505Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-01T02:05:13.505Z] b8945011ca9e: Preparing [2021-11-01T02:05:13.505Z] b10c08ac7357: Preparing [2021-11-01T02:05:13.505Z] b8f94c12d9c0: Preparing [2021-11-01T02:05:13.505Z] 7e6ead1ff352: Preparing [2021-11-01T02:05:13.505Z] ee420dfed78a: Preparing [2021-11-01T02:05:13.789Z] b10c08ac7357: Layer already exists [2021-11-01T02:05:13.789Z] ee420dfed78a: Layer already exists [2021-11-01T02:05:13.789Z] 7e6ead1ff352: Layer already exists [2021-11-01T02:05:13.789Z] b8f94c12d9c0: Layer already exists [2021-11-01T02:05:13.789Z] b8945011ca9e: Layer already exists [2021-11-01T02:05:13.789Z] 2.0.1-dev.11: digest: sha256:79b69dc51af90279533a5ad3e3841a01328e54bb17013fc43e98029ce73b5681 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:14.134Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:14.474Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 [2021-11-01T02:05:14.474Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-01T02:05:14.474Z] b8945011ca9e: Preparing [2021-11-01T02:05:14.474Z] b10c08ac7357: Preparing [2021-11-01T02:05:14.474Z] b8f94c12d9c0: Preparing [2021-11-01T02:05:14.474Z] 7e6ead1ff352: Preparing [2021-11-01T02:05:14.474Z] ee420dfed78a: Preparing [2021-11-01T02:05:14.751Z] b8945011ca9e: Layer already exists [2021-11-01T02:05:14.751Z] ee420dfed78a: Layer already exists [2021-11-01T02:05:14.751Z] 7e6ead1ff352: Layer already exists [2021-11-01T02:05:14.751Z] b10c08ac7357: Layer already exists [2021-11-01T02:05:14.751Z] b8f94c12d9c0: Layer already exists [2021-11-01T02:05:14.751Z] 0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11: digest: sha256:79b69dc51af90279533a5ad3e3841a01328e54bb17013fc43e98029ce73b5681 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:15.096Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:15.442Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-11-01T02:05:15.442Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-01T02:05:15.442Z] b8945011ca9e: Preparing [2021-11-01T02:05:15.442Z] b10c08ac7357: Preparing [2021-11-01T02:05:15.442Z] b8f94c12d9c0: Preparing [2021-11-01T02:05:15.442Z] 7e6ead1ff352: Preparing [2021-11-01T02:05:15.442Z] ee420dfed78a: Preparing [2021-11-01T02:05:15.721Z] b8f94c12d9c0: Layer already exists [2021-11-01T02:05:15.721Z] 7e6ead1ff352: Layer already exists [2021-11-01T02:05:15.721Z] ee420dfed78a: Layer already exists [2021-11-01T02:05:15.721Z] b8945011ca9e: Layer already exists [2021-11-01T02:05:15.721Z] b10c08ac7357: Layer already exists [2021-11-01T02:05:15.721Z] main: digest: sha256:79b69dc51af90279533a5ad3e3841a01328e54bb17013fc43e98029ce73b5681 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T02:05:15.761Z] ===================================================== [Pipeline] echo [2021-11-01T02:05:15.768Z] taggedImages: [2021-11-01T02:05:15.768Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40 [2021-11-01T02:05:15.768Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-11-01T02:05:15.768Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.11 [2021-11-01T02:05:15.768Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0dbcdd9e1503573a6358a2219750091d278c1a40-2.0.1-dev.11 [2021-11-01T02:05:15.768Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:16.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T02:05:16.579Z] [2021-11-01T02:05:16.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:16.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T02:05:17.217Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-01T02:05:17.217Z] 448f6bf000e3: Pulling fs layer [2021-11-01T02:05:17.217Z] f757da607395: Pulling fs layer [2021-11-01T02:05:17.217Z] 05883995daec: Pulling fs layer [2021-11-01T02:05:17.217Z] 8603b9c90790: Pulling fs layer [2021-11-01T02:05:17.217Z] 1560dd03e051: Pulling fs layer [2021-11-01T02:05:17.217Z] 27f5ce0e4adf: Pulling fs layer [2021-11-01T02:05:17.217Z] c2d8d7efcc4b: Pulling fs layer [2021-11-01T02:05:17.217Z] 27f5ce0e4adf: Waiting [2021-11-01T02:05:17.217Z] c2d8d7efcc4b: Waiting [2021-11-01T02:05:17.217Z] 8603b9c90790: Waiting [2021-11-01T02:05:17.217Z] 1560dd03e051: Waiting [2021-11-01T02:05:17.217Z] f757da607395: Verifying Checksum [2021-11-01T02:05:17.217Z] f757da607395: Download complete [2021-11-01T02:05:17.217Z] 8603b9c90790: Download complete [2021-11-01T02:05:17.492Z] 1560dd03e051: Verifying Checksum [2021-11-01T02:05:17.492Z] 1560dd03e051: Download complete [2021-11-01T02:05:17.492Z] 27f5ce0e4adf: Verifying Checksum [2021-11-01T02:05:17.492Z] 27f5ce0e4adf: Download complete [2021-11-01T02:05:17.492Z] 05883995daec: Verifying Checksum [2021-11-01T02:05:17.492Z] 05883995daec: Download complete [2021-11-01T02:05:17.767Z] 448f6bf000e3: Verifying Checksum [2021-11-01T02:05:17.767Z] 448f6bf000e3: Download complete [2021-11-01T02:05:20.400Z] c2d8d7efcc4b: Verifying Checksum [2021-11-01T02:05:20.400Z] c2d8d7efcc4b: Download complete [2021-11-01T02:05:21.383Z] 448f6bf000e3: Pull complete [2021-11-01T02:05:22.369Z] f757da607395: Pull complete [2021-11-01T02:05:23.821Z] 05883995daec: Pull complete [2021-11-01T02:05:24.094Z] 8603b9c90790: Pull complete [2021-11-01T02:05:25.076Z] 1560dd03e051: Pull complete [2021-11-01T02:05:25.676Z] 27f5ce0e4adf: Pull complete [2021-11-01T02:05:40.830Z] c2d8d7efcc4b: Pull complete [2021-11-01T02:05:40.830Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-01T02:05:40.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T02:05:40.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-01T02:05:41.141Z] prd-ubuntu18.04-docker-arm64-4c-16g-13620 does not seem to be running inside a container [2021-11-01T02:05:41.242Z] $ 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/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-01T02:05:42.988Z] $ docker top adc0a7c6ae3c7072fb12c445dd796eae64eed2db1e36dd293cfb02c479b28881 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:05:44.039Z] ---> job-cost.sh [2021-11-01T02:05:44.040Z] lf-activate-venv: SKIPPING [2021-11-01T02:05:44.040Z] INFO: No Stack... [2021-11-01T02:05:45.020Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-01T02:05:45.294Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T02:05:45.955Z] + cut -d, -f6 [2021-11-01T02:05:45.955Z] + cat /w/workspace/device-rest-go/16/archives/cost.csv [Pipeline] lock [2021-11-01T02:05:46.020Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] [2021-11-01T02:05:46.033Z] Resource [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] did not exist. Created. [2021-11-01T02:05:46.033Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T02:05:46.706Z] /w/workspace/device-rest-go/16@tmp/durable-55738ca2/script.sh: 1: /w/workspace/device-rest-go/16@tmp/durable-55738ca2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-01T02:05:47.369Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-01T02:05:47.395Z] Warning: overwriting stash ‘stack-cost’ [2021-11-01T02:05:47.441Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T02:05:47.450Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T02:05:47.467Z] $ docker stop --time=1 adc0a7c6ae3c7072fb12c445dd796eae64eed2db1e36dd293cfb02c479b28881 [2021-11-01T02:05:49.130Z] $ docker rm -f adc0a7c6ae3c7072fb12c445dd796eae64eed2db1e36dd293cfb02c479b28881 [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-01T02:05:49.833Z] provisioning config files... [2021-11-01T02:05:49.843Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config733291925251090152tmp [Pipeline] { [Pipeline] sh [2021-11-01T02:05:50.156Z] + set +x [2021-11-01T02:05:50.156Z] + curl -s https://codecov.io/bash [2021-11-01T02:05:50.156Z] + bash -s -- [2021-11-01T02:05:50.156Z] [2021-11-01T02:05:50.156Z] _____ _ [2021-11-01T02:05:50.156Z] / ____| | | [2021-11-01T02:05:50.156Z] | | ___ __| | ___ ___ _____ __ [2021-11-01T02:05:50.156Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-01T02:05:50.156Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-01T02:05:50.156Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-01T02:05:50.156Z] Bash-1.0.6 [2021-11-01T02:05:50.156Z] [2021-11-01T02:05:50.156Z] [2021-11-01T02:05:50.156Z] ==> git version 2.24.4 found [2021-11-01T02:05:50.156Z] ==> 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-01T02:05:50.156Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-01T02:05:50.156Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-01T02:05:50.156Z] ==> Jenkins CI detected. [2021-11-01T02:05:50.156Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T02:05:50.156Z] project root: . [2021-11-01T02:05:50.156Z] --> token set from env [2021-11-01T02:05:50.156Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-01T02:05:50.156Z] ==> Running gcov in . (disable via -X gcov) [2021-11-01T02:05:50.156Z] ==> Python coveragepy not found [2021-11-01T02:05:50.156Z] ==> Searching for coverage reports in: [2021-11-01T02:05:50.156Z] + . [2021-11-01T02:05:50.156Z] -> Found 1 reports [2021-11-01T02:05:50.156Z] ==> Detecting git/mercurial file structure [2021-11-01T02:05:50.156Z] ==> Reading reports [2021-11-01T02:05:50.156Z] + ./coverage.out bytes=8435 [2021-11-01T02:05:50.156Z] ==> Appending adjustments [2021-11-01T02:05:50.156Z] https://docs.codecov.io/docs/fixing-reports [2021-11-01T02:05:50.420Z] + Found adjustments [2021-11-01T02:05:50.420Z] ==> Gzipping contents [2021-11-01T02:05:50.420Z] 4.0K /tmp/codecov.yE0ZvC.gz [2021-11-01T02:05:50.420Z] ==> Uploading reports [2021-11-01T02:05:50.420Z] url: https://codecov.io [2021-11-01T02:05:50.420Z] query: branch=main&commit=0dbcdd9e1503573a6358a2219750091d278c1a40&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T02:05:50.420Z] -> Pinging Codecov [2021-11-01T02:05:50.420Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=0dbcdd9e1503573a6358a2219750091d278c1a40&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T02:05:50.993Z] -> Uploading to [2021-11-01T02:05:50.993Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-01/4E5D53B4F1F92C436F7061BF334D961C/0dbcdd9e1503573a6358a2219750091d278c1a40/a3d5e8fd-9d28-4660-92af-70c755ac1630.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T020550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7a7443ff4c36f132911a44abc2827e0b3ad01e622d04bad7b1d8f8b0427b2a3 [2021-11-01T02:05:50.993Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T02:05:50.993Z] Dload Upload Total Spent Left Speed [2021-11-01T02:05:51.255Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 6308 --:--:-- --:--:-- --:--:-- 6330 [2021-11-01T02:05:51.255Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] } [2021-11-01T02:05:51.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-01T02:05:51.460Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-01T02:05:51.472Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:51.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T02:05:51.776Z] [2021-11-01T02:05:51.776Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:05:52.122Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T02:05:52.122Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-01T02:05:52.122Z] 188c0c94c7c5: Pulling fs layer [2021-11-01T02:05:52.122Z] 0ef7d3d256c8: Pulling fs layer [2021-11-01T02:05:52.122Z] de9db76c5a1d: Pulling fs layer [2021-11-01T02:05:52.122Z] 0eba1c9be4d2: Pulling fs layer [2021-11-01T02:05:52.122Z] 0d57e429df01: Pulling fs layer [2021-11-01T02:05:52.122Z] 4e4be7b47b0d: Pulling fs layer [2021-11-01T02:05:52.122Z] e1f770b5df2f: Pulling fs layer [2021-11-01T02:05:52.122Z] 85a0685a4137: Pulling fs layer [2021-11-01T02:05:52.122Z] 0eba1c9be4d2: Waiting [2021-11-01T02:05:52.122Z] 0d57e429df01: Waiting [2021-11-01T02:05:52.122Z] 4e4be7b47b0d: Waiting [2021-11-01T02:05:52.122Z] e1f770b5df2f: Waiting [2021-11-01T02:05:52.122Z] 85a0685a4137: Waiting [2021-11-01T02:05:52.122Z] de9db76c5a1d: Download complete [2021-11-01T02:05:52.122Z] 0ef7d3d256c8: Download complete [2021-11-01T02:05:52.123Z] 0d57e429df01: Verifying Checksum [2021-11-01T02:05:52.123Z] 0d57e429df01: Download complete [2021-11-01T02:05:52.123Z] 4e4be7b47b0d: Verifying Checksum [2021-11-01T02:05:52.123Z] 4e4be7b47b0d: Download complete [2021-11-01T02:05:52.123Z] 188c0c94c7c5: Verifying Checksum [2021-11-01T02:05:52.123Z] 188c0c94c7c5: Download complete [2021-11-01T02:05:52.403Z] e1f770b5df2f: Verifying Checksum [2021-11-01T02:05:52.403Z] e1f770b5df2f: Download complete [2021-11-01T02:05:52.403Z] 188c0c94c7c5: Pull complete [2021-11-01T02:05:52.673Z] 0eba1c9be4d2: Verifying Checksum [2021-11-01T02:05:52.673Z] 0eba1c9be4d2: Download complete [2021-11-01T02:05:52.936Z] 0ef7d3d256c8: Pull complete [2021-11-01T02:05:52.936Z] de9db76c5a1d: Pull complete [2021-11-01T02:05:53.205Z] 85a0685a4137: Verifying Checksum [2021-11-01T02:05:53.205Z] 85a0685a4137: Download complete [2021-11-01T02:05:57.479Z] 0eba1c9be4d2: Pull complete [2021-11-01T02:05:57.479Z] 0d57e429df01: Pull complete [2021-11-01T02:05:57.479Z] 4e4be7b47b0d: Pull complete [2021-11-01T02:05:57.740Z] e1f770b5df2f: Pull complete [2021-11-01T02:06:01.982Z] 85a0685a4137: Pull complete [2021-11-01T02:06:01.982Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-01T02:06:01.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T02:06:01.982Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-01T02:06:02.059Z] prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container [2021-11-01T02:06:02.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-01T02:06:04.149Z] $ docker top cccf920113762a0ef4d30371b044b62e5005d4bbd53fac82ab4b82e3fe4d7010 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-01T02:06:04.241Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-01T02:06:04.530Z] + set -o pipefail [2021-11-01T02:06:04.530Z] + snyk monitor '--org=edgex-jenkins' [2021-11-01T02:06:09.836Z] [2021-11-01T02:06:09.837Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-11-01T02:06:09.837Z] [2021-11-01T02:06:09.837Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/2dbd84b3-a357-419b-bac2-42b4698be5ef [2021-11-01T02:06:09.837Z] [2021-11-01T02:06:09.837Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-01T02:06:09.837Z] [2021-11-01T02:06:09.837Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-01T02:06:09.837Z] [2021-11-01T02:06:09.837Z] [Pipeline] } [2021-11-01T02:06:09.846Z] $ docker stop --time=1 cccf920113762a0ef4d30371b044b62e5005d4bbd53fac82ab4b82e3fe4d7010 [2021-11-01T02:06:11.751Z] $ docker rm -f cccf920113762a0ef4d30371b044b62e5005d4bbd53fac82ab4b82e3fe4d7010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T02:06:12.650Z] + git log --format=format:%s -1 0dbcdd9e1503573a6358a2219750091d278c1a40 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:12.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T02:06:12.955Z] . [Pipeline] withDockerContainer [2021-11-01T02:06:13.026Z] prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container [2021-11-01T02:06:13.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T02:06:13.421Z] $ docker top c0037652b1c546677d0273c4d27870924b067a8ed0a6a29fcaebaa755cc0abf3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T02:06:13.524Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T02:06:13.524Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T02:06:13.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T02:06:13.643Z] $ docker exec c0037652b1c546677d0273c4d27870924b067a8ed0a6a29fcaebaa755cc0abf3 ssh-agent [2021-11-01T02:06:13.743Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnlMKnI/agent.13 [2021-11-01T02:06:13.743Z] SSH_AGENT_PID=19 [2021-11-01T02:06:13.749Z] Running ssh-add (command line suppressed) [2021-11-01T02:06:13.839Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3809199844462234337.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3809199844462234337.key) [2021-11-01T02:06:13.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T02:06:14.147Z] + git semver tag [2021-11-01T02:06:14.147Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T02:06:14.147Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-01T02:06:14.147Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T02:06:14.147Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T02:06:14.147Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T02:06:14.147Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T02:06:14.147Z] # $SEMVER_BRANCH = main [2021-11-01T02:06:14.147Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-01T02:06:14.147Z] # 0dbcdd9e1503573a6358a2219750091d278c1a40 HEAD [2021-11-01T02:06:14.147Z] # -> Force: false [2021-11-01T02:06:14.147Z] # 35aba9ca9a92316e042bc3c5cd3877e6417af8b8 refs/tags/v2.0.1-dev.11 [Pipeline] } [2021-11-01T02:06:14.159Z] $ docker exec --env ******** --env ******** c0037652b1c546677d0273c4d27870924b067a8ed0a6a29fcaebaa755cc0abf3 ssh-agent -k [2021-11-01T02:06:14.254Z] unset SSH_AUTH_SOCK; [2021-11-01T02:06:14.254Z] unset SSH_AGENT_PID; [2021-11-01T02:06:14.254Z] echo Agent pid 19 killed; [2021-11-01T02:06:14.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T02:06:14.577Z] + git semver [Pipeline] } [2021-11-01T02:06:14.591Z] $ docker stop --time=1 c0037652b1c546677d0273c4d27870924b067a8ed0a6a29fcaebaa755cc0abf3 [2021-11-01T02:06:15.786Z] $ docker rm -f c0037652b1c546677d0273c4d27870924b067a8ed0a6a29fcaebaa755cc0abf3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:16.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T02:06:16.171Z] [2021-11-01T02:06:16.171Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:16.492Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T02:06:16.492Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-01T02:06:16.492Z] ab5ef0e58194: Pulling fs layer [2021-11-01T02:06:16.492Z] 9712f1f96733: Pulling fs layer [2021-11-01T02:06:16.492Z] 63f879dbbcfc: Pulling fs layer [2021-11-01T02:06:16.492Z] 0d9ebad4ef96: Pulling fs layer [2021-11-01T02:06:16.492Z] e9a5061849ea: Pulling fs layer [2021-11-01T02:06:16.492Z] d747dcd14b5f: Pulling fs layer [2021-11-01T02:06:16.492Z] 2de7ff778b66: Pulling fs layer [2021-11-01T02:06:16.492Z] 0d9ebad4ef96: Waiting [2021-11-01T02:06:16.492Z] e9a5061849ea: Waiting [2021-11-01T02:06:16.492Z] d747dcd14b5f: Waiting [2021-11-01T02:06:16.492Z] 2de7ff778b66: Waiting [2021-11-01T02:06:16.492Z] 9712f1f96733: Verifying Checksum [2021-11-01T02:06:16.492Z] 9712f1f96733: Download complete [2021-11-01T02:06:16.764Z] 63f879dbbcfc: Verifying Checksum [2021-11-01T02:06:16.764Z] 63f879dbbcfc: Download complete [2021-11-01T02:06:17.039Z] ab5ef0e58194: Verifying Checksum [2021-11-01T02:06:17.039Z] ab5ef0e58194: Download complete [2021-11-01T02:06:17.039Z] d747dcd14b5f: Verifying Checksum [2021-11-01T02:06:17.039Z] d747dcd14b5f: Download complete [2021-11-01T02:06:17.039Z] 0d9ebad4ef96: Verifying Checksum [2021-11-01T02:06:17.039Z] 0d9ebad4ef96: Download complete [2021-11-01T02:06:17.039Z] e9a5061849ea: Verifying Checksum [2021-11-01T02:06:17.039Z] e9a5061849ea: Download complete [2021-11-01T02:06:17.039Z] 2de7ff778b66: Verifying Checksum [2021-11-01T02:06:17.039Z] 2de7ff778b66: Download complete [2021-11-01T02:06:20.407Z] ab5ef0e58194: Pull complete [2021-11-01T02:06:20.407Z] 9712f1f96733: Pull complete [2021-11-01T02:06:20.668Z] 63f879dbbcfc: Pull complete [2021-11-01T02:06:26.068Z] 0d9ebad4ef96: Pull complete [2021-11-01T02:06:26.068Z] e9a5061849ea: Pull complete [2021-11-01T02:06:26.068Z] d747dcd14b5f: Pull complete [2021-11-01T02:06:27.031Z] 2de7ff778b66: Pull complete [2021-11-01T02:06:27.031Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-01T02:06:27.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T02:06:27.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-01T02:06:27.116Z] prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container [2021-11-01T02:06:27.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-01T02:06:30.670Z] $ docker top fda612b2ea11e3d8282cc458b5f81014021bf70716d542f2cf00664e7c5391f1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-01T02:06:30.768Z] provisioning config files... [2021-11-01T02:06:30.777Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6413839551632190075tmp [2021-11-01T02:06:30.793Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6318588306259524703tmp [2021-11-01T02:06:30.805Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7887505800049388946tmp [Pipeline] { [Pipeline] echo [2021-11-01T02:06:30.822Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:06:31.116Z] ---> sigul-configuration.sh [2021-11-01T02:06:31.116Z] gpg: directory `/root/.gnupg' created [2021-11-01T02:06:31.116Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-01T02:06:31.116Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-01T02:06:31.116Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-01T02:06:31.116Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-01T02:06:31.116Z] gpg: CAST5 encrypted data [2021-11-01T02:06:31.116Z] gpg: encrypted with 1 passphrase [2021-11-01T02:06:31.116Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-01T02:06:31.415Z] + mkdir /home/jenkins [2021-11-01T02:06:31.415Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-01T02:06:31.718Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-11-01T02:06:31.729Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:06:32.033Z] ---> sigul-install.sh [2021-11-01T02:06:32.033Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-01T02:06:32.329Z] + git tag --list [2021-11-01T02:06:32.329Z] v1.0.0 [2021-11-01T02:06:32.329Z] v1.1.0 [2021-11-01T02:06:32.329Z] v1.1.1 [2021-11-01T02:06:32.329Z] v1.1.2 [2021-11-01T02:06:32.329Z] v1.2.0 [2021-11-01T02:06:32.329Z] v1.2.1 [2021-11-01T02:06:32.329Z] v2.0.0 [2021-11-01T02:06:32.329Z] v2.0.1-dev.1 [2021-11-01T02:06:32.329Z] v2.0.1-dev.10 [2021-11-01T02:06:32.329Z] v2.0.1-dev.11 [2021-11-01T02:06:32.329Z] v2.0.1-dev.2 [2021-11-01T02:06:32.329Z] v2.0.1-dev.3 [2021-11-01T02:06:32.329Z] v2.0.1-dev.4 [2021-11-01T02:06:32.329Z] v2.0.1-dev.5 [2021-11-01T02:06:32.329Z] v2.0.1-dev.6 [2021-11-01T02:06:32.329Z] v2.0.1-dev.7 [2021-11-01T02:06:32.329Z] v2.0.1-dev.8 [2021-11-01T02:06:32.329Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-01T02:06:32.643Z] + lftools sign git-tag v2.0.1-dev.11 [2021-11-01T02:06:33.218Z] Signing Git tag with Sigul... [2021-11-01T02:06:33.218Z] Signing v2.0.1-dev.11 [Pipeline] echo [2021-11-01T02:06:34.178Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:06:34.475Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-01T02:06:34.484Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-01T02:06:34.505Z] $ docker stop --time=1 fda612b2ea11e3d8282cc458b5f81014021bf70716d542f2cf00664e7c5391f1 [2021-11-01T02:06:35.716Z] $ docker rm -f fda612b2ea11e3d8282cc458b5f81014021bf70716d542f2cf00664e7c5391f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:36.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T02:06:36.285Z] . [Pipeline] withDockerContainer [2021-11-01T02:06:36.359Z] prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container [2021-11-01T02:06:36.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T02:06:36.808Z] $ docker top 6b2b5b51da1027d29b684fd9d242036305d245690db69cb19565f3e767657e9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T02:06:36.925Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T02:06:36.925Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T02:06:37.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T02:06:37.045Z] $ docker exec 6b2b5b51da1027d29b684fd9d242036305d245690db69cb19565f3e767657e9f ssh-agent [2021-11-01T02:06:37.162Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdGAljB/agent.14 [2021-11-01T02:06:37.162Z] SSH_AGENT_PID=20 [2021-11-01T02:06:37.172Z] Running ssh-add (command line suppressed) [2021-11-01T02:06:37.272Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3112090902109860823.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3112090902109860823.key) [2021-11-01T02:06:37.288Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T02:06:37.616Z] + git semver bump pre [2021-11-01T02:06:37.616Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T02:06:37.616Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-01T02:06:37.616Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T02:06:37.616Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T02:06:37.616Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T02:06:37.616Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T02:06:37.616Z] # $SEMVER_BRANCH = main [2021-11-01T02:06:37.616Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-01T02:06:37.616Z] 2.0.1-dev.12 [Pipeline] } [2021-11-01T02:06:37.635Z] $ docker exec --env ******** --env ******** 6b2b5b51da1027d29b684fd9d242036305d245690db69cb19565f3e767657e9f ssh-agent -k [2021-11-01T02:06:37.747Z] unset SSH_AUTH_SOCK; [2021-11-01T02:06:37.747Z] unset SSH_AGENT_PID; [2021-11-01T02:06:37.748Z] echo Agent pid 20 killed; [2021-11-01T02:06:37.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T02:06:38.100Z] + git semver [Pipeline] } [2021-11-01T02:06:38.113Z] $ docker stop --time=1 6b2b5b51da1027d29b684fd9d242036305d245690db69cb19565f3e767657e9f [2021-11-01T02:06:39.308Z] $ docker rm -f 6b2b5b51da1027d29b684fd9d242036305d245690db69cb19565f3e767657e9f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:39.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T02:06:39.781Z] . [Pipeline] withDockerContainer [2021-11-01T02:06:40.067Z] prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container [2021-11-01T02:06:40.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T02:06:40.518Z] $ docker top fa42d8b22f433f14c0b0e2497f999e72094e6d7dc7c8c4e3b21670edf01ce950 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T02:06:40.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T02:06:40.618Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T02:06:40.742Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T02:06:40.744Z] $ docker exec fa42d8b22f433f14c0b0e2497f999e72094e6d7dc7c8c4e3b21670edf01ce950 ssh-agent [2021-11-01T02:06:40.861Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXomaFDo/agent.15 [2021-11-01T02:06:40.861Z] SSH_AGENT_PID=22 [2021-11-01T02:06:40.867Z] Running ssh-add (command line suppressed) [2021-11-01T02:06:40.982Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1805279489680088889.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1805279489680088889.key) [2021-11-01T02:06:40.997Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T02:06:41.304Z] + git semver push [2021-11-01T02:06:41.304Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T02:06:41.304Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-01T02:06:41.304Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T02:06:41.304Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T02:06:41.304Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T02:06:41.304Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T02:06:41.304Z] # $SEMVER_BRANCH = main [2021-11-01T02:06:41.304Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-11-01T02:06:42.708Z] $ docker exec --env ******** --env ******** fa42d8b22f433f14c0b0e2497f999e72094e6d7dc7c8c4e3b21670edf01ce950 ssh-agent -k [2021-11-01T02:06:42.797Z] unset SSH_AUTH_SOCK; [2021-11-01T02:06:42.797Z] unset SSH_AGENT_PID; [2021-11-01T02:06:42.797Z] echo Agent pid 22 killed; [2021-11-01T02:06:42.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T02:06:43.147Z] + git semver [Pipeline] } [2021-11-01T02:06:43.160Z] $ docker stop --time=1 fa42d8b22f433f14c0b0e2497f999e72094e6d7dc7c8c4e3b21670edf01ce950 [2021-11-01T02:06:44.353Z] $ docker rm -f fa42d8b22f433f14c0b0e2497f999e72094e6d7dc7c8c4e3b21670edf01ce950 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-01T02:06:45.259Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:06:45.559Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:06:46.123Z] ---> package-listing.sh [2021-11-01T02:06:46.124Z] ++ facter osfamily [2021-11-01T02:06:46.124Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-01T02:06:46.387Z] + OS_FAMILY=redhat [2021-11-01T02:06:46.387Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T02:06:46.387Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-01T02:06:46.387Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-01T02:06:46.387Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-01T02:06:46.387Z] + PACKAGES=/tmp/packages_start.txt [2021-11-01T02:06:46.387Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-11-01T02:06:46.387Z] + PACKAGES=/tmp/packages_end.txt [2021-11-01T02:06:46.387Z] + case "${OS_FAMILY}" in [2021-11-01T02:06:46.387Z] + rpm -qa [2021-11-01T02:06:46.387Z] + sort [2021-11-01T02:06:47.331Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-01T02:06:47.331Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-01T02:06:47.331Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-01T02:06:47.331Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-11-01T02:06:47.331Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-11-01T02:06:47.331Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2021-11-01T02:06:47.342Z] 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-01T02:06:47.624Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:48.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T02:06:48.180Z] [2021-11-01T02:06:48.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T02:06:48.497Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T02:06:48.497Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T02:06:48.497Z] b4d181a07f80: Pulling fs layer [2021-11-01T02:06:48.497Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T02:06:48.497Z] ed53099fbce6: Pulling fs layer [2021-11-01T02:06:48.497Z] dc539afda2c1: Pulling fs layer [2021-11-01T02:06:48.497Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T02:06:48.497Z] 9065ff56babe: Pulling fs layer [2021-11-01T02:06:48.497Z] d287ab97295c: Pulling fs layer [2021-11-01T02:06:48.497Z] 77bc0d833cb6: Waiting [2021-11-01T02:06:48.497Z] 9065ff56babe: Waiting [2021-11-01T02:06:48.497Z] d287ab97295c: Waiting [2021-11-01T02:06:48.497Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T02:06:48.497Z] a1111a8f2ec3: Download complete [2021-11-01T02:06:48.497Z] dc539afda2c1: Download complete [2021-11-01T02:06:48.497Z] ed53099fbce6: Verifying Checksum [2021-11-01T02:06:48.497Z] ed53099fbce6: Download complete [2021-11-01T02:06:48.497Z] 9065ff56babe: Verifying Checksum [2021-11-01T02:06:48.497Z] 9065ff56babe: Download complete [2021-11-01T02:06:48.766Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T02:06:48.766Z] 77bc0d833cb6: Download complete [2021-11-01T02:06:48.766Z] b4d181a07f80: Verifying Checksum [2021-11-01T02:06:48.766Z] b4d181a07f80: Download complete [2021-11-01T02:06:49.347Z] d287ab97295c: Verifying Checksum [2021-11-01T02:06:49.347Z] d287ab97295c: Download complete [2021-11-01T02:06:50.316Z] b4d181a07f80: Pull complete [2021-11-01T02:06:50.579Z] a1111a8f2ec3: Pull complete [2021-11-01T02:06:51.538Z] ed53099fbce6: Pull complete [2021-11-01T02:06:51.538Z] dc539afda2c1: Pull complete [2021-11-01T02:06:51.811Z] 77bc0d833cb6: Pull complete [2021-11-01T02:06:51.811Z] 9065ff56babe: Pull complete [2021-11-01T02:06:57.147Z] d287ab97295c: Pull complete [2021-11-01T02:06:57.147Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T02:06:57.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T02:06:57.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T02:06:57.216Z] prd-centos7-docker-4c-2g-13613 does not seem to be running inside a container [2021-11-01T02:06:57.253Z] $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-01T02:06:59.791Z] $ docker top 5d38c4ebe59189304793c79a7096cc06c660dc220cc0c8476ab7915951244787 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T02:07:00.161Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-01T02:07:00.497Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-01T02:07:00.798Z] + ls /var/log/sa-host [2021-11-01T02:07:00.798Z] + sadf -c /var/log/sa-host/sa01 [2021-11-01T02:07:00.798Z] file_magic: OK [2021-11-01T02:07:00.798Z] HZ: Using current value: 100 [2021-11-01T02:07:00.798Z] file_header: OK [2021-11-01T02:07:00.798Z] 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-01T02:07:00.798Z] Statistics: [2021-11-01T02:07:00.798Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T02:07:00.798Z] File successfully converted to sysstat format version 12.0.3 [2021-11-01T02:07:00.798Z] + sadf -c /var/log/sa-host/sa30 [2021-11-01T02:07:00.798Z] file_magic: OK [2021-11-01T02:07:00.798Z] HZ: Using current value: 100 [2021-11-01T02:07:00.798Z] file_header: OK [2021-11-01T02:07:00.798Z] 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-01T02:07:00.798Z] Statistics: [2021-11-01T02:07:00.798Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T02:07:00.798Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T02:07:00.905Z] provisioning config files... [2021-11-01T02:07:00.919Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config712196025871632674tmp [Pipeline] { [Pipeline] echo [2021-11-01T02:07:00.936Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:07:01.234Z] ---> create-netrc.sh [Pipeline] } [2021-11-01T02:07:01.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:07:01.606Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-01T02:07:01.621Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:07:01.925Z] ---> sudo-logs.sh [2021-11-01T02:07:01.925Z] Archiving 'sudo' log.. [2021-11-01T02:07:01.925Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13613.novalocal: Name or service not known [2021-11-01T02:07:01.925Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13613.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-01T02:07:01.949Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:07:02.252Z] ---> job-cost.sh [2021-11-01T02:07:02.252Z] lf-activate-venv: SKIPPING [2021-11-01T02:07:02.252Z] DEBUG: total: 0.10999999940395355 [2021-11-01T02:07:02.252Z] INFO: Retrieving Stack Cost... [2021-11-01T02:07:03.199Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T02:07:03.460Z] INFO: Archiving Costs [Pipeline] echo [2021-11-01T02:07:03.475Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T02:07:03.765Z] ---> logs-deploy.sh [2021-11-01T02:07:03.766Z] lf-activate-venv: SKIPPING [2021-11-01T02:07:03.766Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/16 [2021-11-01T02:07:03.766Z] INFO: archiving workspace using pattern(s): [2021-11-01T02:07:04.346Z] Archives upload complete. [2021-11-01T02:07:04.609Z] INFO: archiving logs to Nexus