Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 03359c08c1b66a89f278bd3fc862a1cc531bead5 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-ssh5656931371813663637.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-ssh4047966293994801873.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-ssh7428367835752480693.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-ssh6847202171851246777.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-ssh1861140141344724967.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15355 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_master@tmp/jenkins-gitclient-ssh5523665410526408630.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 03359c08c1b66a89f278bd3fc862a1cc531bead5 (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 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 Commit message: "Merge pull request #103 from lenny-intel/ports" > git rev-list --no-walk 69c81efe40b40196065d751e2d1c999af0ecde18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-20T17:58:38.102Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-20T17:58:38.200Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-20T17:58:38.229Z] ========================================================= [2021-05-20T17:58:38.229Z] EdgeX Global Pipelines Version Info [2021-05-20T17:58:38.229Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-20T17:58:39.711Z] ------------------- [2021-05-20T17:58:39.711Z] stable info: [2021-05-20T17:58:39.711Z] ------------------- [2021-05-20T17:58:39.711Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-20T17:58:39.711Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T17:58:39.711Z] Message: update stable to v1.0.192 [2021-05-20T17:58:40.304Z] ------------------- [2021-05-20T17:58:40.304Z] experimental info: [2021-05-20T17:58:40.304Z] ------------------- [2021-05-20T17:58:40.304Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-20T17:58:40.304Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T17:58:40.304Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-20T17:58:40.451Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-20T17:58:40.475Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-20T17:58:40.499Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-20T17:58:40.537Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-20T17:58:40.564Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-20T17:58:40.593Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-20T17:58:40.620Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-20T17:58:40.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-20T17:58:40.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-20T17:58:40.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-20T17:58:40.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-20T17:58:40.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-20T17:58:40.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-20T17:58:40.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-20T17:58:40.826Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T17:58:40.853Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T17:58:40.882Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T17:58:40.936Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T17:58:40.961Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-20T17:58:40.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-20T17:58:41.018Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-20T17:58:41.040Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-20T17:58:41.067Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-20T17:58:41.091Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-20T17:58:41.114Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-20T17:58:41.137Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-20T17:58:41.163Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-20T17:58:41.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-20T17:58:41.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-20T17:58:41.241Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03359c08c1b66a89f278bd3fc862a1cc531bead5 [Pipeline] echo [2021-05-20T17:58:41.270Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03359c0 [Pipeline] echo [2021-05-20T17:58:41.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T17:58:41.373Z] provisioning config files... [2021-05-20T17:58:41.391Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1703854146380757140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T17:58:41.721Z] ---> docker-login.sh [2021-05-20T17:58:41.722Z] nexus3.edgexfoundry.org:10001 [2021-05-20T17:58:42.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:42.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:42.936Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:42.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:42.936Z] [2021-05-20T17:58:42.936Z] Login Succeeded [2021-05-20T17:58:42.936Z] nexus3.edgexfoundry.org:10002 [2021-05-20T17:58:42.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:43.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:43.198Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:43.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:43.198Z] [2021-05-20T17:58:43.198Z] Login Succeeded [2021-05-20T17:58:43.198Z] nexus3.edgexfoundry.org:10003 [2021-05-20T17:58:43.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:43.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:43.198Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:43.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:43.198Z] [2021-05-20T17:58:43.198Z] Login Succeeded [2021-05-20T17:58:43.198Z] nexus3.edgexfoundry.org:10004 [2021-05-20T17:58:43.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:43.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:43.462Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:43.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:43.462Z] [2021-05-20T17:58:43.462Z] Login Succeeded [2021-05-20T17:58:43.462Z] docker.io [2021-05-20T17:58:43.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T17:58:43.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T17:58:43.729Z] Configure a credential helper to remove this warning. See [2021-05-20T17:58:43.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T17:58:43.729Z] [2021-05-20T17:58:43.729Z] Login Succeeded [2021-05-20T17:58:43.729Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T17:58:43.739Z] 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-20T17:58:44.294Z] + git log --format=format:%s -1 03359c08c1b66a89f278bd3fc862a1cc531bead5 [Pipeline] echo [2021-05-20T17:58:44.353Z] GIT_COMMIT: 03359c08c1b66a89f278bd3fc862a1cc531bead5, Commit Message: Merge pull request #103 from lenny-intel/ports [Pipeline] echo [2021-05-20T17:58:44.371Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-20T17:58:45.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T17:58:45.001Z] [2021-05-20T17:58:45.001Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T17:58:45.322Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T17:58:45.597Z] latest: Pulling from edgex-devops/git-semver [2021-05-20T17:58:45.597Z] 31603596830f: Pulling fs layer [2021-05-20T17:58:45.597Z] 54011a49482f: Pulling fs layer [2021-05-20T17:58:45.597Z] a6820b24f6d8: Pulling fs layer [2021-05-20T17:58:45.597Z] f581987b2513: Pulling fs layer [2021-05-20T17:58:45.597Z] f581987b2513: Waiting [2021-05-20T17:58:45.597Z] 54011a49482f: Verifying Checksum [2021-05-20T17:58:45.597Z] 54011a49482f: Download complete [2021-05-20T17:58:45.597Z] 31603596830f: Verifying Checksum [2021-05-20T17:58:45.597Z] 31603596830f: Download complete [2021-05-20T17:58:45.860Z] f581987b2513: Verifying Checksum [2021-05-20T17:58:45.860Z] f581987b2513: Download complete [2021-05-20T17:58:45.860Z] a6820b24f6d8: Verifying Checksum [2021-05-20T17:58:45.860Z] a6820b24f6d8: Download complete [2021-05-20T17:58:45.860Z] 31603596830f: Pull complete [2021-05-20T17:58:46.128Z] 54011a49482f: Pull complete [2021-05-20T17:58:47.076Z] a6820b24f6d8: Pull complete [2021-05-20T17:58:47.076Z] f581987b2513: Pull complete [2021-05-20T17:58:47.338Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-20T17:58:47.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T17:58:47.338Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-20T17:58:47.412Z] prd-centos7-docker-4c-2g-15355 does not seem to be running inside a container [2021-05-20T17:58:47.450Z] $ 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-20T17:58:52.641Z] $ docker top e4e844455abef951ebced0d29e53cd96387eaf6874ab2a6249606d01bc93a364 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T17:58:52.771Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T17:58:52.771Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T17:58:52.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T17:58:52.879Z] $ docker exec e4e844455abef951ebced0d29e53cd96387eaf6874ab2a6249606d01bc93a364 ssh-agent [2021-05-20T17:58:52.986Z] SSH_AUTH_SOCK=/tmp/ssh-dID9ULEVdVmu/agent.14 [2021-05-20T17:58:52.986Z] SSH_AGENT_PID=21 [2021-05-20T17:58:52.994Z] Running ssh-add (command line suppressed) [2021-05-20T17:58:53.098Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1947432771891888362.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1947432771891888362.key) [2021-05-20T17:58:53.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T17:58:53.414Z] + git tag --points-at HEAD [Pipeline] } [2021-05-20T17:58:53.429Z] $ docker exec --env ******** --env ******** e4e844455abef951ebced0d29e53cd96387eaf6874ab2a6249606d01bc93a364 ssh-agent -k [2021-05-20T17:58:53.540Z] unset SSH_AUTH_SOCK; [2021-05-20T17:58:53.540Z] unset SSH_AGENT_PID; [2021-05-20T17:58:53.540Z] echo Agent pid 21 killed; [2021-05-20T17:58:53.567Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-20T17:58:53.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T17:58:53.612Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T17:58:53.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T17:58:53.724Z] $ docker exec e4e844455abef951ebced0d29e53cd96387eaf6874ab2a6249606d01bc93a364 ssh-agent [2021-05-20T17:58:53.859Z] SSH_AUTH_SOCK=/tmp/ssh-jIASwB0awaP9/agent.54 [2021-05-20T17:58:53.859Z] SSH_AGENT_PID=61 [2021-05-20T17:58:53.870Z] Running ssh-add (command line suppressed) [2021-05-20T17:58:53.987Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1713467880261448620.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1713467880261448620.key) [2021-05-20T17:58:54.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T17:58:54.311Z] + git semver init [2021-05-20T17:58:54.311Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T17:58:54.311Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-20T17:58:54.311Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-20T17:58:54.311Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T17:58:54.311Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T17:58:54.311Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T17:58:54.311Z] # $SEMVER_BRANCH = master [2021-05-20T17:58:54.311Z] # $SEMVER_TEMP = /tmp/semver-758953949 [2021-05-20T17:58:54.311Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-20T17:58:55.268Z] # '/tmp/semver-758953949' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-05-20T17:58:55.268Z] # -> Force: false [2021-05-20T17:58:55.268Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-20T17:58:55.280Z] $ docker exec --env ******** --env ******** e4e844455abef951ebced0d29e53cd96387eaf6874ab2a6249606d01bc93a364 ssh-agent -k [2021-05-20T17:58:55.371Z] unset SSH_AUTH_SOCK; [2021-05-20T17:58:55.371Z] unset SSH_AGENT_PID; [2021-05-20T17:58:55.371Z] echo Agent pid 61 killed; [2021-05-20T17:58:55.381Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T17:58:55.723Z] + git semver [Pipeline] } [2021-05-20T17:58:55.737Z] $ docker stop --time=1 e4e844455abef951ebced0d29e53cd96387eaf6874ab2a6249606d01bc93a364 [2021-05-20T17:58:58.527Z] $ docker rm -f e4e844455abef951ebced0d29e53cd96387eaf6874ab2a6249606d01bc93a364 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T17:58:58.917Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-20T17:58:59.206Z] Stashed 1 file(s) [Pipeline] echo [2021-05-20T17:58:59.210Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.12 [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-20T17:59:14.458Z] Still waiting to schedule task [2021-05-20T17:59:14.458Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-20T17:59:14.461Z] Still waiting to schedule task [2021-05-20T17:59:14.462Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15357’ [2021-05-20T18:01:45.628Z] Running on prd-centos7-docker-4c-2g-15363 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-20T18:01:45.661Z] Running in /w/workspace/device-rest-go/45 [Pipeline] { [Pipeline] checkout [2021-05-20T18:01:45.785Z] The recommended git tool is: git [2021-05-20T18:01:48.207Z] using credential edgex-jenkins-ssh [2021-05-20T18:01:48.217Z] Cloning the remote Git repository [2021-05-20T18:01:48.243Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-20T18:01:48.311Z] > git init /w/workspace/device-rest-go/45 # timeout=10 [2021-05-20T18:01:48.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-20T18:01:48.404Z] > git --version # timeout=10 [2021-05-20T18:01:48.417Z] > git --version # 'git version 2.24.4' [2021-05-20T18:01:48.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T18:01:48.460Z] [INFO] Currently running in a labeled security context [2021-05-20T18:01:48.460Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T18:01:48.460Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/45@tmp/jenkins-gitclient-ssh2318446005225326460.key [2021-05-20T18:01:48.508Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:01:50.021Z] Avoid second fetch [2021-05-20T18:01:50.021Z] Checking out Revision 03359c08c1b66a89f278bd3fc862a1cc531bead5 (master) [2021-05-20T18:01:50.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-20T18:01:50.011Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:01:50.028Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T18:01:50.035Z] > git checkout -f 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 [2021-05-20T18:01:53.594Z] Commit message: "Merge pull request #103 from lenny-intel/ports" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T18:01:54.637Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:01:55.236Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:01:55.539Z] + sudo service docker restart [2021-05-20T18:01:55.539Z] + true [2021-05-20T18:01:55.539Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:02:17.562Z] provisioning config files... [2021-05-20T18:02:17.576Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/45@tmp/config4818982664955860790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:02:17.898Z] ---> docker-login.sh [2021-05-20T18:02:17.898Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:02:18.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:18.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:18.740Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:18.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:18.740Z] [2021-05-20T18:02:18.740Z] Login Succeeded [2021-05-20T18:02:18.740Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:02:18.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:18.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:18.740Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:18.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:18.740Z] [2021-05-20T18:02:18.741Z] Login Succeeded [2021-05-20T18:02:18.741Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:02:19.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:19.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:19.002Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:19.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:19.002Z] [2021-05-20T18:02:19.002Z] Login Succeeded [2021-05-20T18:02:19.002Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:02:19.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:19.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:19.002Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:19.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:19.002Z] [2021-05-20T18:02:19.002Z] Login Succeeded [2021-05-20T18:02:19.002Z] docker.io [2021-05-20T18:02:19.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:02:19.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:02:19.575Z] Configure a credential helper to remove this warning. See [2021-05-20T18:02:19.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:02:19.575Z] [2021-05-20T18:02:19.575Z] Login Succeeded [2021-05-20T18:02:19.575Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:02:19.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T18:02:19.871Z] ========================================================= [2021-05-20T18:02:19.871Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-20T18:02:19.871Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:02:20.184Z] + 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-20T18:02:20.184Z] Sending build context to Docker daemon 92.16kB [2021-05-20T18:02:20.184Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:02:20.184Z] Step 2/10 : FROM ${BASE} [2021-05-20T18:02:20.447Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-20T18:02:20.447Z] 540db60ca938: Pulling fs layer [2021-05-20T18:02:20.447Z] adcc1eea9eea: Pulling fs layer [2021-05-20T18:02:20.447Z] 4c4ab2625f07: Pulling fs layer [2021-05-20T18:02:20.447Z] 0510c868ecb4: Pulling fs layer [2021-05-20T18:02:20.447Z] afea3b2eda06: Pulling fs layer [2021-05-20T18:02:20.447Z] 7809a108b3ef: Pulling fs layer [2021-05-20T18:02:20.447Z] f706445af74f: Pulling fs layer [2021-05-20T18:02:20.447Z] afea3b2eda06: Waiting [2021-05-20T18:02:20.447Z] 7809a108b3ef: Waiting [2021-05-20T18:02:20.447Z] f706445af74f: Waiting [2021-05-20T18:02:20.447Z] 0510c868ecb4: Waiting [2021-05-20T18:02:20.448Z] 4c4ab2625f07: Verifying Checksum [2021-05-20T18:02:20.448Z] 4c4ab2625f07: Download complete [2021-05-20T18:02:20.448Z] adcc1eea9eea: Verifying Checksum [2021-05-20T18:02:20.448Z] adcc1eea9eea: Download complete [2021-05-20T18:02:20.716Z] afea3b2eda06: Verifying Checksum [2021-05-20T18:02:20.716Z] afea3b2eda06: Download complete [2021-05-20T18:02:20.716Z] 540db60ca938: Verifying Checksum [2021-05-20T18:02:20.716Z] 540db60ca938: Download complete [2021-05-20T18:02:20.716Z] 7809a108b3ef: Verifying Checksum [2021-05-20T18:02:20.716Z] 7809a108b3ef: Download complete [2021-05-20T18:02:20.976Z] 540db60ca938: Pull complete [2021-05-20T18:02:21.549Z] adcc1eea9eea: Pull complete [2021-05-20T18:02:22.120Z] 4c4ab2625f07: Pull complete [2021-05-20T18:02:22.120Z] f706445af74f: Verifying Checksum [2021-05-20T18:02:22.120Z] f706445af74f: Download complete [2021-05-20T18:02:22.383Z] 0510c868ecb4: Verifying Checksum [2021-05-20T18:02:22.383Z] 0510c868ecb4: Download complete [2021-05-20T18:02:27.690Z] 0510c868ecb4: Pull complete [2021-05-20T18:02:27.690Z] afea3b2eda06: Pull complete [2021-05-20T18:02:27.952Z] 7809a108b3ef: Pull complete [2021-05-20T18:02:29.875Z] f706445af74f: Pull complete [2021-05-20T18:02:30.137Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-20T18:02:30.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-20T18:02:30.137Z] ---> b068be0155e3 [2021-05-20T18:02:30.137Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T18:02:43.431Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15370 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-20T18:02:43.450Z] Running in /w/workspace/device-rest-go/45 [Pipeline] { [Pipeline] checkout [2021-05-20T18:02:43.682Z] The recommended git tool is: git [2021-05-20T18:02:49.070Z] using credential edgex-jenkins-ssh [2021-05-20T18:02:49.087Z] Cloning the remote Git repository [2021-05-20T18:02:49.137Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-20T18:02:49.255Z] > git init /w/workspace/device-rest-go/45 # timeout=10 [2021-05-20T18:02:49.385Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-20T18:02:49.385Z] > git --version # timeout=10 [2021-05-20T18:02:49.404Z] > git --version # 'git version 2.17.1' [2021-05-20T18:02:49.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T18:02:49.478Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:02:51.109Z] Avoid second fetch [2021-05-20T18:02:51.110Z] Checking out Revision 03359c08c1b66a89f278bd3fc862a1cc531bead5 (master) [2021-05-20T18:02:51.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-20T18:02:51.094Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T18:02:51.132Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T18:02:51.143Z] > git checkout -f 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 [2021-05-20T18:02:55.276Z] Commit message: "Merge pull request #103 from lenny-intel/ports" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T18:02:56.575Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:02:57.004Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T18:02:57.352Z] + + true [2021-05-20T18:02:57.353Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:03:16.681Z] provisioning config files... [2021-05-20T18:03:16.721Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/45@tmp/config3758386842126941419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:03:16.881Z] ---> Running in ca316889b308 [2021-05-20T18:03:16.881Z] Removing intermediate container ca316889b308 [2021-05-20T18:03:16.881Z] ---> 2d5b34768ed0 [2021-05-20T18:03:16.881Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T18:03:16.881Z] ---> Running in 8a97ae183184 [2021-05-20T18:03:16.881Z] Removing intermediate container 8a97ae183184 [2021-05-20T18:03:16.881Z] ---> 1a3c7170bf54 [2021-05-20T18:03:16.881Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-20T18:03:16.881Z] ---> Running in 24d71f580c48 [2021-05-20T18:03:16.881Z] Removing intermediate container 24d71f580c48 [2021-05-20T18:03:16.881Z] ---> bd60ec5e04a8 [2021-05-20T18:03:16.881Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:03:16.881Z] ---> Running in a61994d39ff9 [2021-05-20T18:03:17.111Z] ---> docker-login.sh [2021-05-20T18:03:17.111Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:03:17.144Z] Removing intermediate container a61994d39ff9 [2021-05-20T18:03:17.144Z] ---> a22ad7d721d5 [2021-05-20T18:03:17.144Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T18:03:17.144Z] ---> Running in 5d3190e1e7df [2021-05-20T18:03:17.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:03:18.116Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T18:03:18.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:03:18.329Z] Configure a credential helper to remove this warning. See [2021-05-20T18:03:18.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:03:18.329Z] [2021-05-20T18:03:18.329Z] Login Succeeded [2021-05-20T18:03:18.329Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:03:18.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:03:18.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:03:18.876Z] Configure a credential helper to remove this warning. See [2021-05-20T18:03:18.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:03:18.876Z] [2021-05-20T18:03:18.876Z] Login Succeeded [2021-05-20T18:03:18.876Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:03:19.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:03:19.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:03:19.424Z] Configure a credential helper to remove this warning. See [2021-05-20T18:03:19.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:03:19.424Z] [2021-05-20T18:03:19.424Z] Login Succeeded [2021-05-20T18:03:19.424Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:03:19.508Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T18:03:19.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:03:19.769Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-20T18:03:19.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:03:19.975Z] Configure a credential helper to remove this warning. See [2021-05-20T18:03:19.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:03:19.975Z] [2021-05-20T18:03:19.975Z] Login Succeeded [2021-05-20T18:03:19.975Z] docker.io [2021-05-20T18:03:20.032Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-20T18:03:20.032Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-20T18:03:20.032Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-20T18:03:20.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:03:20.292Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T18:03:20.292Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-20T18:03:20.556Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-20T18:03:20.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:03:20.853Z] Configure a credential helper to remove this warning. See [2021-05-20T18:03:20.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:03:20.853Z] [2021-05-20T18:03:20.853Z] Login Succeeded [2021-05-20T18:03:20.853Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:03:20.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T18:03:21.152Z] ========================================================= [2021-05-20T18:03:21.152Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-20T18:03:21.152Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:03:21.499Z] + 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-20T18:03:21.499Z] Sending build context to Docker daemon 92.16kB [2021-05-20T18:03:21.504Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-20T18:03:21.504Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-20T18:03:21.769Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T18:03:21.769Z] OK: 154 MiB in 49 packages [2021-05-20T18:03:21.776Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:03:21.776Z] Step 2/10 : FROM ${BASE} [2021-05-20T18:03:22.374Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-20T18:03:22.374Z] 595b0fe564bb: Pulling fs layer [2021-05-20T18:03:22.374Z] 7186ed65a4f7: Pulling fs layer [2021-05-20T18:03:22.374Z] 316046926c0a: Pulling fs layer [2021-05-20T18:03:22.374Z] 4ebd0625c992: Pulling fs layer [2021-05-20T18:03:22.374Z] 207e8628e3a3: Pulling fs layer [2021-05-20T18:03:22.374Z] c791037a9be2: Pulling fs layer [2021-05-20T18:03:22.374Z] ffd874e62e21: Pulling fs layer [2021-05-20T18:03:22.374Z] 4ebd0625c992: Waiting [2021-05-20T18:03:22.374Z] 207e8628e3a3: Waiting [2021-05-20T18:03:22.374Z] c791037a9be2: Waiting [2021-05-20T18:03:22.374Z] ffd874e62e21: Waiting [2021-05-20T18:03:22.374Z] 316046926c0a: Verifying Checksum [2021-05-20T18:03:22.374Z] 316046926c0a: Download complete [2021-05-20T18:03:22.374Z] 7186ed65a4f7: Download complete [2021-05-20T18:03:22.374Z] 207e8628e3a3: Download complete [2021-05-20T18:03:22.374Z] c791037a9be2: Verifying Checksum [2021-05-20T18:03:22.374Z] c791037a9be2: Download complete [2021-05-20T18:03:22.374Z] 595b0fe564bb: Verifying Checksum [2021-05-20T18:03:22.374Z] 595b0fe564bb: Download complete [2021-05-20T18:03:22.984Z] 595b0fe564bb: Pull complete [2021-05-20T18:03:23.587Z] 7186ed65a4f7: Pull complete [2021-05-20T18:03:23.686Z] Removing intermediate container 5d3190e1e7df [2021-05-20T18:03:23.686Z] ---> 5f0a6c84c5d7 [2021-05-20T18:03:23.686Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-20T18:03:23.866Z] 316046926c0a: Pull complete [2021-05-20T18:03:23.948Z] ---> Running in 1b0a87892350 [2021-05-20T18:03:24.520Z] Removing intermediate container 1b0a87892350 [2021-05-20T18:03:24.520Z] ---> 595397ff2a9b [2021-05-20T18:03:24.520Z] Step 9/10 : COPY . . [2021-05-20T18:03:25.091Z] ---> a61bcaa80f96 [2021-05-20T18:03:25.091Z] Step 10/10 : RUN go mod download [2021-05-20T18:03:25.313Z] ffd874e62e21: Verifying Checksum [2021-05-20T18:03:25.314Z] ffd874e62e21: Download complete [2021-05-20T18:03:25.358Z] ---> Running in b26dcf60abb4 [2021-05-20T18:03:27.279Z] 4ebd0625c992: Verifying Checksum [2021-05-20T18:03:27.279Z] 4ebd0625c992: Download complete [2021-05-20T18:03:37.477Z] 4ebd0625c992: Pull complete [2021-05-20T18:03:37.752Z] 207e8628e3a3: Pull complete [2021-05-20T18:03:38.344Z] c791037a9be2: Pull complete [2021-05-20T18:03:41.730Z] ffd874e62e21: Pull complete [2021-05-20T18:03:41.730Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-20T18:03:41.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-20T18:03:41.730Z] ---> cfc18b08335c [2021-05-20T18:03:41.730Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T18:03:43.710Z] ---> Running in 7d32944b9e89 [2021-05-20T18:03:43.710Z] Removing intermediate container 7d32944b9e89 [2021-05-20T18:03:43.710Z] ---> 1bfe5236cbd4 [2021-05-20T18:03:43.710Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T18:03:43.984Z] ---> Running in 4494fb82e733 [2021-05-20T18:03:44.582Z] Removing intermediate container 4494fb82e733 [2021-05-20T18:03:44.582Z] ---> 63b594be8938 [2021-05-20T18:03:44.582Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-20T18:03:44.582Z] ---> Running in 86d7dcee4dc8 [2021-05-20T18:03:45.178Z] Removing intermediate container 86d7dcee4dc8 [2021-05-20T18:03:45.178Z] ---> 97365e36c853 [2021-05-20T18:03:45.178Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:03:45.178Z] ---> Running in 86a142a9137a [2021-05-20T18:03:47.804Z] Removing intermediate container 86a142a9137a [2021-05-20T18:03:47.804Z] ---> de161cc989b2 [2021-05-20T18:03:47.804Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T18:03:47.804Z] ---> Running in c174c2979397 [2021-05-20T18:03:48.797Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T18:03:49.785Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T18:03:50.382Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-20T18:03:50.654Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-20T18:03:50.654Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-20T18:03:50.654Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-20T18:03:50.926Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T18:03:50.926Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-20T18:03:50.926Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-20T18:03:51.522Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-20T18:03:51.523Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-20T18:03:51.523Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T18:03:51.523Z] OK: 144 MiB in 49 packages [2021-05-20T18:03:53.508Z] Removing intermediate container c174c2979397 [2021-05-20T18:03:53.509Z] ---> 9f72a848b393 [2021-05-20T18:03:53.509Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-20T18:03:53.509Z] ---> Running in 9d0a0001af00 [2021-05-20T18:03:53.793Z] Removing intermediate container 9d0a0001af00 [2021-05-20T18:03:53.793Z] ---> f080b6c9aa2f [2021-05-20T18:03:53.793Z] Step 9/10 : COPY . . [2021-05-20T18:03:54.774Z] ---> a8f7956cd8ae [2021-05-20T18:03:54.774Z] Step 10/10 : RUN go mod download [2021-05-20T18:03:54.774Z] ---> Running in 7bb6604fb42d [2021-05-20T18:04:21.570Z] Removing intermediate container 7bb6604fb42d [2021-05-20T18:04:21.570Z] ---> 8fadf457cac0 [2021-05-20T18:04:21.570Z] Successfully built 8fadf457cac0 [2021-05-20T18:04:21.570Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:04:21.672Z] Removing intermediate container b26dcf60abb4 [2021-05-20T18:04:21.672Z] ---> f6e623bdae0f [2021-05-20T18:04:21.672Z] Successfully built f6e623bdae0f [2021-05-20T18:04:21.913Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T18:04:21.913Z] . [Pipeline] withDockerContainer [2021-05-20T18:04:22.151Z] prd-ubuntu18.04-docker-arm64-4c-16g-15370 does not seem to be running inside a container [2021-05-20T18:04:22.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/45 -v /w/workspace/device-rest-go/45:/w/workspace/device-rest-go/45:rw,z -v /w/workspace/device-rest-go/45@tmp:/w/workspace/device-rest-go/45@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-20T18:04:22.612Z] Successfully tagged ci-base-image-x86_64:latest [2021-05-20T18:04:23.847Z] $ docker top 56c5d1659448497cc2e705f5dd760345758cef13e2f86187da4a6058157acc4a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:04:24.547Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T18:04:24.547Z] . [Pipeline] withDockerContainer [2021-05-20T18:04:24.631Z] prd-centos7-docker-4c-2g-15363 does not seem to be running inside a container [2021-05-20T18:04:24.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/45 -v /w/workspace/device-rest-go/45:/w/workspace/device-rest-go/45:rw,z -v /w/workspace/device-rest-go/45@tmp:/w/workspace/device-rest-go/45@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-20T18:04:24.827Z] + go version [2021-05-20T18:04:24.828Z] go version go1.16.3 linux/arm64 [2021-05-20T18:04:25.915Z] $ docker top 10d81d7c37bfc144bb5cbcdcb340cd465fc8afeb9ed3379d8d49b8836fc533af -eo pid,comm [Pipeline] { [Pipeline] } [2021-05-20T18:04:26.023Z] $ docker stop --time=1 56c5d1659448497cc2e705f5dd760345758cef13e2f86187da4a6058157acc4a [2021-05-20T18:04:27.850Z] $ docker rm -f 56c5d1659448497cc2e705f5dd760345758cef13e2f86187da4a6058157acc4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:04:28.426Z] + go version [2021-05-20T18:04:28.426Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-20T18:04:28.444Z] $ docker stop --time=1 10d81d7c37bfc144bb5cbcdcb340cd465fc8afeb9ed3379d8d49b8836fc533af [2021-05-20T18:04:28.687Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T18:04:28.687Z] . [2021-05-20T18:04:30.075Z] $ docker rm -f 10d81d7c37bfc144bb5cbcdcb340cd465fc8afeb9ed3379d8d49b8836fc533af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-05-20T18:04:30.413Z] prd-ubuntu18.04-docker-arm64-4c-16g-15370 does not seem to be running inside a container [2021-05-20T18:04:30.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/45 -v /w/workspace/device-rest-go/45:/w/workspace/device-rest-go/45:rw,z -v /w/workspace/device-rest-go/45@tmp:/w/workspace/device-rest-go/45@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-20T18:04:32.122Z] $ docker top a23a0c25ab69f0127fdeabda57de00340e540c80b34b41075e6ea565d338d966 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:04:32.940Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T18:04:32.940Z] . [Pipeline] withDockerContainer [2021-05-20T18:04:33.012Z] prd-centos7-docker-4c-2g-15363 does not seem to be running inside a container [2021-05-20T18:04:33.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/45 -v /w/workspace/device-rest-go/45:/w/workspace/device-rest-go/45:rw,z -v /w/workspace/device-rest-go/45@tmp:/w/workspace/device-rest-go/45@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-20T18:04:33.099Z] + go mod tidy [2021-05-20T18:04:33.837Z] $ docker top a41c323b0d17f8ab1cfe5d4e93409835e360ff8ac7582826d29c6915af7e2785 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-20T18:04:34.281Z] + go mod tidy [2021-05-20T18:04:34.562Z] + make test [2021-05-20T18:04:34.562Z] go mod tidy [Pipeline] sh [2021-05-20T18:04:34.838Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-20T18:04:34.894Z] + make test [2021-05-20T18:04:34.894Z] go mod tidy [2021-05-20T18:04:34.894Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-20T18:04:35.847Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-20T18:04:36.328Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-20T18:04:57.878Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-20T18:04:57.878Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-05-20T18:04:57.878Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T18:05:04.493Z] gofmt -l . [2021-05-20T18:05:04.493Z] [ "`gofmt -l .`" = "" ] [2021-05-20T18:05:04.493Z] ./bin/test-go-mod-tidy.sh [2021-05-20T18:05:04.493Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T18:05:04.775Z] $ docker stop --time=1 a41c323b0d17f8ab1cfe5d4e93409835e360ff8ac7582826d29c6915af7e2785 [2021-05-20T18:05:09.056Z] $ docker rm -f a41c323b0d17f8ab1cfe5d4e93409835e360ff8ac7582826d29c6915af7e2785 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T18:05:09.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T18:05:09.705Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-20T18:05:10.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T18:05:11.161Z] + ls -al . [2021-05-20T18:05:11.162Z] total 104 [2021-05-20T18:05:11.162Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 20 18:05 . [2021-05-20T18:05:11.162Z] drwxrwxr-x. 4 jenkins jenkins 30 May 20 18:01 .. [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 20 18:01 Attribution.txt [2021-05-20T18:05:11.162Z] drwxrwxr-x. 2 jenkins jenkins 64 May 20 18:01 bin [2021-05-20T18:05:11.162Z] drwxrwxr-x. 3 jenkins jenkins 32 May 20 18:01 cmd [2021-05-20T18:05:11.162Z] -rw-r--r--. 1 jenkins jenkins 8513 May 20 18:04 coverage.out [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 20 18:01 Dockerfile [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 20 18:01 Dockerfile.build [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 151 May 20 18:01 .dockerignore [2021-05-20T18:05:11.162Z] drwxrwxr-x. 2 jenkins jenkins 76 May 20 18:01 driver [2021-05-20T18:05:11.162Z] drwxrwxr-x. 8 jenkins jenkins 162 May 20 18:01 .git [2021-05-20T18:05:11.162Z] drwxrwxr-x. 2 jenkins jenkins 103 May 20 18:01 .github [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 336 May 20 18:01 .gitignore [2021-05-20T18:05:11.162Z] -rw-r--r--. 1 jenkins jenkins 285 May 20 18:05 go.mod [2021-05-20T18:05:11.162Z] -rw-r--r--. 1 jenkins jenkins 21177 May 20 18:04 go.sum [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 680 May 20 18:01 Jenkinsfile [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 20 18:01 LICENSE [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 996 May 20 18:01 Makefile [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 20 18:01 README.md [2021-05-20T18:05:11.162Z] drwxrwxr-x. 4 jenkins jenkins 71 May 20 18:01 snap [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 12 May 20 17:58 VERSION [2021-05-20T18:05:11.162Z] -rw-rw-r--. 1 jenkins jenkins 713 May 20 18:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:11.466Z] + 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=03359c08c1b66a89f278bd3fc862a1cc531bead5 --label arch=amd64 --label version=1.2.2-dev.12 . [2021-05-20T18:05:11.466Z] Sending build context to Docker daemon 101.9kB [2021-05-20T18:05:11.466Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:05:11.466Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-20T18:05:11.466Z] ---> f6e623bdae0f [2021-05-20T18:05:11.466Z] Step 3/25 : ARG MAKE='make build' [2021-05-20T18:05:11.731Z] ---> Running in 20e27126b614 [2021-05-20T18:05:11.991Z] Removing intermediate container 20e27126b614 [2021-05-20T18:05:11.991Z] ---> 5fae6c681c5f [2021-05-20T18:05:11.991Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T18:05:12.251Z] ---> Running in fde166136ba1 [2021-05-20T18:05:12.515Z] Removing intermediate container fde166136ba1 [2021-05-20T18:05:12.515Z] ---> 1d19cd597ac6 [2021-05-20T18:05:12.515Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T18:05:12.776Z] ---> Running in a19e1041590b [2021-05-20T18:05:13.348Z] Removing intermediate container a19e1041590b [2021-05-20T18:05:13.348Z] ---> bf7e41906d2e [2021-05-20T18:05:13.348Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:05:13.348Z] ---> Running in 4b96f54f8420 [2021-05-20T18:05:14.736Z] Removing intermediate container 4b96f54f8420 [2021-05-20T18:05:14.736Z] ---> 36e85c0f4c66 [2021-05-20T18:05:14.736Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T18:05:14.736Z] ---> Running in 3eaebe7aa65d [2021-05-20T18:05:15.314Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T18:05:16.254Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T18:05:16.514Z] OK: 154 MiB in 49 packages [2021-05-20T18:05:17.459Z] Removing intermediate container 3eaebe7aa65d [2021-05-20T18:05:17.459Z] ---> a67dde31160f [2021-05-20T18:05:17.459Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-20T18:05:17.459Z] ---> Running in e0d2eb0bed18 [2021-05-20T18:05:17.721Z] Removing intermediate container e0d2eb0bed18 [2021-05-20T18:05:17.721Z] ---> 507276c22b53 [2021-05-20T18:05:17.721Z] Step 9/25 : COPY . . [2021-05-20T18:05:18.294Z] ---> ba113bc56221 [2021-05-20T18:05:18.294Z] Step 10/25 : RUN go mod tidy [2021-05-20T18:05:18.294Z] ---> Running in 30cbcde008eb [2021-05-20T18:05:19.692Z] Removing intermediate container 30cbcde008eb [2021-05-20T18:05:19.692Z] ---> 990f59cea58f [2021-05-20T18:05:19.692Z] Step 11/25 : RUN make update [2021-05-20T18:05:19.952Z] ---> Running in 9cb94b2c69b0 [2021-05-20T18:05:20.524Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T18:05:22.435Z] Removing intermediate container 9cb94b2c69b0 [2021-05-20T18:05:22.436Z] ---> adae92215a09 [2021-05-20T18:05:22.436Z] Step 12/25 : RUN $MAKE [2021-05-20T18:05:22.436Z] ---> Running in 39d68047b4f9 [2021-05-20T18:05:23.381Z] go mod tidy [2021-05-20T18:05:23.381Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.12" -o cmd/device-rest ./cmd [2021-05-20T18:05:32.915Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-20T18:05:32.915Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements [2021-05-20T18:05:32.915Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T18:05:45.466Z] Removing intermediate container 39d68047b4f9 [2021-05-20T18:05:45.466Z] ---> b546d2d80c21 [2021-05-20T18:05:45.466Z] Step 13/25 : FROM alpine:3.12 [2021-05-20T18:05:45.466Z] 3.12: Pulling from library/alpine [2021-05-20T18:05:45.466Z] 339de151aab4: Pulling fs layer [2021-05-20T18:05:45.466Z] 339de151aab4: Verifying Checksum [2021-05-20T18:05:45.466Z] 339de151aab4: Download complete [2021-05-20T18:05:45.466Z] 339de151aab4: Pull complete [2021-05-20T18:05:45.466Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T18:05:45.466Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T18:05:45.466Z] ---> 13621d1b12d4 [2021-05-20T18:05:45.466Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-20T18:05:45.466Z] ---> Running in 9319769ee8c0 [2021-05-20T18:05:45.466Z] Removing intermediate container 9319769ee8c0 [2021-05-20T18:05:45.466Z] ---> 2954a1420aec [2021-05-20T18:05:45.466Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-20T18:05:45.466Z] ---> Running in cfe10a476424 [2021-05-20T18:05:45.727Z] Removing intermediate container cfe10a476424 [2021-05-20T18:05:45.728Z] ---> 6d196ccb8722 [2021-05-20T18:05:45.728Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T18:05:45.988Z] ---> Running in 25500a7cf33b [2021-05-20T18:05:46.564Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-20T18:05:46.564Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-20T18:05:46.564Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T18:05:46.564Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T18:05:46.564Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T18:05:46.827Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T18:05:46.827Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T18:05:46.827Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T18:05:46.827Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T18:05:46.827Z] OK: 8 MiB in 20 packages [2021-05-20T18:05:47.772Z] Removing intermediate container 25500a7cf33b [2021-05-20T18:05:47.772Z] ---> a29bbf56a833 [2021-05-20T18:05:47.772Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-20T18:05:49.162Z] ---> 22328d84540a [2021-05-20T18:05:49.162Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-20T18:05:49.732Z] ---> c50143056577 [2021-05-20T18:05:49.732Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-20T18:05:49.992Z] ---> dc8ebb4ca7fc [2021-05-20T18:05:49.992Z] Step 20/25 : EXPOSE 59986 [2021-05-20T18:05:50.253Z] ---> Running in 6a9e0dcc5b7e [2021-05-20T18:05:50.253Z] Removing intermediate container 6a9e0dcc5b7e [2021-05-20T18:05:50.253Z] ---> 66a0c3255bc4 [2021-05-20T18:05:50.253Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-20T18:05:50.523Z] ---> Running in 70ca916825a4 [2021-05-20T18:05:50.785Z] Removing intermediate container 70ca916825a4 [2021-05-20T18:05:50.785Z] ---> f6757b448502 [2021-05-20T18:05:50.785Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T18:05:51.046Z] ---> Running in 041d54bcdbc6 [2021-05-20T18:05:51.306Z] Removing intermediate container 041d54bcdbc6 [2021-05-20T18:05:51.306Z] ---> dcb0fa412db1 [2021-05-20T18:05:51.306Z] Step 23/25 : LABEL arch=amd64 [2021-05-20T18:05:52.246Z] ---> Running in de39439c63ac [2021-05-20T18:05:52.507Z] Removing intermediate container de39439c63ac [2021-05-20T18:05:52.507Z] ---> 37d3cfda7f4e [2021-05-20T18:05:52.507Z] Step 24/25 : LABEL git_sha=03359c08c1b66a89f278bd3fc862a1cc531bead5 [2021-05-20T18:05:52.768Z] ---> Running in f7ea6ca0bdf3 [2021-05-20T18:05:53.030Z] Removing intermediate container f7ea6ca0bdf3 [2021-05-20T18:05:53.030Z] ---> b0a4e985e731 [2021-05-20T18:05:53.030Z] Step 25/25 : LABEL version=1.2.2-dev.12 [2021-05-20T18:05:53.030Z] ---> Running in 9cd117f64130 [2021-05-20T18:05:53.301Z] Removing intermediate container 9cd117f64130 [2021-05-20T18:05:53.301Z] ---> d460e053303b [2021-05-20T18:05:53.301Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T18:05:53.301Z] Successfully built d460e053303b [2021-05-20T18:05:53.561Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:05:53.743Z] provisioning config files... [2021-05-20T18:05:53.759Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/45@tmp/config2956623987449093632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:05:54.092Z] ---> docker-login.sh [2021-05-20T18:05:54.092Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:05:54.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:05:54.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:05:54.092Z] Configure a credential helper to remove this warning. See [2021-05-20T18:05:54.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:05:54.092Z] [2021-05-20T18:05:54.092Z] Login Succeeded [2021-05-20T18:05:54.092Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:05:54.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:05:54.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:05:54.355Z] Configure a credential helper to remove this warning. See [2021-05-20T18:05:54.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:05:54.355Z] [2021-05-20T18:05:54.355Z] Login Succeeded [2021-05-20T18:05:54.355Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:05:54.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:05:54.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:05:54.355Z] Configure a credential helper to remove this warning. See [2021-05-20T18:05:54.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:05:54.355Z] [2021-05-20T18:05:54.355Z] Login Succeeded [2021-05-20T18:05:54.355Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:05:54.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:05:54.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:05:54.617Z] Configure a credential helper to remove this warning. See [2021-05-20T18:05:54.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:05:54.617Z] [2021-05-20T18:05:54.617Z] Login Succeeded [2021-05-20T18:05:54.617Z] docker.io [2021-05-20T18:05:54.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:05:54.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:05:54.878Z] Configure a credential helper to remove this warning. See [2021-05-20T18:05:54.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:05:54.878Z] [2021-05-20T18:05:54.878Z] Login Succeeded [2021-05-20T18:05:54.878Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:05:54.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:05:54.963Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-05-20T18:05:54.963Z] 03359c08c1b66a89f278bd3fc862a1cc531bead5 [2021-05-20T18:05:54.963Z] latest [2021-05-20T18:05:54.963Z] 1.2.2-dev.12 [2021-05-20T18:05:54.963Z] 03359c08c1b66a89f278bd3fc862a1cc531bead5-1.2.2-dev.12 [2021-05-20T18:05:54.963Z] master [2021-05-20T18:05:54.963Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:55.322Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:03359c08c1b66a89f278bd3fc862a1cc531bead5 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:55.621Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:03359c08c1b66a89f278bd3fc862a1cc531bead5 [2021-05-20T18:05:55.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-20T18:05:55.621Z] f6ec044bb012: Preparing [2021-05-20T18:05:55.621Z] f0305ca229d6: Preparing [2021-05-20T18:05:55.621Z] 98ca9d5da4e5: Preparing [2021-05-20T18:05:55.621Z] 55041a5638c8: Preparing [2021-05-20T18:05:55.621Z] 32f366d666a5: Preparing [2021-05-20T18:05:55.621Z] 32f366d666a5: Layer already exists [2021-05-20T18:05:55.887Z] f6ec044bb012: Pushed [2021-05-20T18:05:55.887Z] f0305ca229d6: Pushed [2021-05-20T18:05:55.887Z] 55041a5638c8: Pushed [2021-05-20T18:05:57.274Z] 98ca9d5da4e5: Pushed [2021-05-20T18:05:57.274Z] 03359c08c1b66a89f278bd3fc862a1cc531bead5: digest: sha256:04616f391f6b58700d859b76e2123588e6df26560c776648b8e26b86f3cf024e size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:57.584Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:57.882Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-05-20T18:05:57.882Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-20T18:05:57.882Z] f6ec044bb012: Preparing [2021-05-20T18:05:57.882Z] f0305ca229d6: Preparing [2021-05-20T18:05:57.882Z] 98ca9d5da4e5: Preparing [2021-05-20T18:05:57.882Z] 55041a5638c8: Preparing [2021-05-20T18:05:57.882Z] 32f366d666a5: Preparing [2021-05-20T18:05:57.882Z] f0305ca229d6: Layer already exists [2021-05-20T18:05:57.882Z] 55041a5638c8: Layer already exists [2021-05-20T18:05:57.882Z] 98ca9d5da4e5: Layer already exists [2021-05-20T18:05:57.882Z] f6ec044bb012: Layer already exists [2021-05-20T18:05:57.882Z] 32f366d666a5: Layer already exists [2021-05-20T18:05:57.882Z] latest: digest: sha256:04616f391f6b58700d859b76e2123588e6df26560c776648b8e26b86f3cf024e size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:58.202Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:58.501Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.12 [2021-05-20T18:05:58.501Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-20T18:05:58.501Z] f6ec044bb012: Preparing [2021-05-20T18:05:58.501Z] f0305ca229d6: Preparing [2021-05-20T18:05:58.501Z] 98ca9d5da4e5: Preparing [2021-05-20T18:05:58.501Z] 55041a5638c8: Preparing [2021-05-20T18:05:58.501Z] 32f366d666a5: Preparing [2021-05-20T18:05:58.501Z] 55041a5638c8: Layer already exists [2021-05-20T18:05:58.501Z] 32f366d666a5: Layer already exists [2021-05-20T18:05:58.501Z] f0305ca229d6: Layer already exists [2021-05-20T18:05:58.501Z] f6ec044bb012: Layer already exists [2021-05-20T18:05:58.501Z] 98ca9d5da4e5: Layer already exists [2021-05-20T18:05:58.501Z] 1.2.2-dev.12: digest: sha256:04616f391f6b58700d859b76e2123588e6df26560c776648b8e26b86f3cf024e size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:58.808Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:03359c08c1b66a89f278bd3fc862a1cc531bead5-1.2.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:59.111Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:03359c08c1b66a89f278bd3fc862a1cc531bead5-1.2.2-dev.12 [2021-05-20T18:05:59.111Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-20T18:05:59.111Z] f6ec044bb012: Preparing [2021-05-20T18:05:59.111Z] f0305ca229d6: Preparing [2021-05-20T18:05:59.111Z] 98ca9d5da4e5: Preparing [2021-05-20T18:05:59.111Z] 55041a5638c8: Preparing [2021-05-20T18:05:59.111Z] 32f366d666a5: Preparing [2021-05-20T18:05:59.111Z] f0305ca229d6: Layer already exists [2021-05-20T18:05:59.111Z] f6ec044bb012: Layer already exists [2021-05-20T18:05:59.111Z] 98ca9d5da4e5: Layer already exists [2021-05-20T18:05:59.111Z] 55041a5638c8: Layer already exists [2021-05-20T18:05:59.111Z] 32f366d666a5: Layer already exists [2021-05-20T18:05:59.111Z] 03359c08c1b66a89f278bd3fc862a1cc531bead5-1.2.2-dev.12: digest: sha256:04616f391f6b58700d859b76e2123588e6df26560c776648b8e26b86f3cf024e size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:59.420Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:05:59.719Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:master [2021-05-20T18:05:59.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-20T18:05:59.719Z] f6ec044bb012: Preparing [2021-05-20T18:05:59.719Z] f0305ca229d6: Preparing [2021-05-20T18:05:59.719Z] 98ca9d5da4e5: Preparing [2021-05-20T18:05:59.719Z] 55041a5638c8: Preparing [2021-05-20T18:05:59.719Z] 32f366d666a5: Preparing [2021-05-20T18:05:59.719Z] 32f366d666a5: Layer already exists [2021-05-20T18:05:59.719Z] 55041a5638c8: Layer already exists [2021-05-20T18:05:59.719Z] f6ec044bb012: Layer already exists [2021-05-20T18:05:59.719Z] 98ca9d5da4e5: Layer already exists [2021-05-20T18:05:59.719Z] f0305ca229d6: Layer already exists [2021-05-20T18:05:59.719Z] master: digest: sha256:04616f391f6b58700d859b76e2123588e6df26560c776648b8e26b86f3cf024e size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [2021-05-20T18:05:59.753Z] gofmt -l . [2021-05-20T18:05:59.753Z] [ "`gofmt -l .`" = "" ] [2021-05-20T18:05:59.753Z] ./bin/test-go-mod-tidy.sh [2021-05-20T18:05:59.753Z] ./bin/test-attribution-txt.sh [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:05:59.778Z] ===================================================== [Pipeline] } [2021-05-20T18:05:59.796Z] $ docker stop --time=1 a23a0c25ab69f0127fdeabda57de00340e540c80b34b41075e6ea565d338d966 [2021-05-20T18:06:01.778Z] $ docker rm -f a23a0c25ab69f0127fdeabda57de00340e540c80b34b41075e6ea565d338d966 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] echo [2021-05-20T18:06:02.392Z] taggedImages: [2021-05-20T18:06:02.392Z] - nexus3.edgexfoundry.org:10004/device-rest:03359c08c1b66a89f278bd3fc862a1cc531bead5 [2021-05-20T18:06:02.392Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-05-20T18:06:02.392Z] - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.12 [2021-05-20T18:06:02.392Z] - nexus3.edgexfoundry.org:10004/device-rest:03359c08c1b66a89f278bd3fc862a1cc531bead5-1.2.2-dev.12 [2021-05-20T18:06:02.392Z] - 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 [2021-05-20T18:06:02.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] libraryResource [Pipeline] sh [Pipeline] stash [2021-05-20T18:06:02.764Z] Warning: overwriting stash ‘coverage-report’ [2021-05-20T18:06:03.018Z] ---> job-cost.sh [2021-05-20T18:06:03.018Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DB2J [2021-05-20T18:06:03.242Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T18:06:03.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T18:06:04.068Z] + ls -al . [2021-05-20T18:06:04.068Z] total 132 [2021-05-20T18:06:04.068Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 18:05 . [2021-05-20T18:06:04.068Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 18:02 .. [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 151 May 20 18:02 .dockerignore [2021-05-20T18:06:04.068Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 18:02 .git [2021-05-20T18:06:04.068Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 .github [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 336 May 20 18:02 .gitignore [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 20 18:02 Attribution.txt [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 20 18:02 Dockerfile [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 20 18:02 Dockerfile.build [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 680 May 20 18:02 Jenkinsfile [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 20 18:02 LICENSE [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 996 May 20 18:02 Makefile [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 20 18:02 README.md [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 12 May 20 17:58 VERSION [2021-05-20T18:06:04.068Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 bin [2021-05-20T18:06:04.068Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 18:02 cmd [2021-05-20T18:06:04.068Z] -rw-r--r-- 1 jenkins jenkins 8513 May 20 18:05 coverage.out [2021-05-20T18:06:04.068Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 18:02 driver [2021-05-20T18:06:04.068Z] -rw-r--r-- 1 jenkins jenkins 285 May 20 18:05 go.mod [2021-05-20T18:06:04.068Z] -rw-r--r-- 1 jenkins jenkins 21177 May 20 18:04 go.sum [2021-05-20T18:06:04.068Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 18:02 snap [2021-05-20T18:06:04.068Z] -rw-rw-r-- 1 jenkins jenkins 713 May 20 18:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:06:04.414Z] + 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=03359c08c1b66a89f278bd3fc862a1cc531bead5 --label arch=arm64 --label version=1.2.2-dev.12 . [2021-05-20T18:06:04.414Z] Sending build context to Docker daemon 101.9kB [2021-05-20T18:06:04.691Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T18:06:04.691Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-20T18:06:04.691Z] ---> 8fadf457cac0 [2021-05-20T18:06:04.691Z] Step 3/25 : ARG MAKE='make build' [2021-05-20T18:06:05.289Z] ---> Running in 3c706bde267d [2021-05-20T18:06:05.563Z] Removing intermediate container 3c706bde267d [2021-05-20T18:06:05.563Z] ---> bfa384d0e16d [2021-05-20T18:06:05.563Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T18:06:05.836Z] ---> Running in 9cb5534a756e [2021-05-20T18:06:06.108Z] Removing intermediate container 9cb5534a756e [2021-05-20T18:06:06.108Z] ---> d3c882b2fe00 [2021-05-20T18:06:06.108Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T18:06:06.382Z] ---> Running in 3045093e2b15 [2021-05-20T18:06:06.976Z] Removing intermediate container 3045093e2b15 [2021-05-20T18:06:06.976Z] ---> c269a9f26cef [2021-05-20T18:06:06.976Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T18:06:06.976Z] ---> Running in 8b92fc42bbb3 [2021-05-20T18:06:09.596Z] Removing intermediate container 8b92fc42bbb3 [2021-05-20T18:06:09.596Z] ---> 576268ca1ed6 [2021-05-20T18:06:09.596Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T18:06:09.596Z] ---> Running in 5aa52c101b7d [2021-05-20T18:06:10.582Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T18:06:11.558Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T18:06:12.154Z] OK: 144 MiB in 49 packages [2021-05-20T18:06:13.134Z] Removing intermediate container 5aa52c101b7d [2021-05-20T18:06:13.134Z] ---> 78390ce2fda2 [2021-05-20T18:06:13.134Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-20T18:06:13.407Z] ---> Running in b32f827d8ec8 [2021-05-20T18:06:14.004Z] Removing intermediate container b32f827d8ec8 [2021-05-20T18:06:14.004Z] ---> 4ce36e94ffbb [2021-05-20T18:06:14.004Z] Step 9/25 : COPY . . [2021-05-20T18:06:14.599Z] ---> 7a0167e2ed11 [2021-05-20T18:06:14.599Z] Step 10/25 : RUN go mod tidy [2021-05-20T18:06:14.872Z] ---> Running in a8b44a51991a [2021-05-20T18:06:17.927Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T18:06:18.249Z] Removing intermediate container a8b44a51991a [2021-05-20T18:06:18.249Z] ---> 7350725c752c [2021-05-20T18:06:18.249Z] Step 11/25 : RUN make update [2021-05-20T18:06:18.249Z] ---> Running in a155d36c2d15 [2021-05-20T18:06:18.858Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T18:06:20.327Z] Removing intermediate container a155d36c2d15 [2021-05-20T18:06:20.327Z] ---> 918ac7563edb [2021-05-20T18:06:20.327Z] Step 12/25 : RUN $MAKE [2021-05-20T18:06:20.327Z] ---> Running in e0eb853391c2 [2021-05-20T18:06:21.309Z] go mod tidy [2021-05-20T18:06:21.909Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.12" -o cmd/device-rest ./cmd [2021-05-20T18:06:45.131Z] lf-activate-venv(): INFO: Adding /tmp/venv-DB2J/bin to PATH [2021-05-20T18:06:45.131Z] INFO: No Stack... [2021-05-20T18:06:45.131Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T18:06:45.131Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T18:06:45.444Z] + cat /w/workspace/device-rest-go/45/archives/cost.csv [2021-05-20T18:06:45.444Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T18:06:45.474Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-45-stack-cost] [2021-05-20T18:06:45.486Z] Resource [jenkins-edgexfoundry-device-rest-go-master-45-stack-cost] did not exist. Created. [2021-05-20T18:06:45.486Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T18:06:45.809Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-20T18:06:45.896Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T18:06:45.906Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-45-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-20T18:07:00.965Z] Removing intermediate container e0eb853391c2 [2021-05-20T18:07:00.965Z] ---> 1fac3ebd6ec6 [2021-05-20T18:07:00.965Z] Step 13/25 : FROM alpine:3.12 [2021-05-20T18:07:00.965Z] 3.12: Pulling from library/alpine [2021-05-20T18:07:00.965Z] d2f70382dc9a: Pulling fs layer [2021-05-20T18:07:00.965Z] d2f70382dc9a: Verifying Checksum [2021-05-20T18:07:00.965Z] d2f70382dc9a: Download complete [2021-05-20T18:07:00.965Z] d2f70382dc9a: Pull complete [2021-05-20T18:07:00.965Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T18:07:00.965Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T18:07:00.965Z] ---> 9852663dfa18 [2021-05-20T18:07:00.965Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-20T18:07:00.965Z] ---> Running in 1c6ad9423e05 [2021-05-20T18:07:00.965Z] Removing intermediate container 1c6ad9423e05 [2021-05-20T18:07:00.965Z] ---> 977f4ec4b775 [2021-05-20T18:07:00.965Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-20T18:07:00.965Z] ---> Running in 39effaf71c94 [2021-05-20T18:07:00.965Z] Removing intermediate container 39effaf71c94 [2021-05-20T18:07:00.965Z] ---> f08c7a7c76ca [2021-05-20T18:07:00.965Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T18:07:00.965Z] ---> Running in 0cbbddc20bd5 [2021-05-20T18:07:00.965Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-20T18:07:00.965Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-20T18:07:00.965Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T18:07:00.965Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T18:07:00.965Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T18:07:00.965Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T18:07:00.965Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T18:07:00.965Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T18:07:01.237Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T18:07:01.237Z] OK: 8 MiB in 20 packages [2021-05-20T18:07:02.223Z] Removing intermediate container 0cbbddc20bd5 [2021-05-20T18:07:02.224Z] ---> ffc0e7c32c23 [2021-05-20T18:07:02.224Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-20T18:07:03.662Z] ---> b9a28b86a82c [2021-05-20T18:07:03.662Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-20T18:07:04.266Z] ---> 84546caf647e [2021-05-20T18:07:04.266Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-20T18:07:05.251Z] ---> 7ac51b9a1dfc [2021-05-20T18:07:05.251Z] Step 20/25 : EXPOSE 59986 [2021-05-20T18:07:05.251Z] ---> Running in 989942ce99d5 [2021-05-20T18:07:05.879Z] Removing intermediate container 989942ce99d5 [2021-05-20T18:07:05.879Z] ---> bb9ed4b88ccd [2021-05-20T18:07:05.879Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-20T18:07:05.879Z] ---> Running in 396553ddbb4c [2021-05-20T18:07:06.482Z] Removing intermediate container 396553ddbb4c [2021-05-20T18:07:06.482Z] ---> 79e2620e4f30 [2021-05-20T18:07:06.482Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T18:07:06.482Z] ---> Running in 9825e1a4e7b6 [2021-05-20T18:07:07.079Z] Removing intermediate container 9825e1a4e7b6 [2021-05-20T18:07:07.079Z] ---> 4b68a427f96a [2021-05-20T18:07:07.079Z] Step 23/25 : LABEL arch=arm64 [2021-05-20T18:07:07.353Z] ---> Running in 7bd64ea80f22 [2021-05-20T18:07:07.627Z] Removing intermediate container 7bd64ea80f22 [2021-05-20T18:07:07.627Z] ---> a30e8d137f86 [2021-05-20T18:07:07.627Z] Step 24/25 : LABEL git_sha=03359c08c1b66a89f278bd3fc862a1cc531bead5 [2021-05-20T18:07:07.899Z] ---> Running in 0246b68bd3a6 [2021-05-20T18:07:08.494Z] Removing intermediate container 0246b68bd3a6 [2021-05-20T18:07:08.494Z] ---> 98b9834fcce2 [2021-05-20T18:07:08.494Z] Step 25/25 : LABEL version=1.2.2-dev.12 [2021-05-20T18:07:08.494Z] ---> Running in ac9c2db476cd [2021-05-20T18:07:09.089Z] Removing intermediate container ac9c2db476cd [2021-05-20T18:07:09.089Z] ---> 38f22915cf8e [2021-05-20T18:07:09.089Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T18:07:09.089Z] Successfully built 38f22915cf8e [2021-05-20T18:07:09.089Z] 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-20T18:07:09.342Z] provisioning config files... [2021-05-20T18:07:09.366Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/45@tmp/config2861844173746726635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:07:09.737Z] ---> docker-login.sh [2021-05-20T18:07:09.737Z] nexus3.edgexfoundry.org:10001 [2021-05-20T18:07:10.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:07:10.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:07:10.286Z] Configure a credential helper to remove this warning. See [2021-05-20T18:07:10.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:07:10.286Z] [2021-05-20T18:07:10.286Z] Login Succeeded [2021-05-20T18:07:10.286Z] nexus3.edgexfoundry.org:10002 [2021-05-20T18:07:10.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:07:10.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:07:10.832Z] Configure a credential helper to remove this warning. See [2021-05-20T18:07:10.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:07:10.832Z] [2021-05-20T18:07:10.832Z] Login Succeeded [2021-05-20T18:07:10.832Z] nexus3.edgexfoundry.org:10003 [2021-05-20T18:07:11.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:07:11.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:07:11.386Z] Configure a credential helper to remove this warning. See [2021-05-20T18:07:11.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:07:11.386Z] [2021-05-20T18:07:11.386Z] Login Succeeded [2021-05-20T18:07:11.386Z] nexus3.edgexfoundry.org:10004 [2021-05-20T18:07:11.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:07:11.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:07:11.930Z] Configure a credential helper to remove this warning. See [2021-05-20T18:07:11.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:07:11.930Z] [2021-05-20T18:07:11.930Z] Login Succeeded [2021-05-20T18:07:11.930Z] docker.io [2021-05-20T18:07:12.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T18:07:12.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T18:07:12.803Z] Configure a credential helper to remove this warning. See [2021-05-20T18:07:12.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T18:07:12.803Z] [2021-05-20T18:07:12.803Z] Login Succeeded [2021-05-20T18:07:12.803Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T18:07:12.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:07:12.892Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-05-20T18:07:12.892Z] 03359c08c1b66a89f278bd3fc862a1cc531bead5 [2021-05-20T18:07:12.892Z] latest [2021-05-20T18:07:12.892Z] 1.2.2-dev.12 [2021-05-20T18:07:12.892Z] 03359c08c1b66a89f278bd3fc862a1cc531bead5-1.2.2-dev.12 [2021-05-20T18:07:12.892Z] master [2021-05-20T18:07:12.892Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:07:13.278Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:03359c08c1b66a89f278bd3fc862a1cc531bead5 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:07:13.623Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:03359c08c1b66a89f278bd3fc862a1cc531bead5 [2021-05-20T18:07:13.623Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-20T18:07:13.623Z] 6e52e81f41a0: Preparing [2021-05-20T18:07:13.623Z] 587fa3eb41f4: Preparing [2021-05-20T18:07:13.623Z] 36e8189c5927: Preparing [2021-05-20T18:07:13.623Z] 651e6598b4e3: Preparing [2021-05-20T18:07:13.623Z] 3fbe34a1663b: Preparing [2021-05-20T18:07:13.901Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:07:13.901Z] 587fa3eb41f4: Pushed [2021-05-20T18:07:13.901Z] 6e52e81f41a0: Pushed [2021-05-20T18:07:14.502Z] 651e6598b4e3: Pushed [2021-05-20T18:07:17.115Z] 36e8189c5927: Pushed [2021-05-20T18:07:17.115Z] 03359c08c1b66a89f278bd3fc862a1cc531bead5: digest: sha256:c81f39d094eb32fb16afa83a6cfd2960b851c526161af14df2321b2486611a28 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:07:17.504Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:07:17.850Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-05-20T18:07:17.850Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-20T18:07:17.850Z] 6e52e81f41a0: Preparing [2021-05-20T18:07:17.850Z] 587fa3eb41f4: Preparing [2021-05-20T18:07:17.850Z] 36e8189c5927: Preparing [2021-05-20T18:07:17.850Z] 651e6598b4e3: Preparing [2021-05-20T18:07:17.850Z] 3fbe34a1663b: Preparing [2021-05-20T18:07:17.850Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:07:17.850Z] 651e6598b4e3: Layer already exists [2021-05-20T18:07:17.850Z] 587fa3eb41f4: Layer already exists [2021-05-20T18:07:17.850Z] 6e52e81f41a0: Layer already exists [2021-05-20T18:07:17.850Z] 36e8189c5927: Layer already exists [2021-05-20T18:07:18.125Z] latest: digest: sha256:c81f39d094eb32fb16afa83a6cfd2960b851c526161af14df2321b2486611a28 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:07:18.479Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:07:18.826Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.12 [2021-05-20T18:07:18.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-20T18:07:18.827Z] 6e52e81f41a0: Preparing [2021-05-20T18:07:18.827Z] 587fa3eb41f4: Preparing [2021-05-20T18:07:18.827Z] 36e8189c5927: Preparing [2021-05-20T18:07:18.827Z] 651e6598b4e3: Preparing [2021-05-20T18:07:18.827Z] 3fbe34a1663b: Preparing [2021-05-20T18:07:19.102Z] 36e8189c5927: Layer already exists [2021-05-20T18:07:19.102Z] 6e52e81f41a0: Layer already exists [2021-05-20T18:07:19.102Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:07:19.102Z] 587fa3eb41f4: Layer already exists [2021-05-20T18:07:19.102Z] 651e6598b4e3: Layer already exists [2021-05-20T18:07:19.102Z] 1.2.2-dev.12: digest: sha256:c81f39d094eb32fb16afa83a6cfd2960b851c526161af14df2321b2486611a28 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:07:19.454Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:03359c08c1b66a89f278bd3fc862a1cc531bead5-1.2.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:07:19.838Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:03359c08c1b66a89f278bd3fc862a1cc531bead5-1.2.2-dev.12 [2021-05-20T18:07:19.839Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-20T18:07:19.839Z] 6e52e81f41a0: Preparing [2021-05-20T18:07:19.839Z] 587fa3eb41f4: Preparing [2021-05-20T18:07:19.839Z] 36e8189c5927: Preparing [2021-05-20T18:07:19.839Z] 651e6598b4e3: Preparing [2021-05-20T18:07:19.839Z] 3fbe34a1663b: Preparing [2021-05-20T18:07:19.839Z] 651e6598b4e3: Layer already exists [2021-05-20T18:07:19.839Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:07:19.839Z] 6e52e81f41a0: Layer already exists [2021-05-20T18:07:19.839Z] 36e8189c5927: Layer already exists [2021-05-20T18:07:19.839Z] 587fa3eb41f4: Layer already exists [2021-05-20T18:07:20.113Z] 03359c08c1b66a89f278bd3fc862a1cc531bead5-1.2.2-dev.12: digest: sha256:c81f39d094eb32fb16afa83a6cfd2960b851c526161af14df2321b2486611a28 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:07:20.466Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:07:20.806Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master [2021-05-20T18:07:20.806Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-20T18:07:20.806Z] 6e52e81f41a0: Preparing [2021-05-20T18:07:20.806Z] 587fa3eb41f4: Preparing [2021-05-20T18:07:20.806Z] 36e8189c5927: Preparing [2021-05-20T18:07:20.806Z] 651e6598b4e3: Preparing [2021-05-20T18:07:20.806Z] 3fbe34a1663b: Preparing [2021-05-20T18:07:20.806Z] 6e52e81f41a0: Layer already exists [2021-05-20T18:07:20.806Z] 651e6598b4e3: Layer already exists [2021-05-20T18:07:20.806Z] 587fa3eb41f4: Layer already exists [2021-05-20T18:07:20.806Z] 3fbe34a1663b: Layer already exists [2021-05-20T18:07:20.806Z] 36e8189c5927: Layer already exists [2021-05-20T18:07:21.082Z] master: digest: sha256:c81f39d094eb32fb16afa83a6cfd2960b851c526161af14df2321b2486611a28 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-20T18:07:21.151Z] ===================================================== [Pipeline] echo [2021-05-20T18:07:21.167Z] taggedImages: [2021-05-20T18:07:21.168Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:03359c08c1b66a89f278bd3fc862a1cc531bead5 [2021-05-20T18:07:21.168Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-05-20T18:07:21.168Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.12 [2021-05-20T18:07:21.168Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:03359c08c1b66a89f278bd3fc862a1cc531bead5-1.2.2-dev.12 [2021-05-20T18:07:21.168Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:07:21.608Z] ---> job-cost.sh [2021-05-20T18:07:21.608Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ib04 [2021-05-20T18:08:00.566Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T18:09:22.321Z] lf-activate-venv(): INFO: Adding /tmp/venv-ib04/bin to PATH [2021-05-20T18:09:22.321Z] INFO: No Stack... [2021-05-20T18:09:22.321Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-20T18:09:22.927Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T18:09:23.273Z] + cut -d, -f6 [2021-05-20T18:09:23.273Z] + cat /w/workspace/device-rest-go/45/archives/cost.csv [Pipeline] lock [2021-05-20T18:09:23.336Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-45-stack-cost] [2021-05-20T18:09:23.344Z] Resource [jenkins-edgexfoundry-device-rest-go-master-45-stack-cost] did not exist. Created. [2021-05-20T18:09:23.344Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T18:09:23.725Z] /w/workspace/device-rest-go/45@tmp/durable-4e160757/script.sh: 1: /w/workspace/device-rest-go/45@tmp/durable-4e160757/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-20T18:09:24.070Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-20T18:09:24.103Z] Warning: overwriting stash ‘stack-cost’ [2021-05-20T18:09:24.259Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T18:09:24.275Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-45-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-20T18:09:24.939Z] provisioning config files... [2021-05-20T18:09:24.947Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6933920932890202262tmp [Pipeline] { [Pipeline] sh [2021-05-20T18:09:25.311Z] + set +x [2021-05-20T18:09:25.312Z] + curl -s https://codecov.io/bash [2021-05-20T18:09:25.312Z] + bash -s -- [2021-05-20T18:09:25.312Z] [2021-05-20T18:09:25.312Z] _____ _ [2021-05-20T18:09:25.312Z] / ____| | | [2021-05-20T18:09:25.312Z] | | ___ __| | ___ ___ _____ __ [2021-05-20T18:09:25.312Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-20T18:09:25.312Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-20T18:09:25.312Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-20T18:09:25.312Z] Bash-1.0.2 [2021-05-20T18:09:25.312Z] [2021-05-20T18:09:25.312Z] [2021-05-20T18:09:25.312Z] ==> git version 2.24.4 found [2021-05-20T18:09:25.312Z] ==> 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-20T18:09:25.312Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-20T18:09:25.312Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-20T18:09:25.312Z] ==> Jenkins CI detected. [2021-05-20T18:09:25.312Z] project root: . [2021-05-20T18:09:25.312Z] --> token set from env [2021-05-20T18:09:25.312Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-20T18:09:25.312Z] ==> Running gcov in . (disable via -X gcov) [2021-05-20T18:09:25.312Z] ==> Python coveragepy not found [2021-05-20T18:09:25.312Z] ==> Searching for coverage reports in: [2021-05-20T18:09:25.312Z] + . [2021-05-20T18:09:25.312Z] -> Found 1 reports [2021-05-20T18:09:25.312Z] ==> Detecting git/mercurial file structure [2021-05-20T18:09:25.312Z] ==> Reading reports [2021-05-20T18:09:25.312Z] + ./coverage.out bytes=8513 [2021-05-20T18:09:25.312Z] ==> Appending adjustments [2021-05-20T18:09:25.312Z] https://docs.codecov.io/docs/fixing-reports [2021-05-20T18:09:25.575Z] + Found adjustments [2021-05-20T18:09:25.575Z] ==> Gzipping contents [2021-05-20T18:09:25.575Z] 4.0K /tmp/codecov.QrEYnc.gz [2021-05-20T18:09:25.575Z] ==> Uploading reports [2021-05-20T18:09:25.575Z] url: https://codecov.io [2021-05-20T18:09:25.575Z] query: branch=master&commit=03359c08c1b66a89f278bd3fc862a1cc531bead5&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-20T18:09:25.575Z] -> Pinging Codecov [2021-05-20T18:09:25.575Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=03359c08c1b66a89f278bd3fc862a1cc531bead5&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-20T18:09:26.145Z] -> Uploading to [2021-05-20T18:09:26.145Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-20/4E5D53B4F1F92C436F7061BF334D961C/03359c08c1b66a89f278bd3fc862a1cc531bead5/d2c5b930-36d9-4d20-967d-c03238661740.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T180925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0612b89c607c96e5f840761a0f5e7c7300ec56039efab56f8a9f6b6a3260e8b7 [2021-05-20T18:09:26.145Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-20T18:09:26.145Z] Dload Upload Total Spent Left Speed [2021-05-20T18:09:26.409Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 5081 --:--:-- --:--:-- --:--:-- 5098 [2021-05-20T18:09:26.409Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/03359c08c1b66a89f278bd3fc862a1cc531bead5 [Pipeline] } [2021-05-20T18:09:26.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-20T18:09:26.774Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-20T18:09:26.808Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:09:27.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-20T18:09:27.116Z] [2021-05-20T18:09:27.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:09:27.430Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-20T18:09:27.693Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-20T18:09:27.693Z] 188c0c94c7c5: Pulling fs layer [2021-05-20T18:09:27.693Z] 0ef7d3d256c8: Pulling fs layer [2021-05-20T18:09:27.693Z] de9db76c5a1d: Pulling fs layer [2021-05-20T18:09:27.693Z] 0eba1c9be4d2: Pulling fs layer [2021-05-20T18:09:27.693Z] 0d57e429df01: Pulling fs layer [2021-05-20T18:09:27.693Z] 4e4be7b47b0d: Pulling fs layer [2021-05-20T18:09:27.693Z] e1f770b5df2f: Pulling fs layer [2021-05-20T18:09:27.693Z] 85a0685a4137: Pulling fs layer [2021-05-20T18:09:27.693Z] 0d57e429df01: Waiting [2021-05-20T18:09:27.693Z] 4e4be7b47b0d: Waiting [2021-05-20T18:09:27.693Z] e1f770b5df2f: Waiting [2021-05-20T18:09:27.693Z] 85a0685a4137: Waiting [2021-05-20T18:09:27.694Z] 0eba1c9be4d2: Waiting [2021-05-20T18:09:27.694Z] de9db76c5a1d: Verifying Checksum [2021-05-20T18:09:27.694Z] de9db76c5a1d: Download complete [2021-05-20T18:09:27.694Z] 0ef7d3d256c8: Verifying Checksum [2021-05-20T18:09:27.694Z] 0ef7d3d256c8: Download complete [2021-05-20T18:09:27.694Z] 0d57e429df01: Verifying Checksum [2021-05-20T18:09:27.694Z] 0d57e429df01: Download complete [2021-05-20T18:09:27.694Z] 4e4be7b47b0d: Verifying Checksum [2021-05-20T18:09:27.694Z] 4e4be7b47b0d: Download complete [2021-05-20T18:09:27.694Z] 188c0c94c7c5: Verifying Checksum [2021-05-20T18:09:27.694Z] 188c0c94c7c5: Download complete [2021-05-20T18:09:27.959Z] 188c0c94c7c5: Pull complete [2021-05-20T18:09:28.530Z] 0ef7d3d256c8: Pull complete [2021-05-20T18:09:28.530Z] de9db76c5a1d: Pull complete [2021-05-20T18:09:28.792Z] e1f770b5df2f: Verifying Checksum [2021-05-20T18:09:28.792Z] e1f770b5df2f: Download complete [2021-05-20T18:09:30.181Z] 0eba1c9be4d2: Verifying Checksum [2021-05-20T18:09:30.181Z] 0eba1c9be4d2: Download complete [2021-05-20T18:09:30.754Z] 85a0685a4137: Verifying Checksum [2021-05-20T18:09:30.754Z] 85a0685a4137: Download complete [2021-05-20T18:09:36.068Z] 0eba1c9be4d2: Pull complete [2021-05-20T18:09:36.068Z] 0d57e429df01: Pull complete [2021-05-20T18:09:36.068Z] 4e4be7b47b0d: Pull complete [2021-05-20T18:09:36.340Z] e1f770b5df2f: Pull complete [2021-05-20T18:10:08.513Z] 85a0685a4137: Pull complete [2021-05-20T18:10:08.513Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-20T18:10:08.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-20T18:10:08.774Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-20T18:10:08.850Z] prd-centos7-docker-4c-2g-15355 does not seem to be running inside a container [2021-05-20T18:10:08.906Z] $ 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-20T18:10:13.046Z] $ docker top 11efa889b9d0c4193a702e9b51381c697dbe76e737136523c87a4c6960d5a2e2 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-20T18:10:13.133Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-20T18:10:13.427Z] + set -o pipefail [2021-05-20T18:10:13.427Z] + snyk monitor '--org=edgex-jenkins' [2021-05-20T18:10:23.441Z] [2021-05-20T18:10:23.441Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-05-20T18:10:23.441Z] [2021-05-20T18:10:23.441Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/55ef36cb-30eb-477d-ba97-8336f3b78c70 [2021-05-20T18:10:23.441Z] [2021-05-20T18:10:23.441Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-20T18:10:23.441Z] [2021-05-20T18:10:23.441Z] [Pipeline] } [2021-05-20T18:10:23.714Z] $ docker stop --time=1 11efa889b9d0c4193a702e9b51381c697dbe76e737136523c87a4c6960d5a2e2 [2021-05-20T18:10:33.329Z] $ docker rm -f 11efa889b9d0c4193a702e9b51381c697dbe76e737136523c87a4c6960d5a2e2 [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-20T18:10:34.336Z] + git log --format=format:%s -1 03359c08c1b66a89f278bd3fc862a1cc531bead5 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:10:34.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T18:10:34.639Z] . [Pipeline] withDockerContainer [2021-05-20T18:10:34.716Z] prd-centos7-docker-4c-2g-15355 does not seem to be running inside a container [2021-05-20T18:10:34.753Z] $ 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-20T18:10:35.512Z] $ docker top 1248836baa12c89b76e9147c9d31284dddc7020d22771511ef952f45f233ece3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T18:10:35.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T18:10:35.644Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T18:10:35.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T18:10:35.741Z] $ docker exec 1248836baa12c89b76e9147c9d31284dddc7020d22771511ef952f45f233ece3 ssh-agent [2021-05-20T18:10:35.844Z] SSH_AUTH_SOCK=/tmp/ssh-6YRNWHkd3pVa/agent.14 [2021-05-20T18:10:35.844Z] SSH_AGENT_PID=21 [2021-05-20T18:10:35.850Z] Running ssh-add (command line suppressed) [2021-05-20T18:10:35.942Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7360084412496803663.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7360084412496803663.key) [2021-05-20T18:10:35.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T18:10:36.277Z] + git semver tag [2021-05-20T18:10:36.277Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T18:10:36.277Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-20T18:10:36.277Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-20T18:10:36.277Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T18:10:36.277Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T18:10:36.277Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T18:10:36.277Z] # $SEMVER_BRANCH = master [2021-05-20T18:10:36.277Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-20T18:10:36.277Z] # 03359c08c1b66a89f278bd3fc862a1cc531bead5 HEAD [2021-05-20T18:10:36.277Z] # -> Force: false [2021-05-20T18:10:36.551Z] # bd9c1c4ec9cfe3a771e2da7cef18c26808d24cd9 refs/tags/v1.2.2-dev.12 [Pipeline] } [2021-05-20T18:10:36.562Z] $ docker exec --env ******** --env ******** 1248836baa12c89b76e9147c9d31284dddc7020d22771511ef952f45f233ece3 ssh-agent -k [2021-05-20T18:10:36.655Z] unset SSH_AUTH_SOCK; [2021-05-20T18:10:36.656Z] unset SSH_AGENT_PID; [2021-05-20T18:10:36.656Z] echo Agent pid 21 killed; [2021-05-20T18:10:36.670Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T18:10:36.998Z] + git semver [Pipeline] } [2021-05-20T18:10:37.017Z] $ docker stop --time=1 1248836baa12c89b76e9147c9d31284dddc7020d22771511ef952f45f233ece3 [2021-05-20T18:10:38.416Z] $ docker rm -f 1248836baa12c89b76e9147c9d31284dddc7020d22771511ef952f45f233ece3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:10:38.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-20T18:10:38.860Z] [2021-05-20T18:10:38.860Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:10:39.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-20T18:10:39.436Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-20T18:10:39.436Z] ab5ef0e58194: Pulling fs layer [2021-05-20T18:10:39.436Z] 9712f1f96733: Pulling fs layer [2021-05-20T18:10:39.436Z] 63f879dbbcfc: Pulling fs layer [2021-05-20T18:10:39.436Z] 0d9ebad4ef96: Pulling fs layer [2021-05-20T18:10:39.436Z] e9a5061849ea: Pulling fs layer [2021-05-20T18:10:39.436Z] d747dcd14b5f: Pulling fs layer [2021-05-20T18:10:39.436Z] 2de7ff778b66: Pulling fs layer [2021-05-20T18:10:39.436Z] 0d9ebad4ef96: Waiting [2021-05-20T18:10:39.436Z] e9a5061849ea: Waiting [2021-05-20T18:10:39.436Z] d747dcd14b5f: Waiting [2021-05-20T18:10:39.436Z] 2de7ff778b66: Waiting [2021-05-20T18:10:39.436Z] 9712f1f96733: Verifying Checksum [2021-05-20T18:10:39.436Z] 9712f1f96733: Download complete [2021-05-20T18:10:41.357Z] 63f879dbbcfc: Verifying Checksum [2021-05-20T18:10:41.357Z] 63f879dbbcfc: Download complete [2021-05-20T18:10:41.618Z] e9a5061849ea: Verifying Checksum [2021-05-20T18:10:41.618Z] e9a5061849ea: Download complete [2021-05-20T18:10:41.618Z] d747dcd14b5f: Verifying Checksum [2021-05-20T18:10:41.618Z] d747dcd14b5f: Download complete [2021-05-20T18:10:42.192Z] 2de7ff778b66: Verifying Checksum [2021-05-20T18:10:42.192Z] 2de7ff778b66: Download complete [2021-05-20T18:10:42.192Z] ab5ef0e58194: Verifying Checksum [2021-05-20T18:10:42.192Z] ab5ef0e58194: Download complete [2021-05-20T18:10:42.192Z] 0d9ebad4ef96: Verifying Checksum [2021-05-20T18:10:42.192Z] 0d9ebad4ef96: Download complete [2021-05-20T18:10:44.787Z] ab5ef0e58194: Pull complete [2021-05-20T18:10:44.787Z] 9712f1f96733: Pull complete [2021-05-20T18:10:45.757Z] 63f879dbbcfc: Pull complete [2021-05-20T18:10:49.998Z] 0d9ebad4ef96: Pull complete [2021-05-20T18:10:49.998Z] e9a5061849ea: Pull complete [2021-05-20T18:10:49.998Z] d747dcd14b5f: Pull complete [2021-05-20T18:10:51.921Z] 2de7ff778b66: Pull complete [2021-05-20T18:10:51.921Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-20T18:10:51.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-20T18:10:51.921Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-20T18:10:52.166Z] prd-centos7-docker-4c-2g-15355 does not seem to be running inside a container [2021-05-20T18:10:52.280Z] $ 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-20T18:11:27.379Z] $ docker top f42454e0b5c7398b72700fdc5a31f26729875b6e5a5ea08a798da1e81daad297 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:11:27.485Z] provisioning config files... [2021-05-20T18:11:27.493Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1037186474414615333tmp [2021-05-20T18:11:27.506Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5369744885272611178tmp [2021-05-20T18:11:27.521Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5584480107861063880tmp [Pipeline] { [Pipeline] echo [2021-05-20T18:11:27.542Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:11:27.842Z] ---> sigul-configuration.sh [2021-05-20T18:11:27.842Z] gpg: directory `/root/.gnupg' created [2021-05-20T18:11:27.842Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-20T18:11:27.842Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-20T18:11:27.842Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-20T18:11:27.842Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-20T18:11:27.842Z] gpg: CAST5 encrypted data [2021-05-20T18:11:27.842Z] gpg: encrypted with 1 passphrase [2021-05-20T18:11:27.842Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-20T18:11:28.152Z] + mkdir /home/jenkins [2021-05-20T18:11:28.152Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-20T18:11:28.449Z] + 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-20T18:11:28.460Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:11:28.771Z] ---> sigul-install.sh [2021-05-20T18:11:36.923Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-20T18:11:37.217Z] + git tag --list [2021-05-20T18:11:37.217Z] v1.0.0 [2021-05-20T18:11:37.217Z] v1.1.0 [2021-05-20T18:11:37.217Z] v1.1.1 [2021-05-20T18:11:37.217Z] v1.1.2 [2021-05-20T18:11:37.217Z] v1.2.0 [2021-05-20T18:11:37.217Z] v1.2.1 [2021-05-20T18:11:37.217Z] v1.2.1-dev.1 [2021-05-20T18:11:37.217Z] v1.2.1-dev.2 [2021-05-20T18:11:37.217Z] v1.2.1-dev.3 [2021-05-20T18:11:37.217Z] v1.2.1-dev.4 [2021-05-20T18:11:37.217Z] v1.2.2-dev.1 [2021-05-20T18:11:37.217Z] v1.2.2-dev.10 [2021-05-20T18:11:37.217Z] v1.2.2-dev.11 [2021-05-20T18:11:37.217Z] v1.2.2-dev.12 [2021-05-20T18:11:37.217Z] v1.2.2-dev.2 [2021-05-20T18:11:37.217Z] v1.2.2-dev.3 [2021-05-20T18:11:37.217Z] v1.2.2-dev.4 [2021-05-20T18:11:37.217Z] v1.2.2-dev.5 [2021-05-20T18:11:37.217Z] v1.2.2-dev.6 [2021-05-20T18:11:37.217Z] v1.2.2-dev.7 [2021-05-20T18:11:37.217Z] v1.2.2-dev.8 [2021-05-20T18:11:37.217Z] v1.2.2-dev.9 [Pipeline] sh [2021-05-20T18:11:37.519Z] + lftools sign git-tag v1.2.2-dev.12 [2021-05-20T18:11:38.092Z] Signing Git tag with Sigul... [2021-05-20T18:11:38.092Z] Signing v1.2.2-dev.12 [Pipeline] echo [2021-05-20T18:11:39.506Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:11:39.801Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-20T18:11:39.810Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-20T18:11:39.842Z] $ docker stop --time=1 f42454e0b5c7398b72700fdc5a31f26729875b6e5a5ea08a798da1e81daad297 [2021-05-20T18:11:44.352Z] $ docker rm -f f42454e0b5c7398b72700fdc5a31f26729875b6e5a5ea08a798da1e81daad297 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:11:44.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T18:11:44.960Z] . [Pipeline] withDockerContainer [2021-05-20T18:11:45.043Z] prd-centos7-docker-4c-2g-15355 does not seem to be running inside a container [2021-05-20T18:11:45.085Z] $ 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-20T18:11:45.687Z] $ docker top 4a4adf8f23b3a5d9946977a57e82f8e9733f10e00135797c2399be9556cde15d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T18:11:45.819Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T18:11:45.819Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T18:11:45.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T18:11:45.938Z] $ docker exec 4a4adf8f23b3a5d9946977a57e82f8e9733f10e00135797c2399be9556cde15d ssh-agent [2021-05-20T18:11:46.055Z] SSH_AUTH_SOCK=/tmp/ssh-3znZq0FFpAOl/agent.14 [2021-05-20T18:11:46.055Z] SSH_AGENT_PID=21 [2021-05-20T18:11:46.061Z] Running ssh-add (command line suppressed) [2021-05-20T18:11:46.180Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_439674761682397010.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_439674761682397010.key) [2021-05-20T18:11:46.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T18:11:46.502Z] + git semver bump pre [2021-05-20T18:11:46.503Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T18:11:46.503Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-20T18:11:46.503Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-20T18:11:46.503Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T18:11:46.503Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T18:11:46.503Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T18:11:46.503Z] # $SEMVER_BRANCH = master [2021-05-20T18:11:46.503Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-20T18:11:46.503Z] 1.2.2-dev.13 [Pipeline] } [2021-05-20T18:11:46.514Z] $ docker exec --env ******** --env ******** 4a4adf8f23b3a5d9946977a57e82f8e9733f10e00135797c2399be9556cde15d ssh-agent -k [2021-05-20T18:11:46.619Z] unset SSH_AUTH_SOCK; [2021-05-20T18:11:46.619Z] unset SSH_AGENT_PID; [2021-05-20T18:11:46.619Z] echo Agent pid 21 killed; [2021-05-20T18:11:46.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T18:11:46.965Z] + git semver [Pipeline] } [2021-05-20T18:11:46.979Z] $ docker stop --time=1 4a4adf8f23b3a5d9946977a57e82f8e9733f10e00135797c2399be9556cde15d [2021-05-20T18:11:48.394Z] $ docker rm -f 4a4adf8f23b3a5d9946977a57e82f8e9733f10e00135797c2399be9556cde15d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:11:48.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T18:11:48.785Z] . [Pipeline] withDockerContainer [2021-05-20T18:11:48.867Z] prd-centos7-docker-4c-2g-15355 does not seem to be running inside a container [2021-05-20T18:11:48.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-20T18:11:49.505Z] $ docker top 072e2134919e5f350db90caef46a030796c723f5eb03fdbc062c18f08f85baf0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T18:11:49.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T18:11:49.628Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T18:11:49.737Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T18:11:49.740Z] $ docker exec 072e2134919e5f350db90caef46a030796c723f5eb03fdbc062c18f08f85baf0 ssh-agent [2021-05-20T18:11:49.853Z] SSH_AUTH_SOCK=/tmp/ssh-SKKl5sKRHQzm/agent.14 [2021-05-20T18:11:49.854Z] SSH_AGENT_PID=21 [2021-05-20T18:11:49.859Z] Running ssh-add (command line suppressed) [2021-05-20T18:11:49.951Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6433695114871670178.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6433695114871670178.key) [2021-05-20T18:11:49.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T18:11:50.262Z] + git semver push [2021-05-20T18:11:50.262Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T18:11:50.262Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-20T18:11:50.262Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-20T18:11:50.262Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T18:11:50.262Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T18:11:50.262Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T18:11:50.262Z] # $SEMVER_BRANCH = master [2021-05-20T18:11:50.262Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-20T18:11:53.878Z] $ docker exec --env ******** --env ******** 072e2134919e5f350db90caef46a030796c723f5eb03fdbc062c18f08f85baf0 ssh-agent -k [2021-05-20T18:11:53.983Z] unset SSH_AUTH_SOCK; [2021-05-20T18:11:53.984Z] unset SSH_AGENT_PID; [2021-05-20T18:11:53.984Z] echo Agent pid 21 killed; [2021-05-20T18:11:54.017Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T18:11:54.493Z] + git semver [Pipeline] } [2021-05-20T18:11:54.510Z] $ docker stop --time=1 072e2134919e5f350db90caef46a030796c723f5eb03fdbc062c18f08f85baf0 [2021-05-20T18:11:57.328Z] $ docker rm -f 072e2134919e5f350db90caef46a030796c723f5eb03fdbc062c18f08f85baf0 [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-20T18:11:58.355Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:11:58.920Z] ---> package-listing.sh [2021-05-20T18:11:58.920Z] ++ facter osfamily [2021-05-20T18:11:58.920Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-20T18:11:59.181Z] + OS_FAMILY=redhat [2021-05-20T18:11:59.181Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-05-20T18:11:59.181Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-20T18:11:59.181Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-20T18:11:59.181Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-20T18:11:59.181Z] + PACKAGES=/tmp/packages_start.txt [2021-05-20T18:11:59.181Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-20T18:11:59.181Z] + PACKAGES=/tmp/packages_end.txt [2021-05-20T18:11:59.181Z] + case "${OS_FAMILY}" in [2021-05-20T18:11:59.181Z] + rpm -qa [2021-05-20T18:11:59.181Z] + sort [2021-05-20T18:11:59.754Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-20T18:11:59.754Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-20T18:11:59.754Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-20T18:11:59.754Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-20T18:11:59.754Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-05-20T18:11:59.754Z] + 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-20T18:11:59.766Z] 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-20T18:12:00.060Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:12:00.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T18:12:00.626Z] [2021-05-20T18:12:00.626Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-20T18:12:01.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T18:12:01.600Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-20T18:12:01.600Z] df20fa9351a1: Pulling fs layer [2021-05-20T18:12:01.600Z] 36b3adc4ff6f: Pulling fs layer [2021-05-20T18:12:01.600Z] 8ad3a11d3b57: Pulling fs layer [2021-05-20T18:12:01.600Z] 46f8f816bc3b: Pulling fs layer [2021-05-20T18:12:01.600Z] 93b61091891f: Pulling fs layer [2021-05-20T18:12:01.600Z] 93b9cdb0e59b: Pulling fs layer [2021-05-20T18:12:01.600Z] 5e14af77c1be: Pulling fs layer [2021-05-20T18:12:01.600Z] 01666e4c0597: Pulling fs layer [2021-05-20T18:12:01.600Z] aa168da1d23b: Pulling fs layer [2021-05-20T18:12:01.600Z] 93b9cdb0e59b: Waiting [2021-05-20T18:12:01.600Z] 5e14af77c1be: Waiting [2021-05-20T18:12:01.600Z] 01666e4c0597: Waiting [2021-05-20T18:12:01.600Z] aa168da1d23b: Waiting [2021-05-20T18:12:01.600Z] 46f8f816bc3b: Waiting [2021-05-20T18:12:01.600Z] 93b61091891f: Waiting [2021-05-20T18:12:01.601Z] 36b3adc4ff6f: Verifying Checksum [2021-05-20T18:12:01.601Z] 36b3adc4ff6f: Download complete [2021-05-20T18:12:01.601Z] 46f8f816bc3b: Verifying Checksum [2021-05-20T18:12:01.601Z] 46f8f816bc3b: Download complete [2021-05-20T18:12:01.601Z] df20fa9351a1: Verifying Checksum [2021-05-20T18:12:01.601Z] df20fa9351a1: Download complete [2021-05-20T18:12:01.601Z] 93b9cdb0e59b: Verifying Checksum [2021-05-20T18:12:01.601Z] 93b9cdb0e59b: Download complete [2021-05-20T18:12:01.601Z] 5e14af77c1be: Verifying Checksum [2021-05-20T18:12:01.601Z] 5e14af77c1be: Download complete [2021-05-20T18:12:01.601Z] 93b61091891f: Verifying Checksum [2021-05-20T18:12:01.601Z] 93b61091891f: Download complete [2021-05-20T18:12:01.601Z] 01666e4c0597: Verifying Checksum [2021-05-20T18:12:01.601Z] 01666e4c0597: Download complete [2021-05-20T18:12:01.861Z] 8ad3a11d3b57: Verifying Checksum [2021-05-20T18:12:01.861Z] 8ad3a11d3b57: Download complete [2021-05-20T18:12:01.861Z] df20fa9351a1: Pull complete [2021-05-20T18:12:02.125Z] 36b3adc4ff6f: Pull complete [2021-05-20T18:12:02.703Z] 8ad3a11d3b57: Pull complete [2021-05-20T18:12:02.966Z] 46f8f816bc3b: Pull complete [2021-05-20T18:12:03.227Z] 93b61091891f: Pull complete [2021-05-20T18:12:03.487Z] 93b9cdb0e59b: Pull complete [2021-05-20T18:12:03.487Z] 5e14af77c1be: Pull complete [2021-05-20T18:12:03.487Z] aa168da1d23b: Verifying Checksum [2021-05-20T18:12:03.487Z] aa168da1d23b: Download complete [2021-05-20T18:12:03.750Z] 01666e4c0597: Pull complete [2021-05-20T18:12:09.059Z] aa168da1d23b: Pull complete [2021-05-20T18:12:09.059Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-20T18:12:09.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T18:12:09.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-20T18:12:09.392Z] prd-centos7-docker-4c-2g-15355 does not seem to be running inside a container [2021-05-20T18:12:09.431Z] $ 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-20T18:12:30.370Z] $ docker top 1e615741d73a787cd5e938113358b62a9930501f4896a9260f880596bbef7b8a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T18:12:30.765Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-20T18:12:31.056Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-20T18:12:31.346Z] + ls /var/log/sa-host [2021-05-20T18:12:31.346Z] + sadf -c /var/log/sa-host/sa05 [2021-05-20T18:12:31.346Z] file_magic: OK [2021-05-20T18:12:31.346Z] HZ: Using current value: 100 [2021-05-20T18:12:31.346Z] file_header: OK [2021-05-20T18:12:31.346Z] 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-20T18:12:31.346Z] Statistics: [2021-05-20T18:12:31.346Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T18:12:31.346Z] File successfully converted to sysstat format version 12.2.1 [2021-05-20T18:12:31.346Z] + sadf -c /var/log/sa-host/sa20 [2021-05-20T18:12:31.346Z] file_magic: OK [2021-05-20T18:12:31.346Z] HZ: Using current value: 100 [2021-05-20T18:12:31.346Z] file_header: OK [2021-05-20T18:12:31.346Z] 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-20T18:12:31.346Z] Statistics: [2021-05-20T18:12:31.346Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T18:12:31.346Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T18:12:31.582Z] provisioning config files... [2021-05-20T18:12:31.594Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2247578906718154423tmp [Pipeline] { [Pipeline] echo [2021-05-20T18:12:31.616Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:12:31.916Z] ---> create-netrc.sh [Pipeline] } [2021-05-20T18:12:31.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-20T18:12:31.953Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:12:32.262Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-20T18:12:32.276Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:12:32.574Z] ---> sudo-logs.sh [2021-05-20T18:12:32.575Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-20T18:12:32.609Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:12:32.903Z] ---> job-cost.sh [2021-05-20T18:12:32.903Z] lf-activate-venv: SKIPPING [2021-05-20T18:12:32.903Z] DEBUG: total: 0.18000000715255737 [2021-05-20T18:12:32.903Z] INFO: Retrieving Stack Cost... [2021-05-20T18:12:33.846Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T18:12:34.418Z] INFO: Archiving Costs [Pipeline] echo [2021-05-20T18:12:34.432Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T18:12:34.735Z] ---> logs-deploy.sh [2021-05-20T18:12:34.735Z] lf-activate-venv: SKIPPING [2021-05-20T18:12:34.735Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/45 [2021-05-20T18:12:34.735Z] INFO: archiving workspace using pattern(s): [2021-05-20T18:12:35.685Z] Archives upload complete. [2021-05-20T18:12:35.685Z] INFO: archiving logs to Nexus [2021-05-20T18:12:36.273Z] ---> uname -a: [2021-05-20T18:12:36.273Z] Linux prd-centos7-docker-4c-2g-15355.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-05-20T18:12:36.273Z] [2021-05-20T18:12:36.273Z] [2021-05-20T18:12:36.273Z] ---> lscpu: [2021-05-20T18:12:36.273Z] Architecture: x86_64 [2021-05-20T18:12:36.273Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-20T18:12:36.273Z] Byte Order: Little Endian [2021-05-20T18:12:36.273Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-20T18:12:36.273Z] CPU(s): 2 [2021-05-20T18:12:36.273Z] On-line CPU(s) list: 0,1 [2021-05-20T18:12:36.273Z] Thread(s) per core: 1 [2021-05-20T18:12:36.273Z] Core(s) per socket: 1 [2021-05-20T18:12:36.273Z] Socket(s): 2 [2021-05-20T18:12:36.273Z] NUMA node(s): 1 [2021-05-20T18:12:36.273Z] Vendor ID: AuthenticAMD [2021-05-20T18:12:36.273Z] CPU family: 23 [2021-05-20T18:12:36.273Z] Model: 49 [2021-05-20T18:12:36.273Z] Model name: AMD EPYC-Rome Processor [2021-05-20T18:12:36.273Z] Stepping: 0 [2021-05-20T18:12:36.273Z] CPU MHz: 2799.998 [2021-05-20T18:12:36.273Z] BogoMIPS: 5599.99 [2021-05-20T18:12:36.273Z] Virtualization: AMD-V [2021-05-20T18:12:36.273Z] Hypervisor vendor: KVM [2021-05-20T18:12:36.273Z] Virtualization type: full [2021-05-20T18:12:36.273Z] L1d cache: 64 KiB [2021-05-20T18:12:36.273Z] L1i cache: 64 KiB [2021-05-20T18:12:36.273Z] L2 cache: 1 MiB [2021-05-20T18:12:36.273Z] L3 cache: 32 MiB [2021-05-20T18:12:36.273Z] NUMA node0 CPU(s): 0,1 [2021-05-20T18:12:36.273Z] Vulnerability Itlb multihit: Not affected [2021-05-20T18:12:36.273Z] Vulnerability L1tf: Not affected [2021-05-20T18:12:36.273Z] Vulnerability Mds: Not affected [2021-05-20T18:12:36.273Z] Vulnerability Meltdown: Not affected [2021-05-20T18:12:36.273Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-20T18:12:36.273Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-20T18:12:36.273Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-20T18:12:36.273Z] Vulnerability Srbds: Not affected [2021-05-20T18:12:36.273Z] Vulnerability Tsx async abort: Not affected [2021-05-20T18:12:36.273Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-05-20T18:12:36.273Z] [2021-05-20T18:12:36.273Z] [2021-05-20T18:12:36.273Z] ---> nproc: [2021-05-20T18:12:36.273Z] 2 [2021-05-20T18:12:36.273Z] [2021-05-20T18:12:36.273Z] [2021-05-20T18:12:36.273Z] ---> df -h: [2021-05-20T18:12:36.273Z] Filesystem Size Used Available Use% Mounted on [2021-05-20T18:12:36.273Z] overlay 40.0G 8.5G 31.5G 21% / [2021-05-20T18:12:36.273Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-20T18:12:36.274Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-05-20T18:12:36.274Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-20T18:12:36.274Z] /dev/vda1 40.0G 8.5G 31.5G 21% /facter-os [2021-05-20T18:12:36.274Z] /dev/vda1 40.0G 8.5G 31.5G 21% /etc/resolv.conf [2021-05-20T18:12:36.274Z] /dev/vda1 40.0G 8.5G 31.5G 21% /etc/hostname [2021-05-20T18:12:36.274Z] /dev/vda1 40.0G 8.5G 31.5G 21% /etc/hosts [2021-05-20T18:12:36.274Z] /dev/vda1 40.0G 8.5G 31.5G 21% /var/log/secure [2021-05-20T18:12:36.274Z] /dev/vda1 40.0G 8.5G 31.5G 21% /var/log/auth.log [2021-05-20T18:12:36.274Z] /dev/vda1 40.0G 8.5G 31.5G 21% /run/cloud-init/result.json [2021-05-20T18:12:36.274Z] /dev/vda1 40.0G 8.5G 31.5G 21% /w/workspace/gexfoundry_device-rest-go_master [2021-05-20T18:12:36.274Z] /dev/vda1 40.0G 8.5G 31.5G 21% /w/workspace/gexfoundry_device-rest-go_master@tmp [2021-05-20T18:12:36.274Z] /dev/vda1 40.0G 8.5G 31.5G 21% /var/log/sa-host [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] ---> free -m: [2021-05-20T18:12:36.274Z] total used free shared buff/cache available [2021-05-20T18:12:36.274Z] Mem: 7821 1165 3259 0 3396 6574 [2021-05-20T18:12:36.274Z] Swap: 1023 0 1023 [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] ---> ip addr: [2021-05-20T18:12:36.274Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-20T18:12:36.274Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-20T18:12:36.274Z] inet 127.0.0.1/8 scope host lo [2021-05-20T18:12:36.274Z] valid_lft forever preferred_lft forever [2021-05-20T18:12:36.274Z] inet6 ::1/128 scope host [2021-05-20T18:12:36.274Z] valid_lft forever preferred_lft forever [2021-05-20T18:12:36.274Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-20T18:12:36.274Z] link/ether fa:16:3e:7d:60:7d brd ff:ff:ff:ff:ff:ff [2021-05-20T18:12:36.274Z] inet 10.30.123.166/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-20T18:12:36.274Z] valid_lft 85483sec preferred_lft 85483sec [2021-05-20T18:12:36.274Z] inet6 fe80::f816:3eff:fe7d:607d/64 scope link [2021-05-20T18:12:36.274Z] valid_lft forever preferred_lft forever [2021-05-20T18:12:36.274Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-20T18:12:36.274Z] link/ether 02:42:9e:db:b4:88 brd ff:ff:ff:ff:ff:ff [2021-05-20T18:12:36.274Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-20T18:12:36.274Z] valid_lft forever preferred_lft forever [2021-05-20T18:12:36.274Z] inet6 fe80::42:9eff:fedb:b488/64 scope link [2021-05-20T18:12:36.274Z] valid_lft forever preferred_lft forever [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] ---> sar -b -r -n DEV: [2021-05-20T18:12:36.274Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/20/21 _x86_64_ (2 CPU) [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] 17:57:04 LINUX RESTART (2 CPU) [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] 17:58:06 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-05-20T18:12:36.274Z] 17:59:01 66.25 16.57 49.68 0.00 5300.93 22258.47 0.00 [2021-05-20T18:12:36.274Z] 18:00:01 3.70 0.00 3.70 0.00 0.00 108.49 0.00 [2021-05-20T18:12:36.274Z] 18:01:01 0.43 0.02 0.42 0.00 0.13 6.33 0.00 [2021-05-20T18:12:36.274Z] 18:02:01 0.43 0.10 0.33 0.00 1.73 7.09 0.00 [2021-05-20T18:12:36.274Z] 18:03:01 0.25 0.00 0.25 0.00 0.00 4.07 0.00 [2021-05-20T18:12:36.274Z] 18:04:01 0.33 0.00 0.33 0.00 0.00 5.38 0.00 [2021-05-20T18:12:36.274Z] 18:05:01 0.18 0.00 0.18 0.00 0.00 2.22 0.00 [2021-05-20T18:12:36.274Z] 18:06:01 0.22 0.00 0.22 0.00 0.00 4.01 0.00 [2021-05-20T18:12:36.274Z] 18:07:01 0.23 0.00 0.23 0.00 0.00 3.62 0.00 [2021-05-20T18:12:36.274Z] 18:08:01 0.28 0.00 0.28 0.00 0.00 5.01 0.00 [2021-05-20T18:12:36.274Z] 18:09:01 0.27 0.00 0.27 0.00 0.00 3.05 0.00 [2021-05-20T18:12:36.274Z] 18:10:01 57.23 0.03 57.19 0.00 3.72 17231.81 0.00 [2021-05-20T18:12:36.274Z] 18:11:01 110.78 0.00 110.78 0.00 0.00 27409.00 0.00 [2021-05-20T18:12:36.274Z] 18:12:01 71.95 0.25 71.69 0.00 14.88 13292.17 0.00 [2021-05-20T18:12:36.274Z] Average: 22.06 1.12 20.94 0.00 350.77 5641.74 0.00 [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] 17:58:06 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-05-20T18:12:36.274Z] 17:59:01 5449660 0 808176 10.09 2620 1748476 1292996 14.28 581872 1576460 132 [2021-05-20T18:12:36.274Z] 18:00:01 5458080 0 799752 9.99 2620 1748480 1229904 13.58 580748 1570720 12 [2021-05-20T18:12:36.274Z] 18:01:01 5456572 0 801256 10.00 2620 1748484 1232604 13.61 579192 1574168 16 [2021-05-20T18:12:36.274Z] 18:02:01 5457760 0 799940 9.99 2620 1748612 1218136 13.45 577832 1574228 20 [2021-05-20T18:12:36.274Z] 18:03:01 5457292 0 800404 9.99 2620 1748616 1218304 13.45 577364 1575092 20 [2021-05-20T18:12:36.274Z] 18:04:01 5458492 0 799200 9.98 2620 1748620 1217180 13.44 573628 1578096 12 [2021-05-20T18:12:36.274Z] 18:05:01 5449732 0 807956 10.09 2620 1748624 1214096 13.40 582336 1578180 20 [2021-05-20T18:12:36.274Z] 18:06:01 5451492 0 806192 10.07 2620 1748628 1196404 13.21 581052 1578180 8 [2021-05-20T18:12:36.274Z] 18:07:01 5445204 0 812476 10.14 2620 1748632 1232912 13.61 588972 1576132 8 [2021-05-20T18:12:36.274Z] 18:08:01 5451880 0 805796 10.06 2620 1748636 1190308 13.14 582736 1576132 8 [2021-05-20T18:12:36.274Z] 18:09:01 5448548 0 809124 10.10 2620 1748640 1223724 13.51 591568 1569772 8 [2021-05-20T18:12:36.274Z] 18:10:01 4587372 0 952276 11.89 2620 2466664 1424776 15.73 688180 2229772 251136 [2021-05-20T18:12:36.274Z] 18:11:01 3857284 0 1078532 13.47 2620 3070496 1462104 16.14 795552 2733864 169992 [2021-05-20T18:12:36.274Z] 18:12:01 3773936 0 1146412 14.31 2620 3085964 1664908 18.38 989624 2603416 15316 [2021-05-20T18:12:36.274Z] Average: 5157379 0 859107 10.73 2620 1989827 1287025 14.21 633618 1778158 31193 [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] 17:58:06 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-05-20T18:12:36.274Z] 17:59:01 eth0 704.09 526.58 1447.95 102.59 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 17:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 17:59:01 docker0 49.61 31.04 4.02 145.11 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:00:01 eth0 5.21 1.22 2.12 0.28 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:01:01 eth0 3.41 0.47 0.79 0.39 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:02:01 eth0 3.71 0.83 1.02 0.59 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:03:01 eth0 1.98 0.65 0.85 0.55 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:04:01 eth0 1.37 0.47 0.57 0.27 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:05:01 eth0 0.58 0.28 0.28 0.20 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:06:01 eth0 0.43 0.08 0.04 0.04 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:07:01 eth0 1.75 1.47 0.36 8.33 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:08:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:09:01 eth0 1.58 1.27 0.23 6.49 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:10:01 eth0 449.41 408.01 4064.41 44.75 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:11:01 eth0 503.48 457.02 3606.95 87.85 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:11:01 docker0 65.86 66.72 5.35 384.16 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:12:01 eth0 201.78 130.12 533.04 53.43 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] 18:12:01 docker0 68.90 115.99 3.81 265.82 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] Average: eth0 130.90 106.79 686.63 21.36 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] Average: docker0 12.93 15.13 0.92 56.18 0.00 0.00 0.00 0.00 [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] ---> sar -P ALL: [2021-05-20T18:12:36.274Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/20/21 _x86_64_ (2 CPU) [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] 17:57:04 LINUX RESTART (2 CPU) [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] 17:58:06 CPU %user %nice %system %iowait %steal %idle [2021-05-20T18:12:36.274Z] 17:59:01 all 13.34 0.00 3.85 27.50 0.08 55.22 [2021-05-20T18:12:36.274Z] 17:59:01 0 12.98 0.00 4.28 28.97 0.09 53.68 [2021-05-20T18:12:36.274Z] 17:59:01 1 13.71 0.00 3.43 26.04 0.08 56.75 [2021-05-20T18:12:36.274Z] 18:00:01 all 0.13 0.00 0.06 0.01 0.04 99.76 [2021-05-20T18:12:36.274Z] 18:00:01 0 0.18 0.00 0.05 0.00 0.03 99.73 [2021-05-20T18:12:36.274Z] 18:00:01 1 0.08 0.00 0.07 0.02 0.05 99.78 [2021-05-20T18:12:36.274Z] 18:01:01 all 0.13 0.00 0.04 0.00 0.03 99.80 [2021-05-20T18:12:36.274Z] 18:01:01 0 0.22 0.00 0.05 0.00 0.03 99.70 [2021-05-20T18:12:36.274Z] 18:01:01 1 0.05 0.00 0.03 0.00 0.02 99.90 [2021-05-20T18:12:36.274Z] 18:02:01 all 0.11 0.00 0.03 0.05 0.03 99.78 [2021-05-20T18:12:36.274Z] 18:02:01 0 0.18 0.00 0.05 0.05 0.03 99.68 [2021-05-20T18:12:36.274Z] 18:02:01 1 0.03 0.00 0.02 0.05 0.02 99.88 [2021-05-20T18:12:36.274Z] 18:03:01 all 0.07 0.00 0.03 0.00 0.03 99.87 [2021-05-20T18:12:36.274Z] 18:03:01 0 0.10 0.00 0.05 0.00 0.03 99.82 [2021-05-20T18:12:36.274Z] 18:03:01 1 0.03 0.00 0.02 0.00 0.02 99.93 [2021-05-20T18:12:36.274Z] 18:04:01 all 0.16 0.00 0.03 0.00 0.03 99.78 [2021-05-20T18:12:36.274Z] 18:04:01 0 0.25 0.00 0.03 0.00 0.02 99.70 [2021-05-20T18:12:36.274Z] 18:04:01 1 0.07 0.00 0.03 0.00 0.03 99.87 [2021-05-20T18:12:36.274Z] 18:05:01 all 0.09 0.00 0.03 0.00 0.03 99.85 [2021-05-20T18:12:36.274Z] 18:05:01 0 0.13 0.00 0.00 0.00 0.02 99.85 [2021-05-20T18:12:36.274Z] 18:05:01 1 0.05 0.00 0.05 0.00 0.05 99.85 [2021-05-20T18:12:36.274Z] 18:06:01 all 0.06 0.00 0.02 0.00 0.03 99.89 [2021-05-20T18:12:36.274Z] 18:06:01 0 0.07 0.00 0.02 0.00 0.03 99.88 [2021-05-20T18:12:36.274Z] 18:06:01 1 0.05 0.00 0.02 0.00 0.03 99.90 [2021-05-20T18:12:36.274Z] 18:07:01 all 0.13 0.00 0.04 0.00 0.03 99.80 [2021-05-20T18:12:36.274Z] 18:07:01 0 0.08 0.00 0.03 0.00 0.02 99.87 [2021-05-20T18:12:36.274Z] 18:07:01 1 0.18 0.00 0.05 0.00 0.03 99.73 [2021-05-20T18:12:36.274Z] 18:08:01 all 0.04 0.00 0.01 0.00 0.04 99.91 [2021-05-20T18:12:36.274Z] 18:08:01 0 0.03 0.00 0.02 0.00 0.05 99.90 [2021-05-20T18:12:36.274Z] 18:08:01 1 0.05 0.00 0.00 0.00 0.03 99.92 [2021-05-20T18:12:36.274Z] 18:09:01 all 0.08 0.00 0.03 0.00 0.03 99.87 [2021-05-20T18:12:36.274Z] 18:09:01 0 0.07 0.00 0.03 0.00 0.05 99.85 [2021-05-20T18:12:36.274Z] 18:09:01 1 0.10 0.00 0.02 0.00 0.00 99.88 [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] 18:09:01 CPU %user %nice %system %iowait %steal %idle [2021-05-20T18:12:36.274Z] 18:10:01 all 7.44 0.00 3.03 8.76 0.04 80.73 [2021-05-20T18:12:36.274Z] 18:10:01 0 7.56 0.00 3.21 9.36 0.05 79.82 [2021-05-20T18:12:36.274Z] 18:10:01 1 7.33 0.00 2.84 8.16 0.03 81.64 [2021-05-20T18:12:36.274Z] 18:11:01 all 12.01 0.00 5.33 17.07 0.06 65.54 [2021-05-20T18:12:36.274Z] 18:11:01 0 12.16 0.00 5.62 19.35 0.05 62.81 [2021-05-20T18:12:36.274Z] 18:11:01 1 11.85 0.00 5.03 14.79 0.07 68.25 [2021-05-20T18:12:36.274Z] 18:12:01 all 6.43 0.00 2.92 10.23 0.07 80.35 [2021-05-20T18:12:36.274Z] 18:12:01 0 3.96 0.00 2.94 11.28 0.07 81.75 [2021-05-20T18:12:36.274Z] 18:12:01 1 8.91 0.00 2.90 9.18 0.07 78.94 [2021-05-20T18:12:36.274Z] Average: all 2.75 0.00 1.06 4.31 0.04 91.83 [2021-05-20T18:12:36.274Z] Average: 0 2.60 0.00 1.13 4.68 0.04 91.55 [2021-05-20T18:12:36.274Z] Average: 1 2.91 0.00 1.00 3.94 0.04 92.11 [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z] [2021-05-20T18:12:36.274Z]