Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5094190439890153968.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7966366326382095230.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 9d0281235b943b7ad605f650702698f9078b2862 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/master/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3841211723174854148.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2738354890919785105.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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/master/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6553281945743386332.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-83 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_master@tmp/jenkins-gitclient-ssh2485776664503678463.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 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 (master) > 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 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 Commit message: "Merge pull request #96 from lenny-intel/secure-bus-rework" > git rev-list --no-walk 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-14T08:27:58.789Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-14T08:27:58.893Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-14T08:27:58.922Z] ========================================================= [2021-05-14T08:27:58.922Z] EdgeX Global Pipelines Version Info [2021-05-14T08:27:58.922Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:28:00.450Z] ------------------- [2021-05-14T08:28:00.450Z] stable info: [2021-05-14T08:28:00.450Z] ------------------- [2021-05-14T08:28:00.450Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-14T08:28:00.450Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T08:28:00.450Z] Message: update stable to v1.0.192 [2021-05-14T08:28:01.399Z] ------------------- [2021-05-14T08:28:01.399Z] experimental info: [2021-05-14T08:28:01.399Z] ------------------- [2021-05-14T08:28:01.399Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-14T08:28:01.400Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T08:28:01.400Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-14T08:28:01.539Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-14T08:28:01.577Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-14T08:28:01.599Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-14T08:28:01.623Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-14T08:28:01.648Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-14T08:28:01.674Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-14T08:28:01.703Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-14T08:28:01.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-14T08:28:01.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-14T08:28:01.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-14T08:28:01.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-14T08:28:01.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-14T08:28:01.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-14T08:28:01.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-14T08:28:01.896Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T08:28:01.920Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T08:28:01.942Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T08:28:01.963Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T08:28:01.986Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-14T08:28:02.009Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-14T08:28:02.050Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-14T08:28:02.077Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-14T08:28:02.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-14T08:28:02.125Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-14T08:28:02.149Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-14T08:28:02.173Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-14T08:28:02.198Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-14T08:28:02.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-14T08:28:02.244Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-14T08:28:02.267Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] echo [2021-05-14T08:28:02.289Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ab6185 [Pipeline] echo [2021-05-14T08:28:02.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T08:28:02.399Z] provisioning config files... [2021-05-14T08:28:02.423Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config955404638791744643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:28:02.750Z] ---> docker-login.sh [2021-05-14T08:28:02.750Z] nexus3.edgexfoundry.org:10001 [2021-05-14T08:28:03.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:28:03.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:28:03.278Z] Configure a credential helper to remove this warning. See [2021-05-14T08:28:03.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:28:03.278Z] [2021-05-14T08:28:03.278Z] Login Succeeded [2021-05-14T08:28:03.278Z] nexus3.edgexfoundry.org:10002 [2021-05-14T08:28:03.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:28:03.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:28:03.541Z] Configure a credential helper to remove this warning. See [2021-05-14T08:28:03.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:28:03.541Z] [2021-05-14T08:28:03.541Z] Login Succeeded [2021-05-14T08:28:03.541Z] nexus3.edgexfoundry.org:10003 [2021-05-14T08:28:03.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:28:03.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:28:03.541Z] Configure a credential helper to remove this warning. See [2021-05-14T08:28:03.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:28:03.541Z] [2021-05-14T08:28:03.541Z] Login Succeeded [2021-05-14T08:28:03.541Z] nexus3.edgexfoundry.org:10004 [2021-05-14T08:28:03.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:28:03.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:28:03.803Z] Configure a credential helper to remove this warning. See [2021-05-14T08:28:03.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:28:03.803Z] [2021-05-14T08:28:03.803Z] Login Succeeded [2021-05-14T08:28:03.803Z] docker.io [2021-05-14T08:28:03.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:28:04.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:28:04.383Z] Configure a credential helper to remove this warning. See [2021-05-14T08:28:04.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:28:04.383Z] [2021-05-14T08:28:04.383Z] Login Succeeded [2021-05-14T08:28:04.383Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T08:28:04.396Z] 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-05-14T08:28:04.906Z] + git log --format=format:%s -1 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] echo [2021-05-14T08:28:04.957Z] GIT_COMMIT: 8ab618566fd99c79b3e6b1ee7b4c674816e04a15, Commit Message: Merge pull request #96 from lenny-intel/secure-bus-rework [Pipeline] echo [2021-05-14T08:28:04.981Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:28:06.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T08:28:06.010Z] [2021-05-14T08:28:06.010Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:28:06.344Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T08:28:06.344Z] latest: Pulling from edgex-devops/git-semver [2021-05-14T08:28:06.344Z] 31603596830f: Pulling fs layer [2021-05-14T08:28:06.344Z] 54011a49482f: Pulling fs layer [2021-05-14T08:28:06.344Z] a6820b24f6d8: Pulling fs layer [2021-05-14T08:28:06.344Z] f581987b2513: Pulling fs layer [2021-05-14T08:28:06.344Z] f581987b2513: Waiting [2021-05-14T08:28:06.344Z] 54011a49482f: Download complete [2021-05-14T08:28:06.344Z] 31603596830f: Verifying Checksum [2021-05-14T08:28:06.344Z] 31603596830f: Download complete [2021-05-14T08:28:06.614Z] f581987b2513: Verifying Checksum [2021-05-14T08:28:06.614Z] f581987b2513: Download complete [2021-05-14T08:28:06.614Z] a6820b24f6d8: Verifying Checksum [2021-05-14T08:28:06.614Z] a6820b24f6d8: Download complete [2021-05-14T08:28:06.878Z] 31603596830f: Pull complete [2021-05-14T08:28:06.878Z] 54011a49482f: Pull complete [2021-05-14T08:28:07.831Z] a6820b24f6d8: Pull complete [2021-05-14T08:28:08.098Z] f581987b2513: Pull complete [2021-05-14T08:28:08.098Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-14T08:28:08.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T08:28:08.098Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-14T08:28:08.235Z] prd-centos7-docker-4c-2g-83 does not seem to be running inside a container [2021-05-14T08:28:08.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T08:28:10.284Z] $ docker top 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T08:28:10.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T08:28:10.472Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T08:28:10.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T08:28:10.713Z] $ docker exec 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b ssh-agent [2021-05-14T08:28:10.903Z] SSH_AUTH_SOCK=/tmp/ssh-99H0ZZMI3FkW/agent.12 [2021-05-14T08:28:10.903Z] SSH_AGENT_PID=17 [2021-05-14T08:28:10.913Z] Running ssh-add (command line suppressed) [2021-05-14T08:28:11.044Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1559411661433058819.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1559411661433058819.key) [2021-05-14T08:28:11.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T08:28:11.405Z] + git tag --points-at HEAD [Pipeline] } [2021-05-14T08:28:11.427Z] $ docker exec --env ******** --env ******** 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b ssh-agent -k [2021-05-14T08:28:11.549Z] unset SSH_AUTH_SOCK; [2021-05-14T08:28:11.549Z] unset SSH_AGENT_PID; [2021-05-14T08:28:11.549Z] echo Agent pid 17 killed; [2021-05-14T08:28:11.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-14T08:28:11.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T08:28:11.654Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T08:28:11.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T08:28:11.846Z] $ docker exec 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b ssh-agent [2021-05-14T08:28:12.025Z] SSH_AUTH_SOCK=/tmp/ssh-FKoKFMMSxBPJ/agent.45 [2021-05-14T08:28:12.025Z] SSH_AGENT_PID=50 [2021-05-14T08:28:12.033Z] Running ssh-add (command line suppressed) [2021-05-14T08:28:12.169Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4974546625599323616.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4974546625599323616.key) [2021-05-14T08:28:12.229Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T08:28:12.542Z] + git semver init [2021-05-14T08:28:12.542Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T08:28:12.542Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-14T08:28:12.542Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-14T08:28:12.542Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T08:28:12.542Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T08:28:12.542Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T08:28:12.542Z] # $SEMVER_BRANCH = master [2021-05-14T08:28:12.542Z] # $SEMVER_TEMP = /tmp/semver-423934107 [2021-05-14T08:28:12.542Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-14T08:28:13.949Z] # '/tmp/semver-423934107' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-05-14T08:28:13.949Z] # -> Force: false [2021-05-14T08:28:13.949Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-14T08:28:13.965Z] $ docker exec --env ******** --env ******** 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b ssh-agent -k [2021-05-14T08:28:14.080Z] unset SSH_AUTH_SOCK; [2021-05-14T08:28:14.080Z] unset SSH_AGENT_PID; [2021-05-14T08:28:14.080Z] echo Agent pid 50 killed; [2021-05-14T08:28:14.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T08:28:14.492Z] + git semver [Pipeline] } [2021-05-14T08:28:14.512Z] $ docker stop --time=1 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b [2021-05-14T08:28:15.967Z] $ docker rm -f 265b3ede5c1c4fc3903c8c5f299cc143cf3e6a97d84ffb7bc64958834cdf324b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T08:28:16.378Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-14T08:28:16.711Z] Stashed 1 file(s) [Pipeline] echo [2021-05-14T08:28:16.715Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.10 [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-05-14T08:28:31.991Z] Still waiting to schedule task [2021-05-14T08:28:31.992Z] ‘prd-centos7-docker-4c-2g-84’ is offline [2021-05-14T08:28:31.992Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-14T08:28:31.995Z] Still waiting to schedule task [2021-05-14T08:28:31.995Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-14T08:30:21.275Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-85 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-14T08:30:21.297Z] Running in /w/workspace/device-rest-go/43 [Pipeline] { [Pipeline] checkout [2021-05-14T08:30:21.512Z] The recommended git tool is: git [2021-05-14T08:30:26.687Z] using credential edgex-jenkins-ssh [2021-05-14T08:30:26.730Z] Cloning the remote Git repository [2021-05-14T08:30:26.780Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-14T08:30:26.923Z] > git init /w/workspace/device-rest-go/43 # timeout=10 [2021-05-14T08:30:27.022Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-14T08:30:27.023Z] > git --version # timeout=10 [2021-05-14T08:30:27.057Z] > git --version # 'git version 2.17.1' [2021-05-14T08:30:27.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T08:30:27.154Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T08:30:29.048Z] Avoid second fetch [2021-05-14T08:30:29.049Z] Checking out Revision 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 (master) [2021-05-14T08:30:29.004Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-14T08:30:29.027Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T08:30:29.065Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T08:30:29.088Z] > git checkout -f 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 [2021-05-14T08:30:30.389Z] Running on prd-centos7-docker-4c-2g-88 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-14T08:30:30.407Z] Running in /w/workspace/device-rest-go/43 [Pipeline] { [Pipeline] checkout [2021-05-14T08:30:30.620Z] The recommended git tool is: git [2021-05-14T08:30:33.591Z] Commit message: "Merge pull request #96 from lenny-intel/secure-bus-rework" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T08:30:34.775Z] using credential edgex-jenkins-ssh [2021-05-14T08:30:34.804Z] Cloning the remote Git repository [2021-05-14T08:30:34.871Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-14T08:30:35.277Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T08:30:35.622Z] + sudo service docker restart [2021-05-14T08:30:35.622Z] + true [2021-05-14T08:30:34.843Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-14T08:30:34.959Z] > git init /w/workspace/device-rest-go/43 # timeout=10 [2021-05-14T08:30:35.052Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-14T08:30:35.052Z] > git --version # timeout=10 [2021-05-14T08:30:35.062Z] > git --version # 'git version 2.24.3' [2021-05-14T08:30:35.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T08:30:35.098Z] [INFO] Currently running in a labeled security context [2021-05-14T08:30:35.098Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T08:30:35.099Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/43@tmp/jenkins-gitclient-ssh209729866600977481.key [2021-05-14T08:30:35.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T08:30:36.365Z] Avoid second fetch [2021-05-14T08:30:36.365Z] Checking out Revision 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 (master) [2021-05-14T08:30:36.338Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-14T08:30:36.352Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T08:30:36.384Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T08:30:36.392Z] > git checkout -f 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T08:30:38.298Z] provisioning config files... [2021-05-14T08:30:38.324Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config1430124937717064367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:30:38.708Z] ---> docker-login.sh [2021-05-14T08:30:38.708Z] nexus3.edgexfoundry.org:10001 [2021-05-14T08:30:39.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:30:40.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:30:40.303Z] Configure a credential helper to remove this warning. See [2021-05-14T08:30:40.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:30:40.303Z] [2021-05-14T08:30:40.303Z] Login Succeeded [2021-05-14T08:30:40.303Z] nexus3.edgexfoundry.org:10002 [2021-05-14T08:30:40.559Z] Commit message: "Merge pull request #96 from lenny-intel/secure-bus-rework" [2021-05-14T08:30:40.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:30:40.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:30:40.576Z] Configure a credential helper to remove this warning. See [2021-05-14T08:30:40.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:30:40.576Z] [2021-05-14T08:30:40.576Z] Login Succeeded [2021-05-14T08:30:40.576Z] nexus3.edgexfoundry.org:10003 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T08:30:41.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:30:41.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:30:41.189Z] Configure a credential helper to remove this warning. See [2021-05-14T08:30:41.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:30:41.189Z] [2021-05-14T08:30:41.189Z] Login Succeeded [2021-05-14T08:30:41.189Z] nexus3.edgexfoundry.org:10004 [2021-05-14T08:30:41.677Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-14T08:30:41.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:30:41.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:30:41.822Z] Configure a credential helper to remove this warning. See [2021-05-14T08:30:41.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:30:41.822Z] [2021-05-14T08:30:41.822Z] Login Succeeded [2021-05-14T08:30:41.822Z] docker.io [2021-05-14T08:30:42.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:30:42.100Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T08:30:42.408Z] + sudo service docker restart [2021-05-14T08:30:42.408Z] + true [2021-05-14T08:30:42.408Z] Redirecting to /bin/systemctl restart docker.service [2021-05-14T08:30:42.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:30:42.689Z] Configure a credential helper to remove this warning. See [2021-05-14T08:30:42.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:30:42.689Z] [2021-05-14T08:30:42.689Z] Login Succeeded [2021-05-14T08:30:42.689Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T08:30:42.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T08:30:43.008Z] ========================================================= [2021-05-14T08:30:43.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-14T08:30:43.008Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:30:43.359Z] + 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-05-14T08:30:43.359Z] Sending build context to Docker daemon 92.16kB [2021-05-14T08:30:43.641Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T08:30:43.641Z] Step 2/10 : FROM ${BASE} [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T08:30:43.850Z] provisioning config files... [2021-05-14T08:30:43.868Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config3577790134300303009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:30:43.932Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-14T08:30:43.932Z] 595b0fe564bb: Pulling fs layer [2021-05-14T08:30:43.933Z] 7186ed65a4f7: Pulling fs layer [2021-05-14T08:30:43.933Z] 316046926c0a: Pulling fs layer [2021-05-14T08:30:43.933Z] 4ebd0625c992: Pulling fs layer [2021-05-14T08:30:43.933Z] 207e8628e3a3: Pulling fs layer [2021-05-14T08:30:43.933Z] c791037a9be2: Pulling fs layer [2021-05-14T08:30:43.933Z] ffd874e62e21: Pulling fs layer [2021-05-14T08:30:43.933Z] 207e8628e3a3: Waiting [2021-05-14T08:30:43.933Z] c791037a9be2: Waiting [2021-05-14T08:30:43.933Z] ffd874e62e21: Waiting [2021-05-14T08:30:43.933Z] 4ebd0625c992: Waiting [2021-05-14T08:30:43.933Z] 316046926c0a: Verifying Checksum [2021-05-14T08:30:43.933Z] 316046926c0a: Download complete [2021-05-14T08:30:43.933Z] 7186ed65a4f7: Download complete [2021-05-14T08:30:43.933Z] 207e8628e3a3: Verifying Checksum [2021-05-14T08:30:43.933Z] 207e8628e3a3: Download complete [2021-05-14T08:30:43.933Z] c791037a9be2: Download complete [2021-05-14T08:30:43.933Z] 595b0fe564bb: Verifying Checksum [2021-05-14T08:30:43.933Z] 595b0fe564bb: Download complete [2021-05-14T08:30:44.304Z] ---> docker-login.sh [2021-05-14T08:30:44.304Z] nexus3.edgexfoundry.org:10001 [2021-05-14T08:30:44.539Z] 595b0fe564bb: Pull complete [2021-05-14T08:30:44.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:30:44.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:30:44.920Z] Configure a credential helper to remove this warning. See [2021-05-14T08:30:44.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:30:44.920Z] [2021-05-14T08:30:44.920Z] Login Succeeded [2021-05-14T08:30:44.920Z] nexus3.edgexfoundry.org:10002 [2021-05-14T08:30:45.158Z] 7186ed65a4f7: Pull complete [2021-05-14T08:30:45.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:30:45.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:30:45.216Z] Configure a credential helper to remove this warning. See [2021-05-14T08:30:45.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:30:45.216Z] [2021-05-14T08:30:45.216Z] Login Succeeded [2021-05-14T08:30:45.216Z] nexus3.edgexfoundry.org:10003 [2021-05-14T08:30:45.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:30:45.456Z] 316046926c0a: Pull complete [2021-05-14T08:30:45.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:30:45.494Z] Configure a credential helper to remove this warning. See [2021-05-14T08:30:45.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:30:45.494Z] [2021-05-14T08:30:45.494Z] Login Succeeded [2021-05-14T08:30:45.494Z] nexus3.edgexfoundry.org:10004 [2021-05-14T08:30:45.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:30:45.729Z] ffd874e62e21: Download complete [2021-05-14T08:30:45.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:30:45.760Z] Configure a credential helper to remove this warning. See [2021-05-14T08:30:45.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:30:45.760Z] [2021-05-14T08:30:45.760Z] Login Succeeded [2021-05-14T08:30:45.760Z] docker.io [2021-05-14T08:30:45.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:30:46.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:30:46.027Z] Configure a credential helper to remove this warning. See [2021-05-14T08:30:46.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:30:46.027Z] [2021-05-14T08:30:46.027Z] Login Succeeded [2021-05-14T08:30:46.027Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T08:30:46.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T08:30:46.288Z] ========================================================= [2021-05-14T08:30:46.288Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-14T08:30:46.288Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:30:46.631Z] + 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-05-14T08:30:46.631Z] Sending build context to Docker daemon 92.16kB [2021-05-14T08:30:46.901Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T08:30:46.901Z] Step 2/10 : FROM ${BASE} [2021-05-14T08:30:46.901Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-14T08:30:46.901Z] 540db60ca938: Pulling fs layer [2021-05-14T08:30:46.901Z] adcc1eea9eea: Pulling fs layer [2021-05-14T08:30:46.901Z] 4c4ab2625f07: Pulling fs layer [2021-05-14T08:30:46.901Z] 0510c868ecb4: Pulling fs layer [2021-05-14T08:30:46.901Z] afea3b2eda06: Pulling fs layer [2021-05-14T08:30:46.901Z] 7809a108b3ef: Pulling fs layer [2021-05-14T08:30:46.901Z] f706445af74f: Pulling fs layer [2021-05-14T08:30:46.901Z] 0510c868ecb4: Waiting [2021-05-14T08:30:46.901Z] afea3b2eda06: Waiting [2021-05-14T08:30:46.901Z] 7809a108b3ef: Waiting [2021-05-14T08:30:46.901Z] f706445af74f: Waiting [2021-05-14T08:30:46.901Z] 4c4ab2625f07: Download complete [2021-05-14T08:30:46.901Z] adcc1eea9eea: Verifying Checksum [2021-05-14T08:30:46.901Z] adcc1eea9eea: Download complete [2021-05-14T08:30:46.901Z] afea3b2eda06: Download complete [2021-05-14T08:30:46.901Z] 7809a108b3ef: Verifying Checksum [2021-05-14T08:30:46.901Z] 7809a108b3ef: Download complete [2021-05-14T08:30:46.901Z] 540db60ca938: Verifying Checksum [2021-05-14T08:30:46.901Z] 540db60ca938: Download complete [2021-05-14T08:30:47.171Z] 4ebd0625c992: Verifying Checksum [2021-05-14T08:30:47.171Z] 4ebd0625c992: Download complete [2021-05-14T08:30:47.503Z] 540db60ca938: Pull complete [2021-05-14T08:30:47.771Z] adcc1eea9eea: Pull complete [2021-05-14T08:30:47.771Z] 4c4ab2625f07: Pull complete [2021-05-14T08:30:48.733Z] f706445af74f: Verifying Checksum [2021-05-14T08:30:49.321Z] 0510c868ecb4: Verifying Checksum [2021-05-14T08:30:49.321Z] 0510c868ecb4: Download complete [2021-05-14T08:30:56.010Z] 0510c868ecb4: Pull complete [2021-05-14T08:30:56.010Z] afea3b2eda06: Pull complete [2021-05-14T08:30:56.010Z] 7809a108b3ef: Pull complete [2021-05-14T08:30:59.614Z] 4ebd0625c992: Pull complete [2021-05-14T08:30:59.614Z] 207e8628e3a3: Pull complete [2021-05-14T08:30:59.614Z] c791037a9be2: Pull complete [2021-05-14T08:31:00.412Z] f706445af74f: Pull complete [2021-05-14T08:31:00.412Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-14T08:31:00.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-14T08:31:00.413Z] ---> b068be0155e3 [2021-05-14T08:31:00.413Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T08:31:01.389Z] ---> Running in d3ed8a718825 [2021-05-14T08:31:01.980Z] Removing intermediate container d3ed8a718825 [2021-05-14T08:31:01.980Z] ---> 03700ceef786 [2021-05-14T08:31:01.980Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T08:31:01.980Z] ---> Running in 881d6c24c746 [2021-05-14T08:31:01.980Z] Removing intermediate container 881d6c24c746 [2021-05-14T08:31:01.980Z] ---> 4b69f3ef1673 [2021-05-14T08:31:01.980Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-14T08:31:02.252Z] ---> Running in 2b9abc1b4c96 [2021-05-14T08:31:02.252Z] Removing intermediate container 2b9abc1b4c96 [2021-05-14T08:31:02.252Z] ---> 2f4b5d6b6bf1 [2021-05-14T08:31:02.252Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T08:31:02.521Z] ---> Running in f0709c3dcb92 [2021-05-14T08:31:03.024Z] ffd874e62e21: Pull complete [2021-05-14T08:31:03.024Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-14T08:31:03.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-14T08:31:03.024Z] ---> cfc18b08335c [2021-05-14T08:31:03.024Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T08:31:03.960Z] Removing intermediate container f0709c3dcb92 [2021-05-14T08:31:03.960Z] ---> fee851871827 [2021-05-14T08:31:03.960Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T08:31:03.960Z] ---> Running in c6fd83fc3b91 [2021-05-14T08:31:04.929Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T08:31:05.896Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T08:31:06.415Z] ---> Running in 0a594b3f5456 [2021-05-14T08:31:06.415Z] Removing intermediate container 0a594b3f5456 [2021-05-14T08:31:06.415Z] ---> 6ce37290a227 [2021-05-14T08:31:06.415Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T08:31:06.690Z] ---> Running in c899d2399449 [2021-05-14T08:31:06.854Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-14T08:31:06.854Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-14T08:31:06.854Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-14T08:31:07.143Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-14T08:31:07.143Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-14T08:31:07.143Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-14T08:31:07.285Z] Removing intermediate container c899d2399449 [2021-05-14T08:31:07.285Z] ---> 474ce6c10522 [2021-05-14T08:31:07.285Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-14T08:31:07.410Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-14T08:31:07.558Z] ---> Running in 96fcff81d0c0 [2021-05-14T08:31:07.675Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-14T08:31:07.675Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-14T08:31:07.834Z] Removing intermediate container 96fcff81d0c0 [2021-05-14T08:31:07.835Z] ---> 6907d89e8e13 [2021-05-14T08:31:07.835Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T08:31:07.941Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T08:31:07.941Z] OK: 154 MiB in 49 packages [2021-05-14T08:31:08.110Z] ---> Running in c2ddc0a6b6e6 [2021-05-14T08:31:09.368Z] Removing intermediate container c6fd83fc3b91 [2021-05-14T08:31:09.368Z] ---> 2e4b141daa86 [2021-05-14T08:31:09.368Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-14T08:31:09.368Z] ---> Running in 19bc3c0e5455 [2021-05-14T08:31:09.368Z] Removing intermediate container 19bc3c0e5455 [2021-05-14T08:31:09.368Z] ---> d99586ecc5cf [2021-05-14T08:31:09.368Z] Step 9/10 : COPY . . [2021-05-14T08:31:09.638Z] ---> ad848550e2e7 [2021-05-14T08:31:09.638Z] Step 10/10 : RUN go mod download [2021-05-14T08:31:09.938Z] ---> Running in ba60b6c69be2 [2021-05-14T08:31:10.732Z] Removing intermediate container c2ddc0a6b6e6 [2021-05-14T08:31:10.732Z] ---> eaa59af0622b [2021-05-14T08:31:10.732Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T08:31:10.732Z] ---> Running in 026a86921ea1 [2021-05-14T08:31:12.180Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T08:31:12.780Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T08:31:13.757Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-14T08:31:14.030Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-14T08:31:14.030Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-14T08:31:14.030Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-14T08:31:14.302Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-14T08:31:14.302Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-14T08:31:14.302Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-14T08:31:14.894Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-14T08:31:14.894Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-14T08:31:14.894Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T08:31:14.894Z] OK: 144 MiB in 49 packages [2021-05-14T08:31:16.324Z] Removing intermediate container 026a86921ea1 [2021-05-14T08:31:16.324Z] ---> 3adc92842cdd [2021-05-14T08:31:16.324Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-14T08:31:16.596Z] ---> Running in 3212e094a189 [2021-05-14T08:31:17.192Z] Removing intermediate container 3212e094a189 [2021-05-14T08:31:17.192Z] ---> 72fb394ec755 [2021-05-14T08:31:17.192Z] Step 9/10 : COPY . . [2021-05-14T08:31:18.179Z] ---> c0e47855b502 [2021-05-14T08:31:18.179Z] Step 10/10 : RUN go mod download [2021-05-14T08:31:18.473Z] ---> Running in 93029d531702 [2021-05-14T08:31:42.293Z] Removing intermediate container ba60b6c69be2 [2021-05-14T08:31:42.293Z] ---> bbdd952400d6 [2021-05-14T08:31:42.293Z] Successfully built bbdd952400d6 [2021-05-14T08:31:42.293Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:31:42.655Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T08:31:42.931Z] . [Pipeline] withDockerContainer [2021-05-14T08:31:43.081Z] prd-centos7-docker-4c-2g-88 does not seem to be running inside a container [2021-05-14T08:31:43.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@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 ******** ci-base-image-x86_64 cat [2021-05-14T08:31:44.085Z] $ docker top 0e04cf1b888d6003b1ae4cc5364bf793aca8ed17c3b2eb39950abddcd1020419 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T08:31:44.553Z] + go version [2021-05-14T08:31:44.553Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-14T08:31:44.591Z] $ docker stop --time=1 0e04cf1b888d6003b1ae4cc5364bf793aca8ed17c3b2eb39950abddcd1020419 [2021-05-14T08:31:45.295Z] Removing intermediate container 93029d531702 [2021-05-14T08:31:45.295Z] ---> 1af3e979214e [2021-05-14T08:31:45.295Z] Successfully built 1af3e979214e [2021-05-14T08:31:45.295Z] Successfully tagged ci-base-image-arm64:latest [2021-05-14T08:31:46.090Z] $ docker rm -f 0e04cf1b888d6003b1ae4cc5364bf793aca8ed17c3b2eb39950abddcd1020419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:31:46.670Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T08:31:46.670Z] . [Pipeline] withDockerContainer [2021-05-14T08:31:46.768Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T08:31:46.768Z] . [2021-05-14T08:31:47.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-85 does not seem to be running inside a container [2021-05-14T08:31:47.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@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 ******** ci-base-image-arm64 cat [2021-05-14T08:31:48.993Z] $ docker top c5307e8fffc46ba2645eb6885c66147fbe4448bdb76ba0a2895c005e523a332b -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-05-14T08:31:49.444Z] prd-centos7-docker-4c-2g-88 does not seem to be running inside a container [2021-05-14T08:31:49.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@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 ******** ci-base-image-x86_64 cat [2021-05-14T08:31:50.527Z] $ docker top e4f6d4cedee1592858898cc2507233231f6faeddf659ef62dff5a1d84befbab3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-14T08:31:51.138Z] + go mod tidy [2021-05-14T08:31:51.421Z] + go version [2021-05-14T08:31:51.422Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-14T08:31:51.448Z] $ docker stop --time=1 c5307e8fffc46ba2645eb6885c66147fbe4448bdb76ba0a2895c005e523a332b [2021-05-14T08:31:53.410Z] $ docker rm -f c5307e8fffc46ba2645eb6885c66147fbe4448bdb76ba0a2895c005e523a332b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:31:54.000Z] + make test [2021-05-14T08:31:54.000Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-14T08:31:54.217Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T08:31:54.218Z] . [Pipeline] withDockerContainer [2021-05-14T08:31:54.493Z] prd-ubuntu18.04-docker-arm64-4c-16g-85 does not seem to be running inside a container [2021-05-14T08:31:54.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@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 ******** ci-base-image-arm64 cat [2021-05-14T08:31:55.000Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-14T08:31:56.210Z] $ docker top cd65d470eec77eee42bc48cb6f06754c9edfc7fcd50d1e0d159e280f76d4d5dd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T08:31:57.204Z] + go mod tidy [Pipeline] sh [2021-05-14T08:31:58.475Z] + make test [2021-05-14T08:31:58.475Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-14T08:31:59.917Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-14T08:32:17.473Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-14T08:32:21.016Z] ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 54.0% of statements [2021-05-14T08:32:21.016Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-14T08:32:33.509Z] gofmt -l . [2021-05-14T08:32:33.509Z] [ "`gofmt -l .`" = "" ] [2021-05-14T08:32:33.509Z] ./bin/test-go-mod-tidy.sh [2021-05-14T08:32:33.509Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-14T08:32:33.536Z] $ docker stop --time=1 e4f6d4cedee1592858898cc2507233231f6faeddf659ef62dff5a1d84befbab3 [2021-05-14T08:32:35.543Z] $ docker rm -f e4f6d4cedee1592858898cc2507233231f6faeddf659ef62dff5a1d84befbab3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T08:32:36.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T08:32:36.856Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-14T08:32:39.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T08:32:39.869Z] + ls -al . [2021-05-14T08:32:39.869Z] total 104 [2021-05-14T08:32:39.869Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 14 08:32 . [2021-05-14T08:32:39.869Z] drwxrwxr-x. 4 jenkins jenkins 30 May 14 08:30 .. [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 14 08:30 Attribution.txt [2021-05-14T08:32:39.869Z] drwxrwxr-x. 2 jenkins jenkins 64 May 14 08:30 bin [2021-05-14T08:32:39.869Z] drwxrwxr-x. 3 jenkins jenkins 32 May 14 08:30 cmd [2021-05-14T08:32:39.869Z] -rw-r--r--. 1 jenkins jenkins 8513 May 14 08:32 coverage.out [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 14 08:30 Dockerfile [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 14 08:30 Dockerfile.build [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 151 May 14 08:30 .dockerignore [2021-05-14T08:32:39.869Z] drwxrwxr-x. 2 jenkins jenkins 76 May 14 08:30 driver [2021-05-14T08:32:39.869Z] drwxrwxr-x. 8 jenkins jenkins 162 May 14 08:30 .git [2021-05-14T08:32:39.869Z] drwxrwxr-x. 2 jenkins jenkins 103 May 14 08:30 .github [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 339 May 14 08:30 .gitignore [2021-05-14T08:32:39.869Z] -rw-r--r--. 1 jenkins jenkins 285 May 14 08:32 go.mod [2021-05-14T08:32:39.869Z] -rw-r--r--. 1 jenkins jenkins 20782 May 14 08:31 go.sum [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 680 May 14 08:30 Jenkinsfile [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 14 08:30 LICENSE [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 989 May 14 08:30 Makefile [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 14 08:30 README.md [2021-05-14T08:32:39.869Z] drwxrwxr-x. 4 jenkins jenkins 71 May 14 08:30 snap [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 12 May 14 08:28 VERSION [2021-05-14T08:32:39.869Z] -rw-rw-r--. 1 jenkins jenkins 713 May 14 08:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:32:40.190Z] + 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=8ab618566fd99c79b3e6b1ee7b4c674816e04a15 --label arch=amd64 --label version=1.2.2-dev.10 . [2021-05-14T08:32:40.190Z] Sending build context to Docker daemon 101.9kB [2021-05-14T08:32:40.459Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T08:32:40.459Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-14T08:32:40.459Z] ---> bbdd952400d6 [2021-05-14T08:32:40.459Z] Step 3/24 : ARG MAKE='make build' [2021-05-14T08:32:40.459Z] ---> Running in 4193b3ae3913 [2021-05-14T08:32:40.727Z] Removing intermediate container 4193b3ae3913 [2021-05-14T08:32:40.727Z] ---> 4b1ba8b5d0c4 [2021-05-14T08:32:40.727Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T08:32:40.727Z] ---> Running in da1f01638dd1 [2021-05-14T08:32:40.999Z] Removing intermediate container da1f01638dd1 [2021-05-14T08:32:40.999Z] ---> c52c1fd79dab [2021-05-14T08:32:40.999Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T08:32:40.999Z] ---> Running in 77456b6fa221 [2021-05-14T08:32:41.267Z] Removing intermediate container 77456b6fa221 [2021-05-14T08:32:41.267Z] ---> 3a64bc55a4c0 [2021-05-14T08:32:41.267Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T08:32:41.267Z] ---> Running in 49c25e835f3a [2021-05-14T08:32:42.691Z] Removing intermediate container 49c25e835f3a [2021-05-14T08:32:42.691Z] ---> f067992c7ad2 [2021-05-14T08:32:42.691Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T08:32:42.691Z] ---> Running in 6b2edc120a01 [2021-05-14T08:32:42.956Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T08:32:43.913Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T08:32:44.874Z] OK: 154 MiB in 49 packages [2021-05-14T08:32:45.470Z] Removing intermediate container 6b2edc120a01 [2021-05-14T08:32:45.470Z] ---> 52310d1407ed [2021-05-14T08:32:45.470Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-14T08:32:45.470Z] ---> Running in b5fdc62164ad [2021-05-14T08:32:45.737Z] Removing intermediate container b5fdc62164ad [2021-05-14T08:32:45.737Z] ---> b56db71445d1 [2021-05-14T08:32:45.737Z] Step 9/24 : COPY . . [2021-05-14T08:32:46.004Z] ---> 21d1142d68d6 [2021-05-14T08:32:46.004Z] Step 10/24 : RUN make update [2021-05-14T08:32:46.004Z] ---> Running in 0f10a86b7a12 [2021-05-14T08:32:46.594Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-14T08:32:47.192Z] Removing intermediate container 0f10a86b7a12 [2021-05-14T08:32:47.192Z] ---> 53de96829ad6 [2021-05-14T08:32:47.192Z] Step 11/24 : RUN $MAKE [2021-05-14T08:32:47.192Z] ---> Running in 8922667d3444 [2021-05-14T08:32:48.598Z] go mod tidy [2021-05-14T08:32:48.598Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.10" -o cmd/device-rest-go ./cmd [2021-05-14T08:32:56.544Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-14T08:32:56.544Z] ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 54.0% of statements [2021-05-14T08:32:56.544Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-14T08:33:06.946Z] Removing intermediate container 8922667d3444 [2021-05-14T08:33:06.946Z] ---> 6c70e26f2dd3 [2021-05-14T08:33:06.946Z] Step 12/24 : FROM alpine:3.12 [2021-05-14T08:33:06.946Z] 3.12: Pulling from library/alpine [2021-05-14T08:33:06.946Z] 339de151aab4: Pulling fs layer [2021-05-14T08:33:06.946Z] 339de151aab4: Verifying Checksum [2021-05-14T08:33:06.946Z] 339de151aab4: Download complete [2021-05-14T08:33:06.946Z] 339de151aab4: Pull complete [2021-05-14T08:33:06.946Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T08:33:06.946Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T08:33:06.946Z] ---> 13621d1b12d4 [2021-05-14T08:33:06.946Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-14T08:33:06.946Z] ---> Running in 6cfae5be76ab [2021-05-14T08:33:06.946Z] Removing intermediate container 6cfae5be76ab [2021-05-14T08:33:06.946Z] ---> 2a5624f52afc [2021-05-14T08:33:06.946Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-14T08:33:06.946Z] ---> Running in b4db5e129bc2 [2021-05-14T08:33:06.946Z] Removing intermediate container b4db5e129bc2 [2021-05-14T08:33:06.946Z] ---> 971cf31cb634 [2021-05-14T08:33:06.946Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-14T08:33:06.946Z] ---> Running in 892dc4abfdd4 [2021-05-14T08:33:07.538Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-14T08:33:07.538Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-14T08:33:07.538Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-14T08:33:07.538Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-14T08:33:07.538Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-14T08:33:07.538Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-14T08:33:07.849Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-14T08:33:07.849Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-14T08:33:07.849Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T08:33:07.849Z] OK: 8 MiB in 20 packages [2021-05-14T08:33:08.439Z] Removing intermediate container 892dc4abfdd4 [2021-05-14T08:33:08.439Z] ---> 3a3cf6743cf8 [2021-05-14T08:33:08.439Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-14T08:33:09.022Z] ---> f500ae5d06bd [2021-05-14T08:33:09.022Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-14T08:33:09.292Z] ---> 42d7816669b3 [2021-05-14T08:33:09.292Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-14T08:33:09.881Z] ---> 36fa960e5f01 [2021-05-14T08:33:09.881Z] Step 19/24 : EXPOSE 49986 [2021-05-14T08:33:09.881Z] ---> Running in 6feb0074039f [2021-05-14T08:33:09.881Z] Removing intermediate container 6feb0074039f [2021-05-14T08:33:09.881Z] ---> dd68a2a68e14 [2021-05-14T08:33:09.881Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-14T08:33:10.147Z] ---> Running in aa1ab6735403 [2021-05-14T08:33:10.148Z] Removing intermediate container aa1ab6735403 [2021-05-14T08:33:10.148Z] ---> 5435df2d6b13 [2021-05-14T08:33:10.148Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-14T08:33:10.412Z] ---> Running in 4e0d1ed1d1ad [2021-05-14T08:33:10.412Z] Removing intermediate container 4e0d1ed1d1ad [2021-05-14T08:33:10.412Z] ---> 74a2b4837f2b [2021-05-14T08:33:10.412Z] Step 22/24 : LABEL arch=amd64 [2021-05-14T08:33:10.684Z] ---> Running in d9d70087153b [2021-05-14T08:33:10.949Z] Removing intermediate container d9d70087153b [2021-05-14T08:33:10.949Z] ---> 75a648cacab2 [2021-05-14T08:33:10.949Z] Step 23/24 : LABEL git_sha=8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [2021-05-14T08:33:10.949Z] ---> Running in 26aa1f68b916 [2021-05-14T08:33:11.212Z] Removing intermediate container 26aa1f68b916 [2021-05-14T08:33:11.212Z] ---> 9d1dfc4a657d [2021-05-14T08:33:11.212Z] Step 24/24 : LABEL version=1.2.2-dev.10 [2021-05-14T08:33:11.212Z] ---> Running in f02ce353209c [2021-05-14T08:33:11.477Z] Removing intermediate container f02ce353209c [2021-05-14T08:33:11.477Z] ---> 77ab01ed3c86 [2021-05-14T08:33:11.477Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-14T08:33:11.477Z] Successfully built 77ab01ed3c86 [2021-05-14T08:33:11.477Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T08:33:11.719Z] provisioning config files... [2021-05-14T08:33:11.735Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config7587286356454681953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:33:12.072Z] ---> docker-login.sh [2021-05-14T08:33:12.072Z] nexus3.edgexfoundry.org:10001 [2021-05-14T08:33:12.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:33:12.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:33:12.346Z] Configure a credential helper to remove this warning. See [2021-05-14T08:33:12.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:33:12.346Z] [2021-05-14T08:33:12.346Z] Login Succeeded [2021-05-14T08:33:12.346Z] nexus3.edgexfoundry.org:10002 [2021-05-14T08:33:12.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:33:12.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:33:12.629Z] Configure a credential helper to remove this warning. See [2021-05-14T08:33:12.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:33:12.629Z] [2021-05-14T08:33:12.629Z] Login Succeeded [2021-05-14T08:33:12.629Z] nexus3.edgexfoundry.org:10003 [2021-05-14T08:33:12.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:33:13.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:33:13.173Z] Configure a credential helper to remove this warning. See [2021-05-14T08:33:13.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:33:13.173Z] [2021-05-14T08:33:13.173Z] Login Succeeded [2021-05-14T08:33:13.173Z] nexus3.edgexfoundry.org:10004 [2021-05-14T08:33:13.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:33:13.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:33:13.454Z] Configure a credential helper to remove this warning. See [2021-05-14T08:33:13.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:33:13.454Z] [2021-05-14T08:33:13.454Z] Login Succeeded [2021-05-14T08:33:13.454Z] docker.io [2021-05-14T08:33:13.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:33:13.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:33:13.989Z] Configure a credential helper to remove this warning. See [2021-05-14T08:33:13.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:33:13.989Z] [2021-05-14T08:33:13.989Z] Login Succeeded [2021-05-14T08:33:13.989Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T08:33:14.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-14T08:33:14.080Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-05-14T08:33:14.080Z] 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [2021-05-14T08:33:14.080Z] latest [2021-05-14T08:33:14.080Z] 1.2.2-dev.10 [2021-05-14T08:33:14.080Z] 8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 [2021-05-14T08:33:14.080Z] master [2021-05-14T08:33:14.080Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:14.479Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:14.826Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [2021-05-14T08:33:14.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-14T08:33:14.827Z] 0652777e8ffe: Preparing [2021-05-14T08:33:14.827Z] 7a5e1bdd92c1: Preparing [2021-05-14T08:33:14.827Z] 17819b82d31f: Preparing [2021-05-14T08:33:14.827Z] c76de2c1afb0: Preparing [2021-05-14T08:33:14.827Z] 32f366d666a5: Preparing [2021-05-14T08:33:14.827Z] 32f366d666a5: Layer already exists [2021-05-14T08:33:15.098Z] 7a5e1bdd92c1: Pushed [2021-05-14T08:33:15.098Z] 0652777e8ffe: Pushed [2021-05-14T08:33:15.366Z] c76de2c1afb0: Pushed [2021-05-14T08:33:16.799Z] 17819b82d31f: Pushed [2021-05-14T08:33:16.799Z] 8ab618566fd99c79b3e6b1ee7b4c674816e04a15: digest: sha256:9537243c456fdaf1d1c5a10f47f54093bbf63f52d12de573753824c47824f129 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:17.180Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:17.495Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-05-14T08:33:17.495Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-14T08:33:17.495Z] 0652777e8ffe: Preparing [2021-05-14T08:33:17.495Z] 7a5e1bdd92c1: Preparing [2021-05-14T08:33:17.495Z] 17819b82d31f: Preparing [2021-05-14T08:33:17.495Z] c76de2c1afb0: Preparing [2021-05-14T08:33:17.495Z] 32f366d666a5: Preparing [2021-05-14T08:33:17.495Z] 17819b82d31f: Layer already exists [2021-05-14T08:33:17.495Z] c76de2c1afb0: Layer already exists [2021-05-14T08:33:17.495Z] 7a5e1bdd92c1: Layer already exists [2021-05-14T08:33:17.495Z] 32f366d666a5: Layer already exists [2021-05-14T08:33:17.495Z] 0652777e8ffe: Layer already exists [2021-05-14T08:33:17.495Z] latest: digest: sha256:9537243c456fdaf1d1c5a10f47f54093bbf63f52d12de573753824c47824f129 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:17.849Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:18.317Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.10 [2021-05-14T08:33:18.317Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-14T08:33:18.317Z] 0652777e8ffe: Preparing [2021-05-14T08:33:18.317Z] 7a5e1bdd92c1: Preparing [2021-05-14T08:33:18.317Z] 17819b82d31f: Preparing [2021-05-14T08:33:18.317Z] c76de2c1afb0: Preparing [2021-05-14T08:33:18.317Z] 32f366d666a5: Preparing [2021-05-14T08:33:18.317Z] c76de2c1afb0: Layer already exists [2021-05-14T08:33:18.317Z] 7a5e1bdd92c1: Layer already exists [2021-05-14T08:33:18.317Z] 17819b82d31f: Layer already exists [2021-05-14T08:33:18.317Z] 0652777e8ffe: Layer already exists [2021-05-14T08:33:18.317Z] 32f366d666a5: Layer already exists [2021-05-14T08:33:18.317Z] 1.2.2-dev.10: digest: sha256:9537243c456fdaf1d1c5a10f47f54093bbf63f52d12de573753824c47824f129 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:18.902Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:19.230Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 [2021-05-14T08:33:19.230Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-14T08:33:19.230Z] 0652777e8ffe: Preparing [2021-05-14T08:33:19.230Z] 7a5e1bdd92c1: Preparing [2021-05-14T08:33:19.230Z] 17819b82d31f: Preparing [2021-05-14T08:33:19.230Z] c76de2c1afb0: Preparing [2021-05-14T08:33:19.230Z] 32f366d666a5: Preparing [2021-05-14T08:33:19.230Z] 17819b82d31f: Layer already exists [2021-05-14T08:33:19.230Z] 7a5e1bdd92c1: Layer already exists [2021-05-14T08:33:19.230Z] c76de2c1afb0: Layer already exists [2021-05-14T08:33:19.230Z] 32f366d666a5: Layer already exists [2021-05-14T08:33:19.230Z] 0652777e8ffe: Layer already exists [2021-05-14T08:33:19.230Z] 8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10: digest: sha256:9537243c456fdaf1d1c5a10f47f54093bbf63f52d12de573753824c47824f129 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:19.565Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:19.884Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:master [2021-05-14T08:33:19.884Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-14T08:33:19.884Z] 0652777e8ffe: Preparing [2021-05-14T08:33:19.884Z] 7a5e1bdd92c1: Preparing [2021-05-14T08:33:19.884Z] 17819b82d31f: Preparing [2021-05-14T08:33:19.884Z] c76de2c1afb0: Preparing [2021-05-14T08:33:19.884Z] 32f366d666a5: Preparing [2021-05-14T08:33:19.884Z] 32f366d666a5: Layer already exists [2021-05-14T08:33:19.884Z] c76de2c1afb0: Layer already exists [2021-05-14T08:33:19.884Z] 0652777e8ffe: Layer already exists [2021-05-14T08:33:19.884Z] 17819b82d31f: Layer already exists [2021-05-14T08:33:19.884Z] 7a5e1bdd92c1: Layer already exists [2021-05-14T08:33:19.884Z] master: digest: sha256:9537243c456fdaf1d1c5a10f47f54093bbf63f52d12de573753824c47824f129 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-14T08:33:19.945Z] ===================================================== [Pipeline] echo [2021-05-14T08:33:19.962Z] taggedImages: [2021-05-14T08:33:19.962Z] - nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [2021-05-14T08:33:19.962Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-05-14T08:33:19.962Z] - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.10 [2021-05-14T08:33:19.962Z] - nexus3.edgexfoundry.org:10004/device-rest:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 [2021-05-14T08:33:19.962Z] - nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:33:20.698Z] ---> job-cost.sh [2021-05-14T08:33:20.698Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cmfv [2021-05-14T08:33:23.412Z] gofmt -l . [2021-05-14T08:33:23.412Z] [ "`gofmt -l .`" = "" ] [2021-05-14T08:33:23.412Z] ./bin/test-go-mod-tidy.sh [2021-05-14T08:33:23.412Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-14T08:33:23.436Z] $ docker stop --time=1 cd65d470eec77eee42bc48cb6f06754c9edfc7fcd50d1e0d159e280f76d4d5dd [2021-05-14T08:33:25.586Z] $ docker rm -f cd65d470eec77eee42bc48cb6f06754c9edfc7fcd50d1e0d159e280f76d4d5dd [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T08:33:26.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T08:33:26.480Z] Warning: overwriting stash ‘coverage-report’ [2021-05-14T08:33:26.974Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T08:33:27.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T08:33:27.810Z] + ls -al . [2021-05-14T08:33:27.810Z] total 132 [2021-05-14T08:33:27.810Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 08:33 . [2021-05-14T08:33:27.810Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 08:30 .. [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 151 May 14 08:30 .dockerignore [2021-05-14T08:33:27.810Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 08:30 .git [2021-05-14T08:33:27.810Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 08:30 .github [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 339 May 14 08:30 .gitignore [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 14 08:30 Attribution.txt [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 14 08:30 Dockerfile [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 14 08:30 Dockerfile.build [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 680 May 14 08:30 Jenkinsfile [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 14 08:30 LICENSE [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 989 May 14 08:30 Makefile [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 14 08:30 README.md [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 12 May 14 08:28 VERSION [2021-05-14T08:33:27.810Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 08:30 bin [2021-05-14T08:33:27.810Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 08:30 cmd [2021-05-14T08:33:27.810Z] -rw-r--r-- 1 jenkins jenkins 8513 May 14 08:32 coverage.out [2021-05-14T08:33:27.810Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 08:30 driver [2021-05-14T08:33:27.810Z] -rw-r--r-- 1 jenkins jenkins 285 May 14 08:33 go.mod [2021-05-14T08:33:27.810Z] -rw-r--r-- 1 jenkins jenkins 20782 May 14 08:31 go.sum [2021-05-14T08:33:27.810Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 08:30 snap [2021-05-14T08:33:27.810Z] -rw-rw-r-- 1 jenkins jenkins 713 May 14 08:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:28.161Z] + 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=8ab618566fd99c79b3e6b1ee7b4c674816e04a15 --label arch=arm64 --label version=1.2.2-dev.10 . [2021-05-14T08:33:28.161Z] Sending build context to Docker daemon 101.9kB [2021-05-14T08:33:28.436Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T08:33:28.436Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-14T08:33:28.436Z] ---> 1af3e979214e [2021-05-14T08:33:28.436Z] Step 3/24 : ARG MAKE='make build' [2021-05-14T08:33:28.709Z] ---> Running in f5cc867a4e62 [2021-05-14T08:33:28.983Z] Removing intermediate container f5cc867a4e62 [2021-05-14T08:33:28.983Z] ---> c155affb12e4 [2021-05-14T08:33:28.983Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T08:33:29.260Z] ---> Running in e8c4ee891eab [2021-05-14T08:33:29.536Z] Removing intermediate container e8c4ee891eab [2021-05-14T08:33:29.536Z] ---> 71f51f234e5d [2021-05-14T08:33:29.536Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T08:33:29.815Z] ---> Running in 00bf911305a7 [2021-05-14T08:33:30.411Z] Removing intermediate container 00bf911305a7 [2021-05-14T08:33:30.411Z] ---> bfb6fdb2bbf4 [2021-05-14T08:33:30.411Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T08:33:30.411Z] ---> Running in d6d528267fbf [2021-05-14T08:33:33.035Z] Removing intermediate container d6d528267fbf [2021-05-14T08:33:33.035Z] ---> e9d0c2b1908f [2021-05-14T08:33:33.035Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T08:33:33.035Z] ---> Running in 3988d9278adc [2021-05-14T08:33:34.015Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T08:33:34.990Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T08:33:35.586Z] OK: 144 MiB in 49 packages [2021-05-14T08:33:37.021Z] Removing intermediate container 3988d9278adc [2021-05-14T08:33:37.021Z] ---> 772e09204f23 [2021-05-14T08:33:37.021Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-14T08:33:37.021Z] ---> Running in edc73a611beb [2021-05-14T08:33:37.618Z] Removing intermediate container edc73a611beb [2021-05-14T08:33:37.618Z] ---> 53cc1228ab2d [2021-05-14T08:33:37.618Z] Step 9/24 : COPY . . [2021-05-14T08:33:38.213Z] ---> 45702eca8c11 [2021-05-14T08:33:38.213Z] Step 10/24 : RUN make update [2021-05-14T08:33:38.485Z] ---> Running in 054c113b5559 [2021-05-14T08:33:38.905Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T08:33:39.464Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-14T08:33:40.895Z] Removing intermediate container 054c113b5559 [2021-05-14T08:33:40.895Z] ---> c0032b71cada [2021-05-14T08:33:40.895Z] Step 11/24 : RUN $MAKE [2021-05-14T08:33:40.895Z] ---> Running in 1ce877a2e0be [2021-05-14T08:33:41.875Z] go mod tidy [2021-05-14T08:33:42.494Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.10" -o cmd/device-rest-go ./cmd [2021-05-14T08:34:17.895Z] lf-activate-venv(): INFO: Adding /tmp/venv-cmfv/bin to PATH [2021-05-14T08:34:17.895Z] INFO: No Stack... [2021-05-14T08:34:17.895Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T08:34:17.895Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T08:34:18.228Z] + cat /w/workspace/device-rest-go/43/archives/cost.csv [2021-05-14T08:34:18.228Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T08:34:18.317Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] [2021-05-14T08:34:18.328Z] Resource [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] did not exist. Created. [2021-05-14T08:34:18.328Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T08:34:18.762Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-14T08:34:19.128Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T08:34:19.138Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-14T08:34:29.533Z] Removing intermediate container 1ce877a2e0be [2021-05-14T08:34:29.533Z] ---> 62edf04b0b7f [2021-05-14T08:34:29.533Z] Step 12/24 : FROM alpine:3.12 [2021-05-14T08:34:29.533Z] 3.12: Pulling from library/alpine [2021-05-14T08:34:29.533Z] d2f70382dc9a: Pulling fs layer [2021-05-14T08:34:29.533Z] d2f70382dc9a: Verifying Checksum [2021-05-14T08:34:29.533Z] d2f70382dc9a: Download complete [2021-05-14T08:34:29.533Z] d2f70382dc9a: Pull complete [2021-05-14T08:34:29.533Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T08:34:29.533Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T08:34:29.533Z] ---> 9852663dfa18 [2021-05-14T08:34:29.533Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-14T08:34:29.533Z] ---> Running in c80812a1246c [2021-05-14T08:34:29.533Z] Removing intermediate container c80812a1246c [2021-05-14T08:34:29.533Z] ---> a5158119e1c6 [2021-05-14T08:34:29.533Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-14T08:34:29.533Z] ---> Running in 42b6be06944b [2021-05-14T08:34:29.533Z] Removing intermediate container 42b6be06944b [2021-05-14T08:34:29.533Z] ---> 3c60bac8cf77 [2021-05-14T08:34:29.533Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-14T08:34:29.533Z] ---> Running in 36692c095d65 [2021-05-14T08:34:29.533Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-14T08:34:29.533Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-14T08:34:29.533Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-14T08:34:29.533Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-14T08:34:29.533Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-14T08:34:29.533Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-14T08:34:29.533Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-14T08:34:29.533Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-14T08:34:29.533Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T08:34:29.533Z] OK: 8 MiB in 20 packages [2021-05-14T08:34:29.533Z] Removing intermediate container 36692c095d65 [2021-05-14T08:34:29.533Z] ---> 4396d45eea11 [2021-05-14T08:34:29.533Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-14T08:34:29.533Z] ---> 4401dcad9767 [2021-05-14T08:34:29.533Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-14T08:34:30.132Z] ---> 38b55fd03610 [2021-05-14T08:34:30.132Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-14T08:34:30.729Z] ---> 3f14bac174d6 [2021-05-14T08:34:30.730Z] Step 19/24 : EXPOSE 49986 [2021-05-14T08:34:31.004Z] ---> Running in 5079a2a4bc91 [2021-05-14T08:34:31.600Z] Removing intermediate container 5079a2a4bc91 [2021-05-14T08:34:31.600Z] ---> 1ad207a6e5b0 [2021-05-14T08:34:31.600Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-14T08:34:31.600Z] ---> Running in 2c07792ffba8 [2021-05-14T08:34:32.202Z] Removing intermediate container 2c07792ffba8 [2021-05-14T08:34:32.203Z] ---> 41eadcd7e1b1 [2021-05-14T08:34:32.203Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-14T08:34:32.203Z] ---> Running in 219bbd3379ca [2021-05-14T08:34:32.805Z] Removing intermediate container 219bbd3379ca [2021-05-14T08:34:32.805Z] ---> 3ac5ad1897de [2021-05-14T08:34:32.805Z] Step 22/24 : LABEL arch=arm64 [2021-05-14T08:34:32.805Z] ---> Running in f5c21085c493 [2021-05-14T08:34:33.408Z] Removing intermediate container f5c21085c493 [2021-05-14T08:34:33.409Z] ---> 4d4dd2b13991 [2021-05-14T08:34:33.409Z] Step 23/24 : LABEL git_sha=8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [2021-05-14T08:34:33.684Z] ---> Running in aa2e066d887e [2021-05-14T08:34:34.285Z] Removing intermediate container aa2e066d887e [2021-05-14T08:34:34.285Z] ---> 5971a859bc85 [2021-05-14T08:34:34.285Z] Step 24/24 : LABEL version=1.2.2-dev.10 [2021-05-14T08:34:34.285Z] ---> Running in a77f21c5f08b [2021-05-14T08:34:34.884Z] Removing intermediate container a77f21c5f08b [2021-05-14T08:34:34.884Z] ---> ff0b616541b5 [2021-05-14T08:34:34.884Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-14T08:34:34.884Z] Successfully built ff0b616541b5 [2021-05-14T08:34:34.884Z] 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-05-14T08:34:35.082Z] provisioning config files... [2021-05-14T08:34:35.109Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config1025398006622436220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:34:35.485Z] ---> docker-login.sh [2021-05-14T08:34:35.485Z] nexus3.edgexfoundry.org:10001 [2021-05-14T08:34:35.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:34:36.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:34:36.037Z] Configure a credential helper to remove this warning. See [2021-05-14T08:34:36.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:34:36.037Z] [2021-05-14T08:34:36.037Z] Login Succeeded [2021-05-14T08:34:36.037Z] nexus3.edgexfoundry.org:10002 [2021-05-14T08:34:36.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:34:36.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:34:36.587Z] Configure a credential helper to remove this warning. See [2021-05-14T08:34:36.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:34:36.587Z] [2021-05-14T08:34:36.587Z] Login Succeeded [2021-05-14T08:34:36.587Z] nexus3.edgexfoundry.org:10003 [2021-05-14T08:34:37.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:34:37.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:34:37.186Z] Configure a credential helper to remove this warning. See [2021-05-14T08:34:37.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:34:37.186Z] [2021-05-14T08:34:37.186Z] Login Succeeded [2021-05-14T08:34:37.186Z] nexus3.edgexfoundry.org:10004 [2021-05-14T08:34:37.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:34:37.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:34:37.783Z] Configure a credential helper to remove this warning. See [2021-05-14T08:34:37.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:34:37.783Z] [2021-05-14T08:34:37.783Z] Login Succeeded [2021-05-14T08:34:37.783Z] docker.io [2021-05-14T08:34:38.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:34:38.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:34:38.655Z] Configure a credential helper to remove this warning. See [2021-05-14T08:34:38.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:34:38.655Z] [2021-05-14T08:34:38.655Z] Login Succeeded [2021-05-14T08:34:38.655Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T08:34:38.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-14T08:34:38.751Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-05-14T08:34:38.751Z] 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [2021-05-14T08:34:38.751Z] latest [2021-05-14T08:34:38.751Z] 1.2.2-dev.10 [2021-05-14T08:34:38.751Z] 8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 [2021-05-14T08:34:38.751Z] master [2021-05-14T08:34:38.751Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:39.137Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:39.481Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [2021-05-14T08:34:39.481Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-14T08:34:39.481Z] 859cc78b28f8: Preparing [2021-05-14T08:34:39.481Z] 4d7618c08d21: Preparing [2021-05-14T08:34:39.481Z] bbfafa160455: Preparing [2021-05-14T08:34:39.481Z] 31442325ae40: Preparing [2021-05-14T08:34:39.481Z] 3fbe34a1663b: Preparing [2021-05-14T08:34:39.765Z] 3fbe34a1663b: Layer already exists [2021-05-14T08:34:39.765Z] 4d7618c08d21: Pushed [2021-05-14T08:34:39.765Z] 859cc78b28f8: Pushed [2021-05-14T08:34:40.362Z] 31442325ae40: Pushed [2021-05-14T08:34:42.985Z] bbfafa160455: Pushed [2021-05-14T08:34:42.985Z] 8ab618566fd99c79b3e6b1ee7b4c674816e04a15: digest: sha256:c63a38b2fb95d4fb742958ca101f0cc30d602c639ec2a56d30e7a43a99c45745 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:43.350Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:43.712Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-05-14T08:34:43.712Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-14T08:34:43.712Z] 859cc78b28f8: Preparing [2021-05-14T08:34:43.712Z] 4d7618c08d21: Preparing [2021-05-14T08:34:43.712Z] bbfafa160455: Preparing [2021-05-14T08:34:43.712Z] 31442325ae40: Preparing [2021-05-14T08:34:43.712Z] 3fbe34a1663b: Preparing [2021-05-14T08:34:43.993Z] 3fbe34a1663b: Layer already exists [2021-05-14T08:34:43.993Z] 31442325ae40: Layer already exists [2021-05-14T08:34:43.993Z] 4d7618c08d21: Layer already exists [2021-05-14T08:34:43.993Z] bbfafa160455: Layer already exists [2021-05-14T08:34:43.993Z] 859cc78b28f8: Layer already exists [2021-05-14T08:34:43.993Z] latest: digest: sha256:c63a38b2fb95d4fb742958ca101f0cc30d602c639ec2a56d30e7a43a99c45745 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:44.364Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:44.743Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.10 [2021-05-14T08:34:44.743Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-14T08:34:44.743Z] 859cc78b28f8: Preparing [2021-05-14T08:34:44.743Z] 4d7618c08d21: Preparing [2021-05-14T08:34:44.743Z] bbfafa160455: Preparing [2021-05-14T08:34:44.743Z] 31442325ae40: Preparing [2021-05-14T08:34:44.743Z] 3fbe34a1663b: Preparing [2021-05-14T08:34:45.021Z] 4d7618c08d21: Layer already exists [2021-05-14T08:34:45.022Z] 859cc78b28f8: Layer already exists [2021-05-14T08:34:45.022Z] 3fbe34a1663b: Layer already exists [2021-05-14T08:34:45.022Z] bbfafa160455: Layer already exists [2021-05-14T08:34:45.022Z] 31442325ae40: Layer already exists [2021-05-14T08:34:45.022Z] 1.2.2-dev.10: digest: sha256:c63a38b2fb95d4fb742958ca101f0cc30d602c639ec2a56d30e7a43a99c45745 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:45.376Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:45.736Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 [2021-05-14T08:34:45.736Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-14T08:34:45.736Z] 859cc78b28f8: Preparing [2021-05-14T08:34:45.736Z] 4d7618c08d21: Preparing [2021-05-14T08:34:45.736Z] bbfafa160455: Preparing [2021-05-14T08:34:45.736Z] 31442325ae40: Preparing [2021-05-14T08:34:45.736Z] 3fbe34a1663b: Preparing [2021-05-14T08:34:45.736Z] 859cc78b28f8: Layer already exists [2021-05-14T08:34:45.736Z] 4d7618c08d21: Layer already exists [2021-05-14T08:34:45.736Z] bbfafa160455: Layer already exists [2021-05-14T08:34:45.736Z] 31442325ae40: Layer already exists [2021-05-14T08:34:45.736Z] 3fbe34a1663b: Layer already exists [2021-05-14T08:34:46.015Z] 8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10: digest: sha256:c63a38b2fb95d4fb742958ca101f0cc30d602c639ec2a56d30e7a43a99c45745 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:46.368Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:46.708Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master [2021-05-14T08:34:46.708Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-14T08:34:46.708Z] 859cc78b28f8: Preparing [2021-05-14T08:34:46.708Z] 4d7618c08d21: Preparing [2021-05-14T08:34:46.708Z] bbfafa160455: Preparing [2021-05-14T08:34:46.708Z] 31442325ae40: Preparing [2021-05-14T08:34:46.708Z] 3fbe34a1663b: Preparing [2021-05-14T08:34:46.983Z] bbfafa160455: Layer already exists [2021-05-14T08:34:46.983Z] 859cc78b28f8: Layer already exists [2021-05-14T08:34:46.983Z] 31442325ae40: Layer already exists [2021-05-14T08:34:46.983Z] 4d7618c08d21: Layer already exists [2021-05-14T08:34:46.983Z] 3fbe34a1663b: Layer already exists [2021-05-14T08:34:47.257Z] master: digest: sha256:c63a38b2fb95d4fb742958ca101f0cc30d602c639ec2a56d30e7a43a99c45745 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-14T08:34:47.326Z] ===================================================== [Pipeline] echo [2021-05-14T08:34:47.344Z] taggedImages: [2021-05-14T08:34:47.344Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [2021-05-14T08:34:47.344Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-05-14T08:34:47.344Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.10 [2021-05-14T08:34:47.344Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:8ab618566fd99c79b3e6b1ee7b4c674816e04a15-1.2.2-dev.10 [2021-05-14T08:34:47.344Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:34:47.792Z] ---> job-cost.sh [2021-05-14T08:34:47.792Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CU5p [2021-05-14T08:35:44.333Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T08:37:51.193Z] lf-activate-venv(): INFO: Adding /tmp/venv-CU5p/bin to PATH [2021-05-14T08:37:51.193Z] INFO: No Stack... [2021-05-14T08:37:51.193Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-14T08:37:51.193Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T08:37:51.532Z] + cat+ /w/workspace/device-rest-go/43/archives/cost.csv [2021-05-14T08:37:51.532Z] cut -d, -f6 [Pipeline] lock [2021-05-14T08:37:51.616Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] [2021-05-14T08:37:51.629Z] Resource [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] did not exist. Created. [2021-05-14T08:37:51.629Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T08:37:52.014Z] /w/workspace/device-rest-go/43@tmp/durable-7cfb5f38/script.sh: 1: /w/workspace/device-rest-go/43@tmp/durable-7cfb5f38/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-14T08:37:52.363Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-14T08:37:52.401Z] Warning: overwriting stash ‘stack-cost’ [2021-05-14T08:37:52.564Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T08:37:52.581Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-43-stack-cost] [Pipeline] // lock [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-05-14T08:37:53.525Z] provisioning config files... [2021-05-14T08:37:53.547Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config639125471455890911tmp [Pipeline] { [Pipeline] sh [2021-05-14T08:37:53.879Z] + set +x [2021-05-14T08:37:53.879Z] + curl -s https://codecov.io/bash [2021-05-14T08:37:53.879Z] + bash -s -- [2021-05-14T08:37:54.145Z] [2021-05-14T08:37:54.145Z] _____ _ [2021-05-14T08:37:54.145Z] / ____| | | [2021-05-14T08:37:54.145Z] | | ___ __| | ___ ___ _____ __ [2021-05-14T08:37:54.145Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-14T08:37:54.145Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-14T08:37:54.145Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-14T08:37:54.145Z] Bash-1.0.2 [2021-05-14T08:37:54.145Z] [2021-05-14T08:37:54.145Z] [2021-05-14T08:37:54.145Z] ==> git version 2.24.3 found [2021-05-14T08:37:54.145Z] ==> 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-05-14T08:37:54.145Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-14T08:37:54.145Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-14T08:37:54.145Z] ==> Jenkins CI detected. [2021-05-14T08:37:54.145Z] project root: . [2021-05-14T08:37:54.145Z] --> token set from env [2021-05-14T08:37:54.145Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-14T08:37:54.145Z] ==> Running gcov in . (disable via -X gcov) [2021-05-14T08:37:54.145Z] ==> Python coveragepy not found [2021-05-14T08:37:54.145Z] ==> Searching for coverage reports in: [2021-05-14T08:37:54.145Z] + . [2021-05-14T08:37:54.145Z] -> Found 1 reports [2021-05-14T08:37:54.145Z] ==> Detecting git/mercurial file structure [2021-05-14T08:37:54.145Z] ==> Reading reports [2021-05-14T08:37:54.145Z] + ./coverage.out bytes=8513 [2021-05-14T08:37:54.145Z] ==> Appending adjustments [2021-05-14T08:37:54.145Z] https://docs.codecov.io/docs/fixing-reports [2021-05-14T08:37:54.145Z] + Found adjustments [2021-05-14T08:37:54.408Z] ==> Gzipping contents [2021-05-14T08:37:54.408Z] 4.0K /tmp/codecov.KgPweV.gz [2021-05-14T08:37:54.408Z] ==> Uploading reports [2021-05-14T08:37:54.408Z] url: https://codecov.io [2021-05-14T08:37:54.408Z] query: branch=master&commit=8ab618566fd99c79b3e6b1ee7b4c674816e04a15&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-14T08:37:54.408Z] -> Pinging Codecov [2021-05-14T08:37:54.408Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=8ab618566fd99c79b3e6b1ee7b4c674816e04a15&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-14T08:37:54.986Z] -> Uploading to [2021-05-14T08:37:54.986Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-14/4E5D53B4F1F92C436F7061BF334D961C/8ab618566fd99c79b3e6b1ee7b4c674816e04a15/715f6aa6-2645-4e35-a08a-349b674b19b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210514%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210514T083754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=848df95d2a22ad5a9df42b9125800c3c59c553794a24fb94d172c3d6691f2a9d [2021-05-14T08:37:54.986Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-14T08:37:54.986Z] Dload Upload Total Spent Left Speed [2021-05-14T08:37:55.250Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3866 --:--:-- --:--:-- --:--:-- 3872 [2021-05-14T08:37:55.250Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] } [2021-05-14T08:37:55.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-14T08:37:56.137Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-14T08:37:56.160Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:37:56.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-14T08:37:56.487Z] [2021-05-14T08:37:56.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:37:56.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-14T08:37:56.815Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-14T08:37:56.815Z] 188c0c94c7c5: Pulling fs layer [2021-05-14T08:37:56.815Z] 0ef7d3d256c8: Pulling fs layer [2021-05-14T08:37:56.815Z] de9db76c5a1d: Pulling fs layer [2021-05-14T08:37:56.815Z] 0eba1c9be4d2: Pulling fs layer [2021-05-14T08:37:56.815Z] 0d57e429df01: Pulling fs layer [2021-05-14T08:37:56.815Z] 4e4be7b47b0d: Pulling fs layer [2021-05-14T08:37:56.815Z] e1f770b5df2f: Pulling fs layer [2021-05-14T08:37:56.815Z] 85a0685a4137: Pulling fs layer [2021-05-14T08:37:56.815Z] 0d57e429df01: Waiting [2021-05-14T08:37:56.815Z] e1f770b5df2f: Waiting [2021-05-14T08:37:56.815Z] 4e4be7b47b0d: Waiting [2021-05-14T08:37:56.815Z] 85a0685a4137: Waiting [2021-05-14T08:37:56.815Z] de9db76c5a1d: Verifying Checksum [2021-05-14T08:37:56.815Z] de9db76c5a1d: Download complete [2021-05-14T08:37:56.815Z] 0ef7d3d256c8: Verifying Checksum [2021-05-14T08:37:56.815Z] 0ef7d3d256c8: Download complete [2021-05-14T08:37:56.815Z] 0d57e429df01: Verifying Checksum [2021-05-14T08:37:56.815Z] 0d57e429df01: Download complete [2021-05-14T08:37:56.815Z] 188c0c94c7c5: Download complete [2021-05-14T08:37:56.815Z] 4e4be7b47b0d: Verifying Checksum [2021-05-14T08:37:56.815Z] 4e4be7b47b0d: Download complete [2021-05-14T08:37:57.406Z] 188c0c94c7c5: Pull complete [2021-05-14T08:37:57.406Z] 0ef7d3d256c8: Pull complete [2021-05-14T08:37:57.692Z] de9db76c5a1d: Pull complete [2021-05-14T08:37:58.645Z] e1f770b5df2f: Verifying Checksum [2021-05-14T08:37:58.645Z] e1f770b5df2f: Download complete [2021-05-14T08:38:00.590Z] 0eba1c9be4d2: Verifying Checksum [2021-05-14T08:38:00.590Z] 0eba1c9be4d2: Download complete [2021-05-14T08:38:00.590Z] 85a0685a4137: Verifying Checksum [2021-05-14T08:38:00.590Z] 85a0685a4137: Download complete [2021-05-14T08:38:06.207Z] 0eba1c9be4d2: Pull complete [2021-05-14T08:38:06.207Z] 0d57e429df01: Pull complete [2021-05-14T08:38:06.478Z] 4e4be7b47b0d: Pull complete [2021-05-14T08:38:08.409Z] e1f770b5df2f: Pull complete [2021-05-14T08:38:16.605Z] 85a0685a4137: Pull complete [2021-05-14T08:38:16.605Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-14T08:38:16.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-14T08:38:16.605Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-14T08:38:16.890Z] prd-centos7-docker-4c-2g-83 does not seem to be running inside a container [2021-05-14T08:38:16.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-14T08:38:18.043Z] $ docker top 7df65891524b78d3aab3fab94ac82fe4b36e9fc0d02799a21c32c6b146270489 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-14T08:38:18.173Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-14T08:38:18.486Z] + set -o pipefail [2021-05-14T08:38:18.486Z] + snyk monitor '--org=edgex-jenkins' [2021-05-14T08:38:26.693Z] [2021-05-14T08:38:26.693Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-05-14T08:38:26.693Z] [2021-05-14T08:38:26.693Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/b034672b-4578-453a-81c6-f266167fe7a6 [2021-05-14T08:38:26.693Z] [2021-05-14T08:38:26.693Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-14T08:38:26.693Z] [2021-05-14T08:38:26.693Z] [Pipeline] } [2021-05-14T08:38:26.712Z] $ docker stop --time=1 7df65891524b78d3aab3fab94ac82fe4b36e9fc0d02799a21c32c6b146270489 [2021-05-14T08:38:30.073Z] $ docker rm -f 7df65891524b78d3aab3fab94ac82fe4b36e9fc0d02799a21c32c6b146270489 [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-05-14T08:38:31.431Z] + git log --format=format:%s -1 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:38:31.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T08:38:31.752Z] . [Pipeline] withDockerContainer [2021-05-14T08:38:31.860Z] prd-centos7-docker-4c-2g-83 does not seem to be running inside a container [2021-05-14T08:38:31.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T08:38:32.668Z] $ docker top 8490eb2f794ceb474bbb082ac49293d72a3930d836621900bf050a2ecfc7d54b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T08:38:32.851Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T08:38:32.851Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T08:38:33.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T08:38:33.088Z] $ docker exec 8490eb2f794ceb474bbb082ac49293d72a3930d836621900bf050a2ecfc7d54b ssh-agent [2021-05-14T08:38:33.282Z] SSH_AUTH_SOCK=/tmp/ssh-5PMZg7obe43G/agent.12 [2021-05-14T08:38:33.282Z] SSH_AGENT_PID=17 [2021-05-14T08:38:33.291Z] Running ssh-add (command line suppressed) [2021-05-14T08:38:33.433Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8749435799881186722.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8749435799881186722.key) [2021-05-14T08:38:33.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T08:38:33.804Z] + git semver tag [2021-05-14T08:38:33.804Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T08:38:33.804Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-14T08:38:33.804Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-14T08:38:33.804Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T08:38:33.804Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T08:38:33.804Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T08:38:33.804Z] # $SEMVER_BRANCH = master [2021-05-14T08:38:33.804Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-14T08:38:33.804Z] # 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 HEAD [2021-05-14T08:38:33.804Z] # -> Force: false [2021-05-14T08:38:33.804Z] # 60efefc5158325bcfcebc2d03948490a10eb2a94 refs/tags/v1.2.2-dev.10 [Pipeline] } [2021-05-14T08:38:33.823Z] $ docker exec --env ******** --env ******** 8490eb2f794ceb474bbb082ac49293d72a3930d836621900bf050a2ecfc7d54b ssh-agent -k [2021-05-14T08:38:33.989Z] unset SSH_AUTH_SOCK; [2021-05-14T08:38:33.989Z] unset SSH_AGENT_PID; [2021-05-14T08:38:33.990Z] echo Agent pid 17 killed; [2021-05-14T08:38:34.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T08:38:34.403Z] + git semver [Pipeline] } [2021-05-14T08:38:34.423Z] $ docker stop --time=1 8490eb2f794ceb474bbb082ac49293d72a3930d836621900bf050a2ecfc7d54b [2021-05-14T08:38:35.787Z] $ docker rm -f 8490eb2f794ceb474bbb082ac49293d72a3930d836621900bf050a2ecfc7d54b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:38:36.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-14T08:38:36.382Z] [2021-05-14T08:38:36.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:38:36.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-14T08:38:36.742Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-14T08:38:36.742Z] ab5ef0e58194: Pulling fs layer [2021-05-14T08:38:36.742Z] 9712f1f96733: Pulling fs layer [2021-05-14T08:38:36.742Z] 63f879dbbcfc: Pulling fs layer [2021-05-14T08:38:36.742Z] 0d9ebad4ef96: Pulling fs layer [2021-05-14T08:38:36.742Z] e9a5061849ea: Pulling fs layer [2021-05-14T08:38:36.742Z] d747dcd14b5f: Pulling fs layer [2021-05-14T08:38:36.742Z] 2de7ff778b66: Pulling fs layer [2021-05-14T08:38:36.742Z] 0d9ebad4ef96: Waiting [2021-05-14T08:38:36.742Z] e9a5061849ea: Waiting [2021-05-14T08:38:36.742Z] d747dcd14b5f: Waiting [2021-05-14T08:38:36.742Z] 9712f1f96733: Verifying Checksum [2021-05-14T08:38:36.742Z] 9712f1f96733: Download complete [2021-05-14T08:38:38.711Z] 63f879dbbcfc: Verifying Checksum [2021-05-14T08:38:38.711Z] 63f879dbbcfc: Download complete [2021-05-14T08:38:38.711Z] e9a5061849ea: Verifying Checksum [2021-05-14T08:38:38.711Z] e9a5061849ea: Download complete [2021-05-14T08:38:38.711Z] d747dcd14b5f: Verifying Checksum [2021-05-14T08:38:38.711Z] d747dcd14b5f: Download complete [2021-05-14T08:38:38.975Z] 2de7ff778b66: Verifying Checksum [2021-05-14T08:38:38.975Z] 2de7ff778b66: Download complete [2021-05-14T08:38:38.975Z] 0d9ebad4ef96: Verifying Checksum [2021-05-14T08:38:38.975Z] 0d9ebad4ef96: Download complete [2021-05-14T08:38:38.975Z] ab5ef0e58194: Download complete [2021-05-14T08:38:44.320Z] ab5ef0e58194: Pull complete [2021-05-14T08:38:44.320Z] 9712f1f96733: Pull complete [2021-05-14T08:38:46.892Z] 63f879dbbcfc: Pull complete [2021-05-14T08:38:53.528Z] 0d9ebad4ef96: Pull complete [2021-05-14T08:38:54.104Z] e9a5061849ea: Pull complete [2021-05-14T08:38:54.368Z] d747dcd14b5f: Pull complete [2021-05-14T08:38:56.954Z] 2de7ff778b66: Pull complete [2021-05-14T08:38:56.954Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-14T08:38:56.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-14T08:38:56.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-14T08:38:57.157Z] prd-centos7-docker-4c-2g-83 does not seem to be running inside a container [2021-05-14T08:38:57.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-14T08:39:00.851Z] $ docker top 2991295b686d38efb35cd9c4a1b725d3b9cda4a28bd756116f119c67ea0f8f73 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-14T08:39:01.056Z] provisioning config files... [2021-05-14T08:39:01.067Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2471429361693570015tmp [2021-05-14T08:39:01.086Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3008808459047508282tmp [2021-05-14T08:39:01.110Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4099006403491416125tmp [Pipeline] { [Pipeline] echo [2021-05-14T08:39:01.132Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:01.443Z] ---> sigul-configuration.sh [2021-05-14T08:39:01.443Z] gpg: directory `/root/.gnupg' created [2021-05-14T08:39:01.443Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-14T08:39:01.443Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-14T08:39:01.443Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-14T08:39:01.443Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-14T08:39:01.443Z] gpg: CAST5 encrypted data [2021-05-14T08:39:01.709Z] gpg: encrypted with 1 passphrase [2021-05-14T08:39:01.709Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-14T08:39:02.016Z] + mkdir /home/jenkins [2021-05-14T08:39:02.016Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-14T08:39:02.338Z] + 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-05-14T08:39:02.351Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:02.664Z] ---> sigul-install.sh [2021-05-14T08:39:12.688Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-14T08:39:12.996Z] + git tag --list [2021-05-14T08:39:12.996Z] v1.0.0 [2021-05-14T08:39:12.996Z] v1.1.0 [2021-05-14T08:39:12.996Z] v1.1.1 [2021-05-14T08:39:12.996Z] v1.1.2 [2021-05-14T08:39:12.996Z] v1.2.0 [2021-05-14T08:39:12.996Z] v1.2.1 [2021-05-14T08:39:12.996Z] v1.2.1-dev.1 [2021-05-14T08:39:12.996Z] v1.2.1-dev.2 [2021-05-14T08:39:12.996Z] v1.2.1-dev.3 [2021-05-14T08:39:12.996Z] v1.2.1-dev.4 [2021-05-14T08:39:12.996Z] v1.2.2-dev.1 [2021-05-14T08:39:12.996Z] v1.2.2-dev.10 [2021-05-14T08:39:12.996Z] v1.2.2-dev.2 [2021-05-14T08:39:12.996Z] v1.2.2-dev.3 [2021-05-14T08:39:12.996Z] v1.2.2-dev.4 [2021-05-14T08:39:12.996Z] v1.2.2-dev.5 [2021-05-14T08:39:12.996Z] v1.2.2-dev.6 [2021-05-14T08:39:12.996Z] v1.2.2-dev.7 [2021-05-14T08:39:12.996Z] v1.2.2-dev.8 [2021-05-14T08:39:12.996Z] v1.2.2-dev.9 [Pipeline] sh [2021-05-14T08:39:13.297Z] + lftools sign git-tag v1.2.2-dev.10 [2021-05-14T08:39:14.706Z] Signing Git tag with Sigul... [2021-05-14T08:39:14.706Z] Signing v1.2.2-dev.10 [Pipeline] echo [2021-05-14T08:39:15.672Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:15.990Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-14T08:39:16.006Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-14T08:39:16.053Z] $ docker stop --time=1 2991295b686d38efb35cd9c4a1b725d3b9cda4a28bd756116f119c67ea0f8f73 [2021-05-14T08:39:17.507Z] $ docker rm -f 2991295b686d38efb35cd9c4a1b725d3b9cda4a28bd756116f119c67ea0f8f73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:39:18.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T08:39:18.462Z] . [Pipeline] withDockerContainer [2021-05-14T08:39:18.602Z] prd-centos7-docker-4c-2g-83 does not seem to be running inside a container [2021-05-14T08:39:18.654Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T08:39:19.475Z] $ docker top f19d87ce46813681e9790428393f18fa1e250dded003a980c56853ca33cf321a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T08:39:19.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T08:39:19.702Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T08:39:19.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T08:39:19.948Z] $ docker exec f19d87ce46813681e9790428393f18fa1e250dded003a980c56853ca33cf321a ssh-agent [2021-05-14T08:39:20.130Z] SSH_AUTH_SOCK=/tmp/ssh-N0LA9epXvhuw/agent.12 [2021-05-14T08:39:20.130Z] SSH_AGENT_PID=17 [2021-05-14T08:39:20.138Z] Running ssh-add (command line suppressed) [2021-05-14T08:39:20.280Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3221930464261693341.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3221930464261693341.key) [2021-05-14T08:39:20.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T08:39:20.657Z] + git semver bump pre [2021-05-14T08:39:20.657Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T08:39:20.657Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-14T08:39:20.657Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-14T08:39:20.657Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T08:39:20.657Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T08:39:20.657Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T08:39:20.657Z] # $SEMVER_BRANCH = master [2021-05-14T08:39:20.657Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-14T08:39:20.657Z] 1.2.2-dev.11 [Pipeline] } [2021-05-14T08:39:20.672Z] $ docker exec --env ******** --env ******** f19d87ce46813681e9790428393f18fa1e250dded003a980c56853ca33cf321a ssh-agent -k [2021-05-14T08:39:20.807Z] unset SSH_AUTH_SOCK; [2021-05-14T08:39:20.807Z] unset SSH_AGENT_PID; [2021-05-14T08:39:20.807Z] echo Agent pid 17 killed; [2021-05-14T08:39:20.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T08:39:21.205Z] + git semver [Pipeline] } [2021-05-14T08:39:21.225Z] $ docker stop --time=1 f19d87ce46813681e9790428393f18fa1e250dded003a980c56853ca33cf321a [2021-05-14T08:39:22.681Z] $ docker rm -f f19d87ce46813681e9790428393f18fa1e250dded003a980c56853ca33cf321a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:39:23.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T08:39:23.115Z] . [Pipeline] withDockerContainer [2021-05-14T08:39:23.226Z] prd-centos7-docker-4c-2g-83 does not seem to be running inside a container [2021-05-14T08:39:23.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T08:39:23.916Z] $ docker top b061931ce1bf648f97f3c852ff010a493b4c33210be16e907bfddffe4aae4d35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T08:39:24.080Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T08:39:24.080Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T08:39:24.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T08:39:24.275Z] $ docker exec b061931ce1bf648f97f3c852ff010a493b4c33210be16e907bfddffe4aae4d35 ssh-agent [2021-05-14T08:39:24.468Z] SSH_AUTH_SOCK=/tmp/ssh-Evf4QF4a5rY8/agent.11 [2021-05-14T08:39:24.468Z] SSH_AGENT_PID=16 [2021-05-14T08:39:24.475Z] Running ssh-add (command line suppressed) [2021-05-14T08:39:24.611Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3223792862787722370.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3223792862787722370.key) [2021-05-14T08:39:24.669Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T08:39:24.975Z] + git semver push [2021-05-14T08:39:24.975Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T08:39:24.975Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-14T08:39:24.975Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-14T08:39:24.975Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T08:39:24.975Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T08:39:24.975Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T08:39:24.975Z] # $SEMVER_BRANCH = master [2021-05-14T08:39:24.975Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-14T08:39:29.219Z] $ docker exec --env ******** --env ******** b061931ce1bf648f97f3c852ff010a493b4c33210be16e907bfddffe4aae4d35 ssh-agent -k [2021-05-14T08:39:29.362Z] unset SSH_AUTH_SOCK; [2021-05-14T08:39:29.363Z] unset SSH_AGENT_PID; [2021-05-14T08:39:29.363Z] echo Agent pid 16 killed; [2021-05-14T08:39:29.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T08:39:29.763Z] + git semver [Pipeline] } [2021-05-14T08:39:29.781Z] $ docker stop --time=1 b061931ce1bf648f97f3c852ff010a493b4c33210be16e907bfddffe4aae4d35 [2021-05-14T08:39:31.142Z] $ docker rm -f b061931ce1bf648f97f3c852ff010a493b4c33210be16e907bfddffe4aae4d35 [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-05-14T08:39:32.127Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:32.718Z] ---> package-listing.sh [2021-05-14T08:39:32.718Z] ++ facter osfamily [2021-05-14T08:39:32.718Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-14T08:39:32.718Z] + OS_FAMILY=redhat [2021-05-14T08:39:32.718Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-05-14T08:39:32.718Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-14T08:39:32.718Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-14T08:39:32.718Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-14T08:39:32.718Z] + PACKAGES=/tmp/packages_start.txt [2021-05-14T08:39:32.718Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-14T08:39:32.718Z] + PACKAGES=/tmp/packages_end.txt [2021-05-14T08:39:32.718Z] + case "${OS_FAMILY}" in [2021-05-14T08:39:32.718Z] + rpm -qa [2021-05-14T08:39:32.718Z] + sort [2021-05-14T08:39:40.891Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-14T08:39:40.891Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-14T08:39:40.891Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-14T08:39:40.891Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-14T08:39:40.891Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-05-14T08:39:40.891Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo [2021-05-14T08:39:40.908Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-14T08:39:41.209Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:39:41.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T08:39:41.522Z] [2021-05-14T08:39:41.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:39:41.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T08:39:41.852Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-14T08:39:41.852Z] df20fa9351a1: Pulling fs layer [2021-05-14T08:39:41.852Z] 36b3adc4ff6f: Pulling fs layer [2021-05-14T08:39:41.852Z] 8ad3a11d3b57: Pulling fs layer [2021-05-14T08:39:41.852Z] 46f8f816bc3b: Pulling fs layer [2021-05-14T08:39:41.852Z] 93b61091891f: Pulling fs layer [2021-05-14T08:39:41.852Z] 93b9cdb0e59b: Pulling fs layer [2021-05-14T08:39:41.852Z] 5e14af77c1be: Pulling fs layer [2021-05-14T08:39:41.852Z] 01666e4c0597: Pulling fs layer [2021-05-14T08:39:41.852Z] aa168da1d23b: Pulling fs layer [2021-05-14T08:39:41.852Z] 93b61091891f: Waiting [2021-05-14T08:39:41.852Z] 93b9cdb0e59b: Waiting [2021-05-14T08:39:41.852Z] 5e14af77c1be: Waiting [2021-05-14T08:39:41.852Z] 01666e4c0597: Waiting [2021-05-14T08:39:41.852Z] aa168da1d23b: Waiting [2021-05-14T08:39:41.852Z] 46f8f816bc3b: Waiting [2021-05-14T08:39:41.852Z] 36b3adc4ff6f: Verifying Checksum [2021-05-14T08:39:41.852Z] 36b3adc4ff6f: Download complete [2021-05-14T08:39:41.852Z] 46f8f816bc3b: Verifying Checksum [2021-05-14T08:39:41.852Z] 46f8f816bc3b: Download complete [2021-05-14T08:39:41.852Z] df20fa9351a1: Verifying Checksum [2021-05-14T08:39:41.852Z] df20fa9351a1: Download complete [2021-05-14T08:39:42.116Z] 93b9cdb0e59b: Verifying Checksum [2021-05-14T08:39:42.116Z] 93b9cdb0e59b: Download complete [2021-05-14T08:39:42.116Z] 5e14af77c1be: Verifying Checksum [2021-05-14T08:39:42.116Z] 5e14af77c1be: Download complete [2021-05-14T08:39:42.116Z] 93b61091891f: Verifying Checksum [2021-05-14T08:39:42.116Z] 93b61091891f: Download complete [2021-05-14T08:39:42.116Z] 01666e4c0597: Verifying Checksum [2021-05-14T08:39:42.116Z] 01666e4c0597: Download complete [2021-05-14T08:39:42.116Z] 8ad3a11d3b57: Download complete [2021-05-14T08:39:42.380Z] df20fa9351a1: Pull complete [2021-05-14T08:39:42.646Z] 36b3adc4ff6f: Pull complete [2021-05-14T08:39:44.052Z] aa168da1d23b: Verifying Checksum [2021-05-14T08:39:44.052Z] aa168da1d23b: Download complete [2021-05-14T08:39:44.052Z] 8ad3a11d3b57: Pull complete [2021-05-14T08:39:44.315Z] 46f8f816bc3b: Pull complete [2021-05-14T08:39:44.894Z] 93b61091891f: Pull complete [2021-05-14T08:39:45.157Z] 93b9cdb0e59b: Pull complete [2021-05-14T08:39:45.419Z] 5e14af77c1be: Pull complete [2021-05-14T08:39:45.419Z] 01666e4c0597: Pull complete [2021-05-14T08:39:52.055Z] aa168da1d23b: Pull complete [2021-05-14T08:39:52.055Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-14T08:39:52.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T08:39:52.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-14T08:39:52.200Z] prd-centos7-docker-4c-2g-83 does not seem to be running inside a container [2021-05-14T08:39:52.257Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-14T08:39:55.287Z] $ docker top 84a14f695eb10912e14279b8a25d3ec8f147be7b33256d06d4febbb435b29b6a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T08:39:55.779Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-14T08:39:56.080Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-14T08:39:56.390Z] + ls /var/log/sa-host [2021-05-14T08:39:56.390Z] + sadf -c /var/log/sa-host/sa14 [2021-05-14T08:39:56.390Z] file_magic: OK [2021-05-14T08:39:56.390Z] HZ: Using current value: 100 [2021-05-14T08:39:56.390Z] file_header: OK [2021-05-14T08:39:56.390Z] 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-05-14T08:39:56.390Z] Statistics: [2021-05-14T08:39:56.390Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-14T08:39:56.390Z] File successfully converted to sysstat format version 12.2.1 [2021-05-14T08:39:56.390Z] + sadf -c /var/log/sa-host/sa23 [2021-05-14T08:39:56.390Z] file_magic: OK [2021-05-14T08:39:56.390Z] HZ: Using current value: 100 [2021-05-14T08:39:56.390Z] file_header: OK [2021-05-14T08:39:56.390Z] 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-05-14T08:39:56.390Z] Statistics: [2021-05-14T08:39:56.390Z] Hnuu...uuuununununu... [2021-05-14T08:39:56.390Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T08:39:56.601Z] provisioning config files... [2021-05-14T08:39:56.618Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config263608432604554948tmp [Pipeline] { [Pipeline] echo [2021-05-14T08:39:56.652Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:56.956Z] ---> create-netrc.sh [Pipeline] } [2021-05-14T08:39:56.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-14T08:39:57.000Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:57.326Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-14T08:39:57.339Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:57.645Z] ---> sudo-logs.sh [2021-05-14T08:39:57.645Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-14T08:39:57.691Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:58.116Z] ---> job-cost.sh [2021-05-14T08:39:58.116Z] lf-activate-venv: SKIPPING [2021-05-14T08:39:58.116Z] DEBUG: total: 0.20999999344348907 [2021-05-14T08:39:58.116Z] INFO: Retrieving Stack Cost... [2021-05-14T08:39:59.095Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T08:39:59.672Z] INFO: Archiving Costs [Pipeline] echo [2021-05-14T08:39:59.688Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:59.992Z] ---> logs-deploy.sh [2021-05-14T08:39:59.992Z] lf-activate-venv: SKIPPING [2021-05-14T08:39:59.992Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/43 [2021-05-14T08:39:59.992Z] INFO: archiving workspace using pattern(s): [2021-05-14T08:40:01.941Z] Archives upload complete. [2021-05-14T08:40:01.941Z] INFO: archiving logs to Nexus [2021-05-14T08:40:02.903Z] ---> uname -a: [2021-05-14T08:40:02.903Z] Linux prd-centos7-docker-4c-2g-83.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] ---> lscpu: [2021-05-14T08:40:02.903Z] Architecture: x86_64 [2021-05-14T08:40:02.903Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-14T08:40:02.903Z] Byte Order: Little Endian [2021-05-14T08:40:02.903Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-14T08:40:02.903Z] CPU(s): 4 [2021-05-14T08:40:02.903Z] On-line CPU(s) list: 0-3 [2021-05-14T08:40:02.903Z] Thread(s) per core: 1 [2021-05-14T08:40:02.903Z] Core(s) per socket: 1 [2021-05-14T08:40:02.903Z] Socket(s): 4 [2021-05-14T08:40:02.903Z] NUMA node(s): 1 [2021-05-14T08:40:02.903Z] Vendor ID: GenuineIntel [2021-05-14T08:40:02.903Z] CPU family: 6 [2021-05-14T08:40:02.903Z] Model: 44 [2021-05-14T08:40:02.903Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-14T08:40:02.903Z] Stepping: 1 [2021-05-14T08:40:02.903Z] CPU MHz: 2933.442 [2021-05-14T08:40:02.903Z] BogoMIPS: 5866.88 [2021-05-14T08:40:02.903Z] Virtualization: VT-x [2021-05-14T08:40:02.903Z] Hypervisor vendor: KVM [2021-05-14T08:40:02.903Z] Virtualization type: full [2021-05-14T08:40:02.903Z] L1d cache: 128 KiB [2021-05-14T08:40:02.903Z] L1i cache: 128 KiB [2021-05-14T08:40:02.903Z] L2 cache: 16 MiB [2021-05-14T08:40:02.903Z] L3 cache: 64 MiB [2021-05-14T08:40:02.903Z] NUMA node0 CPU(s): 0-3 [2021-05-14T08:40:02.903Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-14T08:40:02.903Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-14T08:40:02.903Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-14T08:40:02.903Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-14T08:40:02.903Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-14T08:40:02.903Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-14T08:40:02.903Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-14T08:40:02.903Z] Vulnerability Srbds: Not affected [2021-05-14T08:40:02.903Z] Vulnerability Tsx async abort: Not affected [2021-05-14T08:40:02.903Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] ---> nproc: [2021-05-14T08:40:02.903Z] 4 [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] ---> df -h: [2021-05-14T08:40:02.903Z] Filesystem Size Used Available Use% Mounted on [2021-05-14T08:40:02.903Z] overlay 50.0G 8.6G 41.4G 17% / [2021-05-14T08:40:02.903Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-14T08:40:02.903Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-05-14T08:40:02.903Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-14T08:40:02.903Z] /dev/vda1 50.0G 8.6G 41.4G 17% /facter-os [2021-05-14T08:40:02.903Z] /dev/vda1 50.0G 8.6G 41.4G 17% /etc/resolv.conf [2021-05-14T08:40:02.903Z] /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hostname [2021-05-14T08:40:02.903Z] /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hosts [2021-05-14T08:40:02.903Z] /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/auth.log [2021-05-14T08:40:02.903Z] /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master [2021-05-14T08:40:02.903Z] /dev/vda1 50.0G 8.6G 41.4G 17% /run/cloud-init/result.json [2021-05-14T08:40:02.903Z] /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master@tmp [2021-05-14T08:40:02.903Z] /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/sa-host [2021-05-14T08:40:02.903Z] /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/secure [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] ---> free -m: [2021-05-14T08:40:02.903Z] total used free shared buff/cache available [2021-05-14T08:40:02.903Z] Mem: 1837 845 151 0 841 928 [2021-05-14T08:40:02.903Z] Swap: 1023 2 1021 [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] ---> ip addr: [2021-05-14T08:40:02.903Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-14T08:40:02.903Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-14T08:40:02.903Z] inet 127.0.0.1/8 scope host lo [2021-05-14T08:40:02.903Z] valid_lft forever preferred_lft forever [2021-05-14T08:40:02.903Z] inet6 ::1/128 scope host [2021-05-14T08:40:02.903Z] valid_lft forever preferred_lft forever [2021-05-14T08:40:02.903Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-14T08:40:02.903Z] link/ether fa:16:3e:1d:32:2d brd ff:ff:ff:ff:ff:ff [2021-05-14T08:40:02.903Z] inet 10.30.122.92/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-14T08:40:02.903Z] valid_lft 85642sec preferred_lft 85642sec [2021-05-14T08:40:02.903Z] inet6 fe80::f816:3eff:fe1d:322d/64 scope link [2021-05-14T08:40:02.903Z] valid_lft forever preferred_lft forever [2021-05-14T08:40:02.903Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-14T08:40:02.903Z] link/ether 02:42:56:4e:5b:01 brd ff:ff:ff:ff:ff:ff [2021-05-14T08:40:02.903Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-14T08:40:02.903Z] valid_lft forever preferred_lft forever [2021-05-14T08:40:02.903Z] inet6 fe80::42:56ff:fe4e:5b01/64 scope link [2021-05-14T08:40:02.903Z] valid_lft forever preferred_lft forever [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.903Z] [2021-05-14T08:40:02.904Z] ---> sar -b -r -n DEV: [2021-05-14T08:40:02.904Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/14/21 _x86_64_ (4 CPU) [2021-05-14T08:40:02.904Z] [2021-05-14T08:40:02.904Z] 08:27:13 LINUX RESTART (4 CPU) [2021-05-14T08:40:02.904Z] [2021-05-14T08:40:02.904Z] 08:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-05-14T08:40:02.904Z] 08:29:01 28.99 9.84 19.15 0.00 4264.94 3473.82 0.00 [2021-05-14T08:40:02.904Z] 08:30:01 1.70 0.00 1.70 0.00 0.00 32.85 0.00 [2021-05-14T08:40:02.904Z] 08:31:01 0.18 0.00 0.18 0.00 0.00 2.18 0.00 [2021-05-14T08:40:02.904Z] 08:32:01 0.28 0.00 0.28 0.00 0.00 3.61 0.00 [2021-05-14T08:40:02.904Z] 08:33:01 0.23 0.00 0.23 0.00 0.00 3.05 0.00 [2021-05-14T08:40:02.904Z] 08:34:01 0.32 0.00 0.32 0.00 0.00 4.43 0.00 [2021-05-14T08:40:02.904Z] 08:35:01 0.28 0.00 0.28 0.00 0.00 3.90 0.00 [2021-05-14T08:40:02.904Z] 08:36:01 0.17 0.00 0.17 0.00 0.00 1.76 0.00 [2021-05-14T08:40:02.904Z] 08:37:01 0.37 0.00 0.37 0.00 0.00 5.81 0.00 [2021-05-14T08:40:02.904Z] 08:38:01 18.71 2.60 16.11 0.00 573.27 10933.72 0.00 [2021-05-14T08:40:02.904Z] 08:39:01 449.68 226.80 222.88 0.00 10613.47 57581.20 0.00 [2021-05-14T08:40:02.904Z] Average: 44.95 21.45 23.50 0.00 1391.54 6476.16 0.00 [2021-05-14T08:40:02.904Z] [2021-05-14T08:40:02.904Z] 08:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-05-14T08:40:02.904Z] 08:29:01 152352 0 611832 32.52 2620 1114740 1124080 38.36 421076 1109432 20 [2021-05-14T08:40:02.904Z] 08:30:01 151488 0 612688 32.56 2620 1114748 1115844 38.08 422772 1108952 8 [2021-05-14T08:40:02.904Z] 08:31:01 151496 0 612676 32.56 2620 1114752 1115892 38.08 434520 1097280 8 [2021-05-14T08:40:02.904Z] 08:32:01 146388 0 617780 32.83 2620 1114756 1108792 37.84 440592 1096256 8 [2021-05-14T08:40:02.904Z] 08:33:01 147104 0 617060 32.80 2620 1114760 1108720 37.84 451612 1084968 20 [2021-05-14T08:40:02.904Z] 08:34:01 148316 0 615844 32.73 2620 1114764 1092432 37.28 451024 1084428 20 [2021-05-14T08:40:02.904Z] 08:35:01 147012 0 617144 32.80 2620 1114768 1092468 37.28 452236 1084428 8 [2021-05-14T08:40:02.904Z] 08:36:01 147020 0 617132 32.80 2620 1114772 1088272 37.14 452984 1084236 12 [2021-05-14T08:40:02.904Z] 08:37:01 147544 0 616596 32.77 2620 1114784 1088152 37.14 452172 1084236 20 [2021-05-14T08:40:02.904Z] 08:38:01 74140 0 711848 37.83 2620 1092936 1515728 51.73 549788 1050000 26004 [2021-05-14T08:40:02.904Z] 08:39:01 172008 0 779500 41.43 1492 928544 1210220 41.30 527596 855704 16 [2021-05-14T08:40:02.904Z] Average: 144079 0 639100 33.97 2517 1095848 1150964 39.28 459670 1067265 2377 [2021-05-14T08:40:02.904Z] [2021-05-14T08:40:02.904Z] 08:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-05-14T08:40:02.904Z] 08:29:01 eth0 119.02 113.56 473.35 20.12 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:29:01 docker0 61.72 46.71 4.94 135.88 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:30:01 eth0 2.86 0.40 0.49 0.20 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:31:01 eth0 3.26 1.07 1.22 0.79 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:32:01 eth0 3.06 0.62 0.74 0.37 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:33:01 eth0 2.07 0.62 0.68 0.49 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:34:01 eth0 2.95 0.58 0.53 0.22 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:35:01 eth0 2.40 0.58 0.68 0.41 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:36:01 eth0 0.97 0.55 0.54 0.36 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:37:01 eth0 0.20 0.08 0.01 0.04 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:38:01 eth0 422.32 361.12 4069.96 27.38 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:39:01 eth0 492.52 419.56 3671.45 83.20 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:39:01 veth9e70d3e 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] 08:39:01 docker0 59.70 65.40 4.94 388.45 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] Average: eth0 95.05 81.24 743.20 12.04 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] Average: veth9e70d3e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] Average: docker0 10.97 10.11 0.89 47.18 0.00 0.00 0.00 0.00 [2021-05-14T08:40:02.904Z] [2021-05-14T08:40:02.904Z] [2021-05-14T08:40:02.904Z] ---> sar -P ALL: [2021-05-14T08:40:02.904Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/14/21 _x86_64_ (4 CPU) [2021-05-14T08:40:02.904Z] [2021-05-14T08:40:02.904Z] 08:27:13 LINUX RESTART (4 CPU) [2021-05-14T08:40:02.904Z] [2021-05-14T08:40:02.904Z] 08:28:01 CPU %user %nice %system %iowait %steal %idle [2021-05-14T08:40:02.904Z] 08:29:01 all 2.55 0.00 2.05 0.45 0.09 94.86 [2021-05-14T08:40:02.904Z] 08:29:01 0 2.42 0.00 2.28 0.07 0.08 95.15 [2021-05-14T08:40:02.904Z] 08:29:01 1 2.65 0.00 2.29 1.29 0.10 93.67 [2021-05-14T08:40:02.904Z] 08:29:01 2 2.64 0.00 1.98 0.27 0.08 95.03 [2021-05-14T08:40:02.904Z] 08:29:01 3 2.49 0.00 1.65 0.18 0.10 95.58 [2021-05-14T08:40:02.904Z] 08:30:01 all 0.17 0.00 0.03 0.00 0.01 99.79 [2021-05-14T08:40:02.904Z] 08:30:01 0 0.02 0.00 0.03 0.00 0.00 99.95 [2021-05-14T08:40:02.904Z] 08:30:01 1 0.10 0.00 0.05 0.00 0.02 99.83 [2021-05-14T08:40:02.904Z] 08:30:01 2 0.53 0.00 0.02 0.00 0.02 99.43 [2021-05-14T08:40:02.904Z] 08:30:01 3 0.03 0.00 0.03 0.00 0.00 99.93 [2021-05-14T08:40:02.904Z] 08:31:01 all 0.20 0.00 0.08 0.00 0.02 99.70 [2021-05-14T08:40:02.904Z] 08:31:01 0 0.08 0.00 0.03 0.00 0.00 99.88 [2021-05-14T08:40:02.904Z] 08:31:01 1 0.32 0.00 0.10 0.00 0.05 99.53 [2021-05-14T08:40:02.904Z] 08:31:01 2 0.27 0.00 0.05 0.00 0.02 99.67 [2021-05-14T08:40:02.904Z] 08:31:01 3 0.13 0.00 0.13 0.00 0.02 99.72 [2021-05-14T08:40:02.904Z] 08:32:01 all 0.17 0.00 0.05 0.00 0.02 99.76 [2021-05-14T08:40:02.904Z] 08:32:01 0 0.03 0.00 0.03 0.00 0.02 99.92 [2021-05-14T08:40:02.904Z] 08:32:01 1 0.55 0.00 0.05 0.00 0.03 99.37 [2021-05-14T08:40:02.904Z] 08:32:01 2 0.05 0.00 0.08 0.00 0.02 99.85 [2021-05-14T08:40:02.904Z] 08:32:01 3 0.03 0.00 0.03 0.00 0.02 99.92 [2021-05-14T08:40:02.904Z] 08:33:01 all 0.18 0.00 0.06 0.00 0.00 99.76 [2021-05-14T08:40:02.904Z] 08:33:01 0 0.03 0.00 0.02 0.00 0.00 99.95 [2021-05-14T08:40:02.904Z] 08:33:01 1 0.57 0.00 0.05 0.00 0.00 99.38 [2021-05-14T08:40:02.904Z] 08:33:01 2 0.07 0.00 0.03 0.00 0.00 99.90 [2021-05-14T08:40:02.904Z] 08:33:01 3 0.03 0.00 0.15 0.00 0.00 99.82 [2021-05-14T08:40:02.904Z] 08:34:01 all 0.16 0.00 0.05 0.00 0.01 99.79 [2021-05-14T08:40:02.904Z] 08:34:01 0 0.02 0.00 0.05 0.00 0.00 99.93 [2021-05-14T08:40:02.904Z] 08:34:01 1 0.52 0.00 0.03 0.00 0.02 99.43 [2021-05-14T08:40:02.904Z] 08:34:01 2 0.07 0.00 0.07 0.00 0.02 99.85 [2021-05-14T08:40:02.904Z] 08:34:01 3 0.03 0.00 0.03 0.00 0.00 99.93 [2021-05-14T08:40:02.904Z] 08:35:01 all 0.18 0.00 0.04 0.00 0.01 99.77 [2021-05-14T08:40:02.904Z] 08:35:01 0 0.03 0.00 0.03 0.00 0.00 99.93 [2021-05-14T08:40:02.904Z] 08:35:01 1 0.58 0.00 0.05 0.00 0.00 99.37 [2021-05-14T08:40:02.904Z] 08:35:01 2 0.05 0.00 0.03 0.00 0.00 99.92 [2021-05-14T08:40:02.904Z] 08:35:01 3 0.05 0.00 0.05 0.00 0.03 99.87 [2021-05-14T08:40:02.904Z] 08:36:01 all 0.16 0.00 0.03 0.00 0.00 99.81 [2021-05-14T08:40:02.904Z] 08:36:01 0 0.05 0.00 0.02 0.00 0.00 99.93 [2021-05-14T08:40:02.904Z] 08:36:01 1 0.52 0.00 0.03 0.00 0.00 99.45 [2021-05-14T08:40:02.904Z] 08:36:01 2 0.03 0.00 0.03 0.00 0.00 99.93 [2021-05-14T08:40:02.904Z] 08:36:01 3 0.03 0.00 0.03 0.00 0.00 99.93 [2021-05-14T08:40:02.904Z] 08:37:01 all 0.17 0.00 0.03 0.00 0.00 99.79 [2021-05-14T08:40:02.904Z] 08:37:01 0 0.02 0.00 0.03 0.00 0.00 99.95 [2021-05-14T08:40:02.904Z] 08:37:01 1 0.55 0.00 0.02 0.00 0.02 99.42 [2021-05-14T08:40:02.904Z] 08:37:01 2 0.05 0.00 0.03 0.00 0.00 99.92 [2021-05-14T08:40:02.904Z] 08:37:01 3 0.07 0.00 0.05 0.00 0.00 99.88 [2021-05-14T08:40:02.904Z] 08:38:01 all 2.37 0.00 1.91 0.06 0.03 95.63 [2021-05-14T08:40:02.905Z] 08:38:01 0 2.09 0.00 2.51 0.12 0.03 95.25 [2021-05-14T08:40:02.905Z] 08:38:01 1 2.75 0.00 1.88 0.05 0.03 95.29 [2021-05-14T08:40:02.905Z] 08:38:01 2 2.25 0.00 1.78 0.05 0.02 95.91 [2021-05-14T08:40:02.905Z] 08:38:01 3 2.41 0.00 1.48 0.02 0.02 96.08 [2021-05-14T08:40:02.905Z] 08:39:01 all 16.64 0.00 12.90 6.95 0.13 63.38 [2021-05-14T08:40:02.905Z] 08:39:01 0 15.80 0.00 13.34 8.38 0.14 62.35 [2021-05-14T08:40:02.905Z] 08:39:01 1 17.01 0.00 12.32 6.48 0.11 64.09 [2021-05-14T08:40:02.905Z] 08:39:01 2 15.83 0.00 12.23 6.27 0.14 65.52 [2021-05-14T08:40:02.905Z] 08:39:01 3 17.93 0.00 13.72 6.65 0.14 61.56 [2021-05-14T08:40:02.905Z] [2021-05-14T08:40:02.905Z] Average: CPU %user %nice %system %iowait %steal %idle [2021-05-14T08:40:02.905Z] Average: all 2.00 0.00 1.50 0.64 0.03 95.83 [2021-05-14T08:40:02.905Z] Average: 0 1.79 0.00 1.60 0.73 0.02 95.85 [2021-05-14T08:40:02.905Z] Average: 1 2.29 0.00 1.47 0.68 0.03 95.52 [2021-05-14T08:40:02.905Z] Average: 2 1.91 0.00 1.42 0.57 0.03 96.08 [2021-05-14T08:40:02.905Z] Average: 3 2.02 0.00 1.50 0.59 0.03 95.86 [2021-05-14T08:40:02.905Z] [2021-05-14T08:40:02.905Z] [2021-05-14T08:40:02.905Z]