Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 595e424eeac7315f293af2ed61abe406cb611b5e 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-ssh3360703908234053528.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh5274143958860073109.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh7965517731383378547.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh7854530855086572380.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-ssh2177483636523141248.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1005’ Running on prd-centos7-docker-4c-2g-1011 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 > 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-ssh4593877338000609561.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 595e424eeac7315f293af2ed61abe406cb611b5e (main) > 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 595e424eeac7315f293af2ed61abe406cb611b5e # timeout=10 Commit message: "Merge pull request #131 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.4.1" > git rev-list --no-walk 2fa5af78a65124eb3e46825fc0444c4be12292c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-17T02:06:26.324Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-17T02:06:26.414Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-17T02:06:26.448Z] ========================================================= [2021-08-17T02:06:26.448Z] EdgeX Global Pipelines Version Info [2021-08-17T02:06:26.448Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:06:27.676Z] ------------------- [2021-08-17T02:06:27.676Z] stable info: [2021-08-17T02:06:27.676Z] ------------------- [2021-08-17T02:06:27.676Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-17T02:06:27.676Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T02:06:27.676Z] Message: update stable to v1.0.205 [2021-08-17T02:06:28.260Z] ------------------- [2021-08-17T02:06:28.260Z] experimental info: [2021-08-17T02:06:28.260Z] ------------------- [2021-08-17T02:06:28.260Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-17T02:06:28.260Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T02:06:28.260Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-17T02:06:28.439Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-08-17T02:06:28.464Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-08-17T02:06:28.488Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-17T02:06:28.513Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-17T02:06:28.537Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-17T02:06:28.561Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-17T02:06:28.586Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-17T02:06:28.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-17T02:06:28.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-17T02:06:28.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-17T02:06:28.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-17T02:06:28.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-17T02:06:28.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-08-17T02:06:28.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-17T02:06:28.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-17T02:06:28.805Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-17T02:06:28.830Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-17T02:06:28.859Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T02:06:28.884Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T02:06:28.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-17T02:06:28.936Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-17T02:06:28.961Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-17T02:06:28.987Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-17T02:06:29.011Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-17T02:06:29.037Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-17T02:06:29.065Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-17T02:06:29.091Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-17T02:06:29.117Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-17T02:06:29.144Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-17T02:06:29.167Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-17T02:06:29.191Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 595e424eeac7315f293af2ed61abe406cb611b5e [Pipeline] echo [2021-08-17T02:06:29.214Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 595e424 [Pipeline] echo [2021-08-17T02:06:29.238Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T02:06:29.329Z] provisioning config files... [2021-08-17T02:06:29.349Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2302776362243569567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:06:29.697Z] ---> docker-login.sh [2021-08-17T02:06:29.697Z] nexus3.edgexfoundry.org:10001 [2021-08-17T02:06:29.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:06:29.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:06:29.964Z] Configure a credential helper to remove this warning. See [2021-08-17T02:06:29.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:06:29.964Z] [2021-08-17T02:06:29.964Z] Login Succeeded [2021-08-17T02:06:29.964Z] nexus3.edgexfoundry.org:10002 [2021-08-17T02:06:29.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:06:30.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:06:30.234Z] Configure a credential helper to remove this warning. See [2021-08-17T02:06:30.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:06:30.234Z] [2021-08-17T02:06:30.234Z] Login Succeeded [2021-08-17T02:06:30.234Z] nexus3.edgexfoundry.org:10003 [2021-08-17T02:06:30.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:06:30.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:06:30.234Z] Configure a credential helper to remove this warning. See [2021-08-17T02:06:30.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:06:30.234Z] [2021-08-17T02:06:30.234Z] Login Succeeded [2021-08-17T02:06:30.234Z] nexus3.edgexfoundry.org:10004 [2021-08-17T02:06:30.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:06:30.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:06:30.502Z] Configure a credential helper to remove this warning. See [2021-08-17T02:06:30.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:06:30.502Z] [2021-08-17T02:06:30.502Z] Login Succeeded [2021-08-17T02:06:30.502Z] docker.io [2021-08-17T02:06:30.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:06:30.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:06:30.770Z] Configure a credential helper to remove this warning. See [2021-08-17T02:06:30.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:06:30.770Z] [2021-08-17T02:06:30.770Z] Login Succeeded [2021-08-17T02:06:30.770Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T02:06:30.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-17T02:06:31.308Z] + git log --format=format:%s -1 595e424eeac7315f293af2ed61abe406cb611b5e [Pipeline] echo [2021-08-17T02:06:31.368Z] GIT_COMMIT: 595e424eeac7315f293af2ed61abe406cb611b5e, Commit Message: Merge pull request #131 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.4.1 [Pipeline] echo [2021-08-17T02:06:31.383Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:06:32.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T02:06:32.318Z] [2021-08-17T02:06:32.318Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:06:34.768Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T02:06:34.768Z] latest: Pulling from edgex-devops/git-semver [2021-08-17T02:06:34.768Z] 31603596830f: Pulling fs layer [2021-08-17T02:06:34.768Z] d4622e32a9a9: Pulling fs layer [2021-08-17T02:06:34.768Z] 1030fce36090: Pulling fs layer [2021-08-17T02:06:34.768Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-17T02:06:34.768Z] 6c6cb7e1b49b: Waiting [2021-08-17T02:06:34.768Z] d4622e32a9a9: Verifying Checksum [2021-08-17T02:06:34.768Z] d4622e32a9a9: Download complete [2021-08-17T02:06:35.047Z] 31603596830f: Verifying Checksum [2021-08-17T02:06:35.047Z] 31603596830f: Download complete [2021-08-17T02:06:35.313Z] 31603596830f: Pull complete [2021-08-17T02:06:35.313Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-17T02:06:35.313Z] 6c6cb7e1b49b: Download complete [2021-08-17T02:06:35.313Z] d4622e32a9a9: Pull complete [2021-08-17T02:06:35.313Z] 1030fce36090: Verifying Checksum [2021-08-17T02:06:35.313Z] 1030fce36090: Download complete [2021-08-17T02:06:35.901Z] 1030fce36090: Pull complete [2021-08-17T02:06:36.170Z] 6c6cb7e1b49b: Pull complete [2021-08-17T02:06:36.170Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-17T02:06:36.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T02:06:36.170Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-17T02:06:36.270Z] prd-centos7-docker-4c-2g-1011 does not seem to be running inside a container [2021-08-17T02:06:36.331Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-17T02:06:37.176Z] $ docker top b3992105d7fd2c8b9a35a4149b662040ae6effc4e977938722c1ec0280da4bcf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T02:06:37.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T02:06:37.305Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T02:06:37.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T02:06:37.428Z] $ docker exec b3992105d7fd2c8b9a35a4149b662040ae6effc4e977938722c1ec0280da4bcf ssh-agent [2021-08-17T02:06:37.544Z] SSH_AUTH_SOCK=/tmp/ssh-cR7Q7VIqraQV/agent.14 [2021-08-17T02:06:37.544Z] SSH_AGENT_PID=20 [2021-08-17T02:06:37.556Z] Running ssh-add (command line suppressed) [2021-08-17T02:06:37.663Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_185739118331315049.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_185739118331315049.key) [2021-08-17T02:06:37.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T02:06:37.995Z] + git tag --points-at HEAD [Pipeline] } [2021-08-17T02:06:38.020Z] $ docker exec --env ******** --env ******** b3992105d7fd2c8b9a35a4149b662040ae6effc4e977938722c1ec0280da4bcf ssh-agent -k [2021-08-17T02:06:38.125Z] unset SSH_AUTH_SOCK; [2021-08-17T02:06:38.125Z] unset SSH_AGENT_PID; [2021-08-17T02:06:38.125Z] echo Agent pid 20 killed; [2021-08-17T02:06:38.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-17T02:06:38.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T02:06:38.175Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T02:06:38.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T02:06:38.301Z] $ docker exec b3992105d7fd2c8b9a35a4149b662040ae6effc4e977938722c1ec0280da4bcf ssh-agent [2021-08-17T02:06:38.407Z] SSH_AUTH_SOCK=/tmp/ssh-EKzmw949xtgS/agent.53 [2021-08-17T02:06:38.407Z] SSH_AGENT_PID=61 [2021-08-17T02:06:38.417Z] Running ssh-add (command line suppressed) [2021-08-17T02:06:38.521Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8026763382145497987.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8026763382145497987.key) [2021-08-17T02:06:38.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T02:06:38.855Z] + git semver init [2021-08-17T02:06:38.855Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T02:06:38.855Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-08-17T02:06:38.855Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-08-17T02:06:38.855Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T02:06:38.855Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T02:06:38.855Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T02:06:38.855Z] # $SEMVER_BRANCH = main [2021-08-17T02:06:38.855Z] # $SEMVER_TEMP = /tmp/semver-822231312 [2021-08-17T02:06:38.855Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-08-17T02:06:39.830Z] # '/tmp/semver-822231312' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-08-17T02:06:39.830Z] # -> Force: false [2021-08-17T02:06:39.830Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-08-17T02:06:39.852Z] $ docker exec --env ******** --env ******** b3992105d7fd2c8b9a35a4149b662040ae6effc4e977938722c1ec0280da4bcf ssh-agent -k [2021-08-17T02:06:39.968Z] unset SSH_AUTH_SOCK; [2021-08-17T02:06:39.969Z] unset SSH_AGENT_PID; [2021-08-17T02:06:39.969Z] echo Agent pid 61 killed; [2021-08-17T02:06:39.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T02:06:40.341Z] + git semver [Pipeline] } [2021-08-17T02:06:40.366Z] $ docker stop --time=1 b3992105d7fd2c8b9a35a4149b662040ae6effc4e977938722c1ec0280da4bcf [2021-08-17T02:06:41.657Z] $ docker rm -f b3992105d7fd2c8b9a35a4149b662040ae6effc4e977938722c1ec0280da4bcf [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T02:06:42.046Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-17T02:06:42.410Z] Stashed 1 file(s) [Pipeline] echo [2021-08-17T02:06:42.414Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.4 [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-08-17T02:06:57.623Z] Still waiting to schedule task [2021-08-17T02:06:57.624Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-17T02:06:57.626Z] Still waiting to schedule task [2021-08-17T02:06:57.627Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-17T02:08:58.110Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1013 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-08-17T02:08:58.137Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2021-08-17T02:08:58.424Z] The recommended git tool is: git [2021-08-17T02:09:03.976Z] using credential edgex-jenkins-ssh [2021-08-17T02:09:04.000Z] Cloning the remote Git repository [2021-08-17T02:09:04.111Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-08-17T02:09:04.237Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2021-08-17T02:09:04.310Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-17T02:09:04.310Z] > git --version # timeout=10 [2021-08-17T02:09:04.331Z] > git --version # 'git version 2.17.1' [2021-08-17T02:09:04.332Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T02:09:04.445Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T02:09:06.084Z] Avoid second fetch [2021-08-17T02:09:06.085Z] Checking out Revision 595e424eeac7315f293af2ed61abe406cb611b5e (main) [2021-08-17T02:09:06.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-17T02:09:06.078Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T02:09:06.117Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T02:09:06.132Z] > git checkout -f 595e424eeac7315f293af2ed61abe406cb611b5e # timeout=10 [2021-08-17T02:09:10.360Z] Commit message: "Merge pull request #131 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.4.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T02:09:10.883Z] provisioning config files... [2021-08-17T02:09:10.916Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config822312094470757633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:09:11.572Z] ---> docker-login.sh [2021-08-17T02:09:11.572Z] nexus3.edgexfoundry.org:10001 [2021-08-17T02:09:12.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:09:12.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:09:12.831Z] Configure a credential helper to remove this warning. See [2021-08-17T02:09:12.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:09:12.831Z] [2021-08-17T02:09:12.831Z] Login Succeeded [2021-08-17T02:09:12.831Z] nexus3.edgexfoundry.org:10002 [2021-08-17T02:09:13.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:09:13.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:09:13.383Z] Configure a credential helper to remove this warning. See [2021-08-17T02:09:13.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:09:13.383Z] [2021-08-17T02:09:13.383Z] Login Succeeded [2021-08-17T02:09:13.383Z] nexus3.edgexfoundry.org:10003 [2021-08-17T02:09:13.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:09:13.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:09:13.657Z] Configure a credential helper to remove this warning. See [2021-08-17T02:09:13.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:09:13.657Z] [2021-08-17T02:09:13.657Z] Login Succeeded [2021-08-17T02:09:13.933Z] nexus3.edgexfoundry.org:10004 [2021-08-17T02:09:14.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:09:14.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:09:14.214Z] Configure a credential helper to remove this warning. See [2021-08-17T02:09:14.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:09:14.214Z] [2021-08-17T02:09:14.214Z] Login Succeeded [2021-08-17T02:09:14.214Z] docker.io [2021-08-17T02:09:14.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:09:15.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:09:15.092Z] Configure a credential helper to remove this warning. See [2021-08-17T02:09:15.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:09:15.092Z] [2021-08-17T02:09:15.092Z] Login Succeeded [2021-08-17T02:09:15.092Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T02:09:15.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-17T02:09:15.529Z] ========================================================= [2021-08-17T02:09:15.529Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-17T02:09:15.529Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:09:15.922Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-08-17T02:09:15.922Z] Sending build context to Docker daemon 119.3kB [2021-08-17T02:09:16.200Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T02:09:16.200Z] Step 2/10 : FROM ${BASE} [2021-08-17T02:09:16.526Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-17T02:09:16.814Z] 595b0fe564bb: Pulling fs layer [2021-08-17T02:09:16.814Z] 24495759ef45: Pulling fs layer [2021-08-17T02:09:16.814Z] d148012ef14d: Pulling fs layer [2021-08-17T02:09:16.814Z] e90a11edd702: Pulling fs layer [2021-08-17T02:09:16.814Z] d77568369979: Pulling fs layer [2021-08-17T02:09:16.814Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-17T02:09:16.814Z] 170f2ba95c9a: Pulling fs layer [2021-08-17T02:09:16.814Z] 97ac5df62f85: Pulling fs layer [2021-08-17T02:09:16.814Z] e90a11edd702: Waiting [2021-08-17T02:09:16.814Z] d77568369979: Waiting [2021-08-17T02:09:16.814Z] fc1c9f9a7f3b: Waiting [2021-08-17T02:09:16.814Z] 170f2ba95c9a: Waiting [2021-08-17T02:09:16.814Z] 97ac5df62f85: Waiting [2021-08-17T02:09:16.814Z] d148012ef14d: Verifying Checksum [2021-08-17T02:09:16.814Z] d148012ef14d: Download complete [2021-08-17T02:09:16.814Z] 24495759ef45: Verifying Checksum [2021-08-17T02:09:16.814Z] d77568369979: Verifying Checksum [2021-08-17T02:09:16.814Z] d77568369979: Download complete [2021-08-17T02:09:16.814Z] fc1c9f9a7f3b: Download complete [2021-08-17T02:09:16.814Z] 595b0fe564bb: Verifying Checksum [2021-08-17T02:09:16.814Z] 595b0fe564bb: Download complete [2021-08-17T02:09:16.814Z] 170f2ba95c9a: Download complete [2021-08-17T02:09:17.808Z] 595b0fe564bb: Pull complete [2021-08-17T02:09:18.412Z] 24495759ef45: Pull complete [2021-08-17T02:09:19.024Z] d148012ef14d: Pull complete [2021-08-17T02:09:20.471Z] 97ac5df62f85: Verifying Checksum [2021-08-17T02:09:20.471Z] 97ac5df62f85: Download complete [2021-08-17T02:09:21.041Z] Running on prd-centos7-docker-4c-2g-1014 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-08-17T02:09:21.060Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [2021-08-17T02:09:21.066Z] e90a11edd702: Verifying Checksum [2021-08-17T02:09:21.066Z] e90a11edd702: Download complete [Pipeline] checkout [2021-08-17T02:09:21.188Z] The recommended git tool is: git [2021-08-17T02:09:24.106Z] using credential edgex-jenkins-ssh [2021-08-17T02:09:24.122Z] Cloning the remote Git repository [2021-08-17T02:09:24.147Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-08-17T02:09:24.220Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2021-08-17T02:09:24.253Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-17T02:09:24.253Z] > git --version # timeout=10 [2021-08-17T02:09:24.263Z] > git --version # 'git version 2.24.4' [2021-08-17T02:09:24.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T02:09:24.293Z] [INFO] Currently running in a labeled security context [2021-08-17T02:09:24.294Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T02:09:24.294Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/5@tmp/jenkins-gitclient-ssh1609575685494647863.key [2021-08-17T02:09:24.318Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T02:09:25.372Z] Avoid second fetch [2021-08-17T02:09:25.373Z] Checking out Revision 595e424eeac7315f293af2ed61abe406cb611b5e (main) [2021-08-17T02:09:25.341Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-17T02:09:25.354Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T02:09:25.382Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T02:09:25.388Z] > git checkout -f 595e424eeac7315f293af2ed61abe406cb611b5e # timeout=10 [2021-08-17T02:09:29.117Z] Commit message: "Merge pull request #131 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.4.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T02:09:29.463Z] provisioning config files... [2021-08-17T02:09:29.484Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config5428813810030320364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:09:30.022Z] ---> docker-login.sh [2021-08-17T02:09:30.022Z] nexus3.edgexfoundry.org:10001 [2021-08-17T02:09:30.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:09:30.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:09:30.291Z] Configure a credential helper to remove this warning. See [2021-08-17T02:09:30.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:09:30.291Z] [2021-08-17T02:09:30.291Z] Login Succeeded [2021-08-17T02:09:30.291Z] nexus3.edgexfoundry.org:10002 [2021-08-17T02:09:30.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:09:30.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:09:30.291Z] Configure a credential helper to remove this warning. See [2021-08-17T02:09:30.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:09:30.291Z] [2021-08-17T02:09:30.291Z] Login Succeeded [2021-08-17T02:09:30.291Z] nexus3.edgexfoundry.org:10003 [2021-08-17T02:09:30.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:09:30.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:09:30.558Z] Configure a credential helper to remove this warning. See [2021-08-17T02:09:30.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:09:30.558Z] [2021-08-17T02:09:30.558Z] Login Succeeded [2021-08-17T02:09:30.558Z] nexus3.edgexfoundry.org:10004 [2021-08-17T02:09:30.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:09:30.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:09:30.827Z] Configure a credential helper to remove this warning. See [2021-08-17T02:09:30.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:09:30.827Z] [2021-08-17T02:09:30.827Z] Login Succeeded [2021-08-17T02:09:30.827Z] docker.io [2021-08-17T02:09:30.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:09:31.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:09:31.096Z] Configure a credential helper to remove this warning. See [2021-08-17T02:09:31.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:09:31.096Z] [2021-08-17T02:09:31.096Z] Login Succeeded [2021-08-17T02:09:31.096Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T02:09:31.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-08-17T02:09:31.255Z] e90a11edd702: Pull complete [2021-08-17T02:09:31.255Z] d77568369979: Pull complete [2021-08-17T02:09:31.255Z] fc1c9f9a7f3b: Pull complete [Pipeline] echo [2021-08-17T02:09:31.354Z] ========================================================= [2021-08-17T02:09:31.354Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-17T02:09:31.354Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:09:31.536Z] 170f2ba95c9a: Pull complete [2021-08-17T02:09:31.888Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-08-17T02:09:31.888Z] Sending build context to Docker daemon 119.3kB [2021-08-17T02:09:31.888Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T02:09:31.888Z] Step 2/10 : FROM ${BASE} [2021-08-17T02:09:31.888Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-17T02:09:31.888Z] 540db60ca938: Pulling fs layer [2021-08-17T02:09:31.888Z] adcc1eea9eea: Pulling fs layer [2021-08-17T02:09:31.888Z] 4c4ab2625f07: Pulling fs layer [2021-08-17T02:09:31.888Z] db62176df00c: Pulling fs layer [2021-08-17T02:09:31.888Z] 3b30891b0d05: Pulling fs layer [2021-08-17T02:09:31.888Z] 06b49ca38bd5: Pulling fs layer [2021-08-17T02:09:31.888Z] c788192a36de: Pulling fs layer [2021-08-17T02:09:31.888Z] a77e37c0d609: Pulling fs layer [2021-08-17T02:09:31.888Z] c3185cebc471: Pulling fs layer [2021-08-17T02:09:31.888Z] db62176df00c: Waiting [2021-08-17T02:09:31.888Z] 3b30891b0d05: Waiting [2021-08-17T02:09:31.888Z] 06b49ca38bd5: Waiting [2021-08-17T02:09:31.888Z] c788192a36de: Waiting [2021-08-17T02:09:31.888Z] a77e37c0d609: Waiting [2021-08-17T02:09:31.888Z] c3185cebc471: Waiting [2021-08-17T02:09:32.167Z] 4c4ab2625f07: Verifying Checksum [2021-08-17T02:09:32.167Z] 4c4ab2625f07: Download complete [2021-08-17T02:09:32.167Z] adcc1eea9eea: Verifying Checksum [2021-08-17T02:09:32.167Z] adcc1eea9eea: Download complete [2021-08-17T02:09:32.167Z] 3b30891b0d05: Verifying Checksum [2021-08-17T02:09:32.167Z] 3b30891b0d05: Download complete [2021-08-17T02:09:32.167Z] 06b49ca38bd5: Verifying Checksum [2021-08-17T02:09:32.167Z] 06b49ca38bd5: Download complete [2021-08-17T02:09:32.167Z] c788192a36de: Verifying Checksum [2021-08-17T02:09:32.167Z] c788192a36de: Download complete [2021-08-17T02:09:32.167Z] 540db60ca938: Verifying Checksum [2021-08-17T02:09:32.167Z] 540db60ca938: Download complete [2021-08-17T02:09:32.441Z] 540db60ca938: Pull complete [2021-08-17T02:09:32.441Z] adcc1eea9eea: Pull complete [2021-08-17T02:09:32.713Z] 4c4ab2625f07: Pull complete [2021-08-17T02:09:32.979Z] a77e37c0d609: Verifying Checksum [2021-08-17T02:09:32.979Z] a77e37c0d609: Download complete [2021-08-17T02:09:36.390Z] c3185cebc471: Verifying Checksum [2021-08-17T02:09:36.390Z] c3185cebc471: Download complete [2021-08-17T02:09:36.660Z] db62176df00c: Verifying Checksum [2021-08-17T02:09:36.660Z] db62176df00c: Download complete [2021-08-17T02:09:36.944Z] 97ac5df62f85: Pull complete [2021-08-17T02:09:37.220Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-17T02:09:37.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T02:09:37.220Z] ---> 04bc70af865f [2021-08-17T02:09:37.220Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T02:09:40.613Z] ---> Running in 6a855e732b3e [2021-08-17T02:09:40.891Z] Removing intermediate container 6a855e732b3e [2021-08-17T02:09:40.891Z] ---> dc7ea06d6bf3 [2021-08-17T02:09:40.891Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T02:09:40.991Z] db62176df00c: Pull complete [2021-08-17T02:09:40.991Z] 3b30891b0d05: Pull complete [2021-08-17T02:09:40.991Z] 06b49ca38bd5: Pull complete [2021-08-17T02:09:40.991Z] c788192a36de: Pull complete [2021-08-17T02:09:40.991Z] a77e37c0d609: Pull complete [2021-08-17T02:09:41.165Z] ---> Running in ab9c6693d432 [2021-08-17T02:09:41.765Z] Removing intermediate container ab9c6693d432 [2021-08-17T02:09:41.765Z] ---> 1de9a05bfa5c [2021-08-17T02:09:41.765Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-17T02:09:41.765Z] ---> Running in c7e2c808b47b [2021-08-17T02:09:42.364Z] Removing intermediate container c7e2c808b47b [2021-08-17T02:09:42.364Z] ---> 48e101bb1d85 [2021-08-17T02:09:42.364Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T02:09:42.364Z] ---> Running in 39cfa5969240 [2021-08-17T02:09:42.968Z] c3185cebc471: Pull complete [2021-08-17T02:09:42.969Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-17T02:09:42.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T02:09:43.239Z] ---> 031687cdd783 [2021-08-17T02:09:43.239Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T02:09:45.197Z] ---> Running in 80839ecde44f [2021-08-17T02:09:45.197Z] Removing intermediate container 80839ecde44f [2021-08-17T02:09:45.197Z] ---> 754414c562b9 [2021-08-17T02:09:45.197Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T02:09:45.197Z] ---> Running in 4c602f22becc [2021-08-17T02:09:45.197Z] Removing intermediate container 4c602f22becc [2021-08-17T02:09:45.197Z] ---> 78d50a919aab [2021-08-17T02:09:45.197Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-17T02:09:45.197Z] ---> Running in 827fab74cd62 [2021-08-17T02:09:45.471Z] Removing intermediate container 827fab74cd62 [2021-08-17T02:09:45.471Z] ---> c6407afc8180 [2021-08-17T02:09:45.471Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T02:09:45.471Z] ---> Running in c0bc80d95668 [2021-08-17T02:09:45.759Z] Removing intermediate container 39cfa5969240 [2021-08-17T02:09:45.759Z] ---> 71aab0e91d82 [2021-08-17T02:09:45.760Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T02:09:45.760Z] ---> Running in eacc88c039d4 [2021-08-17T02:09:46.072Z] Removing intermediate container c0bc80d95668 [2021-08-17T02:09:46.072Z] ---> 0e24b5253200 [2021-08-17T02:09:46.072Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T02:09:46.072Z] ---> Running in d42fe7ce45a8 [2021-08-17T02:09:46.341Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-17T02:09:46.737Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-17T02:09:47.305Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-17T02:09:47.712Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-17T02:09:47.889Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-08-17T02:09:47.889Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-08-17T02:09:47.889Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-08-17T02:09:48.465Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-08-17T02:09:48.465Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-08-17T02:09:48.465Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-08-17T02:09:48.478Z] Executing busybox-1.32.1-r6.trigger [2021-08-17T02:09:48.478Z] OK: 223 MiB in 55 packages [2021-08-17T02:09:48.746Z] Executing busybox-1.32.1-r6.trigger [2021-08-17T02:09:48.753Z] Removing intermediate container d42fe7ce45a8 [2021-08-17T02:09:48.753Z] ---> eb1393c6a981 [2021-08-17T02:09:48.753Z] Step 8/10 : WORKDIR /device-rest-go [2021-08-17T02:09:48.753Z] ---> Running in ee9442d20e73 [2021-08-17T02:09:48.753Z] Removing intermediate container ee9442d20e73 [2021-08-17T02:09:48.753Z] ---> 397adfd1a1c8 [2021-08-17T02:09:48.753Z] Step 9/10 : COPY . . [2021-08-17T02:09:49.029Z] ---> c1894c4f359a [2021-08-17T02:09:49.029Z] Step 10/10 : RUN go mod download [2021-08-17T02:09:49.030Z] ---> Running in e8529030422d [2021-08-17T02:09:49.036Z] OK: 222 MiB in 55 packages [2021-08-17T02:09:50.467Z] Removing intermediate container eacc88c039d4 [2021-08-17T02:09:50.467Z] ---> 4bf063383006 [2021-08-17T02:09:50.467Z] Step 8/10 : WORKDIR /device-rest-go [2021-08-17T02:09:50.467Z] ---> Running in f4e87f692733 [2021-08-17T02:09:50.739Z] Removing intermediate container f4e87f692733 [2021-08-17T02:09:50.739Z] ---> db55d7174fe6 [2021-08-17T02:09:50.739Z] Step 9/10 : COPY . . [2021-08-17T02:09:51.714Z] ---> 7e724639d9bc [2021-08-17T02:09:51.714Z] Step 10/10 : RUN go mod download [2021-08-17T02:09:51.714Z] ---> Running in 97e6df525c9a [2021-08-17T02:10:04.068Z] Removing intermediate container e8529030422d [2021-08-17T02:10:04.068Z] ---> e972d4589fc0 [2021-08-17T02:10:04.068Z] Successfully built e972d4589fc0 [2021-08-17T02:10:04.068Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:10:04.400Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T02:10:04.400Z] . [Pipeline] withDockerContainer [2021-08-17T02:10:04.497Z] prd-centos7-docker-4c-2g-1014 does not seem to be running inside a container [2021-08-17T02:10:04.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-17T02:10:04.963Z] $ docker top f1d09a323e649c288877e288ebdf9b538add5a6ffee9bee2142b5a9358b308d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T02:10:05.393Z] + go version [2021-08-17T02:10:05.393Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-17T02:10:05.409Z] $ docker stop --time=1 f1d09a323e649c288877e288ebdf9b538add5a6ffee9bee2142b5a9358b308d5 [2021-08-17T02:10:06.624Z] $ docker rm -f f1d09a323e649c288877e288ebdf9b538add5a6ffee9bee2142b5a9358b308d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:10:07.121Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T02:10:07.121Z] . [Pipeline] withDockerContainer [2021-08-17T02:10:07.209Z] prd-centos7-docker-4c-2g-1014 does not seem to be running inside a container [2021-08-17T02:10:07.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-17T02:10:07.688Z] $ docker top 0fe619b89553cdac7bc158e7eb8ff2704c56f574d5ed87b24a352df5b605203c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T02:10:08.100Z] + go mod tidy [Pipeline] sh [2021-08-17T02:10:08.688Z] + make test [2021-08-17T02:10:08.688Z] go mod tidy [2021-08-17T02:10:08.688Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-08-17T02:10:09.277Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-08-17T02:10:24.071Z] Removing intermediate container 97e6df525c9a [2021-08-17T02:10:24.071Z] ---> daf2e601262d [2021-08-17T02:10:24.071Z] Successfully built daf2e601262d [2021-08-17T02:10:24.071Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:10:24.430Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T02:10:24.430Z] . [Pipeline] withDockerContainer [2021-08-17T02:10:24.700Z] prd-ubuntu18.04-docker-arm64-4c-16g-1013 does not seem to be running inside a container [2021-08-17T02:10:24.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-17T02:10:26.402Z] $ docker top 65ebefd1c176abf60345826882c41a721fb48cf7d1af5bbbc5ca44d4fd7a28bf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T02:10:27.385Z] + go version [2021-08-17T02:10:27.385Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-17T02:10:27.418Z] $ docker stop --time=1 65ebefd1c176abf60345826882c41a721fb48cf7d1af5bbbc5ca44d4fd7a28bf [2021-08-17T02:10:27.636Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-08-17T02:10:27.636Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-08-17T02:10:27.636Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-17T02:10:29.531Z] $ docker rm -f 65ebefd1c176abf60345826882c41a721fb48cf7d1af5bbbc5ca44d4fd7a28bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:10:30.216Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T02:10:30.216Z] . [Pipeline] withDockerContainer [2021-08-17T02:10:30.459Z] prd-ubuntu18.04-docker-arm64-4c-16g-1013 does not seem to be running inside a container [2021-08-17T02:10:30.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-17T02:10:32.279Z] $ docker top 39cee196b34f15e8c5bdbe6e04d3fc0de1bb6841d1dbd87731439318dcea496e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T02:10:33.134Z] gofmt -l . [2021-08-17T02:10:33.134Z] [ "`gofmt -l .`" = "" ] [2021-08-17T02:10:33.134Z] ./bin/test-go-mod-tidy.sh [2021-08-17T02:10:33.134Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-08-17T02:10:33.161Z] $ docker stop --time=1 0fe619b89553cdac7bc158e7eb8ff2704c56f574d5ed87b24a352df5b605203c [2021-08-17T02:10:33.218Z] + go mod tidy [2021-08-17T02:10:34.636Z] $ docker rm -f 0fe619b89553cdac7bc158e7eb8ff2704c56f574d5ed87b24a352df5b605203c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-08-17T02:10:35.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T02:10:35.331Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-08-17T02:10:35.474Z] + make test [2021-08-17T02:10:35.474Z] go mod tidy [2021-08-17T02:10:35.752Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-08-17T02:10:37.200Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] sh [2021-08-17T02:10:37.516Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-17T02:10:37.831Z] + ls -al . [2021-08-17T02:10:37.831Z] total 120 [2021-08-17T02:10:37.831Z] drwxrwxr-x. 8 jenkins jenkins 4096 Aug 17 02:10 . [2021-08-17T02:10:37.831Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 17 02:09 .. [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 6792 Aug 17 02:09 Attribution.txt [2021-08-17T02:10:37.831Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 17 02:09 bin [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 7459 Aug 17 02:09 CHANGELOG.md [2021-08-17T02:10:37.831Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 17 02:09 cmd [2021-08-17T02:10:37.831Z] -rw-r--r--. 1 jenkins jenkins 8513 Aug 17 02:10 coverage.out [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 1615 Aug 17 02:09 Dockerfile [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 1087 Aug 17 02:09 Dockerfile.build [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 151 Aug 17 02:09 .dockerignore [2021-08-17T02:10:37.831Z] drwxrwxr-x. 2 jenkins jenkins 76 Aug 17 02:09 driver [2021-08-17T02:10:37.831Z] drwxrwxr-x. 8 jenkins jenkins 162 Aug 17 02:09 .git [2021-08-17T02:10:37.831Z] drwxrwxr-x. 2 jenkins jenkins 103 Aug 17 02:09 .github [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 336 Aug 17 02:09 .gitignore [2021-08-17T02:10:37.831Z] -rw-r--r--. 1 jenkins jenkins 271 Aug 17 02:10 go.mod [2021-08-17T02:10:37.831Z] -rw-r--r--. 1 jenkins jenkins 20570 Aug 17 02:10 go.sum [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 17 02:09 GOVERNANCE.md [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 680 Aug 17 02:09 Jenkinsfile [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 17 02:09 LICENSE [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 996 Aug 17 02:09 Makefile [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 620 Aug 17 02:09 OWNERS.md [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 7661 Aug 17 02:09 README.md [2021-08-17T02:10:37.831Z] drwxrwxr-x. 4 jenkins jenkins 71 Aug 17 02:09 snap [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 11 Aug 17 02:06 VERSION [2021-08-17T02:10:37.831Z] -rw-rw-r--. 1 jenkins jenkins 713 Aug 17 02:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:10:38.152Z] + 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=595e424eeac7315f293af2ed61abe406cb611b5e --label arch=amd64 --label version=2.0.1-dev.4 . [2021-08-17T02:10:38.152Z] Sending build context to Docker daemon 129kB [2021-08-17T02:10:38.152Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T02:10:38.152Z] Step 2/25 : FROM ${BASE} AS builder [2021-08-17T02:10:38.152Z] ---> e972d4589fc0 [2021-08-17T02:10:38.152Z] Step 3/25 : ARG MAKE='make build' [2021-08-17T02:10:38.152Z] ---> Running in e56a0045a290 [2021-08-17T02:10:38.152Z] Removing intermediate container e56a0045a290 [2021-08-17T02:10:38.152Z] ---> 0d11c2054876 [2021-08-17T02:10:38.152Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T02:10:38.417Z] ---> Running in acd085e217c0 [2021-08-17T02:10:38.417Z] Removing intermediate container acd085e217c0 [2021-08-17T02:10:38.417Z] ---> d3d64bb32dbb [2021-08-17T02:10:38.417Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T02:10:38.417Z] ---> Running in cd75da56d5c4 [2021-08-17T02:10:38.417Z] Removing intermediate container cd75da56d5c4 [2021-08-17T02:10:38.417Z] ---> bee09a8de5c9 [2021-08-17T02:10:38.417Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T02:10:38.417Z] ---> Running in abf87b149e39 [2021-08-17T02:10:39.003Z] Removing intermediate container abf87b149e39 [2021-08-17T02:10:39.003Z] ---> d3fa5ddc7499 [2021-08-17T02:10:39.003Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T02:10:39.003Z] ---> Running in 5b6e34a12117 [2021-08-17T02:10:39.269Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-17T02:10:40.232Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-17T02:10:40.502Z] OK: 223 MiB in 55 packages [2021-08-17T02:10:40.776Z] Removing intermediate container 5b6e34a12117 [2021-08-17T02:10:40.776Z] ---> 666bfe1e254d [2021-08-17T02:10:40.776Z] Step 8/25 : WORKDIR /device-rest-go [2021-08-17T02:10:40.776Z] ---> Running in abf542b234cf [2021-08-17T02:10:40.776Z] Removing intermediate container abf542b234cf [2021-08-17T02:10:40.776Z] ---> bf41485e9e9e [2021-08-17T02:10:40.776Z] Step 9/25 : COPY . . [2021-08-17T02:10:41.045Z] ---> 0faac763df7a [2021-08-17T02:10:41.045Z] Step 10/25 : RUN go mod tidy [2021-08-17T02:10:41.045Z] ---> Running in 9297c7c3740c [2021-08-17T02:10:41.644Z] Removing intermediate container 9297c7c3740c [2021-08-17T02:10:41.644Z] ---> 2d641b652977 [2021-08-17T02:10:41.644Z] Step 11/25 : RUN make update [2021-08-17T02:10:41.644Z] ---> Running in 03bbe85c96f3 [2021-08-17T02:10:41.918Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-17T02:10:42.188Z] Removing intermediate container 03bbe85c96f3 [2021-08-17T02:10:42.188Z] ---> b44d6e530609 [2021-08-17T02:10:42.188Z] Step 12/25 : RUN $MAKE [2021-08-17T02:10:42.188Z] ---> Running in 01ab5518f8f9 [2021-08-17T02:10:42.454Z] go mod tidy [2021-08-17T02:10:42.725Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.4" -o cmd/device-rest ./cmd [2021-08-17T02:10:55.147Z] Removing intermediate container 01ab5518f8f9 [2021-08-17T02:10:55.147Z] ---> 206227a0919c [2021-08-17T02:10:55.147Z] Step 13/25 : FROM alpine:3.12 [2021-08-17T02:10:55.147Z] 3.12: Pulling from library/alpine [2021-08-17T02:10:55.147Z] 339de151aab4: Pulling fs layer [2021-08-17T02:10:55.147Z] 339de151aab4: Verifying Checksum [2021-08-17T02:10:55.147Z] 339de151aab4: Download complete [2021-08-17T02:10:55.147Z] 339de151aab4: Pull complete [2021-08-17T02:10:55.147Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-17T02:10:55.147Z] Status: Downloaded newer image for alpine:3.12 [2021-08-17T02:10:55.147Z] ---> 13621d1b12d4 [2021-08-17T02:10:55.147Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-17T02:10:55.147Z] ---> Running in 744fdd2f0763 [2021-08-17T02:10:55.147Z] Removing intermediate container 744fdd2f0763 [2021-08-17T02:10:55.147Z] ---> 4ff4d7605f61 [2021-08-17T02:10:55.147Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-08-17T02:10:55.147Z] ---> Running in e6370d131b58 [2021-08-17T02:10:55.147Z] Removing intermediate container e6370d131b58 [2021-08-17T02:10:55.147Z] ---> c3cfc53ccd83 [2021-08-17T02:10:55.147Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-17T02:10:55.147Z] ---> Running in 9c2e59e51397 [2021-08-17T02:10:55.415Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-17T02:10:55.415Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-17T02:10:55.415Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-17T02:10:55.415Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-17T02:10:55.415Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-17T02:10:55.415Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-17T02:10:55.415Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-17T02:10:55.415Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-17T02:10:55.415Z] Executing busybox-1.31.1-r20.trigger [2021-08-17T02:10:55.415Z] OK: 8 MiB in 20 packages [2021-08-17T02:10:55.887Z] Removing intermediate container 9c2e59e51397 [2021-08-17T02:10:55.887Z] ---> 8577717140b6 [2021-08-17T02:10:55.887Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-08-17T02:10:56.152Z] ---> 00aa184a42ec [2021-08-17T02:10:56.152Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-08-17T02:10:56.423Z] ---> edc4ca01a25d [2021-08-17T02:10:56.423Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-08-17T02:10:56.423Z] ---> 9fab2e7b0a51 [2021-08-17T02:10:56.423Z] Step 20/25 : EXPOSE 59986 [2021-08-17T02:10:56.423Z] ---> Running in 817ff4a592dc [2021-08-17T02:10:56.423Z] Removing intermediate container 817ff4a592dc [2021-08-17T02:10:56.423Z] ---> b15988d7ee32 [2021-08-17T02:10:56.423Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-08-17T02:10:56.692Z] ---> Running in 457ce9b58623 [2021-08-17T02:10:56.692Z] Removing intermediate container 457ce9b58623 [2021-08-17T02:10:56.692Z] ---> 56d1f545b9a9 [2021-08-17T02:10:56.692Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-08-17T02:10:56.692Z] ---> Running in 2b6e2502d775 [2021-08-17T02:10:56.692Z] Removing intermediate container 2b6e2502d775 [2021-08-17T02:10:56.692Z] ---> d3857bb7ccc8 [2021-08-17T02:10:56.692Z] Step 23/25 : LABEL arch=amd64 [2021-08-17T02:10:56.692Z] ---> Running in 84967e44cb39 [2021-08-17T02:10:56.961Z] Removing intermediate container 84967e44cb39 [2021-08-17T02:10:56.961Z] ---> 161bf42ea330 [2021-08-17T02:10:56.961Z] Step 24/25 : LABEL git_sha=595e424eeac7315f293af2ed61abe406cb611b5e [2021-08-17T02:10:56.961Z] ---> Running in 60f24873b041 [2021-08-17T02:10:56.961Z] Removing intermediate container 60f24873b041 [2021-08-17T02:10:56.961Z] ---> b6ebef554603 [2021-08-17T02:10:56.961Z] Step 25/25 : LABEL version=2.0.1-dev.4 [2021-08-17T02:10:56.961Z] ---> Running in c263f3d99b70 [2021-08-17T02:10:57.228Z] Removing intermediate container c263f3d99b70 [2021-08-17T02:10:57.228Z] ---> 36a729a4bb87 [2021-08-17T02:10:57.228Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-17T02:10:57.228Z] Successfully built 36a729a4bb87 [2021-08-17T02:10:57.228Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T02:10:57.360Z] provisioning config files... [2021-08-17T02:10:57.375Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config2606594792283876504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:10:57.713Z] ---> docker-login.sh [2021-08-17T02:10:57.713Z] nexus3.edgexfoundry.org:10001 [2021-08-17T02:10:57.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:10:57.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:10:57.713Z] Configure a credential helper to remove this warning. See [2021-08-17T02:10:57.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:10:57.713Z] [2021-08-17T02:10:57.713Z] Login Succeeded [2021-08-17T02:10:57.713Z] nexus3.edgexfoundry.org:10002 [2021-08-17T02:10:57.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:10:57.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:10:57.981Z] Configure a credential helper to remove this warning. See [2021-08-17T02:10:57.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:10:57.981Z] [2021-08-17T02:10:57.981Z] Login Succeeded [2021-08-17T02:10:57.981Z] nexus3.edgexfoundry.org:10003 [2021-08-17T02:10:57.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:10:57.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:10:57.981Z] Configure a credential helper to remove this warning. See [2021-08-17T02:10:57.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:10:57.981Z] [2021-08-17T02:10:57.981Z] Login Succeeded [2021-08-17T02:10:57.981Z] nexus3.edgexfoundry.org:10004 [2021-08-17T02:10:58.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:10:58.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:10:58.251Z] Configure a credential helper to remove this warning. See [2021-08-17T02:10:58.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:10:58.251Z] [2021-08-17T02:10:58.251Z] Login Succeeded [2021-08-17T02:10:58.251Z] docker.io [2021-08-17T02:10:58.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:10:58.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:10:58.519Z] Configure a credential helper to remove this warning. See [2021-08-17T02:10:58.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:10:58.519Z] [2021-08-17T02:10:58.519Z] Login Succeeded [2021-08-17T02:10:58.519Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T02:10:58.531Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-17T02:10:58.602Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-08-17T02:10:58.602Z] 595e424eeac7315f293af2ed61abe406cb611b5e [2021-08-17T02:10:58.602Z] latest [2021-08-17T02:10:58.602Z] 2.0.1-dev.4 [2021-08-17T02:10:58.602Z] 595e424eeac7315f293af2ed61abe406cb611b5e-2.0.1-dev.4 [2021-08-17T02:10:58.602Z] main [2021-08-17T02:10:58.602Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:10:58.976Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:595e424eeac7315f293af2ed61abe406cb611b5e [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:10:59.317Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:595e424eeac7315f293af2ed61abe406cb611b5e [2021-08-17T02:10:59.318Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-08-17T02:10:59.318Z] 01d137f1639f: Preparing [2021-08-17T02:10:59.318Z] c6c86d38b1d0: Preparing [2021-08-17T02:10:59.318Z] 692127f94e31: Preparing [2021-08-17T02:10:59.318Z] 4f9fe156cc5c: Preparing [2021-08-17T02:10:59.318Z] 32f366d666a5: Preparing [2021-08-17T02:10:59.318Z] 32f366d666a5: Layer already exists [2021-08-17T02:10:59.585Z] 01d137f1639f: Pushed [2021-08-17T02:10:59.586Z] c6c86d38b1d0: Pushed [2021-08-17T02:10:59.586Z] 4f9fe156cc5c: Pushed [2021-08-17T02:11:00.990Z] 692127f94e31: Pushed [2021-08-17T02:11:00.991Z] 595e424eeac7315f293af2ed61abe406cb611b5e: digest: sha256:c4a32ff52d92513b28e1cf3125b6d01df2d666f5ca6f466b4c0aad4db8078c43 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:11:01.341Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:11:01.665Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-08-17T02:11:01.665Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-08-17T02:11:01.665Z] 01d137f1639f: Preparing [2021-08-17T02:11:01.665Z] c6c86d38b1d0: Preparing [2021-08-17T02:11:01.665Z] 692127f94e31: Preparing [2021-08-17T02:11:01.665Z] 4f9fe156cc5c: Preparing [2021-08-17T02:11:01.665Z] 32f366d666a5: Preparing [2021-08-17T02:11:01.665Z] 01d137f1639f: Layer already exists [2021-08-17T02:11:01.665Z] 32f366d666a5: Layer already exists [2021-08-17T02:11:01.665Z] c6c86d38b1d0: Layer already exists [2021-08-17T02:11:01.665Z] 4f9fe156cc5c: Layer already exists [2021-08-17T02:11:01.665Z] 692127f94e31: Layer already exists [2021-08-17T02:11:01.665Z] latest: digest: sha256:c4a32ff52d92513b28e1cf3125b6d01df2d666f5ca6f466b4c0aad4db8078c43 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:11:01.994Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:11:02.315Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.4 [2021-08-17T02:11:02.315Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-08-17T02:11:02.315Z] 01d137f1639f: Preparing [2021-08-17T02:11:02.315Z] c6c86d38b1d0: Preparing [2021-08-17T02:11:02.315Z] 692127f94e31: Preparing [2021-08-17T02:11:02.315Z] 4f9fe156cc5c: Preparing [2021-08-17T02:11:02.315Z] 32f366d666a5: Preparing [2021-08-17T02:11:02.315Z] 692127f94e31: Layer already exists [2021-08-17T02:11:02.315Z] 01d137f1639f: Layer already exists [2021-08-17T02:11:02.315Z] c6c86d38b1d0: Layer already exists [2021-08-17T02:11:02.315Z] 4f9fe156cc5c: Layer already exists [2021-08-17T02:11:02.315Z] 32f366d666a5: Layer already exists [2021-08-17T02:11:02.315Z] 2.0.1-dev.4: digest: sha256:c4a32ff52d92513b28e1cf3125b6d01df2d666f5ca6f466b4c0aad4db8078c43 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:11:02.641Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:595e424eeac7315f293af2ed61abe406cb611b5e-2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:11:02.959Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:595e424eeac7315f293af2ed61abe406cb611b5e-2.0.1-dev.4 [2021-08-17T02:11:02.959Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-08-17T02:11:02.959Z] 01d137f1639f: Preparing [2021-08-17T02:11:02.959Z] c6c86d38b1d0: Preparing [2021-08-17T02:11:02.959Z] 692127f94e31: Preparing [2021-08-17T02:11:02.959Z] 4f9fe156cc5c: Preparing [2021-08-17T02:11:02.959Z] 32f366d666a5: Preparing [2021-08-17T02:11:02.959Z] 692127f94e31: Layer already exists [2021-08-17T02:11:02.959Z] 32f366d666a5: Layer already exists [2021-08-17T02:11:02.959Z] 4f9fe156cc5c: Layer already exists [2021-08-17T02:11:02.959Z] 01d137f1639f: Layer already exists [2021-08-17T02:11:02.959Z] c6c86d38b1d0: Layer already exists [2021-08-17T02:11:02.959Z] 595e424eeac7315f293af2ed61abe406cb611b5e-2.0.1-dev.4: digest: sha256:c4a32ff52d92513b28e1cf3125b6d01df2d666f5ca6f466b4c0aad4db8078c43 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:11:03.283Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:11:03.599Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-08-17T02:11:03.599Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-08-17T02:11:03.599Z] 01d137f1639f: Preparing [2021-08-17T02:11:03.599Z] c6c86d38b1d0: Preparing [2021-08-17T02:11:03.599Z] 692127f94e31: Preparing [2021-08-17T02:11:03.599Z] 4f9fe156cc5c: Preparing [2021-08-17T02:11:03.599Z] 32f366d666a5: Preparing [2021-08-17T02:11:03.599Z] c6c86d38b1d0: Layer already exists [2021-08-17T02:11:03.599Z] 32f366d666a5: Layer already exists [2021-08-17T02:11:03.599Z] 01d137f1639f: Layer already exists [2021-08-17T02:11:03.599Z] 692127f94e31: Layer already exists [2021-08-17T02:11:03.599Z] 4f9fe156cc5c: Layer already exists [2021-08-17T02:11:03.599Z] main: digest: sha256:c4a32ff52d92513b28e1cf3125b6d01df2d666f5ca6f466b4c0aad4db8078c43 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-17T02:11:03.664Z] ===================================================== [Pipeline] echo [2021-08-17T02:11:03.680Z] taggedImages: [2021-08-17T02:11:03.680Z] - nexus3.edgexfoundry.org:10004/device-rest:595e424eeac7315f293af2ed61abe406cb611b5e [2021-08-17T02:11:03.680Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-08-17T02:11:03.680Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.4 [2021-08-17T02:11:03.680Z] - nexus3.edgexfoundry.org:10004/device-rest:595e424eeac7315f293af2ed61abe406cb611b5e-2.0.1-dev.4 [2021-08-17T02:11:03.680Z] - 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-08-17T02:11:04.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T02:11:04.124Z] [2021-08-17T02:11:04.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:11:04.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T02:11:04.453Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T02:11:04.453Z] b4d181a07f80: Pulling fs layer [2021-08-17T02:11:04.453Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T02:11:04.453Z] ed53099fbce6: Pulling fs layer [2021-08-17T02:11:04.453Z] dc539afda2c1: Pulling fs layer [2021-08-17T02:11:04.453Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T02:11:04.453Z] 9065ff56babe: Pulling fs layer [2021-08-17T02:11:04.453Z] d287ab97295c: Pulling fs layer [2021-08-17T02:11:04.453Z] dc539afda2c1: Waiting [2021-08-17T02:11:04.453Z] 77bc0d833cb6: Waiting [2021-08-17T02:11:04.453Z] 9065ff56babe: Waiting [2021-08-17T02:11:04.453Z] d287ab97295c: Waiting [2021-08-17T02:11:04.719Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T02:11:04.719Z] a1111a8f2ec3: Download complete [2021-08-17T02:11:04.719Z] dc539afda2c1: Verifying Checksum [2021-08-17T02:11:04.719Z] dc539afda2c1: Download complete [2021-08-17T02:11:04.985Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T02:11:04.985Z] 77bc0d833cb6: Download complete [2021-08-17T02:11:04.985Z] 9065ff56babe: Verifying Checksum [2021-08-17T02:11:04.985Z] 9065ff56babe: Download complete [2021-08-17T02:11:05.251Z] ed53099fbce6: Verifying Checksum [2021-08-17T02:11:05.251Z] ed53099fbce6: Download complete [2021-08-17T02:11:05.835Z] b4d181a07f80: Verifying Checksum [2021-08-17T02:11:05.835Z] b4d181a07f80: Download complete [2021-08-17T02:11:06.828Z] b4d181a07f80: Pull complete [2021-08-17T02:11:06.828Z] a1111a8f2ec3: Pull complete [2021-08-17T02:11:07.418Z] ed53099fbce6: Pull complete [2021-08-17T02:11:07.418Z] dc539afda2c1: Pull complete [2021-08-17T02:11:07.688Z] 77bc0d833cb6: Pull complete [2021-08-17T02:11:07.954Z] 9065ff56babe: Pull complete [2021-08-17T02:11:09.896Z] d287ab97295c: Verifying Checksum [2021-08-17T02:11:09.896Z] d287ab97295c: Download complete [2021-08-17T02:11:13.479Z] d287ab97295c: Pull complete [2021-08-17T02:11:13.479Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T02:11:13.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T02:11:13.752Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T02:11:13.855Z] prd-centos7-docker-4c-2g-1014 does not seem to be running inside a container [2021-08-17T02:11:13.931Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T02:11:16.242Z] $ docker top 7fb9c2d51c0da28bbac2ca842ebd9b17b4ac1fd2897a304d3309c8b80ac9c90e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:11:16.852Z] ---> job-cost.sh [2021-08-17T02:11:16.852Z] lf-activate-venv: SKIPPING [2021-08-17T02:11:16.852Z] INFO: No Stack... [2021-08-17T02:11:17.814Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T02:11:18.081Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T02:11:18.413Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2021-08-17T02:11:18.413Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T02:11:18.450Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-5-stack-cost] [2021-08-17T02:11:18.464Z] Resource [jenkins-edgexfoundry-device-rest-go-main-5-stack-cost] did not exist. Created. [2021-08-17T02:11:18.465Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T02:11:18.808Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-17T02:11:18.856Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T02:11:18.868Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T02:11:18.897Z] $ docker stop --time=1 7fb9c2d51c0da28bbac2ca842ebd9b17b4ac1fd2897a304d3309c8b80ac9c90e [2021-08-17T02:11:20.046Z] $ docker rm -f 7fb9c2d51c0da28bbac2ca842ebd9b17b4ac1fd2897a304d3309c8b80ac9c90e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-17T02:11:33.833Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-08-17T02:11:33.833Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 54.0% of statements [2021-08-17T02:11:33.833Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-17T02:11:56.045Z] gofmt -l . [2021-08-17T02:11:56.045Z] [ "`gofmt -l .`" = "" ] [2021-08-17T02:11:56.045Z] ./bin/test-go-mod-tidy.sh [2021-08-17T02:11:56.045Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-08-17T02:11:58.053Z] $ docker stop --time=1 39cee196b34f15e8c5bdbe6e04d3fc0de1bb6841d1dbd87731439318dcea496e [2021-08-17T02:12:00.111Z] $ docker rm -f 39cee196b34f15e8c5bdbe6e04d3fc0de1bb6841d1dbd87731439318dcea496e [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T02:12:00.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T02:12:01.018Z] Warning: overwriting stash ‘coverage-report’ [2021-08-17T02:12:01.522Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-17T02:12:01.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-17T02:12:02.337Z] + ls -al . [2021-08-17T02:12:02.337Z] total 148 [2021-08-17T02:12:02.337Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 02:11 . [2021-08-17T02:12:02.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 02:09 .. [2021-08-17T02:12:02.337Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 17 02:09 .dockerignore [2021-08-17T02:12:02.337Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 02:09 .git [2021-08-17T02:12:02.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 02:09 .github [2021-08-17T02:12:02.337Z] -rw-rw-r-- 1 jenkins jenkins 336 Aug 17 02:09 .gitignore [2021-08-17T02:12:02.337Z] -rw-rw-r-- 1 jenkins jenkins 6792 Aug 17 02:09 Attribution.txt [2021-08-17T02:12:02.337Z] -rw-rw-r-- 1 jenkins jenkins 7459 Aug 17 02:09 CHANGELOG.md [2021-08-17T02:12:02.337Z] -rw-rw-r-- 1 jenkins jenkins 1615 Aug 17 02:09 Dockerfile [2021-08-17T02:12:02.337Z] -rw-rw-r-- 1 jenkins jenkins 1087 Aug 17 02:09 Dockerfile.build [2021-08-17T02:12:02.337Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 02:09 GOVERNANCE.md [2021-08-17T02:12:02.337Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 17 02:09 Jenkinsfile [2021-08-17T02:12:02.337Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 17 02:09 LICENSE [2021-08-17T02:12:02.337Z] -rw-rw-r-- 1 jenkins jenkins 996 Aug 17 02:09 Makefile [2021-08-17T02:12:02.338Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 17 02:09 OWNERS.md [2021-08-17T02:12:02.338Z] -rw-rw-r-- 1 jenkins jenkins 7661 Aug 17 02:09 README.md [2021-08-17T02:12:02.338Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 17 02:06 VERSION [2021-08-17T02:12:02.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 02:09 bin [2021-08-17T02:12:02.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 02:09 cmd [2021-08-17T02:12:02.338Z] -rw-r--r-- 1 jenkins jenkins 8513 Aug 17 02:11 coverage.out [2021-08-17T02:12:02.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 02:09 driver [2021-08-17T02:12:02.338Z] -rw-r--r-- 1 jenkins jenkins 271 Aug 17 02:11 go.mod [2021-08-17T02:12:02.338Z] -rw-r--r-- 1 jenkins jenkins 20570 Aug 17 02:10 go.sum [2021-08-17T02:12:02.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 02:09 snap [2021-08-17T02:12:02.338Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 17 02:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:12:02.679Z] + 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=595e424eeac7315f293af2ed61abe406cb611b5e --label arch=arm64 --label version=2.0.1-dev.4 . [2021-08-17T02:12:02.680Z] Sending build context to Docker daemon 129kB [2021-08-17T02:12:02.953Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T02:12:02.953Z] Step 2/25 : FROM ${BASE} AS builder [2021-08-17T02:12:02.953Z] ---> daf2e601262d [2021-08-17T02:12:02.953Z] Step 3/25 : ARG MAKE='make build' [2021-08-17T02:12:03.227Z] ---> Running in dcc66c0b7c82 [2021-08-17T02:12:03.831Z] Removing intermediate container dcc66c0b7c82 [2021-08-17T02:12:03.831Z] ---> 0d20468310bb [2021-08-17T02:12:03.832Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T02:12:03.832Z] ---> Running in 4d31617ce7dc [2021-08-17T02:12:04.431Z] Removing intermediate container 4d31617ce7dc [2021-08-17T02:12:04.431Z] ---> 959806ed9908 [2021-08-17T02:12:04.431Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T02:12:04.431Z] ---> Running in 0fef47087592 [2021-08-17T02:12:05.030Z] Removing intermediate container 0fef47087592 [2021-08-17T02:12:05.030Z] ---> 848bfe668464 [2021-08-17T02:12:05.030Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T02:12:05.030Z] ---> Running in 6a3f99ce9000 [2021-08-17T02:12:07.655Z] Removing intermediate container 6a3f99ce9000 [2021-08-17T02:12:07.655Z] ---> 2c251e2d9e8f [2021-08-17T02:12:07.655Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T02:12:07.655Z] ---> Running in 17ece94b4521 [2021-08-17T02:12:08.637Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-17T02:12:09.611Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-17T02:12:10.602Z] OK: 222 MiB in 55 packages [2021-08-17T02:12:11.596Z] Removing intermediate container 17ece94b4521 [2021-08-17T02:12:11.596Z] ---> e31fd43a4d2f [2021-08-17T02:12:11.596Z] Step 8/25 : WORKDIR /device-rest-go [2021-08-17T02:12:11.596Z] ---> Running in fa63455555be [2021-08-17T02:12:12.193Z] Removing intermediate container fa63455555be [2021-08-17T02:12:12.193Z] ---> 928b6e987367 [2021-08-17T02:12:12.193Z] Step 9/25 : COPY . . [2021-08-17T02:12:13.188Z] ---> 677351e9e1c4 [2021-08-17T02:12:13.188Z] Step 10/25 : RUN go mod tidy [2021-08-17T02:12:13.188Z] ---> Running in 85b04766a284 [2021-08-17T02:12:16.573Z] Removing intermediate container 85b04766a284 [2021-08-17T02:12:16.573Z] ---> 7e21c2f65fc5 [2021-08-17T02:12:16.573Z] Step 11/25 : RUN make update [2021-08-17T02:12:16.573Z] ---> Running in 7966770acf67 [2021-08-17T02:12:17.558Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-17T02:12:19.017Z] Removing intermediate container 7966770acf67 [2021-08-17T02:12:19.017Z] ---> 868948d8ca1a [2021-08-17T02:12:19.017Z] Step 12/25 : RUN $MAKE [2021-08-17T02:12:19.297Z] ---> Running in ddfb334958fe [2021-08-17T02:12:20.780Z] go mod tidy [2021-08-17T02:12:21.391Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.4" -o cmd/device-rest ./cmd [2021-08-17T02:13:00.393Z] Removing intermediate container ddfb334958fe [2021-08-17T02:13:00.394Z] ---> a6a51a627aa2 [2021-08-17T02:13:00.394Z] Step 13/25 : FROM alpine:3.12 [2021-08-17T02:13:00.394Z] 3.12: Pulling from library/alpine [2021-08-17T02:13:00.394Z] d2f70382dc9a: Pulling fs layer [2021-08-17T02:13:00.394Z] d2f70382dc9a: Verifying Checksum [2021-08-17T02:13:00.394Z] d2f70382dc9a: Download complete [2021-08-17T02:13:00.394Z] d2f70382dc9a: Pull complete [2021-08-17T02:13:00.394Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-17T02:13:00.394Z] Status: Downloaded newer image for alpine:3.12 [2021-08-17T02:13:00.394Z] ---> c4fd0aeabfcf [2021-08-17T02:13:00.394Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-17T02:13:00.394Z] ---> Running in 3f8891ac29fd [2021-08-17T02:13:00.394Z] Removing intermediate container 3f8891ac29fd [2021-08-17T02:13:00.394Z] ---> 51a472eb14e6 [2021-08-17T02:13:00.394Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-08-17T02:13:00.394Z] ---> Running in ae4a990a50d9 [2021-08-17T02:13:00.394Z] Removing intermediate container ae4a990a50d9 [2021-08-17T02:13:00.394Z] ---> 049af2fdff97 [2021-08-17T02:13:00.394Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-17T02:13:00.394Z] ---> Running in 1be8b8045823 [2021-08-17T02:13:00.666Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-17T02:13:00.938Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-17T02:13:01.541Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-17T02:13:01.541Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-17T02:13:01.541Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-17T02:13:01.541Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-17T02:13:01.541Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-17T02:13:01.541Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-17T02:13:01.541Z] Executing busybox-1.31.1-r20.trigger [2021-08-17T02:13:01.541Z] OK: 8 MiB in 20 packages [2021-08-17T02:13:02.978Z] Removing intermediate container 1be8b8045823 [2021-08-17T02:13:02.978Z] ---> e3f87e73c248 [2021-08-17T02:13:02.978Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-08-17T02:13:04.405Z] ---> c02c15c36b39 [2021-08-17T02:13:04.405Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-08-17T02:13:05.001Z] ---> 702b4ff6dc9f [2021-08-17T02:13:05.001Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-08-17T02:13:05.981Z] ---> 5a4d6a4100bd [2021-08-17T02:13:05.981Z] Step 20/25 : EXPOSE 59986 [2021-08-17T02:13:05.981Z] ---> Running in 87d7df8a48aa [2021-08-17T02:13:06.580Z] Removing intermediate container 87d7df8a48aa [2021-08-17T02:13:06.580Z] ---> 038a28347ff6 [2021-08-17T02:13:06.580Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-08-17T02:13:06.580Z] ---> Running in 4e86d66f631f [2021-08-17T02:13:07.177Z] Removing intermediate container 4e86d66f631f [2021-08-17T02:13:07.177Z] ---> 7efee489a4ab [2021-08-17T02:13:07.177Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-08-17T02:13:07.452Z] ---> Running in c3fa3a56e33a [2021-08-17T02:13:07.725Z] Removing intermediate container c3fa3a56e33a [2021-08-17T02:13:07.725Z] ---> 5977be99dd8f [2021-08-17T02:13:07.725Z] Step 23/25 : LABEL arch=arm64 [2021-08-17T02:13:07.999Z] ---> Running in 3e0abee122dc [2021-08-17T02:13:08.598Z] Removing intermediate container 3e0abee122dc [2021-08-17T02:13:08.598Z] ---> b31995ae6a01 [2021-08-17T02:13:08.598Z] Step 24/25 : LABEL git_sha=595e424eeac7315f293af2ed61abe406cb611b5e [2021-08-17T02:13:08.598Z] ---> Running in 8967c031b581 [2021-08-17T02:13:09.195Z] Removing intermediate container 8967c031b581 [2021-08-17T02:13:09.195Z] ---> 5b2749bafbcc [2021-08-17T02:13:09.195Z] Step 25/25 : LABEL version=2.0.1-dev.4 [2021-08-17T02:13:09.195Z] ---> Running in 5be81e22dfdf [2021-08-17T02:13:09.788Z] Removing intermediate container 5be81e22dfdf [2021-08-17T02:13:09.788Z] ---> 48de510745d9 [2021-08-17T02:13:09.788Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-17T02:13:09.788Z] Successfully built 48de510745d9 [2021-08-17T02:13:09.788Z] 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-08-17T02:13:09.940Z] provisioning config files... [2021-08-17T02:13:09.963Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config696387929540784980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:13:10.321Z] ---> docker-login.sh [2021-08-17T02:13:10.322Z] nexus3.edgexfoundry.org:10001 [2021-08-17T02:13:10.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:13:10.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:13:10.870Z] Configure a credential helper to remove this warning. See [2021-08-17T02:13:10.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:13:10.870Z] [2021-08-17T02:13:10.870Z] Login Succeeded [2021-08-17T02:13:10.870Z] nexus3.edgexfoundry.org:10002 [2021-08-17T02:13:11.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:13:11.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:13:11.419Z] Configure a credential helper to remove this warning. See [2021-08-17T02:13:11.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:13:11.419Z] [2021-08-17T02:13:11.419Z] Login Succeeded [2021-08-17T02:13:11.419Z] nexus3.edgexfoundry.org:10003 [2021-08-17T02:13:11.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:13:11.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:13:11.966Z] Configure a credential helper to remove this warning. See [2021-08-17T02:13:11.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:13:11.966Z] [2021-08-17T02:13:11.966Z] Login Succeeded [2021-08-17T02:13:11.966Z] nexus3.edgexfoundry.org:10004 [2021-08-17T02:13:12.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:13:12.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:13:12.520Z] Configure a credential helper to remove this warning. See [2021-08-17T02:13:12.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:13:12.520Z] [2021-08-17T02:13:12.520Z] Login Succeeded [2021-08-17T02:13:12.520Z] docker.io [2021-08-17T02:13:12.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T02:13:13.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T02:13:13.386Z] Configure a credential helper to remove this warning. See [2021-08-17T02:13:13.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T02:13:13.386Z] [2021-08-17T02:13:13.386Z] Login Succeeded [2021-08-17T02:13:13.386Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T02:13:13.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-17T02:13:13.498Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-08-17T02:13:13.498Z] 595e424eeac7315f293af2ed61abe406cb611b5e [2021-08-17T02:13:13.498Z] latest [2021-08-17T02:13:13.498Z] 2.0.1-dev.4 [2021-08-17T02:13:13.498Z] 595e424eeac7315f293af2ed61abe406cb611b5e-2.0.1-dev.4 [2021-08-17T02:13:13.498Z] main [2021-08-17T02:13:13.498Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:13.879Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:595e424eeac7315f293af2ed61abe406cb611b5e [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:14.242Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:595e424eeac7315f293af2ed61abe406cb611b5e [2021-08-17T02:13:14.242Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-08-17T02:13:14.242Z] f46ee8b8f1de: Preparing [2021-08-17T02:13:14.242Z] 5a7fb548605a: Preparing [2021-08-17T02:13:14.242Z] b5d81c4b4af4: Preparing [2021-08-17T02:13:14.242Z] 8266e741aaae: Preparing [2021-08-17T02:13:14.242Z] 3fbe34a1663b: Preparing [2021-08-17T02:13:14.242Z] 3fbe34a1663b: Layer already exists [2021-08-17T02:13:14.517Z] f46ee8b8f1de: Pushed [2021-08-17T02:13:14.517Z] 5a7fb548605a: Pushed [2021-08-17T02:13:15.111Z] 8266e741aaae: Pushed [2021-08-17T02:13:17.078Z] b5d81c4b4af4: Pushed [2021-08-17T02:13:17.351Z] 595e424eeac7315f293af2ed61abe406cb611b5e: digest: sha256:43c08a22b9071e18c391b27444e465b503b26c38eedc8b787799c5f27710cd3b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:17.701Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:18.042Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-08-17T02:13:18.042Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-08-17T02:13:18.042Z] f46ee8b8f1de: Preparing [2021-08-17T02:13:18.042Z] 5a7fb548605a: Preparing [2021-08-17T02:13:18.042Z] b5d81c4b4af4: Preparing [2021-08-17T02:13:18.042Z] 8266e741aaae: Preparing [2021-08-17T02:13:18.042Z] 3fbe34a1663b: Preparing [2021-08-17T02:13:18.042Z] f46ee8b8f1de: Layer already exists [2021-08-17T02:13:18.042Z] 3fbe34a1663b: Layer already exists [2021-08-17T02:13:18.042Z] 8266e741aaae: Layer already exists [2021-08-17T02:13:18.313Z] 5a7fb548605a: Layer already exists [2021-08-17T02:13:18.313Z] b5d81c4b4af4: Layer already exists [2021-08-17T02:13:18.313Z] latest: digest: sha256:43c08a22b9071e18c391b27444e465b503b26c38eedc8b787799c5f27710cd3b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:18.658Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:18.999Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.4 [2021-08-17T02:13:19.000Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-08-17T02:13:19.000Z] f46ee8b8f1de: Preparing [2021-08-17T02:13:19.000Z] 5a7fb548605a: Preparing [2021-08-17T02:13:19.000Z] b5d81c4b4af4: Preparing [2021-08-17T02:13:19.000Z] 8266e741aaae: Preparing [2021-08-17T02:13:19.000Z] 3fbe34a1663b: Preparing [2021-08-17T02:13:19.272Z] f46ee8b8f1de: Layer already exists [2021-08-17T02:13:19.272Z] 3fbe34a1663b: Layer already exists [2021-08-17T02:13:19.272Z] 5a7fb548605a: Layer already exists [2021-08-17T02:13:19.272Z] 8266e741aaae: Layer already exists [2021-08-17T02:13:19.272Z] b5d81c4b4af4: Layer already exists [2021-08-17T02:13:19.272Z] 2.0.1-dev.4: digest: sha256:43c08a22b9071e18c391b27444e465b503b26c38eedc8b787799c5f27710cd3b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:19.616Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:595e424eeac7315f293af2ed61abe406cb611b5e-2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:19.957Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:595e424eeac7315f293af2ed61abe406cb611b5e-2.0.1-dev.4 [2021-08-17T02:13:19.957Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-08-17T02:13:19.957Z] f46ee8b8f1de: Preparing [2021-08-17T02:13:19.957Z] 5a7fb548605a: Preparing [2021-08-17T02:13:19.957Z] b5d81c4b4af4: Preparing [2021-08-17T02:13:19.957Z] 8266e741aaae: Preparing [2021-08-17T02:13:19.957Z] 3fbe34a1663b: Preparing [2021-08-17T02:13:20.257Z] f46ee8b8f1de: Layer already exists [2021-08-17T02:13:20.257Z] 3fbe34a1663b: Layer already exists [2021-08-17T02:13:20.257Z] b5d81c4b4af4: Layer already exists [2021-08-17T02:13:20.257Z] 5a7fb548605a: Layer already exists [2021-08-17T02:13:20.257Z] 8266e741aaae: Layer already exists [2021-08-17T02:13:20.257Z] 595e424eeac7315f293af2ed61abe406cb611b5e-2.0.1-dev.4: digest: sha256:43c08a22b9071e18c391b27444e465b503b26c38eedc8b787799c5f27710cd3b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:20.630Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:20.971Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-08-17T02:13:20.972Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-08-17T02:13:20.972Z] f46ee8b8f1de: Preparing [2021-08-17T02:13:20.972Z] 5a7fb548605a: Preparing [2021-08-17T02:13:20.972Z] b5d81c4b4af4: Preparing [2021-08-17T02:13:20.972Z] 8266e741aaae: Preparing [2021-08-17T02:13:20.972Z] 3fbe34a1663b: Preparing [2021-08-17T02:13:21.244Z] 5a7fb548605a: Layer already exists [2021-08-17T02:13:21.244Z] 8266e741aaae: Layer already exists [2021-08-17T02:13:21.244Z] 3fbe34a1663b: Layer already exists [2021-08-17T02:13:21.244Z] f46ee8b8f1de: Layer already exists [2021-08-17T02:13:21.244Z] b5d81c4b4af4: Layer already exists [2021-08-17T02:13:21.244Z] main: digest: sha256:43c08a22b9071e18c391b27444e465b503b26c38eedc8b787799c5f27710cd3b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-17T02:13:21.314Z] ===================================================== [Pipeline] echo [2021-08-17T02:13:21.331Z] taggedImages: [2021-08-17T02:13:21.331Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:595e424eeac7315f293af2ed61abe406cb611b5e [2021-08-17T02:13:21.331Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-08-17T02:13:21.331Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.4 [2021-08-17T02:13:21.331Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:595e424eeac7315f293af2ed61abe406cb611b5e-2.0.1-dev.4 [2021-08-17T02:13:21.331Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:21.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T02:13:21.739Z] [2021-08-17T02:13:21.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:13:22.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T02:13:22.637Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-17T02:13:22.637Z] 448f6bf000e3: Pulling fs layer [2021-08-17T02:13:22.637Z] f757da607395: Pulling fs layer [2021-08-17T02:13:22.637Z] 05883995daec: Pulling fs layer [2021-08-17T02:13:22.637Z] 8603b9c90790: Pulling fs layer [2021-08-17T02:13:22.637Z] 1560dd03e051: Pulling fs layer [2021-08-17T02:13:22.637Z] 27f5ce0e4adf: Pulling fs layer [2021-08-17T02:13:22.637Z] c2d8d7efcc4b: Pulling fs layer [2021-08-17T02:13:22.637Z] 8603b9c90790: Waiting [2021-08-17T02:13:22.637Z] 1560dd03e051: Waiting [2021-08-17T02:13:22.637Z] 27f5ce0e4adf: Waiting [2021-08-17T02:13:22.637Z] c2d8d7efcc4b: Waiting [2021-08-17T02:13:22.908Z] f757da607395: Verifying Checksum [2021-08-17T02:13:22.908Z] f757da607395: Download complete [2021-08-17T02:13:22.908Z] 8603b9c90790: Verifying Checksum [2021-08-17T02:13:22.908Z] 8603b9c90790: Download complete [2021-08-17T02:13:22.908Z] 1560dd03e051: Verifying Checksum [2021-08-17T02:13:22.908Z] 1560dd03e051: Download complete [2021-08-17T02:13:22.908Z] 27f5ce0e4adf: Download complete [2021-08-17T02:13:23.178Z] 05883995daec: Verifying Checksum [2021-08-17T02:13:23.178Z] 05883995daec: Download complete [2021-08-17T02:13:24.151Z] 448f6bf000e3: Verifying Checksum [2021-08-17T02:13:24.151Z] 448f6bf000e3: Download complete [2021-08-17T02:13:26.768Z] c2d8d7efcc4b: Verifying Checksum [2021-08-17T02:13:26.768Z] c2d8d7efcc4b: Download complete [2021-08-17T02:13:27.742Z] 448f6bf000e3: Pull complete [2021-08-17T02:13:28.012Z] f757da607395: Pull complete [2021-08-17T02:13:29.988Z] 05883995daec: Pull complete [2021-08-17T02:13:29.988Z] 8603b9c90790: Pull complete [2021-08-17T02:13:30.965Z] 1560dd03e051: Pull complete [2021-08-17T02:13:31.560Z] 27f5ce0e4adf: Pull complete [2021-08-17T02:13:46.655Z] c2d8d7efcc4b: Pull complete [2021-08-17T02:13:46.655Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-17T02:13:46.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T02:13:46.655Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-17T02:13:46.884Z] prd-ubuntu18.04-docker-arm64-4c-16g-1013 does not seem to be running inside a container [2021-08-17T02:13:47.005Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-17T02:13:51.239Z] $ docker top 36027f25e3848e548839342bdeb1fe5b02077b7721a5b2c82557a0f56c678bfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:13:52.254Z] ---> job-cost.sh [2021-08-17T02:13:52.254Z] lf-activate-venv: SKIPPING [2021-08-17T02:13:52.254Z] INFO: No Stack... [2021-08-17T02:13:53.238Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-17T02:13:53.510Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T02:13:54.174Z] + cut -d, -f6 [2021-08-17T02:13:54.174Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [Pipeline] lock [2021-08-17T02:13:54.235Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-5-stack-cost] [2021-08-17T02:13:54.245Z] Resource [jenkins-edgexfoundry-device-rest-go-main-5-stack-cost] did not exist. Created. [2021-08-17T02:13:54.246Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T02:13:54.927Z] /w/workspace/device-rest-go/5@tmp/durable-e8b17a77/script.sh: 1: /w/workspace/device-rest-go/5@tmp/durable-e8b17a77/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-17T02:13:55.594Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-17T02:13:55.627Z] Warning: overwriting stash ‘stack-cost’ [2021-08-17T02:13:55.668Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T02:13:55.681Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T02:13:55.730Z] $ docker stop --time=1 36027f25e3848e548839342bdeb1fe5b02077b7721a5b2c82557a0f56c678bfe [2021-08-17T02:13:57.561Z] $ docker rm -f 36027f25e3848e548839342bdeb1fe5b02077b7721a5b2c82557a0f56c678bfe [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-08-17T02:13:58.375Z] provisioning config files... [2021-08-17T02:13:58.391Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6841063813004030492tmp [Pipeline] { [Pipeline] sh [2021-08-17T02:13:58.728Z] + set +x [2021-08-17T02:13:58.728Z] + bash -s -- [2021-08-17T02:13:58.728Z] + curl -s https://codecov.io/bash [2021-08-17T02:13:58.728Z] [2021-08-17T02:13:58.728Z] _____ _ [2021-08-17T02:13:58.728Z] / ____| | | [2021-08-17T02:13:58.728Z] | | ___ __| | ___ ___ _____ __ [2021-08-17T02:13:58.728Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-17T02:13:58.728Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-17T02:13:58.728Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-17T02:13:58.728Z] Bash-1.0.6 [2021-08-17T02:13:58.728Z] [2021-08-17T02:13:58.728Z] [2021-08-17T02:13:58.728Z] ==> git version 2.24.4 found [2021-08-17T02:13:58.728Z] ==> 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-08-17T02:13:58.728Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-17T02:13:58.728Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-17T02:13:58.728Z] ==> Jenkins CI detected. [2021-08-17T02:13:58.728Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-08-17T02:13:58.728Z] project root: . [2021-08-17T02:13:58.728Z] --> token set from env [2021-08-17T02:13:58.728Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-17T02:13:58.998Z] ==> Running gcov in . (disable via -X gcov) [2021-08-17T02:13:58.998Z] ==> Python coveragepy not found [2021-08-17T02:13:58.998Z] ==> Searching for coverage reports in: [2021-08-17T02:13:58.998Z] + . [2021-08-17T02:13:58.998Z] -> Found 1 reports [2021-08-17T02:13:58.998Z] ==> Detecting git/mercurial file structure [2021-08-17T02:13:58.998Z] ==> Reading reports [2021-08-17T02:13:58.998Z] + ./coverage.out bytes=8513 [2021-08-17T02:13:58.998Z] ==> Appending adjustments [2021-08-17T02:13:58.998Z] https://docs.codecov.io/docs/fixing-reports [2021-08-17T02:13:58.998Z] + Found adjustments [2021-08-17T02:13:58.998Z] ==> Gzipping contents [2021-08-17T02:13:58.998Z] 4.0K /tmp/codecov.Y0sof0.gz [2021-08-17T02:13:58.998Z] ==> Uploading reports [2021-08-17T02:13:58.998Z] url: https://codecov.io [2021-08-17T02:13:58.998Z] query: branch=main&commit=595e424eeac7315f293af2ed61abe406cb611b5e&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-17T02:13:58.998Z] -> Pinging Codecov [2021-08-17T02:13:58.998Z] 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=595e424eeac7315f293af2ed61abe406cb611b5e&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-17T02:13:59.265Z] -> Uploading to [2021-08-17T02:13:59.265Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-17/4E5D53B4F1F92C436F7061BF334D961C/595e424eeac7315f293af2ed61abe406cb611b5e/c3f36b74-b297-4cd6-be70-4d3d956acd47.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210817T021359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ec603e2eee8b620ab296792d4a6a90501f5514bb56b2815b841e965c461ffda [2021-08-17T02:13:59.265Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-17T02:13:59.265Z] Dload Upload Total Spent Left Speed [2021-08-17T02:13:59.850Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1759 0 0 100 1759 0 3630 --:--:-- --:--:-- --:--:-- 3626 100 1759 0 0 100 1759 0 3628 --:--:-- --:--:-- --:--:-- 3626 [2021-08-17T02:13:59.850Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/595e424eeac7315f293af2ed61abe406cb611b5e [Pipeline] } [2021-08-17T02:13:59.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-17T02:14:00.513Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-17T02:14:00.540Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:14:00.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-17T02:14:00.857Z] [2021-08-17T02:14:00.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:14:01.185Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-17T02:14:01.185Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-17T02:14:01.185Z] 188c0c94c7c5: Pulling fs layer [2021-08-17T02:14:01.185Z] 0ef7d3d256c8: Pulling fs layer [2021-08-17T02:14:01.185Z] de9db76c5a1d: Pulling fs layer [2021-08-17T02:14:01.185Z] 0eba1c9be4d2: Pulling fs layer [2021-08-17T02:14:01.185Z] 0d57e429df01: Pulling fs layer [2021-08-17T02:14:01.185Z] 4e4be7b47b0d: Pulling fs layer [2021-08-17T02:14:01.185Z] e1f770b5df2f: Pulling fs layer [2021-08-17T02:14:01.185Z] 85a0685a4137: Pulling fs layer [2021-08-17T02:14:01.185Z] 0d57e429df01: Waiting [2021-08-17T02:14:01.185Z] 4e4be7b47b0d: Waiting [2021-08-17T02:14:01.185Z] e1f770b5df2f: Waiting [2021-08-17T02:14:01.185Z] 85a0685a4137: Waiting [2021-08-17T02:14:01.185Z] 0eba1c9be4d2: Waiting [2021-08-17T02:14:01.185Z] de9db76c5a1d: Verifying Checksum [2021-08-17T02:14:01.185Z] de9db76c5a1d: Download complete [2021-08-17T02:14:01.185Z] 0ef7d3d256c8: Verifying Checksum [2021-08-17T02:14:01.185Z] 0ef7d3d256c8: Download complete [2021-08-17T02:14:01.185Z] 0d57e429df01: Download complete [2021-08-17T02:14:01.453Z] 4e4be7b47b0d: Verifying Checksum [2021-08-17T02:14:01.453Z] 4e4be7b47b0d: Download complete [2021-08-17T02:14:01.453Z] 188c0c94c7c5: Verifying Checksum [2021-08-17T02:14:01.453Z] 188c0c94c7c5: Download complete [2021-08-17T02:14:01.453Z] 188c0c94c7c5: Pull complete [2021-08-17T02:14:01.719Z] 0ef7d3d256c8: Pull complete [2021-08-17T02:14:01.719Z] de9db76c5a1d: Pull complete [2021-08-17T02:14:02.680Z] e1f770b5df2f: Verifying Checksum [2021-08-17T02:14:02.680Z] e1f770b5df2f: Download complete [2021-08-17T02:14:06.231Z] 0eba1c9be4d2: Download complete [2021-08-17T02:14:07.200Z] 85a0685a4137: Verifying Checksum [2021-08-17T02:14:07.200Z] 85a0685a4137: Download complete [2021-08-17T02:14:09.172Z] 0eba1c9be4d2: Pull complete [2021-08-17T02:14:09.172Z] 0d57e429df01: Pull complete [2021-08-17T02:14:09.443Z] 4e4be7b47b0d: Pull complete [2021-08-17T02:14:09.713Z] e1f770b5df2f: Pull complete [2021-08-17T02:14:13.081Z] 85a0685a4137: Pull complete [2021-08-17T02:14:13.081Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-17T02:14:13.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-17T02:14:13.081Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-17T02:14:13.195Z] prd-centos7-docker-4c-2g-1011 does not seem to be running inside a container [2021-08-17T02:14:13.249Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-08-17T02:14:15.245Z] $ docker top 7be4ff6519ca11ee1f4e55e08a796272474073fff3a382d74c48543b99bcabf6 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-17T02:14:15.340Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-17T02:14:15.646Z] + set -o pipefail [2021-08-17T02:14:15.646Z] + snyk monitor '--org=edgex-jenkins' [2021-08-17T02:14:37.727Z] [2021-08-17T02:14:37.727Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-08-17T02:14:37.727Z] [2021-08-17T02:14:37.727Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/39a6a5ae-4d94-4c61-bea0-aa251cd2b532 [2021-08-17T02:14:37.727Z] [2021-08-17T02:14:37.727Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-08-17T02:14:37.727Z] [2021-08-17T02:14:37.727Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-17T02:14:37.727Z] [2021-08-17T02:14:37.727Z] [2021-08-17T02:14:37.727Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-08-17T02:14:37.727Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-08-17T02:14:37.744Z] $ docker stop --time=1 7be4ff6519ca11ee1f4e55e08a796272474073fff3a382d74c48543b99bcabf6 [2021-08-17T02:14:39.802Z] $ docker rm -f 7be4ff6519ca11ee1f4e55e08a796272474073fff3a382d74c48543b99bcabf6 [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-08-17T02:14:40.617Z] + git log --format=format:%s -1 595e424eeac7315f293af2ed61abe406cb611b5e [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:14:40.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T02:14:40.944Z] . [Pipeline] withDockerContainer [2021-08-17T02:14:41.029Z] prd-centos7-docker-4c-2g-1011 does not seem to be running inside a container [2021-08-17T02:14:41.081Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-17T02:14:41.448Z] $ docker top 580f9157f2652a481d196592be738bf9b77158d52b5cedecf965af32eda73318 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T02:14:41.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T02:14:41.584Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T02:14:41.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T02:14:41.703Z] $ docker exec 580f9157f2652a481d196592be738bf9b77158d52b5cedecf965af32eda73318 ssh-agent [2021-08-17T02:14:41.826Z] SSH_AUTH_SOCK=/tmp/ssh-eoncsSIfa9JU/agent.13 [2021-08-17T02:14:41.826Z] SSH_AGENT_PID=19 [2021-08-17T02:14:41.835Z] Running ssh-add (command line suppressed) [2021-08-17T02:14:41.934Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6820975835104998623.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6820975835104998623.key) [2021-08-17T02:14:41.957Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T02:14:42.278Z] + git semver tag [2021-08-17T02:14:42.278Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T02:14:42.278Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-08-17T02:14:42.278Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-08-17T02:14:42.278Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T02:14:42.278Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T02:14:42.278Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T02:14:42.278Z] # $SEMVER_BRANCH = main [2021-08-17T02:14:42.278Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-08-17T02:14:42.278Z] # 595e424eeac7315f293af2ed61abe406cb611b5e HEAD [2021-08-17T02:14:42.278Z] # -> Force: false [2021-08-17T02:14:42.278Z] # 64f221ffe702e9b850ad4e97b7464d1d2c4329b9 refs/tags/v2.0.1-dev.4 [Pipeline] } [2021-08-17T02:14:42.294Z] $ docker exec --env ******** --env ******** 580f9157f2652a481d196592be738bf9b77158d52b5cedecf965af32eda73318 ssh-agent -k [2021-08-17T02:14:42.399Z] unset SSH_AUTH_SOCK; [2021-08-17T02:14:42.399Z] unset SSH_AGENT_PID; [2021-08-17T02:14:42.400Z] echo Agent pid 19 killed; [2021-08-17T02:14:42.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T02:14:42.775Z] + git semver [Pipeline] } [2021-08-17T02:14:42.795Z] $ docker stop --time=1 580f9157f2652a481d196592be738bf9b77158d52b5cedecf965af32eda73318 [2021-08-17T02:14:43.982Z] $ docker rm -f 580f9157f2652a481d196592be738bf9b77158d52b5cedecf965af32eda73318 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:14:44.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-17T02:14:44.465Z] [2021-08-17T02:14:44.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:14:44.797Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-17T02:14:44.798Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-08-17T02:14:44.798Z] ab5ef0e58194: Pulling fs layer [2021-08-17T02:14:44.798Z] 9712f1f96733: Pulling fs layer [2021-08-17T02:14:44.798Z] 63f879dbbcfc: Pulling fs layer [2021-08-17T02:14:44.798Z] 0d9ebad4ef96: Pulling fs layer [2021-08-17T02:14:44.798Z] e9a5061849ea: Pulling fs layer [2021-08-17T02:14:44.798Z] d747dcd14b5f: Pulling fs layer [2021-08-17T02:14:44.798Z] 2de7ff778b66: Pulling fs layer [2021-08-17T02:14:44.798Z] 0d9ebad4ef96: Waiting [2021-08-17T02:14:44.798Z] e9a5061849ea: Waiting [2021-08-17T02:14:44.798Z] d747dcd14b5f: Waiting [2021-08-17T02:14:44.798Z] 2de7ff778b66: Waiting [2021-08-17T02:14:44.798Z] 9712f1f96733: Verifying Checksum [2021-08-17T02:14:44.798Z] 9712f1f96733: Download complete [2021-08-17T02:14:47.381Z] 63f879dbbcfc: Verifying Checksum [2021-08-17T02:14:47.381Z] 63f879dbbcfc: Download complete [2021-08-17T02:14:47.381Z] e9a5061849ea: Verifying Checksum [2021-08-17T02:14:47.381Z] e9a5061849ea: Download complete [2021-08-17T02:14:47.381Z] d747dcd14b5f: Verifying Checksum [2021-08-17T02:14:47.381Z] d747dcd14b5f: Download complete [2021-08-17T02:14:47.962Z] 2de7ff778b66: Verifying Checksum [2021-08-17T02:14:47.962Z] 2de7ff778b66: Download complete [2021-08-17T02:14:48.227Z] 0d9ebad4ef96: Verifying Checksum [2021-08-17T02:14:48.227Z] 0d9ebad4ef96: Download complete [2021-08-17T02:14:48.494Z] ab5ef0e58194: Verifying Checksum [2021-08-17T02:14:48.494Z] ab5ef0e58194: Download complete [2021-08-17T02:14:51.124Z] ab5ef0e58194: Pull complete [2021-08-17T02:14:51.124Z] 9712f1f96733: Pull complete [2021-08-17T02:14:52.113Z] 63f879dbbcfc: Pull complete [2021-08-17T02:14:55.474Z] 0d9ebad4ef96: Pull complete [2021-08-17T02:14:55.474Z] e9a5061849ea: Pull complete [2021-08-17T02:14:55.474Z] d747dcd14b5f: Pull complete [2021-08-17T02:14:56.450Z] 2de7ff778b66: Pull complete [2021-08-17T02:14:56.450Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-08-17T02:14:56.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-17T02:14:56.450Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-08-17T02:14:56.541Z] prd-centos7-docker-4c-2g-1011 does not seem to be running inside a container [2021-08-17T02:14:56.598Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-08-17T02:15:00.246Z] $ docker top b48fbc289a3bdc941519ad0be3cc2ebd21dc129444665628a7d41fe4c42e350e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-08-17T02:15:00.356Z] provisioning config files... [2021-08-17T02:15:00.371Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4522158822751374889tmp [2021-08-17T02:15:00.393Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3460862814386882660tmp [2021-08-17T02:15:00.413Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2998744002054880098tmp [Pipeline] { [Pipeline] echo [2021-08-17T02:15:00.445Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:15:00.760Z] ---> sigul-configuration.sh [2021-08-17T02:15:00.761Z] gpg: directory `/root/.gnupg' created [2021-08-17T02:15:00.761Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-08-17T02:15:00.761Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-08-17T02:15:00.761Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-08-17T02:15:00.761Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-08-17T02:15:00.761Z] gpg: CAST5 encrypted data [2021-08-17T02:15:00.761Z] gpg: encrypted with 1 passphrase [2021-08-17T02:15:00.761Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-08-17T02:15:01.104Z] + mkdir /home/jenkins [2021-08-17T02:15:01.104Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-08-17T02:15:01.432Z] + 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-08-17T02:15:01.448Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:15:01.775Z] ---> sigul-install.sh [2021-08-17T02:15:01.775Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-08-17T02:15:02.130Z] + git tag --list [2021-08-17T02:15:02.130Z] v1.0.0 [2021-08-17T02:15:02.130Z] v1.1.0 [2021-08-17T02:15:02.130Z] v1.1.1 [2021-08-17T02:15:02.130Z] v1.1.2 [2021-08-17T02:15:02.130Z] v1.2.0 [2021-08-17T02:15:02.130Z] v1.2.1 [2021-08-17T02:15:02.130Z] v2.0.0 [2021-08-17T02:15:02.130Z] v2.0.1-dev.1 [2021-08-17T02:15:02.130Z] v2.0.1-dev.2 [2021-08-17T02:15:02.130Z] v2.0.1-dev.3 [2021-08-17T02:15:02.130Z] v2.0.1-dev.4 [Pipeline] sh [2021-08-17T02:15:02.450Z] + lftools sign git-tag v2.0.1-dev.4 [2021-08-17T02:15:03.041Z] Signing Git tag with Sigul... [2021-08-17T02:15:03.041Z] Signing v2.0.1-dev.4 [Pipeline] echo [2021-08-17T02:15:04.998Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:15:05.317Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-08-17T02:15:05.330Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-17T02:15:05.363Z] $ docker stop --time=1 b48fbc289a3bdc941519ad0be3cc2ebd21dc129444665628a7d41fe4c42e350e [2021-08-17T02:15:06.594Z] $ docker rm -f b48fbc289a3bdc941519ad0be3cc2ebd21dc129444665628a7d41fe4c42e350e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:15:07.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T02:15:07.335Z] . [Pipeline] withDockerContainer [2021-08-17T02:15:07.424Z] prd-centos7-docker-4c-2g-1011 does not seem to be running inside a container [2021-08-17T02:15:07.487Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-17T02:15:07.865Z] $ docker top f91ff8f66c725340adebc148c04a253b5aa60be239bdba5e2305a6677d2b7670 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T02:15:08.004Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T02:15:08.004Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T02:15:08.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T02:15:08.130Z] $ docker exec f91ff8f66c725340adebc148c04a253b5aa60be239bdba5e2305a6677d2b7670 ssh-agent [2021-08-17T02:15:08.251Z] SSH_AUTH_SOCK=/tmp/ssh-wyeTQz6EaVuO/agent.14 [2021-08-17T02:15:08.251Z] SSH_AGENT_PID=20 [2021-08-17T02:15:08.260Z] Running ssh-add (command line suppressed) [2021-08-17T02:15:08.378Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5949346873752366207.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5949346873752366207.key) [2021-08-17T02:15:08.400Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T02:15:08.713Z] + git semver bump pre [2021-08-17T02:15:08.714Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T02:15:08.714Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-08-17T02:15:08.714Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-08-17T02:15:08.714Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T02:15:08.714Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T02:15:08.714Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T02:15:08.714Z] # $SEMVER_BRANCH = main [2021-08-17T02:15:08.714Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-08-17T02:15:08.714Z] 2.0.1-dev.5 [Pipeline] } [2021-08-17T02:15:08.727Z] $ docker exec --env ******** --env ******** f91ff8f66c725340adebc148c04a253b5aa60be239bdba5e2305a6677d2b7670 ssh-agent -k [2021-08-17T02:15:08.826Z] unset SSH_AUTH_SOCK; [2021-08-17T02:15:08.826Z] unset SSH_AGENT_PID; [2021-08-17T02:15:08.826Z] echo Agent pid 20 killed; [2021-08-17T02:15:08.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T02:15:09.196Z] + git semver [Pipeline] } [2021-08-17T02:15:09.216Z] $ docker stop --time=1 f91ff8f66c725340adebc148c04a253b5aa60be239bdba5e2305a6677d2b7670 [2021-08-17T02:15:10.412Z] $ docker rm -f f91ff8f66c725340adebc148c04a253b5aa60be239bdba5e2305a6677d2b7670 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:15:11.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T02:15:11.106Z] . [Pipeline] withDockerContainer [2021-08-17T02:15:11.405Z] prd-centos7-docker-4c-2g-1011 does not seem to be running inside a container [2021-08-17T02:15:11.465Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-17T02:15:11.850Z] $ docker top 2e284f7bdd7eb96db588bf9a6c44e5b1b1c4e9398526b4146ce6f2119a46c594 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T02:15:12.006Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T02:15:12.006Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T02:15:12.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T02:15:12.129Z] $ docker exec 2e284f7bdd7eb96db588bf9a6c44e5b1b1c4e9398526b4146ce6f2119a46c594 ssh-agent [2021-08-17T02:15:12.249Z] SSH_AUTH_SOCK=/tmp/ssh-x8x7dYIb7GYn/agent.13 [2021-08-17T02:15:12.249Z] SSH_AGENT_PID=20 [2021-08-17T02:15:12.260Z] Running ssh-add (command line suppressed) [2021-08-17T02:15:12.357Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3559844327838376612.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3559844327838376612.key) [2021-08-17T02:15:12.382Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T02:15:12.697Z] + git semver push [2021-08-17T02:15:12.697Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T02:15:12.697Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-08-17T02:15:12.697Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-08-17T02:15:12.697Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T02:15:12.697Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T02:15:12.697Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T02:15:12.697Z] # $SEMVER_BRANCH = main [2021-08-17T02:15:12.697Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-08-17T02:15:14.116Z] $ docker exec --env ******** --env ******** 2e284f7bdd7eb96db588bf9a6c44e5b1b1c4e9398526b4146ce6f2119a46c594 ssh-agent -k [2021-08-17T02:15:14.221Z] unset SSH_AUTH_SOCK; [2021-08-17T02:15:14.221Z] unset SSH_AGENT_PID; [2021-08-17T02:15:14.221Z] echo Agent pid 20 killed; [2021-08-17T02:15:14.240Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T02:15:14.595Z] + git semver [Pipeline] } [2021-08-17T02:15:14.613Z] $ docker stop --time=1 2e284f7bdd7eb96db588bf9a6c44e5b1b1c4e9398526b4146ce6f2119a46c594 [2021-08-17T02:15:15.805Z] $ docker rm -f 2e284f7bdd7eb96db588bf9a6c44e5b1b1c4e9398526b4146ce6f2119a46c594 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-17T02:15:16.689Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:15:17.244Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:15:17.837Z] ---> package-listing.sh [2021-08-17T02:15:17.837Z] ++ facter osfamily [2021-08-17T02:15:17.837Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-17T02:15:18.104Z] + OS_FAMILY=redhat [2021-08-17T02:15:18.104Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-08-17T02:15:18.104Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-17T02:15:18.104Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-17T02:15:18.104Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-17T02:15:18.104Z] + PACKAGES=/tmp/packages_start.txt [2021-08-17T02:15:18.104Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-08-17T02:15:18.104Z] + PACKAGES=/tmp/packages_end.txt [2021-08-17T02:15:18.104Z] + case "${OS_FAMILY}" in [2021-08-17T02:15:18.104Z] + sort [2021-08-17T02:15:18.104Z] + rpm -qa [2021-08-17T02:15:18.684Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-17T02:15:18.684Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-17T02:15:18.684Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-17T02:15:18.684Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-08-17T02:15:18.684Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-08-17T02:15:18.684Z] + 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-08-17T02:15:18.702Z] 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-08-17T02:15:19.001Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:15:19.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T02:15:19.593Z] [2021-08-17T02:15:19.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T02:15:19.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T02:15:19.924Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T02:15:19.924Z] b4d181a07f80: Pulling fs layer [2021-08-17T02:15:19.924Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T02:15:19.924Z] ed53099fbce6: Pulling fs layer [2021-08-17T02:15:19.924Z] dc539afda2c1: Pulling fs layer [2021-08-17T02:15:19.924Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T02:15:19.924Z] 9065ff56babe: Pulling fs layer [2021-08-17T02:15:19.924Z] d287ab97295c: Pulling fs layer [2021-08-17T02:15:19.924Z] dc539afda2c1: Waiting [2021-08-17T02:15:19.924Z] 77bc0d833cb6: Waiting [2021-08-17T02:15:19.924Z] 9065ff56babe: Waiting [2021-08-17T02:15:19.924Z] d287ab97295c: Waiting [2021-08-17T02:15:20.193Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T02:15:20.193Z] a1111a8f2ec3: Download complete [2021-08-17T02:15:20.193Z] dc539afda2c1: Verifying Checksum [2021-08-17T02:15:20.193Z] dc539afda2c1: Download complete [2021-08-17T02:15:20.458Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T02:15:20.458Z] 77bc0d833cb6: Download complete [2021-08-17T02:15:20.458Z] 9065ff56babe: Verifying Checksum [2021-08-17T02:15:20.458Z] 9065ff56babe: Download complete [2021-08-17T02:15:20.458Z] ed53099fbce6: Download complete [2021-08-17T02:15:21.440Z] b4d181a07f80: Verifying Checksum [2021-08-17T02:15:21.440Z] b4d181a07f80: Download complete [2021-08-17T02:15:22.414Z] b4d181a07f80: Pull complete [2021-08-17T02:15:22.684Z] a1111a8f2ec3: Pull complete [2021-08-17T02:15:22.953Z] ed53099fbce6: Pull complete [2021-08-17T02:15:23.225Z] dc539afda2c1: Pull complete [2021-08-17T02:15:23.494Z] 77bc0d833cb6: Pull complete [2021-08-17T02:15:23.495Z] 9065ff56babe: Pull complete [2021-08-17T02:15:25.438Z] d287ab97295c: Verifying Checksum [2021-08-17T02:15:25.438Z] d287ab97295c: Download complete [2021-08-17T02:15:29.750Z] d287ab97295c: Pull complete [2021-08-17T02:15:29.751Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T02:15:29.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T02:15:29.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T02:15:29.839Z] prd-centos7-docker-4c-2g-1011 does not seem to be running inside a container [2021-08-17T02:15:29.898Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T02:15:32.434Z] $ docker top 0cedb2eca30ced5ce00063deb0837b9e80364523bed4d71349164e5c1684c4e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T02:15:32.836Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-17T02:15:33.152Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-17T02:15:33.473Z] + ls /var/log/sa-host [2021-08-17T02:15:33.473Z] + sadf -c /var/log/sa-host/sa05 [2021-08-17T02:15:33.473Z] file_magic: OK [2021-08-17T02:15:33.473Z] HZ: Using current value: 100 [2021-08-17T02:15:33.473Z] file_header: OK [2021-08-17T02:15:33.473Z] 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-08-17T02:15:33.473Z] Statistics: [2021-08-17T02:15:33.473Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T02:15:33.473Z] File successfully converted to sysstat format version 12.0.3 [2021-08-17T02:15:33.473Z] + sadf -c /var/log/sa-host/sa17 [2021-08-17T02:15:33.473Z] file_magic: OK [2021-08-17T02:15:33.473Z] HZ: Using current value: 100 [2021-08-17T02:15:33.473Z] file_header: OK [2021-08-17T02:15:33.473Z] 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-08-17T02:15:33.473Z] Statistics: [2021-08-17T02:15:33.473Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T02:15:33.473Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T02:15:34.030Z] provisioning config files... [2021-08-17T02:15:34.045Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2417032736222819967tmp [Pipeline] { [Pipeline] echo [2021-08-17T02:15:34.072Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:15:34.381Z] ---> create-netrc.sh [Pipeline] } [2021-08-17T02:15:34.393Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:15:34.806Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-17T02:15:34.819Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:15:35.129Z] ---> sudo-logs.sh [2021-08-17T02:15:35.129Z] Archiving 'sudo' log.. [2021-08-17T02:15:35.129Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1011.vexxhost.local: Name or service not known [2021-08-17T02:15:35.129Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1011.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-17T02:15:35.169Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:15:35.479Z] ---> job-cost.sh [2021-08-17T02:15:35.479Z] lf-activate-venv: SKIPPING [2021-08-17T02:15:35.479Z] DEBUG: total: 0.18000000715255737 [2021-08-17T02:15:35.479Z] INFO: Retrieving Stack Cost... [2021-08-17T02:15:36.436Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T02:15:36.701Z] INFO: Archiving Costs [Pipeline] echo [2021-08-17T02:15:36.719Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T02:15:37.029Z] ---> logs-deploy.sh [2021-08-17T02:15:37.030Z] lf-activate-venv: SKIPPING [2021-08-17T02:15:37.030Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/5 [2021-08-17T02:15:37.030Z] INFO: archiving workspace using pattern(s): [2021-08-17T02:15:37.613Z] Archives upload complete. [2021-08-17T02:15:37.879Z] INFO: archiving logs to Nexus