Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0f7d92f6dc034770900c2c3c57aeef3499c3f66e 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-ssh6356964500095432501.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh3564308495058461914.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh4605237507320383455.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh1287466464699114512.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-ssh8759047129872850564.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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1118 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-ssh7855310999673534473.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 0f7d92f6dc034770900c2c3c57aeef3499c3f66e (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 0f7d92f6dc034770900c2c3c57aeef3499c3f66e # timeout=10 Commit message: "Merge pull request #128 from soda480/US1908" > git rev-list --no-walk ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-30T22:39:29.403Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-30T22:39:29.499Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-30T22:39:29.527Z] ========================================================= [2021-07-30T22:39:29.527Z] EdgeX Global Pipelines Version Info [2021-07-30T22:39:29.527Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:39:30.443Z] ------------------- [2021-07-30T22:39:30.443Z] stable info: [2021-07-30T22:39:30.443Z] ------------------- [2021-07-30T22:39:30.443Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-30T22:39:30.443Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T22:39:30.443Z] Message: update stable to v1.0.199 [2021-07-30T22:39:31.409Z] ------------------- [2021-07-30T22:39:31.409Z] experimental info: [2021-07-30T22:39:31.409Z] ------------------- [2021-07-30T22:39:31.409Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-30T22:39:31.409Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T22:39:31.409Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-30T22:39:31.564Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-07-30T22:39:31.601Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-07-30T22:39:31.624Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-30T22:39:31.655Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-30T22:39:31.709Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-30T22:39:31.742Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-30T22:39:31.778Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-30T22:39:31.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-30T22:39:31.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-30T22:39:31.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-30T22:39:31.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-30T22:39:31.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-07-30T22:39:31.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-07-30T22:39:31.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-30T22:39:31.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-30T22:39:32.010Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T22:39:32.033Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T22:39:32.056Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T22:39:32.079Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T22:39:32.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-30T22:39:32.130Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-30T22:39:32.156Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-30T22:39:32.182Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-30T22:39:32.208Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-30T22:39:32.235Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-30T22:39:32.260Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-30T22:39:32.286Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-30T22:39:32.310Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-30T22:39:32.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-30T22:39:32.365Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-30T22:39:32.391Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f7d92f6dc034770900c2c3c57aeef3499c3f66e [Pipeline] echo [2021-07-30T22:39:32.416Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f7d92f [Pipeline] echo [2021-07-30T22:39:32.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:39:32.530Z] provisioning config files... [2021-07-30T22:39:32.551Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6528178672053422113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:39:32.901Z] ---> docker-login.sh [2021-07-30T22:39:32.901Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:39:32.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:33.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:33.179Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:33.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:33.179Z] [2021-07-30T22:39:33.179Z] Login Succeeded [2021-07-30T22:39:33.179Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:39:33.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:33.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:33.446Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:33.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:33.446Z] [2021-07-30T22:39:33.446Z] Login Succeeded [2021-07-30T22:39:33.446Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:39:33.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:33.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:33.719Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:33.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:33.719Z] [2021-07-30T22:39:33.719Z] Login Succeeded [2021-07-30T22:39:33.719Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:39:33.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:33.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:33.994Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:33.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:33.994Z] [2021-07-30T22:39:33.994Z] Login Succeeded [2021-07-30T22:39:33.994Z] docker.io [2021-07-30T22:39:33.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:34.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:34.261Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:34.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:34.261Z] [2021-07-30T22:39:34.261Z] Login Succeeded [2021-07-30T22:39:34.262Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:39:34.275Z] 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-07-30T22:39:34.895Z] + git log --format=format:%s -1 0f7d92f6dc034770900c2c3c57aeef3499c3f66e [Pipeline] echo [2021-07-30T22:39:34.953Z] GIT_COMMIT: 0f7d92f6dc034770900c2c3c57aeef3499c3f66e, Commit Message: Merge pull request #128 from soda480/US1908 [Pipeline] echo [2021-07-30T22:39:34.966Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:39:35.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:39:35.721Z] [2021-07-30T22:39:35.721Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:39:36.086Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:39:36.086Z] latest: Pulling from edgex-devops/git-semver [2021-07-30T22:39:36.086Z] 31603596830f: Pulling fs layer [2021-07-30T22:39:36.086Z] b6dc333f4379: Pulling fs layer [2021-07-30T22:39:36.086Z] 3d9ef1400e77: Pulling fs layer [2021-07-30T22:39:36.086Z] fd332fbdc1db: Pulling fs layer [2021-07-30T22:39:36.086Z] fd332fbdc1db: Waiting [2021-07-30T22:39:36.087Z] b6dc333f4379: Verifying Checksum [2021-07-30T22:39:36.087Z] b6dc333f4379: Download complete [2021-07-30T22:39:36.351Z] 31603596830f: Verifying Checksum [2021-07-30T22:39:36.351Z] 31603596830f: Download complete [2021-07-30T22:39:36.616Z] 31603596830f: Pull complete [2021-07-30T22:39:36.616Z] fd332fbdc1db: Verifying Checksum [2021-07-30T22:39:36.616Z] fd332fbdc1db: Download complete [2021-07-30T22:39:36.616Z] b6dc333f4379: Pull complete [2021-07-30T22:39:36.616Z] 3d9ef1400e77: Verifying Checksum [2021-07-30T22:39:36.616Z] 3d9ef1400e77: Download complete [2021-07-30T22:39:37.200Z] 3d9ef1400e77: Pull complete [2021-07-30T22:39:37.470Z] fd332fbdc1db: Pull complete [2021-07-30T22:39:37.470Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-30T22:39:37.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:39:37.470Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-30T22:39:37.566Z] prd-centos7-docker-4c-2g-1118 does not seem to be running inside a container [2021-07-30T22:39:37.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:39:38.422Z] $ docker top af27daa60846228755a4a297d779b862b65bbfc67a7d64a6fff653019f6d39be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:39:38.552Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:39:38.553Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:39:38.675Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:39:38.674Z] $ docker exec af27daa60846228755a4a297d779b862b65bbfc67a7d64a6fff653019f6d39be ssh-agent [2021-07-30T22:39:38.792Z] SSH_AUTH_SOCK=/tmp/ssh-yXipJqjrImOl/agent.13 [2021-07-30T22:39:38.792Z] SSH_AGENT_PID=19 [2021-07-30T22:39:38.803Z] Running ssh-add (command line suppressed) [2021-07-30T22:39:38.909Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1613906213595592550.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1613906213595592550.key) [2021-07-30T22:39:38.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:39:39.256Z] + git tag --points-at HEAD [Pipeline] } [2021-07-30T22:39:39.273Z] $ docker exec --env ******** --env ******** af27daa60846228755a4a297d779b862b65bbfc67a7d64a6fff653019f6d39be ssh-agent -k [2021-07-30T22:39:39.378Z] unset SSH_AUTH_SOCK; [2021-07-30T22:39:39.379Z] unset SSH_AGENT_PID; [2021-07-30T22:39:39.379Z] echo Agent pid 19 killed; [2021-07-30T22:39:39.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-30T22:39:39.438Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:39:39.438Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:39:39.558Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:39:39.557Z] $ docker exec af27daa60846228755a4a297d779b862b65bbfc67a7d64a6fff653019f6d39be ssh-agent [2021-07-30T22:39:39.686Z] SSH_AUTH_SOCK=/tmp/ssh-J9kgxfv6PU18/agent.55 [2021-07-30T22:39:39.686Z] SSH_AGENT_PID=61 [2021-07-30T22:39:39.696Z] Running ssh-add (command line suppressed) [2021-07-30T22:39:39.793Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1752647338162010363.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1752647338162010363.key) [2021-07-30T22:39:39.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:39:40.143Z] + git semver init [2021-07-30T22:39:40.143Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:39:40.143Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-07-30T22:39:40.143Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-07-30T22:39:40.143Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:39:40.143Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:39:40.143Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:39:40.143Z] # $SEMVER_BRANCH = main [2021-07-30T22:39:40.143Z] # $SEMVER_TEMP = /tmp/semver-739606785 [2021-07-30T22:39:40.143Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-07-30T22:39:41.109Z] # '/tmp/semver-739606785' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-07-30T22:39:41.109Z] # -> Force: false [2021-07-30T22:39:41.109Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-07-30T22:39:41.122Z] $ docker exec --env ******** --env ******** af27daa60846228755a4a297d779b862b65bbfc67a7d64a6fff653019f6d39be ssh-agent -k [2021-07-30T22:39:41.220Z] unset SSH_AUTH_SOCK; [2021-07-30T22:39:41.221Z] unset SSH_AGENT_PID; [2021-07-30T22:39:41.221Z] echo Agent pid 61 killed; [2021-07-30T22:39:41.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:39:41.586Z] + git semver [Pipeline] } [2021-07-30T22:39:41.602Z] $ docker stop --time=1 af27daa60846228755a4a297d779b862b65bbfc67a7d64a6fff653019f6d39be [2021-07-30T22:39:42.877Z] $ docker rm -f af27daa60846228755a4a297d779b862b65bbfc67a7d64a6fff653019f6d39be [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:39:43.263Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-30T22:39:43.590Z] Stashed 1 file(s) [Pipeline] echo [2021-07-30T22:39:43.593Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.1 [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-07-30T22:39:58.896Z] Still waiting to schedule task [2021-07-30T22:39:58.899Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-30T22:39:58.902Z] Still waiting to schedule task [2021-07-30T22:39:58.905Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T22:46:55.385Z] Running on prd-centos7-docker-4c-2g-1196 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-07-30T22:46:55.411Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-07-30T22:46:55.555Z] The recommended git tool is: git [2021-07-30T22:46:58.623Z] using credential edgex-jenkins-ssh [2021-07-30T22:46:58.637Z] Cloning the remote Git repository [2021-07-30T22:46:58.119Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T22:46:58.192Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-07-30T22:46:58.227Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T22:46:58.227Z] > git --version # timeout=10 [2021-07-30T22:46:58.233Z] > git --version # 'git version 2.24.4' [2021-07-30T22:46:58.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T22:46:58.263Z] [INFO] Currently running in a labeled security context [2021-07-30T22:46:58.263Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T22:46:58.263Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh6798818857100388481.key [2021-07-30T22:46:58.277Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:47:01.511Z] Avoid second fetch [2021-07-30T22:47:01.512Z] Checking out Revision 0f7d92f6dc034770900c2c3c57aeef3499c3f66e (main) [2021-07-30T22:47:01.173Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-07-30T22:47:01.190Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:47:01.215Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T22:47:01.221Z] > git checkout -f 0f7d92f6dc034770900c2c3c57aeef3499c3f66e # timeout=10 [2021-07-30T22:47:05.063Z] Commit message: "Merge pull request #128 from soda480/US1908" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:47:05.445Z] provisioning config files... [2021-07-30T22:47:05.468Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8327770835077939141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:05.905Z] ---> docker-login.sh [2021-07-30T22:47:05.905Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:47:05.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:47:05.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:47:05.905Z] Configure a credential helper to remove this warning. See [2021-07-30T22:47:05.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:47:05.905Z] [2021-07-30T22:47:05.905Z] Login Succeeded [2021-07-30T22:47:06.174Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:47:06.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:47:06.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:47:06.174Z] Configure a credential helper to remove this warning. See [2021-07-30T22:47:06.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:47:06.174Z] [2021-07-30T22:47:06.174Z] Login Succeeded [2021-07-30T22:47:06.174Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:47:06.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:47:06.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:47:06.441Z] Configure a credential helper to remove this warning. See [2021-07-30T22:47:06.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:47:06.441Z] [2021-07-30T22:47:06.441Z] Login Succeeded [2021-07-30T22:47:06.441Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:47:06.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:47:06.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:47:06.441Z] Configure a credential helper to remove this warning. See [2021-07-30T22:47:06.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:47:06.441Z] [2021-07-30T22:47:06.441Z] Login Succeeded [2021-07-30T22:47:06.441Z] docker.io [2021-07-30T22:47:06.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:47:06.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:47:06.974Z] Configure a credential helper to remove this warning. See [2021-07-30T22:47:06.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:47:06.974Z] [2021-07-30T22:47:06.974Z] Login Succeeded [2021-07-30T22:47:06.974Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:47:07.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T22:47:07.240Z] ========================================================= [2021-07-30T22:47:07.240Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-30T22:47:07.240Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:07.598Z] + 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-07-30T22:47:07.598Z] Sending build context to Docker daemon 116.2kB [2021-07-30T22:47:07.598Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:47:07.598Z] Step 2/10 : FROM ${BASE} [2021-07-30T22:47:07.868Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-30T22:47:07.868Z] 540db60ca938: Pulling fs layer [2021-07-30T22:47:07.868Z] adcc1eea9eea: Pulling fs layer [2021-07-30T22:47:07.868Z] 4c4ab2625f07: Pulling fs layer [2021-07-30T22:47:07.868Z] 0773c198feca: Pulling fs layer [2021-07-30T22:47:07.868Z] 345f892a5656: Pulling fs layer [2021-07-30T22:47:07.868Z] 4796506630df: Pulling fs layer [2021-07-30T22:47:07.868Z] cc55df3e53f1: Pulling fs layer [2021-07-30T22:47:07.868Z] 4d027b6c602c: Pulling fs layer [2021-07-30T22:47:07.868Z] 449e75d2c14e: Pulling fs layer [2021-07-30T22:47:07.868Z] 0773c198feca: Waiting [2021-07-30T22:47:07.868Z] 345f892a5656: Waiting [2021-07-30T22:47:07.868Z] 4796506630df: Waiting [2021-07-30T22:47:07.868Z] cc55df3e53f1: Waiting [2021-07-30T22:47:07.868Z] 4d027b6c602c: Waiting [2021-07-30T22:47:07.868Z] 449e75d2c14e: Waiting [2021-07-30T22:47:07.868Z] 4c4ab2625f07: Verifying Checksum [2021-07-30T22:47:07.868Z] 4c4ab2625f07: Download complete [2021-07-30T22:47:07.868Z] adcc1eea9eea: Verifying Checksum [2021-07-30T22:47:07.868Z] adcc1eea9eea: Download complete [2021-07-30T22:47:07.868Z] 345f892a5656: Verifying Checksum [2021-07-30T22:47:07.868Z] 345f892a5656: Download complete [2021-07-30T22:47:07.868Z] 4796506630df: Verifying Checksum [2021-07-30T22:47:07.868Z] 4796506630df: Download complete [2021-07-30T22:47:07.868Z] 540db60ca938: Verifying Checksum [2021-07-30T22:47:07.868Z] 540db60ca938: Download complete [2021-07-30T22:47:07.868Z] cc55df3e53f1: Verifying Checksum [2021-07-30T22:47:07.868Z] cc55df3e53f1: Download complete [2021-07-30T22:47:08.135Z] 540db60ca938: Pull complete [2021-07-30T22:47:08.404Z] adcc1eea9eea: Pull complete [2021-07-30T22:47:08.404Z] 4c4ab2625f07: Pull complete [2021-07-30T22:47:08.672Z] 4d027b6c602c: Verifying Checksum [2021-07-30T22:47:08.672Z] 4d027b6c602c: Download complete [2021-07-30T22:47:12.034Z] 449e75d2c14e: Verifying Checksum [2021-07-30T22:47:12.034Z] 449e75d2c14e: Download complete [2021-07-30T22:47:12.994Z] 0773c198feca: Verifying Checksum [2021-07-30T22:47:12.994Z] 0773c198feca: Download complete [2021-07-30T22:47:16.396Z] 0773c198feca: Pull complete [2021-07-30T22:47:16.396Z] 345f892a5656: Pull complete [2021-07-30T22:47:16.396Z] 4796506630df: Pull complete [2021-07-30T22:47:16.396Z] cc55df3e53f1: Pull complete [2021-07-30T22:47:16.396Z] 4d027b6c602c: Pull complete [2021-07-30T22:47:17.855Z] 449e75d2c14e: Pull complete [2021-07-30T22:47:17.855Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-30T22:47:17.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-30T22:47:17.855Z] ---> 0d28375d9b5b [2021-07-30T22:47:17.855Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T22:47:21.210Z] ---> Running in ab0f8aba242a [2021-07-30T22:47:21.210Z] Removing intermediate container ab0f8aba242a [2021-07-30T22:47:21.210Z] ---> 5caca0ecf9b6 [2021-07-30T22:47:21.210Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T22:47:21.210Z] ---> Running in 3d42336eaa91 [2021-07-30T22:47:21.477Z] Removing intermediate container 3d42336eaa91 [2021-07-30T22:47:21.477Z] ---> 225d4ef5a28c [2021-07-30T22:47:21.477Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T22:47:21.477Z] ---> Running in 45fa2e9109aa [2021-07-30T22:47:21.477Z] Removing intermediate container 45fa2e9109aa [2021-07-30T22:47:21.477Z] ---> 1b8094cbf5cb [2021-07-30T22:47:21.477Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:47:21.477Z] ---> Running in 055e16aca5e5 [2021-07-30T22:47:22.062Z] Removing intermediate container 055e16aca5e5 [2021-07-30T22:47:22.062Z] ---> 0dbf6ca43616 [2021-07-30T22:47:22.062Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T22:47:22.062Z] ---> Running in e114eb61e6ef [2021-07-30T22:47:22.330Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:47:23.289Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:47:23.878Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-07-30T22:47:23.878Z] (2/9) Installing libsodium (1.0.18-r0) [2021-07-30T22:47:24.143Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-07-30T22:47:24.412Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-07-30T22:47:24.412Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-07-30T22:47:24.679Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-07-30T22:47:24.679Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-07-30T22:47:25.640Z] (8/9) Installing libzmq (4.3.3-r1) [2021-07-30T22:47:25.906Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-07-30T22:47:25.906Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T22:47:25.906Z] OK: 154 MiB in 49 packages [2021-07-30T22:47:26.181Z] Removing intermediate container e114eb61e6ef [2021-07-30T22:47:26.181Z] ---> ab4eb0db24a7 [2021-07-30T22:47:26.181Z] Step 8/10 : WORKDIR /device-rest-go [2021-07-30T22:47:26.181Z] ---> Running in 27142cb1ffeb [2021-07-30T22:47:26.451Z] Removing intermediate container 27142cb1ffeb [2021-07-30T22:47:26.451Z] ---> 672e0dc19cdd [2021-07-30T22:47:26.451Z] Step 9/10 : COPY . . [2021-07-30T22:47:26.451Z] ---> 82f8e01a2b18 [2021-07-30T22:47:26.451Z] Step 10/10 : RUN go mod download [2021-07-30T22:47:26.724Z] ---> Running in bb92e85251d8 [2021-07-30T22:47:36.792Z] Removing intermediate container bb92e85251d8 [2021-07-30T22:47:36.792Z] ---> 624d0991b81f [2021-07-30T22:47:36.792Z] Successfully built 624d0991b81f [2021-07-30T22:47:36.792Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:37.114Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T22:47:37.114Z] . [Pipeline] withDockerContainer [2021-07-30T22:47:37.203Z] prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container [2021-07-30T22:47:37.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T22:47:37.625Z] $ docker top 88da05edc15ee14095e6647338de99cb05d5fb9232023df6b57f241fbe9f247c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:47:38.025Z] + go version [2021-07-30T22:47:38.025Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-30T22:47:38.039Z] $ docker stop --time=1 88da05edc15ee14095e6647338de99cb05d5fb9232023df6b57f241fbe9f247c [2021-07-30T22:47:39.235Z] $ docker rm -f 88da05edc15ee14095e6647338de99cb05d5fb9232023df6b57f241fbe9f247c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:39.771Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T22:47:39.771Z] . [Pipeline] withDockerContainer [2021-07-30T22:47:39.873Z] prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container [2021-07-30T22:47:39.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T22:47:40.271Z] $ docker top dc4d305b158bf26742326b5b9c9fc8193df1ef5d8ec99905f394232c63f273e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:47:40.672Z] + go mod tidy [Pipeline] sh [2021-07-30T22:47:41.255Z] + make test [2021-07-30T22:47:41.256Z] go mod tidy [2021-07-30T22:47:41.256Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-07-30T22:47:41.843Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-07-30T22:47:57.477Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-07-30T22:47:57.477Z] ok github.com/edgexfoundry/device-rest-go/driver 0.031s coverage: 54.0% of statements [2021-07-30T22:47:57.477Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-30T22:48:04.141Z] gofmt -l . [2021-07-30T22:48:04.141Z] [ "`gofmt -l .`" = "" ] [2021-07-30T22:48:04.141Z] ./bin/test-go-mod-tidy.sh [2021-07-30T22:48:04.141Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-07-30T22:48:04.737Z] $ docker stop --time=1 dc4d305b158bf26742326b5b9c9fc8193df1ef5d8ec99905f394232c63f273e7 [2021-07-30T22:48:06.271Z] $ docker rm -f dc4d305b158bf26742326b5b9c9fc8193df1ef5d8ec99905f394232c63f273e7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:48:06.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T22:48:06.920Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-30T22:48:08.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T22:48:08.351Z] + ls -al . [2021-07-30T22:48:08.351Z] total 112 [2021-07-30T22:48:08.351Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jul 30 22:48 . [2021-07-30T22:48:08.351Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 30 22:46 .. [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jul 30 22:47 Attribution.txt [2021-07-30T22:48:08.351Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 30 22:47 bin [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jul 30 22:47 CHANGELOG.md [2021-07-30T22:48:08.351Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 30 22:47 cmd [2021-07-30T22:48:08.351Z] -rw-r--r--. 1 jenkins jenkins 8513 Jul 30 22:47 coverage.out [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jul 30 22:47 Dockerfile [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jul 30 22:47 Dockerfile.build [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 151 Jul 30 22:47 .dockerignore [2021-07-30T22:48:08.351Z] drwxrwxr-x. 2 jenkins jenkins 76 Jul 30 22:47 driver [2021-07-30T22:48:08.351Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 30 22:47 .git [2021-07-30T22:48:08.351Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 30 22:47 .github [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 336 Jul 30 22:47 .gitignore [2021-07-30T22:48:08.351Z] -rw-r--r--. 1 jenkins jenkins 271 Jul 30 22:48 go.mod [2021-07-30T22:48:08.351Z] -rw-r--r--. 1 jenkins jenkins 20570 Jul 30 22:47 go.sum [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 680 Jul 30 22:47 Jenkinsfile [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 30 22:47 LICENSE [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 996 Jul 30 22:47 Makefile [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 7661 Jul 30 22:47 README.md [2021-07-30T22:48:08.351Z] drwxrwxr-x. 4 jenkins jenkins 71 Jul 30 22:47 snap [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 30 22:39 VERSION [2021-07-30T22:48:08.351Z] -rw-rw-r--. 1 jenkins jenkins 713 Jul 30 22:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:08.689Z] + 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=0f7d92f6dc034770900c2c3c57aeef3499c3f66e --label arch=amd64 --label version=2.0.1-dev.1 . [2021-07-30T22:48:08.689Z] Sending build context to Docker daemon 126kB [2021-07-30T22:48:08.689Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:48:08.689Z] Step 2/25 : FROM ${BASE} AS builder [2021-07-30T22:48:08.689Z] ---> 624d0991b81f [2021-07-30T22:48:08.689Z] Step 3/25 : ARG MAKE='make build' [2021-07-30T22:48:08.689Z] ---> Running in d7852dc9d201 [2021-07-30T22:48:08.689Z] Removing intermediate container d7852dc9d201 [2021-07-30T22:48:08.689Z] ---> c6c6eb67ac5f [2021-07-30T22:48:08.689Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T22:48:08.689Z] ---> Running in d5e87b6b108f [2021-07-30T22:48:08.956Z] Removing intermediate container d5e87b6b108f [2021-07-30T22:48:08.956Z] ---> 62d0d1635fae [2021-07-30T22:48:08.957Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T22:48:08.957Z] ---> Running in 20f622781130 [2021-07-30T22:48:08.957Z] Removing intermediate container 20f622781130 [2021-07-30T22:48:08.957Z] ---> 74edfcf0c285 [2021-07-30T22:48:08.957Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:48:08.957Z] ---> Running in 89f19866c796 [2021-07-30T22:48:09.553Z] Removing intermediate container 89f19866c796 [2021-07-30T22:48:09.553Z] ---> 198c91700b3e [2021-07-30T22:48:09.553Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T22:48:09.553Z] ---> Running in 4961f91f3de0 [2021-07-30T22:48:09.819Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:48:11.230Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:48:12.645Z] OK: 154 MiB in 49 packages [2021-07-30T22:48:12.645Z] Removing intermediate container 4961f91f3de0 [2021-07-30T22:48:12.645Z] ---> 9f95054573eb [2021-07-30T22:48:12.645Z] Step 8/25 : WORKDIR /device-rest-go [2021-07-30T22:48:12.645Z] ---> Running in 6430138375a1 [2021-07-30T22:48:12.645Z] Removing intermediate container 6430138375a1 [2021-07-30T22:48:12.645Z] ---> 4d9151c43ebc [2021-07-30T22:48:12.645Z] Step 9/25 : COPY . . [2021-07-30T22:48:12.916Z] ---> e3a3bf9939f1 [2021-07-30T22:48:12.916Z] Step 10/25 : RUN go mod tidy [2021-07-30T22:48:12.916Z] ---> Running in 2e01d389740a [2021-07-30T22:48:13.713Z] Removing intermediate container 2e01d389740a [2021-07-30T22:48:13.713Z] ---> 94091d7eff0c [2021-07-30T22:48:13.713Z] Step 11/25 : RUN make update [2021-07-30T22:48:13.713Z] ---> Running in b25d6fcb4465 [2021-07-30T22:48:14.059Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-07-30T22:48:14.328Z] Removing intermediate container b25d6fcb4465 [2021-07-30T22:48:14.328Z] ---> 5ae3e3e21827 [2021-07-30T22:48:14.328Z] Step 12/25 : RUN $MAKE [2021-07-30T22:48:14.328Z] ---> Running in 836fb77d1367 [2021-07-30T22:48:14.599Z] go mod tidy [2021-07-30T22:48:14.599Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.1" -o cmd/device-rest ./cmd [2021-07-30T22:48:26.958Z] Removing intermediate container 836fb77d1367 [2021-07-30T22:48:26.958Z] ---> 60ef04bba1e0 [2021-07-30T22:48:26.958Z] Step 13/25 : FROM alpine:3.12 [2021-07-30T22:48:26.958Z] 3.12: Pulling from library/alpine [2021-07-30T22:48:26.958Z] 339de151aab4: Pulling fs layer [2021-07-30T22:48:26.958Z] 339de151aab4: Verifying Checksum [2021-07-30T22:48:26.958Z] 339de151aab4: Download complete [2021-07-30T22:48:27.225Z] 339de151aab4: Pull complete [2021-07-30T22:48:27.225Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-30T22:48:27.225Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T22:48:27.225Z] ---> 13621d1b12d4 [2021-07-30T22:48:27.225Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T22:48:27.225Z] ---> Running in 1181dfdf8ad6 [2021-07-30T22:48:27.225Z] Removing intermediate container 1181dfdf8ad6 [2021-07-30T22:48:27.225Z] ---> b96ca964c505 [2021-07-30T22:48:27.225Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-07-30T22:48:27.524Z] ---> Running in f63b06fa4bef [2021-07-30T22:48:27.524Z] Removing intermediate container f63b06fa4bef [2021-07-30T22:48:27.524Z] ---> 140e1573addb [2021-07-30T22:48:27.524Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-30T22:48:27.524Z] ---> Running in daf42239f734 [2021-07-30T22:48:27.793Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:48:27.793Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:48:28.079Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-30T22:48:28.079Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-30T22:48:28.079Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-30T22:48:28.079Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-30T22:48:28.079Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-30T22:48:28.079Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-30T22:48:28.079Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T22:48:28.079Z] OK: 8 MiB in 20 packages [2021-07-30T22:48:28.348Z] Removing intermediate container daf42239f734 [2021-07-30T22:48:28.348Z] ---> 840dc4ca6329 [2021-07-30T22:48:28.348Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-07-30T22:48:28.933Z] ---> ce10fc5a8887 [2021-07-30T22:48:28.933Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-07-30T22:48:29.204Z] ---> 34456060c73f [2021-07-30T22:48:29.204Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-07-30T22:48:29.472Z] ---> f8bdaea740f3 [2021-07-30T22:48:29.472Z] Step 20/25 : EXPOSE 59986 [2021-07-30T22:48:29.472Z] ---> Running in e81ff2caacc9 [2021-07-30T22:48:29.472Z] Removing intermediate container e81ff2caacc9 [2021-07-30T22:48:29.472Z] ---> 28b7d4a29f65 [2021-07-30T22:48:29.472Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-07-30T22:48:29.472Z] ---> Running in 661fe0f1ac38 [2021-07-30T22:48:29.472Z] Removing intermediate container 661fe0f1ac38 [2021-07-30T22:48:29.472Z] ---> 5434d239a727 [2021-07-30T22:48:29.472Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-07-30T22:48:29.472Z] ---> Running in 42392283e170 [2021-07-30T22:48:29.740Z] Removing intermediate container 42392283e170 [2021-07-30T22:48:29.740Z] ---> da6c392d9ead [2021-07-30T22:48:29.740Z] Step 23/25 : LABEL arch=amd64 [2021-07-30T22:48:29.740Z] ---> Running in 07c22d025d84 [2021-07-30T22:48:29.740Z] Removing intermediate container 07c22d025d84 [2021-07-30T22:48:29.740Z] ---> f05d90fc4fc5 [2021-07-30T22:48:29.740Z] Step 24/25 : LABEL git_sha=0f7d92f6dc034770900c2c3c57aeef3499c3f66e [2021-07-30T22:48:29.740Z] ---> Running in 4a24724d6039 [2021-07-30T22:48:30.008Z] Removing intermediate container 4a24724d6039 [2021-07-30T22:48:30.008Z] ---> deea5a8aba32 [2021-07-30T22:48:30.008Z] Step 25/25 : LABEL version=2.0.1-dev.1 [2021-07-30T22:48:30.008Z] ---> Running in 60dabe964f23 [2021-07-30T22:48:30.008Z] Removing intermediate container 60dabe964f23 [2021-07-30T22:48:30.008Z] ---> 25a42828262f [2021-07-30T22:48:30.008Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-30T22:48:30.008Z] Successfully built 25a42828262f [2021-07-30T22:48:30.008Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:48:30.204Z] provisioning config files... [2021-07-30T22:48:30.223Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config7160615439193867673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:48:30.567Z] ---> docker-login.sh [2021-07-30T22:48:30.567Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:48:30.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:48:30.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:48:30.567Z] Configure a credential helper to remove this warning. See [2021-07-30T22:48:30.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:48:30.567Z] [2021-07-30T22:48:30.567Z] Login Succeeded [2021-07-30T22:48:30.567Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:48:30.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:48:30.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:48:30.835Z] Configure a credential helper to remove this warning. See [2021-07-30T22:48:30.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:48:30.835Z] [2021-07-30T22:48:30.835Z] Login Succeeded [2021-07-30T22:48:30.835Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:48:30.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:48:31.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:48:31.106Z] Configure a credential helper to remove this warning. See [2021-07-30T22:48:31.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:48:31.106Z] [2021-07-30T22:48:31.106Z] Login Succeeded [2021-07-30T22:48:31.106Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:48:31.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:48:31.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:48:31.106Z] Configure a credential helper to remove this warning. See [2021-07-30T22:48:31.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:48:31.106Z] [2021-07-30T22:48:31.106Z] Login Succeeded [2021-07-30T22:48:31.106Z] docker.io [2021-07-30T22:48:31.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:48:31.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:48:31.689Z] Configure a credential helper to remove this warning. See [2021-07-30T22:48:31.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:48:31.689Z] [2021-07-30T22:48:31.689Z] Login Succeeded [2021-07-30T22:48:31.689Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:48:31.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:48:31.783Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-07-30T22:48:31.783Z] 0f7d92f6dc034770900c2c3c57aeef3499c3f66e [2021-07-30T22:48:31.783Z] latest [2021-07-30T22:48:31.783Z] 2.0.1-dev.1 [2021-07-30T22:48:31.783Z] 0f7d92f6dc034770900c2c3c57aeef3499c3f66e-2.0.1-dev.1 [2021-07-30T22:48:31.783Z] main [2021-07-30T22:48:31.783Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:32.153Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0f7d92f6dc034770900c2c3c57aeef3499c3f66e [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:32.479Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0f7d92f6dc034770900c2c3c57aeef3499c3f66e [2021-07-30T22:48:32.479Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-07-30T22:48:32.479Z] 4430b01f4092: Preparing [2021-07-30T22:48:32.479Z] 4103cece6a5f: Preparing [2021-07-30T22:48:32.479Z] 27f1c5cc3343: Preparing [2021-07-30T22:48:32.479Z] 6841608aec9c: Preparing [2021-07-30T22:48:32.479Z] 32f366d666a5: Preparing [2021-07-30T22:48:32.479Z] 32f366d666a5: Layer already exists [2021-07-30T22:48:33.069Z] 4430b01f4092: Pushed [2021-07-30T22:48:33.069Z] 4103cece6a5f: Pushed [2021-07-30T22:48:33.069Z] 6841608aec9c: Pushed [2021-07-30T22:48:34.031Z] 27f1c5cc3343: Pushed [2021-07-30T22:48:34.296Z] 0f7d92f6dc034770900c2c3c57aeef3499c3f66e: digest: sha256:01dc1920a5f81f1125567832be9ff0b9947c5bc46bf92fc836449afb5bfc44fd size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:34.630Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:34.951Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-07-30T22:48:34.951Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-07-30T22:48:34.951Z] 4430b01f4092: Preparing [2021-07-30T22:48:34.951Z] 4103cece6a5f: Preparing [2021-07-30T22:48:34.951Z] 27f1c5cc3343: Preparing [2021-07-30T22:48:34.951Z] 6841608aec9c: Preparing [2021-07-30T22:48:34.951Z] 32f366d666a5: Preparing [2021-07-30T22:48:34.951Z] 32f366d666a5: Layer already exists [2021-07-30T22:48:34.951Z] 4430b01f4092: Layer already exists [2021-07-30T22:48:34.951Z] 4103cece6a5f: Layer already exists [2021-07-30T22:48:34.951Z] 27f1c5cc3343: Layer already exists [2021-07-30T22:48:34.951Z] 6841608aec9c: Layer already exists [2021-07-30T22:48:34.951Z] latest: digest: sha256:01dc1920a5f81f1125567832be9ff0b9947c5bc46bf92fc836449afb5bfc44fd size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:35.274Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:35.589Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.1 [2021-07-30T22:48:35.589Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-07-30T22:48:35.589Z] 4430b01f4092: Preparing [2021-07-30T22:48:35.589Z] 4103cece6a5f: Preparing [2021-07-30T22:48:35.589Z] 27f1c5cc3343: Preparing [2021-07-30T22:48:35.589Z] 6841608aec9c: Preparing [2021-07-30T22:48:35.589Z] 32f366d666a5: Preparing [2021-07-30T22:48:35.589Z] 6841608aec9c: Layer already exists [2021-07-30T22:48:35.589Z] 4103cece6a5f: Layer already exists [2021-07-30T22:48:35.589Z] 4430b01f4092: Layer already exists [2021-07-30T22:48:35.589Z] 32f366d666a5: Layer already exists [2021-07-30T22:48:35.589Z] 27f1c5cc3343: Layer already exists [2021-07-30T22:48:35.589Z] 2.0.1-dev.1: digest: sha256:01dc1920a5f81f1125567832be9ff0b9947c5bc46bf92fc836449afb5bfc44fd size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:35.909Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0f7d92f6dc034770900c2c3c57aeef3499c3f66e-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:36.225Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0f7d92f6dc034770900c2c3c57aeef3499c3f66e-2.0.1-dev.1 [2021-07-30T22:48:36.225Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-07-30T22:48:36.225Z] 4430b01f4092: Preparing [2021-07-30T22:48:36.225Z] 4103cece6a5f: Preparing [2021-07-30T22:48:36.225Z] 27f1c5cc3343: Preparing [2021-07-30T22:48:36.225Z] 6841608aec9c: Preparing [2021-07-30T22:48:36.225Z] 32f366d666a5: Preparing [2021-07-30T22:48:36.225Z] 4103cece6a5f: Layer already exists [2021-07-30T22:48:36.225Z] 27f1c5cc3343: Layer already exists [2021-07-30T22:48:36.225Z] 32f366d666a5: Layer already exists [2021-07-30T22:48:36.225Z] 4430b01f4092: Layer already exists [2021-07-30T22:48:36.225Z] 6841608aec9c: Layer already exists [2021-07-30T22:48:36.225Z] 0f7d92f6dc034770900c2c3c57aeef3499c3f66e-2.0.1-dev.1: digest: sha256:01dc1920a5f81f1125567832be9ff0b9947c5bc46bf92fc836449afb5bfc44fd size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:36.553Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:36.870Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-07-30T22:48:36.870Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-07-30T22:48:36.870Z] 4430b01f4092: Preparing [2021-07-30T22:48:36.870Z] 4103cece6a5f: Preparing [2021-07-30T22:48:36.870Z] 27f1c5cc3343: Preparing [2021-07-30T22:48:36.870Z] 6841608aec9c: Preparing [2021-07-30T22:48:36.870Z] 32f366d666a5: Preparing [2021-07-30T22:48:36.870Z] 32f366d666a5: Layer already exists [2021-07-30T22:48:36.870Z] 27f1c5cc3343: Layer already exists [2021-07-30T22:48:36.870Z] 4430b01f4092: Layer already exists [2021-07-30T22:48:36.870Z] 4103cece6a5f: Layer already exists [2021-07-30T22:48:36.870Z] 6841608aec9c: Layer already exists [2021-07-30T22:48:37.135Z] main: digest: sha256:01dc1920a5f81f1125567832be9ff0b9947c5bc46bf92fc836449afb5bfc44fd size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:48:37.196Z] ===================================================== [Pipeline] echo [2021-07-30T22:48:37.221Z] taggedImages: [2021-07-30T22:48:37.221Z] - nexus3.edgexfoundry.org:10004/device-rest:0f7d92f6dc034770900c2c3c57aeef3499c3f66e [2021-07-30T22:48:37.221Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-07-30T22:48:37.221Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.1 [2021-07-30T22:48:37.221Z] - nexus3.edgexfoundry.org:10004/device-rest:0f7d92f6dc034770900c2c3c57aeef3499c3f66e-2.0.1-dev.1 [2021-07-30T22:48:37.221Z] - 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-07-30T22:48:37.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:48:37.738Z] [2021-07-30T22:48:37.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:48:38.059Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:48:38.060Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T22:48:38.060Z] b4d181a07f80: Pulling fs layer [2021-07-30T22:48:38.060Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T22:48:38.060Z] ed53099fbce6: Pulling fs layer [2021-07-30T22:48:38.060Z] dc539afda2c1: Pulling fs layer [2021-07-30T22:48:38.060Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T22:48:38.060Z] 9065ff56babe: Pulling fs layer [2021-07-30T22:48:38.060Z] d287ab97295c: Pulling fs layer [2021-07-30T22:48:38.060Z] 77bc0d833cb6: Waiting [2021-07-30T22:48:38.060Z] 9065ff56babe: Waiting [2021-07-30T22:48:38.060Z] d287ab97295c: Waiting [2021-07-30T22:48:38.323Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T22:48:38.323Z] a1111a8f2ec3: Download complete [2021-07-30T22:48:38.323Z] dc539afda2c1: Verifying Checksum [2021-07-30T22:48:38.323Z] dc539afda2c1: Download complete [2021-07-30T22:48:38.587Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T22:48:38.587Z] 77bc0d833cb6: Download complete [2021-07-30T22:48:38.587Z] 9065ff56babe: Verifying Checksum [2021-07-30T22:48:38.587Z] 9065ff56babe: Download complete [2021-07-30T22:48:38.587Z] ed53099fbce6: Verifying Checksum [2021-07-30T22:48:38.587Z] ed53099fbce6: Download complete [2021-07-30T22:48:39.570Z] b4d181a07f80: Verifying Checksum [2021-07-30T22:48:39.570Z] b4d181a07f80: Download complete [2021-07-30T22:48:40.554Z] b4d181a07f80: Pull complete [2021-07-30T22:48:40.554Z] a1111a8f2ec3: Pull complete [2021-07-30T22:48:41.162Z] ed53099fbce6: Pull complete [2021-07-30T22:48:41.162Z] dc539afda2c1: Pull complete [2021-07-30T22:48:41.430Z] 77bc0d833cb6: Pull complete [2021-07-30T22:48:41.697Z] 9065ff56babe: Pull complete [2021-07-30T22:48:43.111Z] d287ab97295c: Verifying Checksum [2021-07-30T22:48:43.111Z] d287ab97295c: Download complete [2021-07-30T22:48:43.685Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1197 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-07-30T22:48:43.704Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-07-30T22:48:43.945Z] The recommended git tool is: git [2021-07-30T22:48:47.409Z] d287ab97295c: Pull complete [2021-07-30T22:48:47.409Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T22:48:47.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:48:47.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T22:48:47.504Z] prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container [2021-07-30T22:48:47.561Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T22:48:49.915Z] $ docker top 4d8e60ecd98cc0cad96ff958c294ba926853b9bf7afb8a102e5378a4c9518ab5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:48:50.425Z] ---> job-cost.sh [2021-07-30T22:48:50.425Z] lf-activate-venv: SKIPPING [2021-07-30T22:48:50.425Z] INFO: No Stack... [2021-07-30T22:48:51.380Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T22:48:51.618Z] using credential edgex-jenkins-ssh [2021-07-30T22:48:51.648Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T22:48:51.685Z] Cloning the remote Git repository [2021-07-30T22:48:51.963Z] + cut -d, -f6 [2021-07-30T22:48:51.964Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2021-07-30T22:48:52.007Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-2-stack-cost] [2021-07-30T22:48:52.020Z] Resource [jenkins-edgexfoundry-device-rest-go-main-2-stack-cost] did not exist. Created. [2021-07-30T22:48:52.020Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T22:48:52.359Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-30T22:48:52.401Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T22:48:52.418Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T22:48:52.441Z] $ docker stop --time=1 4d8e60ecd98cc0cad96ff958c294ba926853b9bf7afb8a102e5378a4c9518ab5 [2021-07-30T22:48:51.746Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T22:48:51.878Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-07-30T22:48:52.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T22:48:52.015Z] > git --version # timeout=10 [2021-07-30T22:48:52.036Z] > git --version # 'git version 2.17.1' [2021-07-30T22:48:52.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T22:48:52.164Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:48:53.587Z] $ docker rm -f 4d8e60ecd98cc0cad96ff958c294ba926853b9bf7afb8a102e5378a4c9518ab5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-07-30T22:48:53.841Z] Avoid second fetch [2021-07-30T22:48:53.842Z] Checking out Revision 0f7d92f6dc034770900c2c3c57aeef3499c3f66e (main) [Pipeline] // stage [Pipeline] } [2021-07-30T22:48:53.798Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-07-30T22:48:53.818Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:48:53.864Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T22:48:53.882Z] > git checkout -f 0f7d92f6dc034770900c2c3c57aeef3499c3f66e # timeout=10 [2021-07-30T22:48:58.406Z] Commit message: "Merge pull request #128 from soda480/US1908" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:48:58.754Z] provisioning config files... [2021-07-30T22:48:58.805Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config4853013081340327469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:48:59.472Z] ---> docker-login.sh [2021-07-30T22:48:59.472Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:49:00.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:49:00.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:49:00.702Z] Configure a credential helper to remove this warning. See [2021-07-30T22:49:00.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:49:00.702Z] [2021-07-30T22:49:00.702Z] Login Succeeded [2021-07-30T22:49:00.702Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:49:01.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:49:01.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:49:01.603Z] Configure a credential helper to remove this warning. See [2021-07-30T22:49:01.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:49:01.603Z] [2021-07-30T22:49:01.603Z] Login Succeeded [2021-07-30T22:49:01.603Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:49:01.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:49:02.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:49:02.171Z] Configure a credential helper to remove this warning. See [2021-07-30T22:49:02.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:49:02.171Z] [2021-07-30T22:49:02.171Z] Login Succeeded [2021-07-30T22:49:02.171Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:49:02.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:49:02.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:49:02.779Z] Configure a credential helper to remove this warning. See [2021-07-30T22:49:02.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:49:02.779Z] [2021-07-30T22:49:02.779Z] Login Succeeded [2021-07-30T22:49:02.779Z] docker.io [2021-07-30T22:49:03.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:49:03.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:49:03.675Z] Configure a credential helper to remove this warning. See [2021-07-30T22:49:03.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:49:03.675Z] [2021-07-30T22:49:03.675Z] Login Succeeded [2021-07-30T22:49:03.675Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:49:03.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T22:49:04.170Z] ========================================================= [2021-07-30T22:49:04.170Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-30T22:49:04.170Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:49:04.546Z] + 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-07-30T22:49:04.546Z] Sending build context to Docker daemon 116.2kB [2021-07-30T22:49:04.823Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:49:04.823Z] Step 2/10 : FROM ${BASE} [2021-07-30T22:49:05.100Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-30T22:49:05.100Z] 595b0fe564bb: Pulling fs layer [2021-07-30T22:49:05.100Z] 24495759ef45: Pulling fs layer [2021-07-30T22:49:05.100Z] d148012ef14d: Pulling fs layer [2021-07-30T22:49:05.100Z] cb65c68fc2e2: Pulling fs layer [2021-07-30T22:49:05.100Z] 093eec477d81: Pulling fs layer [2021-07-30T22:49:05.100Z] a6d5b2bbb924: Pulling fs layer [2021-07-30T22:49:05.100Z] 2446dc1eb7d3: Pulling fs layer [2021-07-30T22:49:05.100Z] 596795e73e0f: Pulling fs layer [2021-07-30T22:49:05.100Z] 093eec477d81: Waiting [2021-07-30T22:49:05.100Z] a6d5b2bbb924: Waiting [2021-07-30T22:49:05.100Z] 2446dc1eb7d3: Waiting [2021-07-30T22:49:05.100Z] 596795e73e0f: Waiting [2021-07-30T22:49:05.100Z] cb65c68fc2e2: Waiting [2021-07-30T22:49:05.378Z] d148012ef14d: Verifying Checksum [2021-07-30T22:49:05.378Z] d148012ef14d: Download complete [2021-07-30T22:49:05.378Z] 24495759ef45: Download complete [2021-07-30T22:49:05.378Z] 093eec477d81: Verifying Checksum [2021-07-30T22:49:05.378Z] 093eec477d81: Download complete [2021-07-30T22:49:05.378Z] a6d5b2bbb924: Download complete [2021-07-30T22:49:05.378Z] 595b0fe564bb: Verifying Checksum [2021-07-30T22:49:05.378Z] 595b0fe564bb: Download complete [2021-07-30T22:49:05.378Z] 2446dc1eb7d3: Verifying Checksum [2021-07-30T22:49:05.378Z] 2446dc1eb7d3: Download complete [2021-07-30T22:49:06.075Z] 595b0fe564bb: Pull complete [2021-07-30T22:49:07.104Z] 24495759ef45: Pull complete [2021-07-30T22:49:07.721Z] d148012ef14d: Pull complete [2021-07-30T22:49:07.721Z] 596795e73e0f: Verifying Checksum [2021-07-30T22:49:07.721Z] 596795e73e0f: Download complete [2021-07-30T22:49:09.719Z] cb65c68fc2e2: Verifying Checksum [2021-07-30T22:49:09.719Z] cb65c68fc2e2: Download complete [2021-07-30T22:49:19.892Z] cb65c68fc2e2: Pull complete [2021-07-30T22:49:19.892Z] 093eec477d81: Pull complete [2021-07-30T22:49:19.892Z] a6d5b2bbb924: Pull complete [2021-07-30T22:49:19.892Z] 2446dc1eb7d3: Pull complete [2021-07-30T22:49:23.512Z] 596795e73e0f: Pull complete [2021-07-30T22:49:23.512Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-30T22:49:23.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-30T22:49:23.784Z] ---> d9e956139c92 [2021-07-30T22:49:23.784Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T22:49:27.172Z] ---> Running in 7c5783b0ead7 [2021-07-30T22:49:27.172Z] Removing intermediate container 7c5783b0ead7 [2021-07-30T22:49:27.172Z] ---> d42dbd7ddbbe [2021-07-30T22:49:27.172Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T22:49:27.172Z] ---> Running in 589ee8854d00 [2021-07-30T22:49:27.767Z] Removing intermediate container 589ee8854d00 [2021-07-30T22:49:27.767Z] ---> 1cbae2d822bb [2021-07-30T22:49:27.767Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T22:49:28.042Z] ---> Running in 9cf7084420a4 [2021-07-30T22:49:28.636Z] Removing intermediate container 9cf7084420a4 [2021-07-30T22:49:28.636Z] ---> 4ff7f7674f77 [2021-07-30T22:49:28.636Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:49:28.636Z] ---> Running in 6d069cace83c [2021-07-30T22:49:31.275Z] Removing intermediate container 6d069cace83c [2021-07-30T22:49:31.275Z] ---> a2d2520dbfcd [2021-07-30T22:49:31.275Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T22:49:31.275Z] ---> Running in 90b72871b1bf [2021-07-30T22:49:32.714Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:49:33.315Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:49:34.315Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-07-30T22:49:34.589Z] (2/9) Installing libsodium (1.0.18-r0) [2021-07-30T22:49:34.589Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-07-30T22:49:34.589Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-07-30T22:49:34.864Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-07-30T22:49:34.865Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-07-30T22:49:35.139Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-07-30T22:49:35.421Z] (8/9) Installing libzmq (4.3.3-r1) [2021-07-30T22:49:35.421Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-07-30T22:49:35.421Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T22:49:35.421Z] OK: 144 MiB in 49 packages [2021-07-30T22:49:36.872Z] Removing intermediate container 90b72871b1bf [2021-07-30T22:49:36.872Z] ---> f7a097390fe2 [2021-07-30T22:49:36.872Z] Step 8/10 : WORKDIR /device-rest-go [2021-07-30T22:49:37.155Z] ---> Running in 2e10cc83dce6 [2021-07-30T22:49:37.758Z] Removing intermediate container 2e10cc83dce6 [2021-07-30T22:49:37.758Z] ---> 16fbc4902ee5 [2021-07-30T22:49:37.758Z] Step 9/10 : COPY . . [2021-07-30T22:49:38.760Z] ---> 8b94b2004853 [2021-07-30T22:49:38.760Z] Step 10/10 : RUN go mod download [2021-07-30T22:49:38.760Z] ---> Running in 6263da566600 [2021-07-30T22:50:11.205Z] Removing intermediate container 6263da566600 [2021-07-30T22:50:11.205Z] ---> 21106103ab6e [2021-07-30T22:50:11.205Z] Successfully built 21106103ab6e [2021-07-30T22:50:11.205Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:50:11.574Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T22:50:11.574Z] . [Pipeline] withDockerContainer [2021-07-30T22:50:11.897Z] prd-ubuntu18.04-docker-arm64-4c-16g-1197 does not seem to be running inside a container [2021-07-30T22:50:12.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-07-30T22:50:13.915Z] $ docker top e5e73e197104d9e41d59c2e9f8c9fb5d5f0801ca0f9cc42b9ceea1ffd0e9d61b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:50:14.955Z] + go version [2021-07-30T22:50:14.955Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-30T22:50:14.986Z] $ docker stop --time=1 e5e73e197104d9e41d59c2e9f8c9fb5d5f0801ca0f9cc42b9ceea1ffd0e9d61b [2021-07-30T22:50:16.958Z] $ docker rm -f e5e73e197104d9e41d59c2e9f8c9fb5d5f0801ca0f9cc42b9ceea1ffd0e9d61b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:50:17.769Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T22:50:17.769Z] . [Pipeline] withDockerContainer [2021-07-30T22:50:18.070Z] prd-ubuntu18.04-docker-arm64-4c-16g-1197 does not seem to be running inside a container [2021-07-30T22:50:18.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-07-30T22:50:19.884Z] $ docker top db316be9becf16e48a6bc54168c919651fbae3903f790fbc8fc13ab18e1e94c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:50:20.837Z] + go mod tidy [Pipeline] sh [2021-07-30T22:50:22.100Z] + make test [2021-07-30T22:50:22.100Z] go mod tidy [2021-07-30T22:50:22.374Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-07-30T22:50:23.815Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-07-30T22:51:20.481Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-07-30T22:51:20.481Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 54.0% of statements [2021-07-30T22:51:20.481Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-30T22:51:47.337Z] gofmt -l . [2021-07-30T22:51:47.337Z] [ "`gofmt -l .`" = "" ] [2021-07-30T22:51:47.337Z] ./bin/test-go-mod-tidy.sh [2021-07-30T22:51:47.613Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-07-30T22:51:49.622Z] $ docker stop --time=1 db316be9becf16e48a6bc54168c919651fbae3903f790fbc8fc13ab18e1e94c7 [2021-07-30T22:51:51.535Z] $ docker rm -f db316be9becf16e48a6bc54168c919651fbae3903f790fbc8fc13ab18e1e94c7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:51:52.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T22:51:52.376Z] Warning: overwriting stash ‘coverage-report’ [2021-07-30T22:51:52.869Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-30T22:51:53.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T22:51:53.763Z] + ls -al . [2021-07-30T22:51:53.763Z] total 140 [2021-07-30T22:51:53.763Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 22:51 . [2021-07-30T22:51:53.763Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 22:48 .. [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 30 22:48 .dockerignore [2021-07-30T22:51:53.763Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 22:48 .git [2021-07-30T22:51:53.763Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 22:48 .github [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 336 Jul 30 22:48 .gitignore [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jul 30 22:48 Attribution.txt [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jul 30 22:48 CHANGELOG.md [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jul 30 22:48 Dockerfile [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jul 30 22:48 Dockerfile.build [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 30 22:48 Jenkinsfile [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 22:48 LICENSE [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 996 Jul 30 22:48 Makefile [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 7661 Jul 30 22:48 README.md [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 30 22:39 VERSION [2021-07-30T22:51:53.763Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 22:48 bin [2021-07-30T22:51:53.763Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 22:48 cmd [2021-07-30T22:51:53.763Z] -rw-r--r-- 1 jenkins jenkins 8513 Jul 30 22:51 coverage.out [2021-07-30T22:51:53.763Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 22:48 driver [2021-07-30T22:51:53.763Z] -rw-r--r-- 1 jenkins jenkins 271 Jul 30 22:51 go.mod [2021-07-30T22:51:53.763Z] -rw-r--r-- 1 jenkins jenkins 20570 Jul 30 22:50 go.sum [2021-07-30T22:51:53.763Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 22:48 snap [2021-07-30T22:51:53.763Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 30 22:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:51:54.129Z] + 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=0f7d92f6dc034770900c2c3c57aeef3499c3f66e --label arch=arm64 --label version=2.0.1-dev.1 . [2021-07-30T22:51:54.129Z] Sending build context to Docker daemon 126kB [2021-07-30T22:51:54.407Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:51:54.407Z] Step 2/25 : FROM ${BASE} AS builder [2021-07-30T22:51:54.407Z] ---> 21106103ab6e [2021-07-30T22:51:54.407Z] Step 3/25 : ARG MAKE='make build' [2021-07-30T22:51:54.682Z] ---> Running in 129abf262849 [2021-07-30T22:51:55.286Z] Removing intermediate container 129abf262849 [2021-07-30T22:51:55.286Z] ---> 50fac37ab6a5 [2021-07-30T22:51:55.286Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T22:51:55.286Z] ---> Running in 1e0458d6c616 [2021-07-30T22:51:55.884Z] Removing intermediate container 1e0458d6c616 [2021-07-30T22:51:55.884Z] ---> f206cb7d8993 [2021-07-30T22:51:55.884Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T22:51:55.884Z] ---> Running in 0904fb2ea24e [2021-07-30T22:51:56.495Z] Removing intermediate container 0904fb2ea24e [2021-07-30T22:51:56.495Z] ---> 4a53ee5a05f9 [2021-07-30T22:51:56.495Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:51:56.771Z] ---> Running in 0cf75b95a265 [2021-07-30T22:51:58.746Z] Removing intermediate container 0cf75b95a265 [2021-07-30T22:51:58.746Z] ---> 13ce4ff1baab [2021-07-30T22:51:58.746Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T22:51:59.017Z] ---> Running in a48f2849a3a3 [2021-07-30T22:51:59.998Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:52:00.976Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:52:01.956Z] OK: 144 MiB in 49 packages [2021-07-30T22:52:02.949Z] Removing intermediate container a48f2849a3a3 [2021-07-30T22:52:02.949Z] ---> e6ce9c2f3949 [2021-07-30T22:52:02.949Z] Step 8/25 : WORKDIR /device-rest-go [2021-07-30T22:52:03.222Z] ---> Running in 18a1dddd76c2 [2021-07-30T22:52:03.821Z] Removing intermediate container 18a1dddd76c2 [2021-07-30T22:52:03.821Z] ---> a53956aff548 [2021-07-30T22:52:03.821Z] Step 9/25 : COPY . . [2021-07-30T22:52:04.415Z] ---> c4accf387f78 [2021-07-30T22:52:04.415Z] Step 10/25 : RUN go mod tidy [2021-07-30T22:52:04.688Z] ---> Running in aa62c77c251b [2021-07-30T22:52:07.306Z] Removing intermediate container aa62c77c251b [2021-07-30T22:52:07.306Z] ---> ece0eee17295 [2021-07-30T22:52:07.306Z] Step 11/25 : RUN make update [2021-07-30T22:52:07.583Z] ---> Running in 61ea9fec62b7 [2021-07-30T22:52:09.037Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-07-30T22:52:10.023Z] Removing intermediate container 61ea9fec62b7 [2021-07-30T22:52:10.023Z] ---> 740ec89d685f [2021-07-30T22:52:10.023Z] Step 12/25 : RUN $MAKE [2021-07-30T22:52:10.023Z] ---> Running in cf2e8b3df50f [2021-07-30T22:52:11.466Z] go mod tidy [2021-07-30T22:52:11.738Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.1" -o cmd/device-rest ./cmd [2021-07-30T22:52:50.758Z] Removing intermediate container cf2e8b3df50f [2021-07-30T22:52:50.758Z] ---> 5d3304235c01 [2021-07-30T22:52:50.758Z] Step 13/25 : FROM alpine:3.12 [2021-07-30T22:52:50.758Z] 3.12: Pulling from library/alpine [2021-07-30T22:52:50.758Z] d2f70382dc9a: Pulling fs layer [2021-07-30T22:52:50.758Z] d2f70382dc9a: Verifying Checksum [2021-07-30T22:52:50.758Z] d2f70382dc9a: Download complete [2021-07-30T22:52:50.758Z] d2f70382dc9a: Pull complete [2021-07-30T22:52:50.758Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-30T22:52:50.758Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T22:52:50.758Z] ---> c4fd0aeabfcf [2021-07-30T22:52:50.758Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T22:52:50.758Z] ---> Running in 158fc0205aa6 [2021-07-30T22:52:50.758Z] Removing intermediate container 158fc0205aa6 [2021-07-30T22:52:50.758Z] ---> 07f8992f1c60 [2021-07-30T22:52:50.759Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-07-30T22:52:50.759Z] ---> Running in 72d1d83ee681 [2021-07-30T22:52:50.759Z] Removing intermediate container 72d1d83ee681 [2021-07-30T22:52:50.759Z] ---> 9cb4854d1ea1 [2021-07-30T22:52:50.759Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-30T22:52:50.759Z] ---> Running in da805a16a2a2 [2021-07-30T22:52:50.759Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:52:50.759Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:52:50.759Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-30T22:52:50.759Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-30T22:52:50.759Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-30T22:52:50.759Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-30T22:52:50.759Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-30T22:52:50.759Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-30T22:52:50.759Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T22:52:50.759Z] OK: 8 MiB in 20 packages [2021-07-30T22:52:52.207Z] Removing intermediate container da805a16a2a2 [2021-07-30T22:52:52.207Z] ---> e5b73bf6d1ea [2021-07-30T22:52:52.207Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-07-30T22:52:53.193Z] ---> d37880c23ac2 [2021-07-30T22:52:53.193Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-07-30T22:52:54.182Z] ---> ed5a3865432e [2021-07-30T22:52:54.182Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-07-30T22:52:54.782Z] ---> 45d990978e22 [2021-07-30T22:52:54.782Z] Step 20/25 : EXPOSE 59986 [2021-07-30T22:52:55.058Z] ---> Running in 807d93e0d6df [2021-07-30T22:52:55.658Z] Removing intermediate container 807d93e0d6df [2021-07-30T22:52:55.658Z] ---> d5653bdc9f4a [2021-07-30T22:52:55.658Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-07-30T22:52:55.658Z] ---> Running in d695ff0d5d92 [2021-07-30T22:52:56.258Z] Removing intermediate container d695ff0d5d92 [2021-07-30T22:52:56.258Z] ---> f02efc636ad1 [2021-07-30T22:52:56.258Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-07-30T22:52:56.258Z] ---> Running in 39a20e4efb07 [2021-07-30T22:52:56.854Z] Removing intermediate container 39a20e4efb07 [2021-07-30T22:52:56.854Z] ---> 5d6bdbda87d9 [2021-07-30T22:52:56.854Z] Step 23/25 : LABEL arch=arm64 [2021-07-30T22:52:57.139Z] ---> Running in a4241ac516b9 [2021-07-30T22:52:57.736Z] Removing intermediate container a4241ac516b9 [2021-07-30T22:52:57.736Z] ---> 27d8c494a944 [2021-07-30T22:52:57.736Z] Step 24/25 : LABEL git_sha=0f7d92f6dc034770900c2c3c57aeef3499c3f66e [2021-07-30T22:52:58.010Z] ---> Running in 257064cbc96b [2021-07-30T22:52:58.285Z] Removing intermediate container 257064cbc96b [2021-07-30T22:52:58.285Z] ---> 24b13313dbdc [2021-07-30T22:52:58.285Z] Step 25/25 : LABEL version=2.0.1-dev.1 [2021-07-30T22:52:58.560Z] ---> Running in 80e90c4a73bf [2021-07-30T22:52:59.540Z] Removing intermediate container 80e90c4a73bf [2021-07-30T22:52:59.540Z] ---> 4d2300a742f5 [2021-07-30T22:52:59.540Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-30T22:52:59.540Z] Successfully built 4d2300a742f5 [2021-07-30T22:52:59.540Z] 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-07-30T22:52:59.765Z] provisioning config files... [2021-07-30T22:52:59.787Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config4296873819139126572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:53:00.152Z] ---> docker-login.sh [2021-07-30T22:53:00.152Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:53:00.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:53:00.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:53:00.703Z] Configure a credential helper to remove this warning. See [2021-07-30T22:53:00.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:53:00.703Z] [2021-07-30T22:53:00.703Z] Login Succeeded [2021-07-30T22:53:00.703Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:53:00.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:53:01.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:53:01.260Z] Configure a credential helper to remove this warning. See [2021-07-30T22:53:01.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:53:01.260Z] [2021-07-30T22:53:01.260Z] Login Succeeded [2021-07-30T22:53:01.260Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:53:01.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:53:01.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:53:01.824Z] Configure a credential helper to remove this warning. See [2021-07-30T22:53:01.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:53:01.824Z] [2021-07-30T22:53:01.824Z] Login Succeeded [2021-07-30T22:53:01.824Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:53:02.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:53:02.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:53:02.378Z] Configure a credential helper to remove this warning. See [2021-07-30T22:53:02.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:53:02.378Z] [2021-07-30T22:53:02.378Z] Login Succeeded [2021-07-30T22:53:02.378Z] docker.io [2021-07-30T22:53:02.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:53:03.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:53:03.249Z] Configure a credential helper to remove this warning. See [2021-07-30T22:53:03.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:53:03.249Z] [2021-07-30T22:53:03.249Z] Login Succeeded [2021-07-30T22:53:03.249Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:53:03.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:53:03.339Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-07-30T22:53:03.339Z] 0f7d92f6dc034770900c2c3c57aeef3499c3f66e [2021-07-30T22:53:03.339Z] latest [2021-07-30T22:53:03.339Z] 2.0.1-dev.1 [2021-07-30T22:53:03.339Z] 0f7d92f6dc034770900c2c3c57aeef3499c3f66e-2.0.1-dev.1 [2021-07-30T22:53:03.339Z] main [2021-07-30T22:53:03.339Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:03.722Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0f7d92f6dc034770900c2c3c57aeef3499c3f66e [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:04.069Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0f7d92f6dc034770900c2c3c57aeef3499c3f66e [2021-07-30T22:53:04.070Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-07-30T22:53:04.070Z] 2ffe8bc553ab: Preparing [2021-07-30T22:53:04.070Z] cdf5201ac26c: Preparing [2021-07-30T22:53:04.070Z] c4c0b34d504f: Preparing [2021-07-30T22:53:04.070Z] c8ce47095e7b: Preparing [2021-07-30T22:53:04.070Z] 3fbe34a1663b: Preparing [2021-07-30T22:53:04.343Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:53:04.617Z] 2ffe8bc553ab: Pushed [2021-07-30T22:53:04.617Z] cdf5201ac26c: Pushed [2021-07-30T22:53:05.217Z] c8ce47095e7b: Pushed [2021-07-30T22:53:07.841Z] c4c0b34d504f: Pushed [2021-07-30T22:53:07.841Z] 0f7d92f6dc034770900c2c3c57aeef3499c3f66e: digest: sha256:132ee86725be3c7c47a96dfee58cdec04bbec4b7dd28deba221d9bb537e43537 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:08.198Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:08.548Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-07-30T22:53:08.548Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-07-30T22:53:08.548Z] 2ffe8bc553ab: Preparing [2021-07-30T22:53:08.548Z] cdf5201ac26c: Preparing [2021-07-30T22:53:08.548Z] c4c0b34d504f: Preparing [2021-07-30T22:53:08.548Z] c8ce47095e7b: Preparing [2021-07-30T22:53:08.548Z] 3fbe34a1663b: Preparing [2021-07-30T22:53:08.831Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:53:08.831Z] c4c0b34d504f: Layer already exists [2021-07-30T22:53:08.831Z] cdf5201ac26c: Layer already exists [2021-07-30T22:53:08.831Z] c8ce47095e7b: Layer already exists [2021-07-30T22:53:08.831Z] 2ffe8bc553ab: Layer already exists [2021-07-30T22:53:08.831Z] latest: digest: sha256:132ee86725be3c7c47a96dfee58cdec04bbec4b7dd28deba221d9bb537e43537 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:09.179Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:09.528Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.1 [2021-07-30T22:53:09.528Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-07-30T22:53:09.528Z] 2ffe8bc553ab: Preparing [2021-07-30T22:53:09.528Z] cdf5201ac26c: Preparing [2021-07-30T22:53:09.528Z] c4c0b34d504f: Preparing [2021-07-30T22:53:09.528Z] c8ce47095e7b: Preparing [2021-07-30T22:53:09.528Z] 3fbe34a1663b: Preparing [2021-07-30T22:53:09.804Z] c4c0b34d504f: Layer already exists [2021-07-30T22:53:09.804Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:53:09.804Z] cdf5201ac26c: Layer already exists [2021-07-30T22:53:09.804Z] c8ce47095e7b: Layer already exists [2021-07-30T22:53:09.804Z] 2ffe8bc553ab: Layer already exists [2021-07-30T22:53:09.804Z] 2.0.1-dev.1: digest: sha256:132ee86725be3c7c47a96dfee58cdec04bbec4b7dd28deba221d9bb537e43537 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:10.156Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0f7d92f6dc034770900c2c3c57aeef3499c3f66e-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:10.503Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0f7d92f6dc034770900c2c3c57aeef3499c3f66e-2.0.1-dev.1 [2021-07-30T22:53:10.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-07-30T22:53:10.503Z] 2ffe8bc553ab: Preparing [2021-07-30T22:53:10.503Z] cdf5201ac26c: Preparing [2021-07-30T22:53:10.503Z] c4c0b34d504f: Preparing [2021-07-30T22:53:10.503Z] c8ce47095e7b: Preparing [2021-07-30T22:53:10.503Z] 3fbe34a1663b: Preparing [2021-07-30T22:53:10.779Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:53:10.779Z] cdf5201ac26c: Layer already exists [2021-07-30T22:53:10.779Z] c8ce47095e7b: Layer already exists [2021-07-30T22:53:10.779Z] 2ffe8bc553ab: Layer already exists [2021-07-30T22:53:10.779Z] c4c0b34d504f: Layer already exists [2021-07-30T22:53:10.779Z] 0f7d92f6dc034770900c2c3c57aeef3499c3f66e-2.0.1-dev.1: digest: sha256:132ee86725be3c7c47a96dfee58cdec04bbec4b7dd28deba221d9bb537e43537 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:11.134Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:11.487Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-07-30T22:53:11.487Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-07-30T22:53:11.487Z] 2ffe8bc553ab: Preparing [2021-07-30T22:53:11.487Z] cdf5201ac26c: Preparing [2021-07-30T22:53:11.487Z] c4c0b34d504f: Preparing [2021-07-30T22:53:11.487Z] c8ce47095e7b: Preparing [2021-07-30T22:53:11.487Z] 3fbe34a1663b: Preparing [2021-07-30T22:53:11.761Z] 3fbe34a1663b: Layer already exists [2021-07-30T22:53:11.761Z] 2ffe8bc553ab: Layer already exists [2021-07-30T22:53:11.761Z] cdf5201ac26c: Layer already exists [2021-07-30T22:53:11.761Z] c4c0b34d504f: Layer already exists [2021-07-30T22:53:11.761Z] c8ce47095e7b: Layer already exists [2021-07-30T22:53:11.761Z] main: digest: sha256:132ee86725be3c7c47a96dfee58cdec04bbec4b7dd28deba221d9bb537e43537 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-30T22:53:11.826Z] ===================================================== [Pipeline] echo [2021-07-30T22:53:11.841Z] taggedImages: [2021-07-30T22:53:11.841Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0f7d92f6dc034770900c2c3c57aeef3499c3f66e [2021-07-30T22:53:11.841Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-07-30T22:53:11.841Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.1 [2021-07-30T22:53:11.841Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0f7d92f6dc034770900c2c3c57aeef3499c3f66e-2.0.1-dev.1 [2021-07-30T22:53:11.841Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:12.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:53:12.609Z] [2021-07-30T22:53:12.609Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:12.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:53:13.249Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-30T22:53:13.249Z] 448f6bf000e3: Pulling fs layer [2021-07-30T22:53:13.249Z] f757da607395: Pulling fs layer [2021-07-30T22:53:13.249Z] 05883995daec: Pulling fs layer [2021-07-30T22:53:13.249Z] 8603b9c90790: Pulling fs layer [2021-07-30T22:53:13.249Z] 1560dd03e051: Pulling fs layer [2021-07-30T22:53:13.249Z] 27f5ce0e4adf: Pulling fs layer [2021-07-30T22:53:13.249Z] c2d8d7efcc4b: Pulling fs layer [2021-07-30T22:53:13.249Z] 8603b9c90790: Waiting [2021-07-30T22:53:13.249Z] 1560dd03e051: Waiting [2021-07-30T22:53:13.249Z] 27f5ce0e4adf: Waiting [2021-07-30T22:53:13.249Z] c2d8d7efcc4b: Waiting [2021-07-30T22:53:13.525Z] f757da607395: Verifying Checksum [2021-07-30T22:53:13.525Z] f757da607395: Download complete [2021-07-30T22:53:13.525Z] 8603b9c90790: Verifying Checksum [2021-07-30T22:53:13.525Z] 8603b9c90790: Download complete [2021-07-30T22:53:13.804Z] 1560dd03e051: Verifying Checksum [2021-07-30T22:53:13.804Z] 1560dd03e051: Download complete [2021-07-30T22:53:13.804Z] 27f5ce0e4adf: Verifying Checksum [2021-07-30T22:53:13.804Z] 27f5ce0e4adf: Download complete [2021-07-30T22:53:13.804Z] 05883995daec: Verifying Checksum [2021-07-30T22:53:13.804Z] 05883995daec: Download complete [2021-07-30T22:53:14.792Z] 448f6bf000e3: Download complete [2021-07-30T22:53:17.447Z] c2d8d7efcc4b: Verifying Checksum [2021-07-30T22:53:17.447Z] c2d8d7efcc4b: Download complete [2021-07-30T22:53:18.431Z] 448f6bf000e3: Pull complete [2021-07-30T22:53:19.030Z] f757da607395: Pull complete [2021-07-30T22:53:20.471Z] 05883995daec: Pull complete [2021-07-30T22:53:20.747Z] 8603b9c90790: Pull complete [2021-07-30T22:53:21.733Z] 1560dd03e051: Pull complete [2021-07-30T22:53:22.008Z] 27f5ce0e4adf: Pull complete [2021-07-30T22:53:37.093Z] c2d8d7efcc4b: Pull complete [2021-07-30T22:53:37.093Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-30T22:53:37.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:53:37.093Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-30T22:53:37.356Z] prd-ubuntu18.04-docker-arm64-4c-16g-1197 does not seem to be running inside a container [2021-07-30T22:53:37.450Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-07-30T22:53:41.201Z] $ docker top 91e305ee6060e140e24f213157f198557a5dd17f08ea20c8e172cd6351872d83 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:53:42.212Z] ---> job-cost.sh [2021-07-30T22:53:42.212Z] lf-activate-venv: SKIPPING [2021-07-30T22:53:42.212Z] INFO: No Stack... [2021-07-30T22:53:42.810Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-30T22:53:43.406Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T22:53:44.071Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-07-30T22:53:44.071Z] + cut -d, -f6 [Pipeline] lock [2021-07-30T22:53:44.136Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-2-stack-cost] [2021-07-30T22:53:44.154Z] Resource [jenkins-edgexfoundry-device-rest-go-main-2-stack-cost] did not exist. Created. [2021-07-30T22:53:44.154Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T22:53:44.855Z] /w/workspace/device-rest-go/2@tmp/durable-73696309/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-73696309/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-30T22:53:45.545Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-30T22:53:45.578Z] Warning: overwriting stash ‘stack-cost’ [2021-07-30T22:53:45.624Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T22:53:45.641Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T22:53:45.673Z] $ docker stop --time=1 91e305ee6060e140e24f213157f198557a5dd17f08ea20c8e172cd6351872d83 [2021-07-30T22:53:47.307Z] $ docker rm -f 91e305ee6060e140e24f213157f198557a5dd17f08ea20c8e172cd6351872d83 [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-07-30T22:53:48.494Z] provisioning config files... [2021-07-30T22:53:48.508Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1316125257727354844tmp [Pipeline] { [Pipeline] sh [2021-07-30T22:53:48.850Z] + set +x [2021-07-30T22:53:48.850Z] + curl -s https://codecov.io/bash [2021-07-30T22:53:48.850Z] + bash -s -- [2021-07-30T22:53:48.850Z] [2021-07-30T22:53:48.850Z] _____ _ [2021-07-30T22:53:48.850Z] / ____| | | [2021-07-30T22:53:48.850Z] | | ___ __| | ___ ___ _____ __ [2021-07-30T22:53:48.850Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-30T22:53:48.850Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-30T22:53:48.850Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-30T22:53:48.850Z] Bash-1.0.6 [2021-07-30T22:53:48.850Z] [2021-07-30T22:53:48.850Z] [2021-07-30T22:53:48.850Z] ==> git version 2.24.4 found [2021-07-30T22:53:48.850Z] ==> 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-07-30T22:53:48.850Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-30T22:53:48.850Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-30T22:53:48.850Z] ==> Jenkins CI detected. [2021-07-30T22:53:48.850Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-07-30T22:53:48.850Z] project root: . [2021-07-30T22:53:48.850Z] --> token set from env [2021-07-30T22:53:48.850Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-30T22:53:49.127Z] ==> Running gcov in . (disable via -X gcov) [2021-07-30T22:53:49.127Z] ==> Python coveragepy not found [2021-07-30T22:53:49.127Z] ==> Searching for coverage reports in: [2021-07-30T22:53:49.127Z] + . [2021-07-30T22:53:49.127Z] -> Found 1 reports [2021-07-30T22:53:49.127Z] ==> Detecting git/mercurial file structure [2021-07-30T22:53:49.127Z] ==> Reading reports [2021-07-30T22:53:49.127Z] + ./coverage.out bytes=8513 [2021-07-30T22:53:49.127Z] ==> Appending adjustments [2021-07-30T22:53:49.127Z] https://docs.codecov.io/docs/fixing-reports [2021-07-30T22:53:49.127Z] + Found adjustments [2021-07-30T22:53:49.127Z] ==> Gzipping contents [2021-07-30T22:53:49.127Z] 4.0K /tmp/codecov.LSZYh2.gz [2021-07-30T22:53:49.127Z] ==> Uploading reports [2021-07-30T22:53:49.127Z] url: https://codecov.io [2021-07-30T22:53:49.127Z] query: branch=main&commit=0f7d92f6dc034770900c2c3c57aeef3499c3f66e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-30T22:53:49.127Z] -> Pinging Codecov [2021-07-30T22:53:49.127Z] 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=0f7d92f6dc034770900c2c3c57aeef3499c3f66e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-30T22:53:49.393Z] -> Uploading to [2021-07-30T22:53:49.393Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-30/4E5D53B4F1F92C436F7061BF334D961C/0f7d92f6dc034770900c2c3c57aeef3499c3f66e/9ae18da0-398f-4eea-b786-6cc298b3c544.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210730%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210730T225349Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=46f47cddcd39bc5196f2ceba4456e2075e87847e41bf0518a983b77f09c7fb89 [2021-07-30T22:53:49.393Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-30T22:53:49.393Z] Dload Upload Total Spent Left Speed [2021-07-30T22:53:49.927Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1759 0 0 100 1759 0 4747 --:--:-- --:--:-- --:--:-- 4741 [2021-07-30T22:53:49.927Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/0f7d92f6dc034770900c2c3c57aeef3499c3f66e [Pipeline] } [2021-07-30T22:53:49.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-30T22:53:50.305Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-30T22:53:50.346Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:50.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:53:50.679Z] [2021-07-30T22:53:50.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:53:51.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:53:51.027Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-30T22:53:51.027Z] 188c0c94c7c5: Pulling fs layer [2021-07-30T22:53:51.027Z] 0ef7d3d256c8: Pulling fs layer [2021-07-30T22:53:51.027Z] de9db76c5a1d: Pulling fs layer [2021-07-30T22:53:51.027Z] 0eba1c9be4d2: Pulling fs layer [2021-07-30T22:53:51.027Z] 0d57e429df01: Pulling fs layer [2021-07-30T22:53:51.027Z] 4e4be7b47b0d: Pulling fs layer [2021-07-30T22:53:51.027Z] e1f770b5df2f: Pulling fs layer [2021-07-30T22:53:51.027Z] 85a0685a4137: Pulling fs layer [2021-07-30T22:53:51.027Z] 0d57e429df01: Waiting [2021-07-30T22:53:51.027Z] 4e4be7b47b0d: Waiting [2021-07-30T22:53:51.027Z] e1f770b5df2f: Waiting [2021-07-30T22:53:51.027Z] 85a0685a4137: Waiting [2021-07-30T22:53:51.027Z] 0eba1c9be4d2: Waiting [2021-07-30T22:53:51.027Z] de9db76c5a1d: Verifying Checksum [2021-07-30T22:53:51.027Z] de9db76c5a1d: Download complete [2021-07-30T22:53:51.027Z] 0ef7d3d256c8: Verifying Checksum [2021-07-30T22:53:51.027Z] 0ef7d3d256c8: Download complete [2021-07-30T22:53:51.298Z] 0d57e429df01: Verifying Checksum [2021-07-30T22:53:51.298Z] 0d57e429df01: Download complete [2021-07-30T22:53:51.298Z] 4e4be7b47b0d: Verifying Checksum [2021-07-30T22:53:51.298Z] 4e4be7b47b0d: Download complete [2021-07-30T22:53:51.298Z] 188c0c94c7c5: Verifying Checksum [2021-07-30T22:53:51.298Z] 188c0c94c7c5: Download complete [2021-07-30T22:53:51.565Z] 188c0c94c7c5: Pull complete [2021-07-30T22:53:51.565Z] 0ef7d3d256c8: Pull complete [2021-07-30T22:53:51.565Z] de9db76c5a1d: Pull complete [2021-07-30T22:53:52.530Z] e1f770b5df2f: Verifying Checksum [2021-07-30T22:53:52.530Z] e1f770b5df2f: Download complete [2021-07-30T22:53:55.870Z] 0eba1c9be4d2: Verifying Checksum [2021-07-30T22:53:55.870Z] 0eba1c9be4d2: Download complete [2021-07-30T22:53:56.473Z] 85a0685a4137: Verifying Checksum [2021-07-30T22:53:56.473Z] 85a0685a4137: Download complete [2021-07-30T22:53:59.094Z] 0eba1c9be4d2: Pull complete [2021-07-30T22:53:59.094Z] 0d57e429df01: Pull complete [2021-07-30T22:53:59.094Z] 4e4be7b47b0d: Pull complete [2021-07-30T22:53:59.367Z] e1f770b5df2f: Pull complete [2021-07-30T22:54:03.013Z] 85a0685a4137: Pull complete [2021-07-30T22:54:03.013Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-30T22:54:03.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:54:03.013Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-30T22:54:03.099Z] prd-centos7-docker-4c-2g-1118 does not seem to be running inside a container [2021-07-30T22:54:03.152Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-30T22:54:05.225Z] $ docker top a5fc82eda67d04520de4b5118d8fce4a1e0596fd460f6b77e1e884840322c55b -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-30T22:54:05.321Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-30T22:54:05.634Z] + set -o pipefail [2021-07-30T22:54:05.634Z] + snyk monitor '--org=edgex-jenkins' [2021-07-30T22:54:11.044Z] [2021-07-30T22:54:11.044Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-07-30T22:54:11.044Z] [2021-07-30T22:54:11.044Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/531d1bb2-7c82-47f9-9857-4d9bb251e2f3 [2021-07-30T22:54:11.044Z] [2021-07-30T22:54:11.044Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-07-30T22:54:11.044Z] [2021-07-30T22:54:11.044Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-30T22:54:11.044Z] [2021-07-30T22:54:11.044Z] [Pipeline] } [2021-07-30T22:54:11.057Z] $ docker stop --time=1 a5fc82eda67d04520de4b5118d8fce4a1e0596fd460f6b77e1e884840322c55b [2021-07-30T22:54:13.250Z] $ docker rm -f a5fc82eda67d04520de4b5118d8fce4a1e0596fd460f6b77e1e884840322c55b [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-07-30T22:54:14.296Z] + git log --format=format:%s -1 0f7d92f6dc034770900c2c3c57aeef3499c3f66e [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:54:14.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:54:14.619Z] . [Pipeline] withDockerContainer [2021-07-30T22:54:14.711Z] prd-centos7-docker-4c-2g-1118 does not seem to be running inside a container [2021-07-30T22:54:14.759Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:54:15.148Z] $ docker top 8277ccf49b9d86a28a6e9cd17616497ebe7a8e83ea812317229213b38cbea229 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:54:15.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:54:15.272Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:54:15.391Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:54:15.390Z] $ docker exec 8277ccf49b9d86a28a6e9cd17616497ebe7a8e83ea812317229213b38cbea229 ssh-agent [2021-07-30T22:54:15.505Z] SSH_AUTH_SOCK=/tmp/ssh-aghLHojhYxs8/agent.14 [2021-07-30T22:54:15.505Z] SSH_AGENT_PID=20 [2021-07-30T22:54:15.513Z] Running ssh-add (command line suppressed) [2021-07-30T22:54:15.605Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5105428933218808920.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5105428933218808920.key) [2021-07-30T22:54:15.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:54:15.941Z] + git semver tag [2021-07-30T22:54:15.941Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:54:15.941Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-07-30T22:54:15.941Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-07-30T22:54:15.941Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:54:15.941Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:54:15.941Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:54:15.941Z] # $SEMVER_BRANCH = main [2021-07-30T22:54:15.941Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-07-30T22:54:15.941Z] # 0f7d92f6dc034770900c2c3c57aeef3499c3f66e HEAD [2021-07-30T22:54:15.941Z] # -> Force: false [2021-07-30T22:54:15.941Z] # e172354718f2c11868142290e200d4a5b244cb50 refs/tags/v2.0.1-dev.1 [Pipeline] } [2021-07-30T22:54:15.952Z] $ docker exec --env ******** --env ******** 8277ccf49b9d86a28a6e9cd17616497ebe7a8e83ea812317229213b38cbea229 ssh-agent -k [2021-07-30T22:54:16.050Z] unset SSH_AUTH_SOCK; [2021-07-30T22:54:16.050Z] unset SSH_AGENT_PID; [2021-07-30T22:54:16.050Z] echo Agent pid 20 killed; [2021-07-30T22:54:16.066Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:54:16.410Z] + git semver [Pipeline] } [2021-07-30T22:54:16.426Z] $ docker stop --time=1 8277ccf49b9d86a28a6e9cd17616497ebe7a8e83ea812317229213b38cbea229 [2021-07-30T22:54:17.628Z] $ docker rm -f 8277ccf49b9d86a28a6e9cd17616497ebe7a8e83ea812317229213b38cbea229 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:54:18.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:54:18.085Z] [2021-07-30T22:54:18.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:54:18.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:54:18.410Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-30T22:54:18.410Z] ab5ef0e58194: Pulling fs layer [2021-07-30T22:54:18.410Z] 9712f1f96733: Pulling fs layer [2021-07-30T22:54:18.410Z] 63f879dbbcfc: Pulling fs layer [2021-07-30T22:54:18.410Z] 0d9ebad4ef96: Pulling fs layer [2021-07-30T22:54:18.410Z] e9a5061849ea: Pulling fs layer [2021-07-30T22:54:18.410Z] d747dcd14b5f: Pulling fs layer [2021-07-30T22:54:18.410Z] 2de7ff778b66: Pulling fs layer [2021-07-30T22:54:18.410Z] 0d9ebad4ef96: Waiting [2021-07-30T22:54:18.410Z] e9a5061849ea: Waiting [2021-07-30T22:54:18.410Z] d747dcd14b5f: Waiting [2021-07-30T22:54:18.410Z] 2de7ff778b66: Waiting [2021-07-30T22:54:18.410Z] 9712f1f96733: Verifying Checksum [2021-07-30T22:54:18.410Z] 9712f1f96733: Download complete [2021-07-30T22:54:20.987Z] 63f879dbbcfc: Verifying Checksum [2021-07-30T22:54:20.987Z] 63f879dbbcfc: Download complete [2021-07-30T22:54:20.987Z] e9a5061849ea: Verifying Checksum [2021-07-30T22:54:20.987Z] e9a5061849ea: Download complete [2021-07-30T22:54:20.987Z] d747dcd14b5f: Verifying Checksum [2021-07-30T22:54:20.987Z] d747dcd14b5f: Download complete [2021-07-30T22:54:21.566Z] 2de7ff778b66: Verifying Checksum [2021-07-30T22:54:21.566Z] 2de7ff778b66: Download complete [2021-07-30T22:54:22.521Z] 0d9ebad4ef96: Verifying Checksum [2021-07-30T22:54:22.521Z] 0d9ebad4ef96: Download complete [2021-07-30T22:54:22.788Z] ab5ef0e58194: Verifying Checksum [2021-07-30T22:54:22.788Z] ab5ef0e58194: Download complete [2021-07-30T22:54:25.392Z] ab5ef0e58194: Pull complete [2021-07-30T22:54:25.392Z] 9712f1f96733: Pull complete [2021-07-30T22:54:25.991Z] 63f879dbbcfc: Pull complete [2021-07-30T22:54:29.356Z] 0d9ebad4ef96: Pull complete [2021-07-30T22:54:29.356Z] e9a5061849ea: Pull complete [2021-07-30T22:54:29.356Z] d747dcd14b5f: Pull complete [2021-07-30T22:54:30.338Z] 2de7ff778b66: Pull complete [2021-07-30T22:54:30.338Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-30T22:54:30.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:54:30.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-30T22:54:30.436Z] prd-centos7-docker-4c-2g-1118 does not seem to be running inside a container [2021-07-30T22:54:30.491Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-30T22:54:33.908Z] $ docker top d2224aa452af479c0fd946c1452952fc9aeced467c0ed9d8b04b8c4bf309ca41 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:54:34.014Z] provisioning config files... [2021-07-30T22:54:34.029Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6495017031851035578tmp [2021-07-30T22:54:34.049Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7072264905395632280tmp [2021-07-30T22:54:34.067Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4296122819451808097tmp [Pipeline] { [Pipeline] echo [2021-07-30T22:54:34.091Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:54:34.401Z] ---> sigul-configuration.sh [2021-07-30T22:54:34.401Z] gpg: directory `/root/.gnupg' created [2021-07-30T22:54:34.401Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-30T22:54:34.401Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-30T22:54:34.401Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-30T22:54:34.401Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-30T22:54:34.401Z] gpg: CAST5 encrypted data [2021-07-30T22:54:34.401Z] gpg: encrypted with 1 passphrase [2021-07-30T22:54:34.401Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-30T22:54:34.711Z] + mkdir /home/jenkins [2021-07-30T22:54:34.711Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-30T22:54:35.024Z] + 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-07-30T22:54:35.039Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:54:35.344Z] ---> sigul-install.sh [2021-07-30T22:54:35.344Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-07-30T22:54:35.656Z] + git tag --list [2021-07-30T22:54:35.656Z] v1.0.0 [2021-07-30T22:54:35.656Z] v1.1.0 [2021-07-30T22:54:35.656Z] v1.1.1 [2021-07-30T22:54:35.656Z] v1.1.2 [2021-07-30T22:54:35.656Z] v1.2.0 [2021-07-30T22:54:35.656Z] v1.2.1 [2021-07-30T22:54:35.656Z] v2.0.0 [2021-07-30T22:54:35.656Z] v2.0.1-dev.1 [Pipeline] sh [2021-07-30T22:54:36.116Z] + lftools sign git-tag v2.0.1-dev.1 [2021-07-30T22:54:36.384Z] Signing Git tag with Sigul... [2021-07-30T22:54:36.384Z] Signing v2.0.1-dev.1 [Pipeline] echo [2021-07-30T22:54:37.359Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:54:37.671Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-30T22:54:37.721Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-30T22:54:37.757Z] $ docker stop --time=1 d2224aa452af479c0fd946c1452952fc9aeced467c0ed9d8b04b8c4bf309ca41 [2021-07-30T22:54:38.991Z] $ docker rm -f d2224aa452af479c0fd946c1452952fc9aeced467c0ed9d8b04b8c4bf309ca41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:54:39.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:54:39.640Z] . [Pipeline] withDockerContainer [2021-07-30T22:54:39.727Z] prd-centos7-docker-4c-2g-1118 does not seem to be running inside a container [2021-07-30T22:54:39.775Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:54:40.195Z] $ docker top 54878556736fee35ca8fa00eeefb71dacc2ed8e6a0591245f44700fb048aff44 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:54:40.328Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:54:40.328Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:54:40.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:54:40.439Z] $ docker exec 54878556736fee35ca8fa00eeefb71dacc2ed8e6a0591245f44700fb048aff44 ssh-agent [2021-07-30T22:54:40.559Z] SSH_AUTH_SOCK=/tmp/ssh-mTlCvR8MWupA/agent.13 [2021-07-30T22:54:40.559Z] SSH_AGENT_PID=20 [2021-07-30T22:54:40.567Z] Running ssh-add (command line suppressed) [2021-07-30T22:54:40.660Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9028423265778806431.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9028423265778806431.key) [2021-07-30T22:54:40.683Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:54:40.996Z] + git semver bump pre [2021-07-30T22:54:40.996Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:54:40.996Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-07-30T22:54:40.996Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-07-30T22:54:40.996Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:54:40.996Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:54:40.996Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:54:40.996Z] # $SEMVER_BRANCH = main [2021-07-30T22:54:40.996Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-07-30T22:54:40.996Z] 2.0.1-dev.2 [Pipeline] } [2021-07-30T22:54:41.009Z] $ docker exec --env ******** --env ******** 54878556736fee35ca8fa00eeefb71dacc2ed8e6a0591245f44700fb048aff44 ssh-agent -k [2021-07-30T22:54:41.112Z] unset SSH_AUTH_SOCK; [2021-07-30T22:54:41.112Z] unset SSH_AGENT_PID; [2021-07-30T22:54:41.112Z] echo Agent pid 20 killed; [2021-07-30T22:54:41.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:54:41.480Z] + git semver [Pipeline] } [2021-07-30T22:54:41.499Z] $ docker stop --time=1 54878556736fee35ca8fa00eeefb71dacc2ed8e6a0591245f44700fb048aff44 [2021-07-30T22:54:42.712Z] $ docker rm -f 54878556736fee35ca8fa00eeefb71dacc2ed8e6a0591245f44700fb048aff44 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:54:43.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:54:43.116Z] . [Pipeline] withDockerContainer [2021-07-30T22:54:43.198Z] prd-centos7-docker-4c-2g-1118 does not seem to be running inside a container [2021-07-30T22:54:43.255Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:54:43.646Z] $ docker top 91d19e9b23e3d053e2beb9b517d49fd56f7c6c35794ec222a919b90a0711e923 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:54:43.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:54:43.783Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:54:43.912Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:54:43.921Z] $ docker exec 91d19e9b23e3d053e2beb9b517d49fd56f7c6c35794ec222a919b90a0711e923 ssh-agent [2021-07-30T22:54:44.039Z] SSH_AUTH_SOCK=/tmp/ssh-acUHxOTrLUdJ/agent.14 [2021-07-30T22:54:44.039Z] SSH_AGENT_PID=20 [2021-07-30T22:54:44.048Z] Running ssh-add (command line suppressed) [2021-07-30T22:54:44.144Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5872262105690843052.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5872262105690843052.key) [2021-07-30T22:54:44.169Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:54:44.479Z] + git semver push [2021-07-30T22:54:44.479Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:54:44.479Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-07-30T22:54:44.479Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-07-30T22:54:44.479Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:54:44.479Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:54:44.479Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:54:44.479Z] # $SEMVER_BRANCH = main [2021-07-30T22:54:44.479Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-07-30T22:54:49.843Z] $ docker exec --env ******** --env ******** 91d19e9b23e3d053e2beb9b517d49fd56f7c6c35794ec222a919b90a0711e923 ssh-agent -k [2021-07-30T22:54:49.937Z] unset SSH_AUTH_SOCK; [2021-07-30T22:54:49.937Z] unset SSH_AGENT_PID; [2021-07-30T22:54:49.937Z] echo Agent pid 20 killed; [2021-07-30T22:54:49.953Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:54:50.311Z] + git semver [Pipeline] } [2021-07-30T22:54:50.327Z] $ docker stop --time=1 91d19e9b23e3d053e2beb9b517d49fd56f7c6c35794ec222a919b90a0711e923 [2021-07-30T22:54:51.520Z] $ docker rm -f 91d19e9b23e3d053e2beb9b517d49fd56f7c6c35794ec222a919b90a0711e923 [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] libraryResource [Pipeline] sh [2021-07-30T22:54:52.488Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:54:53.079Z] ---> package-listing.sh [2021-07-30T22:54:53.080Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-30T22:54:53.080Z] ++ facter osfamily [2021-07-30T22:54:53.348Z] + OS_FAMILY=redhat [2021-07-30T22:54:53.348Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-07-30T22:54:53.348Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-30T22:54:53.348Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-30T22:54:53.348Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-30T22:54:53.348Z] + PACKAGES=/tmp/packages_start.txt [2021-07-30T22:54:53.348Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-07-30T22:54:53.348Z] + PACKAGES=/tmp/packages_end.txt [2021-07-30T22:54:53.348Z] + case "${OS_FAMILY}" in [2021-07-30T22:54:53.348Z] + sort [2021-07-30T22:54:53.348Z] + rpm -qa [2021-07-30T22:54:53.938Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-30T22:54:53.938Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-30T22:54:53.938Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-30T22:54:53.938Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-07-30T22:54:53.938Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-07-30T22:54:53.938Z] + 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-07-30T22:54:53.954Z] 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-07-30T22:54:54.255Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:54:54.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:54:54.839Z] [2021-07-30T22:54:54.839Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:54:55.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:54:55.173Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T22:54:55.173Z] b4d181a07f80: Pulling fs layer [2021-07-30T22:54:55.173Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T22:54:55.173Z] ed53099fbce6: Pulling fs layer [2021-07-30T22:54:55.173Z] dc539afda2c1: Pulling fs layer [2021-07-30T22:54:55.173Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T22:54:55.173Z] 9065ff56babe: Pulling fs layer [2021-07-30T22:54:55.173Z] d287ab97295c: Pulling fs layer [2021-07-30T22:54:55.173Z] dc539afda2c1: Waiting [2021-07-30T22:54:55.173Z] 77bc0d833cb6: Waiting [2021-07-30T22:54:55.173Z] 9065ff56babe: Waiting [2021-07-30T22:54:55.173Z] d287ab97295c: Waiting [2021-07-30T22:54:55.440Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T22:54:55.440Z] a1111a8f2ec3: Download complete [2021-07-30T22:54:55.440Z] dc539afda2c1: Verifying Checksum [2021-07-30T22:54:55.440Z] dc539afda2c1: Download complete [2021-07-30T22:54:55.705Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T22:54:55.705Z] 77bc0d833cb6: Download complete [2021-07-30T22:54:55.705Z] 9065ff56babe: Verifying Checksum [2021-07-30T22:54:55.705Z] 9065ff56babe: Download complete [2021-07-30T22:54:55.705Z] ed53099fbce6: Verifying Checksum [2021-07-30T22:54:55.705Z] ed53099fbce6: Download complete [2021-07-30T22:54:56.662Z] b4d181a07f80: Verifying Checksum [2021-07-30T22:54:56.663Z] b4d181a07f80: Download complete [2021-07-30T22:54:57.638Z] b4d181a07f80: Pull complete [2021-07-30T22:54:57.907Z] a1111a8f2ec3: Pull complete [2021-07-30T22:54:58.495Z] ed53099fbce6: Pull complete [2021-07-30T22:54:58.495Z] dc539afda2c1: Pull complete [2021-07-30T22:54:58.762Z] 77bc0d833cb6: Pull complete [2021-07-30T22:54:58.762Z] 9065ff56babe: Pull complete [2021-07-30T22:55:00.717Z] d287ab97295c: Verifying Checksum [2021-07-30T22:55:00.717Z] d287ab97295c: Download complete [2021-07-30T22:55:05.094Z] d287ab97295c: Pull complete [2021-07-30T22:55:05.094Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T22:55:05.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:55:05.094Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T22:55:05.191Z] prd-centos7-docker-4c-2g-1118 does not seem to be running inside a container [2021-07-30T22:55:05.243Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T22:55:08.050Z] $ docker top d088e7cedad01aeff936f31d9789b3f0fc03261ee03e213713223ca80d4993e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:55:08.445Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-30T22:55:08.762Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-30T22:55:09.074Z] + ls /var/log/sa-host [2021-07-30T22:55:09.074Z] + sadf -c /var/log/sa-host/sa05 [2021-07-30T22:55:09.074Z] file_magic: OK [2021-07-30T22:55:09.074Z] HZ: Using current value: 100 [2021-07-30T22:55:09.074Z] file_header: OK [2021-07-30T22:55:09.074Z] 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-07-30T22:55:09.074Z] Statistics: [2021-07-30T22:55:09.074Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T22:55:09.074Z] File successfully converted to sysstat format version 12.0.3 [2021-07-30T22:55:09.074Z] + sadf -c /var/log/sa-host/sa30 [2021-07-30T22:55:09.074Z] file_magic: OK [2021-07-30T22:55:09.074Z] HZ: Using current value: 100 [2021-07-30T22:55:09.074Z] file_header: OK [2021-07-30T22:55:09.074Z] 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-07-30T22:55:09.074Z] Statistics: [2021-07-30T22:55:09.074Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T22:55:09.074Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:55:09.282Z] provisioning config files... [2021-07-30T22:55:09.299Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config845154851377154769tmp [Pipeline] { [Pipeline] echo [2021-07-30T22:55:09.325Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:55:09.642Z] ---> create-netrc.sh [Pipeline] } [2021-07-30T22:55:09.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:55:10.035Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-30T22:55:10.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:55:10.368Z] ---> sudo-logs.sh [2021-07-30T22:55:10.368Z] Archiving 'sudo' log.. [2021-07-30T22:55:10.368Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1118.vexxhost.local: Name or service not known [2021-07-30T22:55:10.368Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1118.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-30T22:55:10.406Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:55:10.716Z] ---> job-cost.sh [2021-07-30T22:55:10.716Z] lf-activate-venv: SKIPPING [2021-07-30T22:55:10.716Z] DEBUG: total: 0.18000000715255737 [2021-07-30T22:55:10.716Z] INFO: Retrieving Stack Cost... [2021-07-30T22:55:11.676Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T22:55:11.943Z] INFO: Archiving Costs [Pipeline] echo [2021-07-30T22:55:11.961Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:55:12.273Z] ---> logs-deploy.sh [2021-07-30T22:55:12.273Z] lf-activate-venv: SKIPPING [2021-07-30T22:55:12.273Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/2 [2021-07-30T22:55:12.273Z] INFO: archiving workspace using pattern(s): [2021-07-30T22:55:12.864Z] Archives upload complete. [2021-07-30T22:55:13.131Z] INFO: archiving logs to Nexus