Started by upstream project "edgexfoundry/cd-management/release" build number 61 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ac4b371315fba0b9546dc2a95c8393f838fbe7e4 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-ssh956597473885537544.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh4561301117418433234.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 6a41506d72e8e131afc862d141935157bee59f41 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-ssh6464641272841230139.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh7773778770303371011.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-ssh5631110361385661862.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 ‘prd-centos7-docker-4c-2g-1051’ Running on prd-centos7-docker-4c-2g-1056 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-ssh4705687210704611278.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 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (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 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 Commit message: "Merge pull request #127 from siggiskulason/snap-v2" > git rev-list --no-walk ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:39:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:39:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:39:07 ========================================================= 23:39:07 EdgeX Global Pipelines Version Info 23:39:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:39:09 ------------------- 23:39:09 stable info: 23:39:09 ------------------- 23:39:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:39:09 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 23:39:09 Message: update stable to v1.0.195 23:39:09 ------------------- 23:39:09 experimental info: 23:39:09 ------------------- 23:39:09 Commited By: **** collab-it+edgex@linuxfoundation.org 23:39:09 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 23:39:09 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac4b371 [Pipeline] echo 23:39:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:39:10 provisioning config files... 23:39:10 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4702323344538205730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:10 ---> docker-login.sh 23:39:10 nexus3.edgexfoundry.org:10001 23:39:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:11 Configure a credential helper to remove this warning. See 23:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:11 23:39:11 Login Succeeded 23:39:11 nexus3.edgexfoundry.org:10002 23:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:11 Configure a credential helper to remove this warning. See 23:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:11 23:39:11 Login Succeeded 23:39:11 nexus3.edgexfoundry.org:10003 23:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:11 Configure a credential helper to remove this warning. See 23:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:11 23:39:11 Login Succeeded 23:39:11 nexus3.edgexfoundry.org:10004 23:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:11 Configure a credential helper to remove this warning. See 23:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:11 23:39:11 Login Succeeded 23:39:11 docker.io 23:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:11 Configure a credential helper to remove this warning. See 23:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:11 23:39:11 Login Succeeded 23:39:11 ---> docker-login.sh ends [Pipeline] } 23:39:11 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 23:39:12 + git log --format=format:%s -1 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] echo 23:39:12 GIT_COMMIT: ac4b371315fba0b9546dc2a95c8393f838fbe7e4, Commit Message: Merge pull request #127 from siggiskulason/snap-v2 [Pipeline] echo 23:39:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:39:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:39:17 23:39:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:39:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:39:17 latest: Pulling from edgex-devops/git-semver 23:39:17 31603596830f: Pulling fs layer 23:39:17 54011a49482f: Pulling fs layer 23:39:17 a6820b24f6d8: Pulling fs layer 23:39:17 f581987b2513: Pulling fs layer 23:39:17 f581987b2513: Waiting 23:39:17 54011a49482f: Verifying Checksum 23:39:17 54011a49482f: Download complete 23:39:17 31603596830f: Verifying Checksum 23:39:17 31603596830f: Download complete 23:39:17 f581987b2513: Verifying Checksum 23:39:17 f581987b2513: Download complete 23:39:17 a6820b24f6d8: Verifying Checksum 23:39:17 a6820b24f6d8: Download complete 23:39:18 31603596830f: Pull complete 23:39:18 54011a49482f: Pull complete 23:39:18 a6820b24f6d8: Pull complete 23:39:18 f581987b2513: Pull complete 23:39:18 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 23:39:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:39:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:39:18 prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container 23:39:19 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:39:20 $ docker top e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:39:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:39:20 [ssh-agent] Looking for ssh-agent implementation... 23:39:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:39:20 $ docker exec e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 ssh-agent 23:39:20 SSH_AUTH_SOCK=/tmp/ssh-u6MJhQIxn51z/agent.14 23:39:20 SSH_AGENT_PID=21 23:39:20 Running ssh-add (command line suppressed) 23:39:20 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8870175731263671999.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8870175731263671999.key) 23:39:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:39:20 + git tag --points-at HEAD [Pipeline] } 23:39:20 $ docker exec --env ******** --env ******** e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 ssh-agent -k 23:39:20 unset SSH_AUTH_SOCK; 23:39:20 unset SSH_AGENT_PID; 23:39:20 echo Agent pid 21 killed; 23:39:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 23:39:21 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.2.2-dev.22|v2.0.0' [Pipeline] sshagent 23:39:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:39:21 [ssh-agent] Looking for ssh-agent implementation... 23:39:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:39:21 $ docker exec e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 ssh-agent 23:39:21 SSH_AUTH_SOCK=/tmp/ssh-tAvJv3r4UJLu/agent.54 23:39:21 SSH_AGENT_PID=60 23:39:21 Running ssh-add (command line suppressed) 23:39:21 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_566925915453964005.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_566925915453964005.key) 23:39:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:39:21 + git semver init 23:39:21 # -> Open(): unable to determine branch for HEAD 23:39:21 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 23:39:21 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 23:39:21 # $SEMVER_REMOTE_NAME = origin 23:39:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:39:21 # $SEMVER_USER_NAME = edgex-jenkins 23:39:21 # $SEMVER_BRANCH = master 23:39:21 # $SEMVER_TEMP = /tmp/semver-140374920 23:39:21 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 23:39:22 # '/tmp/semver-140374920' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 23:39:22 # -> Force: false 23:39:22 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 23:39:22 $ docker exec --env ******** --env ******** e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 ssh-agent -k 23:39:23 unset SSH_AUTH_SOCK; 23:39:23 unset SSH_AGENT_PID; 23:39:23 echo Agent pid 60 killed; 23:39:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:39:23 + git semver [Pipeline] } 23:39:23 $ docker stop --time=1 e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 23:39:24 $ docker rm -f e37325a591699e4de025a3cd731bfa135c72bb44dea03d7ceedf42971bd577e8 [Pipeline] // withDockerContainer [Pipeline] sh 23:39:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:39:25 Stashed 1 file(s) [Pipeline] echo 23:39:25 [edgeXSemver]: initialized semver on version 2.0.0 [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 23:39:40 Still waiting to schedule task 23:39:40 ‘prd-centos7-docker-4c-2g-1060’ is offline 23:39:40 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1059’ doesn’t have label ‘centos7-docker-4c-2g’ 23:39:40 Still waiting to schedule task 23:39:40 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1059’ is offline 23:41:19 Running on prd-centos7-docker-4c-2g-1065 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 23:41:19 Running in /w/workspace/device-rest-go/57 [Pipeline] { [Pipeline] checkout 23:41:20 The recommended git tool is: git 23:41:22 using credential edgex-jenkins-ssh 23:41:22 Cloning the remote Git repository 23:41:22 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:41:22 > git init /w/workspace/device-rest-go/57 # timeout=10 23:41:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:41:22 > git --version # timeout=10 23:41:22 > git --version # 'git version 2.24.4' 23:41:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:22 [INFO] Currently running in a labeled security context 23:41:22 [INFO] Currently SELinux is 'enforcing' on the host 23:41:22 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/57@tmp/jenkins-gitclient-ssh6948465303263168804.key 23:41:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:23 Avoid second fetch 23:41:23 Checking out Revision ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (master) 23:41:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:41:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:23 > git config core.sparsecheckout # timeout=10 23:41:23 > git checkout -f ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 23:41:27 Commit message: "Merge pull request #127 from siggiskulason/snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:30 + git checkout ac4b371315fba0b9546dc2a95c8393f838fbe7e4 23:41:30 HEAD is now at ac4b371 Merge pull request #127 from siggiskulason/snap-v2 [Pipeline] sh 23:41:30 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:41:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:41:31 + sudo service docker restart 23:41:31 + true 23:41:31 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:49 provisioning config files... 23:41:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/57@tmp/config3985499331298345768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:49 ---> docker-login.sh 23:41:49 nexus3.edgexfoundry.org:10001 23:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:50 Configure a credential helper to remove this warning. See 23:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:50 23:41:50 Login Succeeded 23:41:50 nexus3.edgexfoundry.org:10002 23:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:50 Configure a credential helper to remove this warning. See 23:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:50 23:41:50 Login Succeeded 23:41:50 nexus3.edgexfoundry.org:10003 23:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:50 Configure a credential helper to remove this warning. See 23:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:50 23:41:50 Login Succeeded 23:41:50 nexus3.edgexfoundry.org:10004 23:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:50 Configure a credential helper to remove this warning. See 23:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:50 23:41:50 Login Succeeded 23:41:50 docker.io 23:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:50 Configure a credential helper to remove this warning. See 23:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:50 23:41:50 Login Succeeded 23:41:50 ---> docker-login.sh ends [Pipeline] } 23:41:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:51 ========================================================= 23:41:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:41:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:41:51 + 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 . 23:41:51 Sending build context to Docker daemon 116.2kB 23:41:51 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 23:41:51 Step 2/10 : FROM ${BASE} 23:41:51 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:41:51 540db60ca938: Pulling fs layer 23:41:51 adcc1eea9eea: Pulling fs layer 23:41:51 4c4ab2625f07: Pulling fs layer 23:41:51 0510c868ecb4: Pulling fs layer 23:41:51 afea3b2eda06: Pulling fs layer 23:41:51 7809a108b3ef: Pulling fs layer 23:41:51 f706445af74f: Pulling fs layer 23:41:51 afea3b2eda06: Waiting 23:41:51 7809a108b3ef: Waiting 23:41:51 f706445af74f: Waiting 23:41:51 0510c868ecb4: Waiting 23:41:51 4c4ab2625f07: Verifying Checksum 23:41:51 4c4ab2625f07: Download complete 23:41:51 adcc1eea9eea: Verifying Checksum 23:41:51 adcc1eea9eea: Download complete 23:41:51 afea3b2eda06: Verifying Checksum 23:41:51 afea3b2eda06: Download complete 23:41:51 540db60ca938: Verifying Checksum 23:41:51 7809a108b3ef: Verifying Checksum 23:41:51 7809a108b3ef: Download complete 23:41:51 540db60ca938: Pull complete 23:41:52 adcc1eea9eea: Pull complete 23:41:52 4c4ab2625f07: Pull complete 23:41:54 f706445af74f: Verifying Checksum 23:41:54 f706445af74f: Download complete 23:41:54 0510c868ecb4: Verifying Checksum 23:41:54 0510c868ecb4: Download complete 23:41:57 0510c868ecb4: Pull complete 23:41:57 afea3b2eda06: Pull complete 23:41:57 7809a108b3ef: Pull complete 23:41:58 f706445af74f: Pull complete 23:41:58 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 23:41:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:41:58 ---> b068be0155e3 23:41:58 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:42:03 ---> Running in aebd3ec1952d 23:42:03 Removing intermediate container aebd3ec1952d 23:42:03 ---> 5a41c3333178 23:42:03 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 23:42:04 ---> Running in 8eaf9cfa3e80 23:42:04 Removing intermediate container 8eaf9cfa3e80 23:42:04 ---> f239d3c0d2be 23:42:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:42:04 ---> Running in b41a594e62e5 23:42:04 Removing intermediate container b41a594e62e5 23:42:04 ---> 692e075513ad 23:42:04 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:04 ---> Running in 07fa8f177d8d 23:42:05 Removing intermediate container 07fa8f177d8d 23:42:05 ---> a408b73082b7 23:42:05 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:42:05 ---> Running in 68f755e67570 23:42:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:42:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:42:06 (1/9) Installing libc-dev (0.7.2-r3) 23:42:06 (2/9) Installing libsodium (1.0.18-r0) 23:42:06 (3/9) Installing pkgconf (1.7.3-r0) 23:42:07 (4/9) Installing libsodium-dev (1.0.18-r0) 23:42:07 (5/9) Installing openssh-keygen (8.4_p1-r3) 23:42:07 (6/9) Installing libedit (20191231.3.1-r1) 23:42:07 (7/9) Installing openssh-client (8.4_p1-r3) 23:42:07 (8/9) Installing libzmq (4.3.3-r1) 23:42:07 (9/9) Installing zeromq-dev (4.3.3-r1) 23:42:07 Executing busybox-1.32.1-r6.trigger 23:42:07 OK: 154 MiB in 49 packages 23:42:08 Removing intermediate container 68f755e67570 23:42:08 ---> e7c377f8330c 23:42:08 Step 8/10 : WORKDIR /device-rest-go 23:42:08 ---> Running in 806e7450df41 23:42:08 Removing intermediate container 806e7450df41 23:42:08 ---> d197eace378d 23:42:08 Step 9/10 : COPY . . 23:42:08 ---> 5727b818bdfd 23:42:08 Step 10/10 : RUN go mod download 23:42:08 ---> Running in 3eea98bd948e 23:42:23 Removing intermediate container 3eea98bd948e 23:42:23 ---> 2fb026ad32f5 23:42:23 Successfully built 2fb026ad32f5 23:42:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:42:24 + docker inspect -f . ci-base-image-x86_64 23:42:24 . [Pipeline] withDockerContainer 23:42:24 prd-centos7-docker-4c-2g-1065 does not seem to be running inside a container 23:42:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/57 -v /w/workspace/device-rest-go/57:/w/workspace/device-rest-go/57:rw,z -v /w/workspace/device-rest-go/57@tmp:/w/workspace/device-rest-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:42:24 $ docker top 4d5431ca9fea261665f14c45100b83b6c15f81c7baae3b482af2ea3744dca062 -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:25 + go version 23:42:25 go version go1.16.3 linux/amd64 [Pipeline] } 23:42:25 $ docker stop --time=1 4d5431ca9fea261665f14c45100b83b6c15f81c7baae3b482af2ea3744dca062 23:42:26 $ docker rm -f 4d5431ca9fea261665f14c45100b83b6c15f81c7baae3b482af2ea3744dca062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:26 + docker inspect -f . ci-base-image-x86_64 23:42:26 . [Pipeline] withDockerContainer 23:42:26 prd-centos7-docker-4c-2g-1065 does not seem to be running inside a container 23:42:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/57 -v /w/workspace/device-rest-go/57:/w/workspace/device-rest-go/57:rw,z -v /w/workspace/device-rest-go/57@tmp:/w/workspace/device-rest-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:42:27 $ docker top 6b5cca84111ccd233d294def727d28fa69d3482b32ac0a77df104633d5474a94 -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:27 + go mod tidy [Pipeline] sh 23:42:30 + make test 23:42:30 go mod tidy 23:42:30 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:42:30 ? github.com/edgexfoundry/device-rest-go [no test files] 23:42:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:42:46 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 54.0% of statements 23:42:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:42:53 gofmt -l . 23:42:53 [ "`gofmt -l .`" = "" ] 23:42:53 ./bin/test-go-mod-tidy.sh 23:42:53 ./bin/test-attribution-txt.sh [Pipeline] } 23:42:53 $ docker stop --time=1 6b5cca84111ccd233d294def727d28fa69d3482b32ac0a77df104633d5474a94 23:42:55 $ docker rm -f 6b5cca84111ccd233d294def727d28fa69d3482b32ac0a77df104633d5474a94 [Pipeline] // withDockerContainer [Pipeline] sh 23:42:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:42:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:42:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:42:57 + ls -al . 23:42:57 total 112 23:42:57 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 30 23:42 . 23:42:57 drwxrwxr-x. 4 jenkins jenkins 30 Jun 30 23:41 .. 23:42:57 -rw-rw-r--. 1 jenkins jenkins 6792 Jun 30 23:41 Attribution.txt 23:42:57 drwxrwxr-x. 2 jenkins jenkins 64 Jun 30 23:41 bin 23:42:57 -rw-rw-r--. 1 jenkins jenkins 7459 Jun 30 23:41 CHANGELOG.md 23:42:57 drwxrwxr-x. 3 jenkins jenkins 32 Jun 30 23:41 cmd 23:42:57 -rw-r--r--. 1 jenkins jenkins 8513 Jun 30 23:42 coverage.out 23:42:57 -rw-rw-r--. 1 jenkins jenkins 1615 Jun 30 23:41 Dockerfile 23:42:57 -rw-rw-r--. 1 jenkins jenkins 1087 Jun 30 23:41 Dockerfile.build 23:42:57 -rw-rw-r--. 1 jenkins jenkins 151 Jun 30 23:41 .dockerignore 23:42:57 drwxrwxr-x. 2 jenkins jenkins 76 Jun 30 23:41 driver 23:42:57 drwxrwxr-x. 8 jenkins jenkins 162 Jun 30 23:41 .git 23:42:57 drwxrwxr-x. 2 jenkins jenkins 103 Jun 30 23:41 .github 23:42:57 -rw-rw-r--. 1 jenkins jenkins 336 Jun 30 23:41 .gitignore 23:42:57 -rw-r--r--. 1 jenkins jenkins 271 Jun 30 23:42 go.mod 23:42:57 -rw-r--r--. 1 jenkins jenkins 20570 Jun 30 23:42 go.sum 23:42:57 -rw-rw-r--. 1 jenkins jenkins 680 Jun 30 23:41 Jenkinsfile 23:42:57 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 30 23:41 LICENSE 23:42:57 -rw-rw-r--. 1 jenkins jenkins 996 Jun 30 23:41 Makefile 23:42:57 -rw-rw-r--. 1 jenkins jenkins 7667 Jun 30 23:41 README.md 23:42:57 drwxrwxr-x. 4 jenkins jenkins 71 Jun 30 23:41 snap 23:42:57 -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 23:39 VERSION 23:42:57 -rw-rw-r--. 1 jenkins jenkins 713 Jun 30 23:41 version.go [Pipeline] isUnix [Pipeline] sh 23:42:57 + 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=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 --label arch=amd64 --label version=2.0.0 . 23:42:57 Sending build context to Docker daemon 126kB 23:42:57 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 23:42:57 Step 2/25 : FROM ${BASE} AS builder 23:42:57 ---> 2fb026ad32f5 23:42:57 Step 3/25 : ARG MAKE='make build' 23:42:57 ---> Running in 56586f4c04a0 23:42:57 Removing intermediate container 56586f4c04a0 23:42:57 ---> 9489d3ab817c 23:42:57 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:42:57 ---> Running in 8244a122af5c 23:42:57 Removing intermediate container 8244a122af5c 23:42:57 ---> ea1dc1bd08a8 23:42:57 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:42:57 ---> Running in 6d9b788a0ec2 23:42:57 Removing intermediate container 6d9b788a0ec2 23:42:57 ---> 2bb31db56d56 23:42:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:57 ---> Running in eb0fae3b450a 23:42:58 Removing intermediate container eb0fae3b450a 23:42:58 ---> 944007860d89 23:42:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:42:58 ---> Running in 0fe438ec32fc 23:42:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:42:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1068 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 23:42:58 Running in /w/workspace/device-rest-go/57 [Pipeline] { [Pipeline] checkout 23:42:58 The recommended git tool is: git 23:42:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:43:00 OK: 154 MiB in 49 packages 23:43:00 Removing intermediate container 0fe438ec32fc 23:43:00 ---> 6cc4dc3d36e7 23:43:00 Step 8/25 : WORKDIR /device-rest-go 23:43:00 ---> Running in 007f48ce60e5 23:43:02 Removing intermediate container 007f48ce60e5 23:43:02 ---> 6c5f0f1d4c42 23:43:02 Step 9/25 : COPY . . 23:43:02 ---> 7fb117d8fdeb 23:43:02 Step 10/25 : RUN go mod tidy 23:43:02 ---> Running in 7632ad080854 23:43:02 Removing intermediate container 7632ad080854 23:43:02 ---> 1ff877e9853e 23:43:02 Step 11/25 : RUN make update 23:43:02 ---> Running in 30b6326093e7 23:43:02 CGO_ENABLED=0 GO111MODULE=on go mod download 23:43:02 Removing intermediate container 30b6326093e7 23:43:02 ---> 45593bdde2fe 23:43:02 Step 12/25 : RUN $MAKE 23:43:02 ---> Running in ca2dced06aa8 23:43:02 go mod tidy 23:43:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.0" -o cmd/device-rest ./cmd 23:43:07 using credential edgex-jenkins-ssh 23:43:07 Cloning the remote Git repository 23:43:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:43:07 > git init /w/workspace/device-rest-go/57 # timeout=10 23:43:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:43:07 > git --version # timeout=10 23:43:07 > git --version # 'git version 2.17.1' 23:43:07 using GIT_SSH to set credentials SSH Credentials for GitHub 23:43:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:43:08 Avoid second fetch 23:43:08 Checking out Revision ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (master) 23:43:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:43:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:43:08 > git config core.sparsecheckout # timeout=10 23:43:08 > git checkout -f ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 23:43:12 Removing intermediate container ca2dced06aa8 23:43:12 ---> 86077cdbbb92 23:43:12 Step 13/25 : FROM alpine:3.12 23:43:12 3.12: Pulling from library/alpine 23:43:13 339de151aab4: Pulling fs layer 23:43:13 339de151aab4: Verifying Checksum 23:43:13 339de151aab4: Download complete 23:43:13 Commit message: "Merge pull request #127 from siggiskulason/snap-v2" 23:43:13 339de151aab4: Pull complete 23:43:13 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 23:43:13 Status: Downloaded newer image for alpine:3.12 23:43:13 ---> 13621d1b12d4 23:43:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:43:13 ---> Running in c0307f08e557 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 23:43:13 Removing intermediate container c0307f08e557 23:43:13 ---> 8e315ec1525d 23:43:13 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:43:13 ---> Running in a871b2810685 23:43:13 Removing intermediate container a871b2810685 23:43:13 ---> fb28ec43b0e4 23:43:13 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:43:13 ---> Running in 518b14c8e81d [Pipeline] { [Pipeline] sh 23:43:13 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:43:13 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:43:13 (1/6) Installing dumb-init (1.2.2-r1) 23:43:13 (2/6) Installing libgcc (9.3.0-r2) 23:43:13 (3/6) Installing libsodium (1.0.18-r0) 23:43:14 (4/6) Installing libstdc++ (9.3.0-r2) 23:43:14 (5/6) Installing libzmq (4.3.3-r0) 23:43:14 (6/6) Installing zeromq (4.3.3-r0) 23:43:14 Executing busybox-1.31.1-r20.trigger 23:43:14 OK: 8 MiB in 20 packages 23:43:14 Removing intermediate container 518b14c8e81d 23:43:14 ---> af4faf361b03 23:43:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:43:14 + git checkout ac4b371315fba0b9546dc2a95c8393f838fbe7e4 23:43:14 HEAD is now at ac4b371 Merge pull request #127 from siggiskulason/snap-v2 [Pipeline] sh 23:43:14 ---> 55662c3658eb 23:43:14 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:43:14 ---> f7eae4a5aec9 23:43:14 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:43:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:43:14 ---> acc3446bc365 23:43:14 Step 20/25 : EXPOSE 59986 23:43:14 ---> Running in 00b6d2df4c1b 23:43:14 Removing intermediate container 00b6d2df4c1b 23:43:14 ---> 940b73243663 23:43:14 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:43:14 ---> Running in 4850336d989b 23:43:15 Removing intermediate container 4850336d989b 23:43:15 ---> 94a0e07a05a3 23:43:15 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:43:15 ---> Running in 027d3f1c9ce9 23:43:15 Removing intermediate container 027d3f1c9ce9 23:43:15 ---> 5668c900bbdb 23:43:15 Step 23/25 : LABEL arch=amd64 23:43:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:43:15 ---> Running in c5fe3f370f3f 23:43:15 Removing intermediate container c5fe3f370f3f 23:43:15 ---> efc43287cfee 23:43:15 Step 24/25 : LABEL git_sha=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 23:43:15 ---> Running in fefcbd01b2b6 23:43:15 Removing intermediate container fefcbd01b2b6 23:43:15 ---> 13e0869be5b8 23:43:15 Step 25/25 : LABEL version=2.0.0 23:43:15 ---> Running in 390c45f21132 23:43:15 + true 23:43:15 + sudo service docker restart 23:43:15 Removing intermediate container 390c45f21132 23:43:15 ---> 3c6f4fdd38ac 23:43:15 [Warning] One or more build-args [ARCH] were not consumed 23:43:15 Successfully built 3c6f4fdd38ac 23:43:15 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:15 provisioning config files... 23:43:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/57@tmp/config3600165301861606171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:16 ---> docker-login.sh 23:43:16 nexus3.edgexfoundry.org:10001 23:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:16 Configure a credential helper to remove this warning. See 23:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:16 23:43:16 Login Succeeded 23:43:16 nexus3.edgexfoundry.org:10002 23:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:16 Configure a credential helper to remove this warning. See 23:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:16 23:43:16 Login Succeeded 23:43:16 nexus3.edgexfoundry.org:10003 23:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:16 Configure a credential helper to remove this warning. See 23:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:16 23:43:16 Login Succeeded 23:43:16 nexus3.edgexfoundry.org:10004 23:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:16 Configure a credential helper to remove this warning. See 23:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:16 23:43:16 Login Succeeded 23:43:16 docker.io 23:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:17 Configure a credential helper to remove this warning. See 23:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:17 23:43:17 Login Succeeded 23:43:17 ---> docker-login.sh ends [Pipeline] } 23:43:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:43:19 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 23:43:19 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 23:43:19 latest 23:43:19 2.0.0 23:43:19 ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 23:43:19 master 23:43:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:43:19 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] isUnix [Pipeline] sh 23:43:19 + docker push nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 23:43:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:43:19 3206dc43fcc1: Preparing 23:43:19 5a88ef158781: Preparing 23:43:19 fd0c6ee4f606: Preparing 23:43:19 a5ca5e091e1f: Preparing 23:43:19 32f366d666a5: Preparing 23:43:19 32f366d666a5: Layer already exists 23:43:20 5a88ef158781: Pushed 23:43:20 3206dc43fcc1: Pushed 23:43:20 a5ca5e091e1f: Pushed 23:43:21 fd0c6ee4f606: Pushed 23:43:21 ac4b371315fba0b9546dc2a95c8393f838fbe7e4: digest: sha256:6a839f437f5c12467b9c3d3413919e18b731f798cca5559cf6bb1fd495a82b48 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:43:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 23:43:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 23:43:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:43:22 3206dc43fcc1: Preparing 23:43:22 5a88ef158781: Preparing 23:43:22 fd0c6ee4f606: Preparing 23:43:22 a5ca5e091e1f: Preparing 23:43:22 32f366d666a5: Preparing 23:43:22 fd0c6ee4f606: Layer already exists 23:43:22 a5ca5e091e1f: Layer already exists 23:43:22 5a88ef158781: Layer already exists 23:43:22 3206dc43fcc1: Layer already exists 23:43:22 32f366d666a5: Layer already exists 23:43:22 latest: digest: sha256:6a839f437f5c12467b9c3d3413919e18b731f798cca5559cf6bb1fd495a82b48 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:43:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.0 [Pipeline] isUnix [Pipeline] sh 23:43:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.0 23:43:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:43:22 3206dc43fcc1: Preparing 23:43:22 5a88ef158781: Preparing 23:43:22 fd0c6ee4f606: Preparing 23:43:22 a5ca5e091e1f: Preparing 23:43:22 32f366d666a5: Preparing 23:43:22 3206dc43fcc1: Layer already exists 23:43:22 a5ca5e091e1f: Layer already exists 23:43:22 32f366d666a5: Layer already exists 23:43:22 fd0c6ee4f606: Layer already exists 23:43:22 5a88ef158781: Layer already exists 23:43:22 2.0.0: digest: sha256:6a839f437f5c12467b9c3d3413919e18b731f798cca5559cf6bb1fd495a82b48 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:43:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 [Pipeline] isUnix [Pipeline] sh 23:43:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 23:43:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:43:23 3206dc43fcc1: Preparing 23:43:23 5a88ef158781: Preparing 23:43:23 fd0c6ee4f606: Preparing 23:43:23 a5ca5e091e1f: Preparing 23:43:23 32f366d666a5: Preparing 23:43:23 a5ca5e091e1f: Layer already exists 23:43:23 fd0c6ee4f606: Layer already exists 23:43:23 5a88ef158781: Layer already exists 23:43:23 3206dc43fcc1: Layer already exists 23:43:23 32f366d666a5: Layer already exists 23:43:23 ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0: digest: sha256:6a839f437f5c12467b9c3d3413919e18b731f798cca5559cf6bb1fd495a82b48 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:43:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 23:43:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 23:43:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:43:24 3206dc43fcc1: Preparing 23:43:24 5a88ef158781: Preparing 23:43:24 fd0c6ee4f606: Preparing 23:43:24 a5ca5e091e1f: Preparing 23:43:24 32f366d666a5: Preparing 23:43:24 fd0c6ee4f606: Layer already exists 23:43:24 a5ca5e091e1f: Layer already exists 23:43:24 5a88ef158781: Layer already exists 23:43:24 3206dc43fcc1: Layer already exists 23:43:24 32f366d666a5: Layer already exists 23:43:24 master: digest: sha256:6a839f437f5c12467b9c3d3413919e18b731f798cca5559cf6bb1fd495a82b48 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:43:24 ===================================================== [Pipeline] echo 23:43:24 taggedImages: 23:43:24 - nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 23:43:24 - nexus3.edgexfoundry.org:10004/device-rest:latest 23:43:24 - nexus3.edgexfoundry.org:10004/device-rest:2.0.0 23:43:24 - nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 23:43:24 - nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 23:43:24 ---> job-cost.sh 23:43:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AJXV 23:43:33 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:38 provisioning config files... 23:43:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/57@tmp/config365896038742433658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:38 ---> docker-login.sh 23:43:38 nexus3.edgexfoundry.org:10001 23:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:39 Configure a credential helper to remove this warning. See 23:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:39 23:43:39 Login Succeeded 23:43:39 nexus3.edgexfoundry.org:10002 23:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:40 Configure a credential helper to remove this warning. See 23:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:40 23:43:40 Login Succeeded 23:43:40 nexus3.edgexfoundry.org:10003 23:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:40 Configure a credential helper to remove this warning. See 23:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:40 23:43:40 Login Succeeded 23:43:40 nexus3.edgexfoundry.org:10004 23:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:41 Configure a credential helper to remove this warning. See 23:43:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:41 23:43:41 Login Succeeded 23:43:41 docker.io 23:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:42 Configure a credential helper to remove this warning. See 23:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:42 23:43:42 Login Succeeded 23:43:42 ---> docker-login.sh ends [Pipeline] } 23:43:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:43:42 ========================================================= 23:43:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:43:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:43:42 + 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 . 23:43:42 Sending build context to Docker daemon 116.2kB 23:43:43 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 23:43:43 Step 2/10 : FROM ${BASE} 23:43:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:43:43 595b0fe564bb: Pulling fs layer 23:43:43 3088b5b3c5c0: Pulling fs layer 23:43:43 5b7225fbf94c: Pulling fs layer 23:43:43 ba82ee9f976e: Pulling fs layer 23:43:43 506bd15cee9f: Pulling fs layer 23:43:43 75a0a4a0db45: Pulling fs layer 23:43:43 618dc40b7e24: Pulling fs layer 23:43:43 506bd15cee9f: Waiting 23:43:43 75a0a4a0db45: Waiting 23:43:43 618dc40b7e24: Waiting 23:43:43 ba82ee9f976e: Waiting 23:43:43 5b7225fbf94c: Verifying Checksum 23:43:43 5b7225fbf94c: Download complete 23:43:43 3088b5b3c5c0: Download complete 23:43:44 506bd15cee9f: Verifying Checksum 23:43:44 506bd15cee9f: Download complete 23:43:44 75a0a4a0db45: Verifying Checksum 23:43:44 75a0a4a0db45: Download complete 23:43:44 595b0fe564bb: Verifying Checksum 23:43:44 595b0fe564bb: Download complete 23:43:44 595b0fe564bb: Pull complete 23:43:45 3088b5b3c5c0: Pull complete 23:43:45 5b7225fbf94c: Pull complete 23:43:46 618dc40b7e24: Verifying Checksum 23:43:47 lf-activate-venv(): INFO: Adding /tmp/venv-AJXV/bin to PATH 23:43:47 INFO: No Stack... 23:43:47 INFO: Retrieving Pricing Info for: v3-standard-2 23:43:47 INFO: Archiving Costs [Pipeline] sh 23:43:47 ba82ee9f976e: Verifying Checksum 23:43:47 ba82ee9f976e: Download complete 23:43:48 + cat /w/workspace/device-rest-go/57/archives/cost.csv 23:43:48 + cut -d, -f6 [Pipeline] lock 23:43:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] 23:43:48 Resource [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] did not exist. Created. 23:43:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:43:48 + echo total: 0.05999999865889549 [Pipeline] stash 23:43:48 Stashed 1 file(s) [Pipeline] } 23:43:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:44:00 ba82ee9f976e: Pull complete 23:44:00 506bd15cee9f: Pull complete 23:44:00 75a0a4a0db45: Pull complete 23:44:03 618dc40b7e24: Pull complete 23:44:03 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 23:44:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:44:03 ---> a36622ca3599 23:44:03 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:44:05 ---> Running in 07e7451b82d3 23:44:05 Removing intermediate container 07e7451b82d3 23:44:05 ---> a6aa5df12e4f 23:44:05 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 23:44:05 ---> Running in d6fca8e47143 23:44:06 Removing intermediate container d6fca8e47143 23:44:06 ---> e66283c4cac8 23:44:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:44:06 ---> Running in 44736adfd511 23:44:06 Removing intermediate container 44736adfd511 23:44:06 ---> d9ca95742b57 23:44:06 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:44:06 ---> Running in c8725f75c2ad 23:44:09 Removing intermediate container c8725f75c2ad 23:44:09 ---> f9ca15313a3a 23:44:09 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:44:09 ---> Running in 962f7c56c488 23:44:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:44:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:44:11 (1/9) Installing libc-dev (0.7.2-r3) 23:44:12 (2/9) Installing libsodium (1.0.18-r0) 23:44:12 (3/9) Installing pkgconf (1.7.3-r0) 23:44:12 (4/9) Installing libsodium-dev (1.0.18-r0) 23:44:12 (5/9) Installing openssh-keygen (8.4_p1-r3) 23:44:12 (6/9) Installing libedit (20191231.3.1-r1) 23:44:12 (7/9) Installing openssh-client (8.4_p1-r3) 23:44:12 (8/9) Installing libzmq (4.3.3-r1) 23:44:12 (9/9) Installing zeromq-dev (4.3.3-r1) 23:44:12 Executing busybox-1.32.1-r6.trigger 23:44:12 OK: 144 MiB in 49 packages 23:44:14 Removing intermediate container 962f7c56c488 23:44:14 ---> f6c92a9c2850 23:44:14 Step 8/10 : WORKDIR /device-rest-go 23:44:14 ---> Running in 449ebbfdafac 23:44:15 Removing intermediate container 449ebbfdafac 23:44:15 ---> 27cc9b02a520 23:44:15 Step 9/10 : COPY . . 23:44:15 ---> 5f5e808dc069 23:44:15 Step 10/10 : RUN go mod download 23:44:15 ---> Running in e006d232ddac 23:44:42 Removing intermediate container e006d232ddac 23:44:42 ---> f494105c5881 23:44:42 Successfully built f494105c5881 23:44:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:44:43 + docker inspect -f . ci-base-image-arm64 23:44:43 . [Pipeline] withDockerContainer 23:44:43 prd-ubuntu18.04-docker-arm64-4c-16g-1068 does not seem to be running inside a container 23:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/57 -v /w/workspace/device-rest-go/57:/w/workspace/device-rest-go/57:rw,z -v /w/workspace/device-rest-go/57@tmp:/w/workspace/device-rest-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:44:44 $ docker top ba7c75237fe97c6a332958a794cdf99cdb18743d6ebb720b9e837b78e615757d -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:45 + go version 23:44:45 go version go1.16.5 linux/arm64 [Pipeline] } 23:44:45 $ docker stop --time=1 ba7c75237fe97c6a332958a794cdf99cdb18743d6ebb720b9e837b78e615757d 23:44:47 $ docker rm -f ba7c75237fe97c6a332958a794cdf99cdb18743d6ebb720b9e837b78e615757d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:44:48 + docker inspect -f . ci-base-image-arm64 23:44:48 . [Pipeline] withDockerContainer 23:44:48 prd-ubuntu18.04-docker-arm64-4c-16g-1068 does not seem to be running inside a container 23:44:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/57 -v /w/workspace/device-rest-go/57:/w/workspace/device-rest-go/57:rw,z -v /w/workspace/device-rest-go/57@tmp:/w/workspace/device-rest-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:44:50 $ docker top 1320fc9fc5af6294853dfc2358619ed30604dfc8366130e7c407ba264da825cf -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:51 + go mod tidy [Pipeline] sh 23:44:52 + make test 23:44:52 go mod tidy 23:44:53 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:44:54 ? github.com/edgexfoundry/device-rest-go [no test files] 23:45:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:45:45 ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 54.0% of statements 23:45:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:46:11 gofmt -l . 23:46:11 [ "`gofmt -l .`" = "" ] 23:46:11 ./bin/test-go-mod-tidy.sh 23:46:11 ./bin/test-attribution-txt.sh [Pipeline] } 23:46:15 $ docker stop --time=1 1320fc9fc5af6294853dfc2358619ed30604dfc8366130e7c407ba264da825cf 23:46:16 $ docker rm -f 1320fc9fc5af6294853dfc2358619ed30604dfc8366130e7c407ba264da825cf [Pipeline] // withDockerContainer [Pipeline] sh 23:46:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:46:17 Warning: overwriting stash ‘coverage-report’ 23:46:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:46:19 + ls -al . 23:46:19 total 140 23:46:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 23:46 . 23:46:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 23:43 .. 23:46:19 -rw-rw-r-- 1 jenkins jenkins 151 Jun 30 23:43 .dockerignore 23:46:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 23:43 .git 23:46:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 23:43 .github 23:46:19 -rw-rw-r-- 1 jenkins jenkins 336 Jun 30 23:43 .gitignore 23:46:19 -rw-rw-r-- 1 jenkins jenkins 6792 Jun 30 23:43 Attribution.txt 23:46:19 -rw-rw-r-- 1 jenkins jenkins 7459 Jun 30 23:43 CHANGELOG.md 23:46:19 -rw-rw-r-- 1 jenkins jenkins 1615 Jun 30 23:43 Dockerfile 23:46:19 -rw-rw-r-- 1 jenkins jenkins 1087 Jun 30 23:43 Dockerfile.build 23:46:19 -rw-rw-r-- 1 jenkins jenkins 680 Jun 30 23:43 Jenkinsfile 23:46:19 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 23:43 LICENSE 23:46:19 -rw-rw-r-- 1 jenkins jenkins 996 Jun 30 23:43 Makefile 23:46:19 -rw-rw-r-- 1 jenkins jenkins 7667 Jun 30 23:43 README.md 23:46:19 -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 23:39 VERSION 23:46:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 23:43 bin 23:46:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 23:43 cmd 23:46:19 -rw-r--r-- 1 jenkins jenkins 8513 Jun 30 23:45 coverage.out 23:46:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 23:43 driver 23:46:19 -rw-r--r-- 1 jenkins jenkins 271 Jun 30 23:46 go.mod 23:46:19 -rw-r--r-- 1 jenkins jenkins 20570 Jun 30 23:44 go.sum 23:46:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 23:43 snap 23:46:19 -rw-rw-r-- 1 jenkins jenkins 713 Jun 30 23:43 version.go [Pipeline] isUnix [Pipeline] sh 23:46:19 + 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=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 --label arch=arm64 --label version=2.0.0 . 23:46:19 Sending build context to Docker daemon 126kB 23:46:19 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 23:46:19 Step 2/25 : FROM ${BASE} AS builder 23:46:19 ---> f494105c5881 23:46:19 Step 3/25 : ARG MAKE='make build' 23:46:19 ---> Running in cdf403d8d7b7 23:46:20 Removing intermediate container cdf403d8d7b7 23:46:20 ---> bbde4584d8c4 23:46:20 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:46:20 ---> Running in f04347018682 23:46:21 Removing intermediate container f04347018682 23:46:21 ---> 9f719c604fbe 23:46:21 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:46:21 ---> Running in 2a90ab337403 23:46:21 Removing intermediate container 2a90ab337403 23:46:21 ---> 21c9ee9cf6b4 23:46:21 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:46:21 ---> Running in a5defa82dd8a 23:46:23 Removing intermediate container a5defa82dd8a 23:46:23 ---> 1e2a77750d3f 23:46:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:46:23 ---> Running in 14f04ce6c348 23:46:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:46:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:46:27 OK: 144 MiB in 49 packages 23:46:28 Removing intermediate container 14f04ce6c348 23:46:28 ---> 70163f66e40a 23:46:28 Step 8/25 : WORKDIR /device-rest-go 23:46:28 ---> Running in ea1f2d66b096 23:46:28 Removing intermediate container ea1f2d66b096 23:46:28 ---> ef2f844f25ad 23:46:28 Step 9/25 : COPY . . 23:46:29 ---> 4873baef3ad8 23:46:29 Step 10/25 : RUN go mod tidy 23:46:29 ---> Running in f53cf023103b 23:46:32 Removing intermediate container f53cf023103b 23:46:32 ---> 9ad43fc8422d 23:46:32 Step 11/25 : RUN make update 23:46:32 ---> Running in fc6f895e7381 23:46:33 CGO_ENABLED=0 GO111MODULE=on go mod download 23:46:38 Removing intermediate container fc6f895e7381 23:46:38 ---> a241d5ac0a28 23:46:38 Step 12/25 : RUN $MAKE 23:46:38 ---> Running in 2e004434e341 23:46:38 go mod tidy 23:46:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.0" -o cmd/device-rest ./cmd 23:47:10 Removing intermediate container 2e004434e341 23:47:10 ---> f1e2295365ef 23:47:10 Step 13/25 : FROM alpine:3.12 23:47:10 3.12: Pulling from library/alpine 23:47:10 d2f70382dc9a: Pulling fs layer 23:47:11 d2f70382dc9a: Download complete 23:47:11 d2f70382dc9a: Pull complete 23:47:11 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 23:47:11 Status: Downloaded newer image for alpine:3.12 23:47:11 ---> c4fd0aeabfcf 23:47:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:47:12 ---> Running in 6dc2ca7118dc 23:47:12 Removing intermediate container 6dc2ca7118dc 23:47:12 ---> 2727a475e3ba 23:47:12 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:47:12 ---> Running in dbd0137124ce 23:47:13 Removing intermediate container dbd0137124ce 23:47:13 ---> 47026110d78a 23:47:13 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:47:13 ---> Running in a699a53d31b3 23:47:14 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:47:14 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:47:15 (1/6) Installing dumb-init (1.2.2-r1) 23:47:15 (2/6) Installing libgcc (9.3.0-r2) 23:47:15 (3/6) Installing libsodium (1.0.18-r0) 23:47:15 (4/6) Installing libstdc++ (9.3.0-r2) 23:47:15 (5/6) Installing libzmq (4.3.3-r0) 23:47:15 (6/6) Installing zeromq (4.3.3-r0) 23:47:15 Executing busybox-1.31.1-r20.trigger 23:47:15 OK: 8 MiB in 20 packages 23:47:16 Removing intermediate container a699a53d31b3 23:47:16 ---> 41f3b40b3c17 23:47:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:47:17 ---> 4759cccc252c 23:47:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:47:18 ---> 49e1fa4d1fd6 23:47:18 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:47:18 ---> 8bd9aff1d8d2 23:47:18 Step 20/25 : EXPOSE 59986 23:47:19 ---> Running in 1ac2ef746296 23:47:19 Removing intermediate container 1ac2ef746296 23:47:19 ---> 42b5df469b11 23:47:19 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:47:19 ---> Running in ade1efcfebc4 23:47:20 Removing intermediate container ade1efcfebc4 23:47:20 ---> c86309d5030d 23:47:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:47:20 ---> Running in ad5fe3cf9b74 23:47:20 Removing intermediate container ad5fe3cf9b74 23:47:20 ---> 9ea729a89502 23:47:20 Step 23/25 : LABEL arch=arm64 23:47:20 ---> Running in bbb261f01a30 23:47:21 Removing intermediate container bbb261f01a30 23:47:21 ---> c33eba231ea8 23:47:21 Step 24/25 : LABEL git_sha=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 23:47:21 ---> Running in c7851eb6500c 23:47:22 Removing intermediate container c7851eb6500c 23:47:22 ---> 2cdaf6b3bc1e 23:47:22 Step 25/25 : LABEL version=2.0.0 23:47:22 ---> Running in d51d06fa41bd 23:47:22 Removing intermediate container d51d06fa41bd 23:47:22 ---> 7cc653d3efc2 23:47:22 [Warning] One or more build-args [ARCH] were not consumed 23:47:22 Successfully built 7cc653d3efc2 23:47:22 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 23:47:25 provisioning config files... 23:47:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/57@tmp/config4273066297934726509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:25 ---> docker-login.sh 23:47:25 nexus3.edgexfoundry.org:10001 23:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:25 Configure a credential helper to remove this warning. See 23:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:25 23:47:25 Login Succeeded 23:47:25 nexus3.edgexfoundry.org:10002 23:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:26 Configure a credential helper to remove this warning. See 23:47:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:26 23:47:26 Login Succeeded 23:47:26 nexus3.edgexfoundry.org:10003 23:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:27 Configure a credential helper to remove this warning. See 23:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:27 23:47:27 Login Succeeded 23:47:27 nexus3.edgexfoundry.org:10004 23:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:27 Configure a credential helper to remove this warning. See 23:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:27 23:47:27 Login Succeeded 23:47:27 docker.io 23:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:28 Configure a credential helper to remove this warning. See 23:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:28 23:47:28 Login Succeeded 23:47:28 ---> docker-login.sh ends [Pipeline] } 23:47:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:47:28 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 23:47:28 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 23:47:28 latest 23:47:28 2.0.0 23:47:28 ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 23:47:28 master 23:47:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:47:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] isUnix [Pipeline] sh 23:47:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 23:47:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:47:29 4818ccfa84d3: Preparing 23:47:29 35ac109cc697: Preparing 23:47:29 436ec40847d7: Preparing 23:47:29 c3d33f7f5714: Preparing 23:47:29 3fbe34a1663b: Preparing 23:47:29 3fbe34a1663b: Layer already exists 23:47:29 35ac109cc697: Pushed 23:47:29 4818ccfa84d3: Pushed 23:47:30 c3d33f7f5714: Pushed 23:47:32 436ec40847d7: Pushed 23:47:32 ac4b371315fba0b9546dc2a95c8393f838fbe7e4: digest: sha256:856ec5339074b0b10c2e92aa22adc9013e60cceace5366982d048a069e16d741 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:47:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:47:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:47:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:47:33 4818ccfa84d3: Preparing 23:47:33 35ac109cc697: Preparing 23:47:33 436ec40847d7: Preparing 23:47:33 c3d33f7f5714: Preparing 23:47:33 3fbe34a1663b: Preparing 23:47:33 436ec40847d7: Layer already exists 23:47:33 3fbe34a1663b: Layer already exists 23:47:33 35ac109cc697: Layer already exists 23:47:33 4818ccfa84d3: Layer already exists 23:47:33 c3d33f7f5714: Layer already exists 23:47:33 latest: digest: sha256:856ec5339074b0b10c2e92aa22adc9013e60cceace5366982d048a069e16d741 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:47:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.0 [Pipeline] isUnix [Pipeline] sh 23:47:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.0 23:47:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:47:34 4818ccfa84d3: Preparing 23:47:34 35ac109cc697: Preparing 23:47:34 436ec40847d7: Preparing 23:47:34 c3d33f7f5714: Preparing 23:47:34 3fbe34a1663b: Preparing 23:47:34 3fbe34a1663b: Layer already exists 23:47:34 4818ccfa84d3: Layer already exists 23:47:34 c3d33f7f5714: Layer already exists 23:47:34 35ac109cc697: Layer already exists 23:47:34 436ec40847d7: Layer already exists 23:47:34 2.0.0: digest: sha256:856ec5339074b0b10c2e92aa22adc9013e60cceace5366982d048a069e16d741 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:47:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 [Pipeline] isUnix [Pipeline] sh 23:47:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 23:47:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:47:35 4818ccfa84d3: Preparing 23:47:35 35ac109cc697: Preparing 23:47:35 436ec40847d7: Preparing 23:47:35 c3d33f7f5714: Preparing 23:47:35 3fbe34a1663b: Preparing 23:47:35 c3d33f7f5714: Layer already exists 23:47:35 3fbe34a1663b: Layer already exists 23:47:35 4818ccfa84d3: Layer already exists 23:47:35 436ec40847d7: Layer already exists 23:47:35 35ac109cc697: Layer already exists 23:47:35 ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0: digest: sha256:856ec5339074b0b10c2e92aa22adc9013e60cceace5366982d048a069e16d741 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:47:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 23:47:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 23:47:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:47:36 4818ccfa84d3: Preparing 23:47:36 35ac109cc697: Preparing 23:47:36 436ec40847d7: Preparing 23:47:36 c3d33f7f5714: Preparing 23:47:36 3fbe34a1663b: Preparing 23:47:36 3fbe34a1663b: Layer already exists 23:47:36 436ec40847d7: Layer already exists 23:47:36 4818ccfa84d3: Layer already exists 23:47:36 c3d33f7f5714: Layer already exists 23:47:36 35ac109cc697: Layer already exists 23:47:36 master: digest: sha256:856ec5339074b0b10c2e92aa22adc9013e60cceace5366982d048a069e16d741 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:47:36 ===================================================== [Pipeline] echo 23:47:36 taggedImages: 23:47:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 23:47:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:47:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.0 23:47:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-2.0.0 23:47:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 23:47:37 ---> job-cost.sh 23:47:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-05IK 23:48:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:49:39 lf-activate-venv(): INFO: Adding /tmp/venv-05IK/bin to PATH 23:49:39 INFO: No Stack... 23:49:39 INFO: Retrieving Pricing Info for: v2-standard-4 23:49:39 INFO: Archiving Costs [Pipeline] sh 23:49:39 + cat /w/workspace/device-rest-go/57/archives/cost.csv 23:49:39 + cut -d, -f6 [Pipeline] lock 23:49:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] 23:49:39 Resource [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] did not exist. Created. 23:49:39 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:49:40 /w/workspace/device-rest-go/57@tmp/durable-d1b37fb6/script.sh: 1: /w/workspace/device-rest-go/57@tmp/durable-d1b37fb6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:49:40 + echo total: 0.18000000715255737 [Pipeline] stash 23:49:40 Warning: overwriting stash ‘stack-cost’ 23:49:40 Stashed 1 file(s) [Pipeline] } 23:49:40 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-57-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 23:49:41 provisioning config files... 23:49:41 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5936300115510189252tmp [Pipeline] { [Pipeline] sh 23:49:41 + set +x 23:49:41 + curl -s https://codecov.io/bash 23:49:41 + bash -s -- 23:49:41 23:49:41 _____ _ 23:49:41 / ____| | | 23:49:41 | | ___ __| | ___ ___ _____ __ 23:49:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:49:41 | |___| (_) | (_| | __/ (_| (_) \ V / 23:49:41 \_____\___/ \__,_|\___|\___\___/ \_/ 23:49:41 Bash-1.0.3 23:49:41 23:49:41 23:49:41 ==> git version 2.24.4 found 23:49:41 ==> 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 23:49:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:49:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:49:41 ==> Jenkins CI detected. 23:49:41 project root: . 23:49:41 --> token set from env 23:49:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:49:41 ==> Running gcov in . (disable via -X gcov) 23:49:41 ==> Python coveragepy not found 23:49:41 ==> Searching for coverage reports in: 23:49:41 + . 23:49:41 -> Found 1 reports 23:49:41 ==> Detecting git/mercurial file structure 23:49:41 ==> Reading reports 23:49:41 + ./coverage.out bytes=8513 23:49:41 ==> Appending adjustments 23:49:41 https://docs.codecov.io/docs/fixing-reports 23:49:41 + Found adjustments 23:49:41 ==> Gzipping contents 23:49:41 4.0K /tmp/codecov.Zm7fkZ.gz 23:49:41 ==> Uploading reports 23:49:41 url: https://codecov.io 23:49:41 query: branch=master&commit=ac4b371315fba0b9546dc2a95c8393f838fbe7e4&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:49:41 -> Pinging Codecov 23:49:41 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=ac4b371315fba0b9546dc2a95c8393f838fbe7e4&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:49:42 -> Uploading to 23:49:42 https://storage.googleapis.com/codecov/v4/raw/2021-06-30/4E5D53B4F1F92C436F7061BF334D961C/ac4b371315fba0b9546dc2a95c8393f838fbe7e4/6bb035b3-c405-42ac-af17-e45a889eb67c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210630T234942Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=979e09600ae3c57712d78c9332ce975c4bd74d58eb040c877b1960623ed8e640 23:49:42 % Total % Received % Xferd Average Speed Time Time Time Current 23:49:42 Dload Upload Total Spent Left Speed 23:49:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1793 0 0 100 1793 0 4701 --:--:-- --:--:-- --:--:-- 4693 100 1793 0 0 100 1793 0 4700 --:--:-- --:--:-- --:--:-- 4693 23:49:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] } 23:49:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:49:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:49:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:49:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:49:43 23:49:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:49:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:49:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:49:43 188c0c94c7c5: Pulling fs layer 23:49:43 0ef7d3d256c8: Pulling fs layer 23:49:43 de9db76c5a1d: Pulling fs layer 23:49:43 0eba1c9be4d2: Pulling fs layer 23:49:43 0d57e429df01: Pulling fs layer 23:49:43 4e4be7b47b0d: Pulling fs layer 23:49:43 e1f770b5df2f: Pulling fs layer 23:49:43 85a0685a4137: Pulling fs layer 23:49:43 0eba1c9be4d2: Waiting 23:49:43 0d57e429df01: Waiting 23:49:43 4e4be7b47b0d: Waiting 23:49:43 e1f770b5df2f: Waiting 23:49:43 85a0685a4137: Waiting 23:49:43 de9db76c5a1d: Download complete 23:49:43 0ef7d3d256c8: Verifying Checksum 23:49:43 0ef7d3d256c8: Download complete 23:49:43 0d57e429df01: Verifying Checksum 23:49:43 0d57e429df01: Download complete 23:49:43 4e4be7b47b0d: Verifying Checksum 23:49:43 4e4be7b47b0d: Download complete 23:49:43 188c0c94c7c5: Verifying Checksum 23:49:43 188c0c94c7c5: Download complete 23:49:43 188c0c94c7c5: Pull complete 23:49:44 0ef7d3d256c8: Pull complete 23:49:44 de9db76c5a1d: Pull complete 23:49:45 e1f770b5df2f: Verifying Checksum 23:49:45 e1f770b5df2f: Download complete 23:49:48 0eba1c9be4d2: Verifying Checksum 23:49:48 0eba1c9be4d2: Download complete 23:49:48 85a0685a4137: Verifying Checksum 23:49:48 85a0685a4137: Download complete 23:49:49 0eba1c9be4d2: Pull complete 23:49:49 0d57e429df01: Pull complete 23:49:50 4e4be7b47b0d: Pull complete 23:49:50 e1f770b5df2f: Pull complete 23:49:53 85a0685a4137: Pull complete 23:49:53 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:49:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:49:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:49:53 prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container 23:49:54 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:49:56 $ docker top 2389a3f71750a080b34c3ecf88eada16f0ab3c3a5a82bf51221ac0da7b03e686 -eo pid,comm [Pipeline] { [Pipeline] echo 23:49:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:49:57 + set -o pipefail 23:49:57 + snyk monitor '--org=edgex-jenkins' 23:50:02 23:50:02 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 23:50:02 23:50:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/521739d0-dad0-452d-9362-6e66c51bfa1e 23:50:02 23:50:02 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:50:02 23:50:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:50:02 23:50:02 [Pipeline] } 23:50:02 $ docker stop --time=1 2389a3f71750a080b34c3ecf88eada16f0ab3c3a5a82bf51221ac0da7b03e686 23:50:05 $ docker rm -f 2389a3f71750a080b34c3ecf88eada16f0ab3c3a5a82bf51221ac0da7b03e686 [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 23:50:06 + git log --format=format:%s -1 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] isUnix [Pipeline] sh 23:50:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:50:06 . [Pipeline] withDockerContainer 23:50:06 prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container 23:50:06 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:50:07 $ docker top 5e7e2af814ae6e22ed35fa26d56bbc477c91c4ad16abd78d3ef3d962f2a0dc0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:50:07 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.2.2-dev.22|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:50:07 + git semver [Pipeline] } 23:50:07 $ docker stop --time=1 5e7e2af814ae6e22ed35fa26d56bbc477c91c4ad16abd78d3ef3d962f2a0dc0c 23:50:08 $ docker rm -f 5e7e2af814ae6e22ed35fa26d56bbc477c91c4ad16abd78d3ef3d962f2a0dc0c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:50:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:50:11 23:50:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:50:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:50:11 0.23.1-centos7: Pulling from edgex-lftools 23:50:11 ab5ef0e58194: Pulling fs layer 23:50:11 9712f1f96733: Pulling fs layer 23:50:11 63f879dbbcfc: Pulling fs layer 23:50:11 0d9ebad4ef96: Pulling fs layer 23:50:11 e9a5061849ea: Pulling fs layer 23:50:11 d747dcd14b5f: Pulling fs layer 23:50:11 2de7ff778b66: Pulling fs layer 23:50:11 0d9ebad4ef96: Waiting 23:50:11 e9a5061849ea: Waiting 23:50:11 d747dcd14b5f: Waiting 23:50:11 2de7ff778b66: Waiting 23:50:11 9712f1f96733: Verifying Checksum 23:50:11 9712f1f96733: Download complete 23:50:14 63f879dbbcfc: Verifying Checksum 23:50:14 63f879dbbcfc: Download complete 23:50:14 e9a5061849ea: Verifying Checksum 23:50:14 e9a5061849ea: Download complete 23:50:14 d747dcd14b5f: Verifying Checksum 23:50:14 d747dcd14b5f: Download complete 23:50:15 0d9ebad4ef96: Verifying Checksum 23:50:15 0d9ebad4ef96: Download complete 23:50:15 2de7ff778b66: Verifying Checksum 23:50:15 2de7ff778b66: Download complete 23:50:15 ab5ef0e58194: Verifying Checksum 23:50:15 ab5ef0e58194: Download complete 23:50:18 ab5ef0e58194: Pull complete 23:50:18 9712f1f96733: Pull complete 23:50:19 63f879dbbcfc: Pull complete 23:50:22 0d9ebad4ef96: Pull complete 23:50:23 e9a5061849ea: Pull complete 23:50:23 d747dcd14b5f: Pull complete 23:50:24 2de7ff778b66: Pull complete 23:50:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:50:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:50:24 prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container 23:50:24 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:50:28 $ docker top bd324938cb4692bfd37d854d0ffa2ec1e6134756c4208f1bf1bf9e487921adc2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:50:28 provisioning config files... 23:50:28 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5933303411856979839tmp 23:50:28 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4279854276327166471tmp 23:50:28 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4862050928418456407tmp [Pipeline] { [Pipeline] echo 23:50:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:50:29 ---> sigul-configuration.sh 23:50:29 gpg: directory `/root/.gnupg' created 23:50:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:50:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:50:29 gpg: keyring `/root/.gnupg/secring.gpg' created 23:50:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:50:29 gpg: CAST5 encrypted data 23:50:29 gpg: encrypted with 1 passphrase 23:50:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:50:29 + mkdir /home/jenkins 23:50:29 + mkdir /home/jenkins/sigul [Pipeline] sh 23:50:29 + 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 23:50:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:50:32 ---> sigul-install.sh 23:50:34 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 23:50:34 + git tag --list 23:50:34 v1.0.0 23:50:34 v1.1.0 23:50:34 v1.1.1 23:50:34 v1.1.2 23:50:34 v1.2.0 23:50:34 v1.2.1 23:50:34 v1.2.1-dev.1 23:50:34 v1.2.1-dev.2 23:50:34 v1.2.1-dev.3 23:50:34 v1.2.1-dev.4 23:50:34 v1.2.2-dev.1 23:50:34 v1.2.2-dev.10 23:50:34 v1.2.2-dev.11 23:50:34 v1.2.2-dev.12 23:50:34 v1.2.2-dev.13 23:50:34 v1.2.2-dev.14 23:50:34 v1.2.2-dev.15 23:50:34 v1.2.2-dev.16 23:50:34 v1.2.2-dev.17 23:50:34 v1.2.2-dev.18 23:50:34 v1.2.2-dev.19 23:50:34 v1.2.2-dev.2 23:50:34 v1.2.2-dev.20 23:50:34 v1.2.2-dev.21 23:50:34 v1.2.2-dev.22 23:50:34 v1.2.2-dev.3 23:50:34 v1.2.2-dev.4 23:50:34 v1.2.2-dev.5 23:50:34 v1.2.2-dev.6 23:50:34 v1.2.2-dev.7 23:50:34 v1.2.2-dev.8 23:50:34 v1.2.2-dev.9 23:50:34 v2.0.0 [Pipeline] sh 23:50:34 + lftools sign git-tag v2.0.0 23:50:35 Signing Git tag with Sigul... 23:50:35 Signing v2.0.0 [Pipeline] echo 23:50:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:50:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:50:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:50:36 $ docker stop --time=1 bd324938cb4692bfd37d854d0ffa2ec1e6134756c4208f1bf1bf9e487921adc2 23:50:38 $ docker rm -f bd324938cb4692bfd37d854d0ffa2ec1e6134756c4208f1bf1bf9e487921adc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 23:50:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:50:39 . [Pipeline] withDockerContainer 23:50:39 prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container 23:50:39 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:50:39 $ docker top 9da85afcc3fae4dd242bb272defae7b3f2932aa8afcac48929919082c1175ee2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:50:40 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.2.2-dev.22|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:50:42 + git semver [Pipeline] } 23:50:42 $ docker stop --time=1 9da85afcc3fae4dd242bb272defae7b3f2932aa8afcac48929919082c1175ee2 23:50:44 $ docker rm -f 9da85afcc3fae4dd242bb272defae7b3f2932aa8afcac48929919082c1175ee2 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 23:50:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:50:44 . [Pipeline] withDockerContainer 23:50:44 prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container 23:50:44 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:50:45 $ docker top 117ed0e6a63b87ba0b7fcb416bc21ab9512c73a098adc2207f923fb1d8dabfdf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:50:45 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.2.2-dev.22|v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:50:45 + git semver [Pipeline] } 23:50:45 $ docker stop --time=1 117ed0e6a63b87ba0b7fcb416bc21ab9512c73a098adc2207f923fb1d8dabfdf 23:50:46 $ docker rm -f 117ed0e6a63b87ba0b7fcb416bc21ab9512c73a098adc2207f923fb1d8dabfdf [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 23:50:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:50:48 ---> package-listing.sh 23:50:48 ++ facter osfamily 23:50:48 ++ tr '[:upper:]' '[:lower:]' 23:50:48 + OS_FAMILY=redhat 23:50:48 + workspace=/w/workspace/gexfoundry_device-rest-go_master 23:50:48 + START_PACKAGES=/tmp/packages_start.txt 23:50:48 + END_PACKAGES=/tmp/packages_end.txt 23:50:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:50:48 + PACKAGES=/tmp/packages_start.txt 23:50:48 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 23:50:48 + PACKAGES=/tmp/packages_end.txt 23:50:48 + case "${OS_FAMILY}" in 23:50:48 + rpm -qa 23:50:48 + sort 23:50:49 + '[' -f /tmp/packages_start.txt ']' 23:50:49 + '[' -f /tmp/packages_end.txt ']' 23:50:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:50:49 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 23:50:49 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 23:50:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 23:50:49 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 23:50:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:50:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:50:50 23:50:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:50:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:50:50 alpine: Pulling from edgex-lftools-log-publisher 23:50:50 df20fa9351a1: Pulling fs layer 23:50:50 36b3adc4ff6f: Pulling fs layer 23:50:50 8ad3a11d3b57: Pulling fs layer 23:50:50 46f8f816bc3b: Pulling fs layer 23:50:50 93b61091891f: Pulling fs layer 23:50:50 93b9cdb0e59b: Pulling fs layer 23:50:50 5e14af77c1be: Pulling fs layer 23:50:50 01666e4c0597: Pulling fs layer 23:50:50 aa168da1d23b: Pulling fs layer 23:50:50 46f8f816bc3b: Waiting 23:50:50 93b61091891f: Waiting 23:50:50 93b9cdb0e59b: Waiting 23:50:50 5e14af77c1be: Waiting 23:50:50 01666e4c0597: Waiting 23:50:50 aa168da1d23b: Waiting 23:50:50 36b3adc4ff6f: Verifying Checksum 23:50:50 36b3adc4ff6f: Download complete 23:50:50 46f8f816bc3b: Verifying Checksum 23:50:50 46f8f816bc3b: Download complete 23:50:50 df20fa9351a1: Verifying Checksum 23:50:50 df20fa9351a1: Download complete 23:50:50 93b9cdb0e59b: Verifying Checksum 23:50:50 93b9cdb0e59b: Download complete 23:50:50 5e14af77c1be: Verifying Checksum 23:50:50 5e14af77c1be: Download complete 23:50:50 01666e4c0597: Verifying Checksum 23:50:50 01666e4c0597: Download complete 23:50:50 93b61091891f: Verifying Checksum 23:50:50 93b61091891f: Download complete 23:50:50 df20fa9351a1: Pull complete 23:50:50 36b3adc4ff6f: Pull complete 23:50:50 8ad3a11d3b57: Verifying Checksum 23:50:50 8ad3a11d3b57: Download complete 23:50:53 8ad3a11d3b57: Pull complete 23:50:53 46f8f816bc3b: Pull complete 23:50:53 93b61091891f: Pull complete 23:50:53 93b9cdb0e59b: Pull complete 23:50:53 5e14af77c1be: Pull complete 23:50:53 01666e4c0597: Pull complete 23:50:53 aa168da1d23b: Verifying Checksum 23:50:53 aa168da1d23b: Download complete 23:50:57 aa168da1d23b: Pull complete 23:50:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:50:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:50:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:50:57 prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container 23:50:57 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:51:00 $ docker top eef76058d90b567bd16b503f6636a7ab308651ab86d04aa16b6c1495d36d6aaf -eo pid,comm [Pipeline] { [Pipeline] sh 23:51:01 + touch /tmp/pre-build-complete [Pipeline] sh 23:51:01 + mkdir -p /var/log/sa [Pipeline] sh 23:51:01 + ls /var/log/sa-host 23:51:01 + sadf -c /var/log/sa-host/sa05 23:51:01 file_magic: OK 23:51:01 HZ: Using current value: 100 23:51:01 file_header: OK 23:51:01 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 23:51:01 Statistics: 23:51:01 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:51:01 File successfully converted to sysstat format version 12.2.1 23:51:01 + sadf -c /var/log/sa-host/sa30 23:51:01 file_magic: OK 23:51:01 HZ: Using current value: 100 23:51:01 file_header: OK 23:51:01 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 23:51:01 Statistics: 23:51:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:51:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:51:02 provisioning config files... 23:51:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8988569267986112083tmp [Pipeline] { [Pipeline] echo 23:51:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:51:02 ---> create-netrc.sh [Pipeline] } 23:51:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:51:02 ---> python-tools-install.sh [Pipeline] echo 23:51:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:51:03 ---> sudo-logs.sh 23:51:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:51:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:51:03 ---> job-cost.sh 23:51:03 lf-activate-venv: SKIPPING 23:51:03 DEBUG: total: 0.18000000715255737 23:51:03 INFO: Retrieving Stack Cost... 23:51:03 INFO: Retrieving Pricing Info for: v3-standard-2 23:51:04 INFO: Archiving Costs [Pipeline] echo 23:51:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:51:04 ---> logs-deploy.sh 23:51:04 lf-activate-venv: SKIPPING 23:51:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/57 23:51:04 INFO: archiving workspace using pattern(s): 23:51:05 Archives upload complete. 23:51:05 INFO: archiving logs to Nexus 23:51:06 ---> uname -a: 23:51:06 Linux prd-centos7-docker-4c-2g-1056.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 23:51:06 23:51:06 23:51:06 ---> lscpu: 23:51:06 Architecture: x86_64 23:51:06 CPU op-mode(s): 32-bit, 64-bit 23:51:06 Byte Order: Little Endian 23:51:06 Address sizes: 40 bits physical, 48 bits virtual 23:51:06 CPU(s): 2 23:51:06 On-line CPU(s) list: 0,1 23:51:06 Thread(s) per core: 1 23:51:06 Core(s) per socket: 1 23:51:06 Socket(s): 2 23:51:06 NUMA node(s): 1 23:51:06 Vendor ID: AuthenticAMD 23:51:06 CPU family: 23 23:51:06 Model: 49 23:51:06 Model name: AMD EPYC-Rome Processor 23:51:06 Stepping: 0 23:51:06 CPU MHz: 2799.998 23:51:06 BogoMIPS: 5599.99 23:51:06 Virtualization: AMD-V 23:51:06 Hypervisor vendor: KVM 23:51:06 Virtualization type: full 23:51:06 L1d cache: 64 KiB 23:51:06 L1i cache: 64 KiB 23:51:06 L2 cache: 1 MiB 23:51:06 L3 cache: 32 MiB 23:51:06 NUMA node0 CPU(s): 0,1 23:51:06 Vulnerability Itlb multihit: Not affected 23:51:06 Vulnerability L1tf: Not affected 23:51:06 Vulnerability Mds: Not affected 23:51:06 Vulnerability Meltdown: Not affected 23:51:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:51:06 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:51:06 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:51:06 Vulnerability Srbds: Not affected 23:51:06 Vulnerability Tsx async abort: Not affected 23:51:06 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 23:51:06 23:51:06 23:51:06 ---> nproc: 23:51:06 2 23:51:06 23:51:06 23:51:06 ---> df -h: 23:51:06 Filesystem Size Used Available Use% Mounted on 23:51:06 overlay 40.0G 8.9G 31.1G 22% / 23:51:06 tmpfs 64.0M 0 64.0M 0% /dev 23:51:06 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 23:51:06 shm 64.0M 0 64.0M 0% /dev/shm 23:51:06 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 23:51:06 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 23:51:06 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 23:51:06 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 23:51:06 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 23:51:06 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 23:51:06 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 23:51:06 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 23:51:06 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master 23:51:06 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master@tmp 23:51:06 23:51:06 23:51:06 ---> free -m: 23:51:06 total used free shared buff/cache available 23:51:06 Mem: 7821 1281 3140 0 3399 6456 23:51:06 Swap: 1023 0 1023 23:51:06 23:51:06 23:51:06 ---> ip addr: 23:51:06 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:51:06 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:51:06 inet 127.0.0.1/8 scope host lo 23:51:06 valid_lft forever preferred_lft forever 23:51:06 inet6 ::1/128 scope host 23:51:06 valid_lft forever preferred_lft forever 23:51:06 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:51:06 link/ether fa:16:3e:e3:04:10 brd ff:ff:ff:ff:ff:ff 23:51:06 inet 10.30.122.219/23 brd 10.30.123.255 scope global dynamic eth0 23:51:06 valid_lft 85650sec preferred_lft 85650sec 23:51:06 inet6 fe80::f816:3eff:fee3:410/64 scope link 23:51:06 valid_lft forever preferred_lft forever 23:51:06 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:51:06 link/ether 02:42:70:30:7b:20 brd ff:ff:ff:ff:ff:ff 23:51:06 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:51:06 valid_lft forever preferred_lft forever 23:51:06 inet6 fe80::42:70ff:fe30:7b20/64 scope link 23:51:06 valid_lft forever preferred_lft forever 23:51:06 23:51:06 23:51:06 ---> sar -b -r -n DEV: 23:51:06 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/30/21 _x86_64_ (2 CPU) 23:51:06 23:51:06 23:38:25 LINUX RESTART (2 CPU) 23:51:06 23:51:06 23:39:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:51:06 23:40:01 81.26 3.84 77.41 0.00 2654.06 4142.88 0.00 23:51:06 23:41:01 1.75 0.00 1.75 0.00 0.00 33.49 0.00 23:51:06 23:42:01 0.33 0.00 0.33 0.00 0.00 6.23 0.00 23:51:06 23:43:01 0.22 0.00 0.22 0.00 0.00 3.93 0.00 23:51:06 23:44:01 0.22 0.00 0.22 0.00 0.00 2.35 0.00 23:51:06 23:45:01 0.35 0.00 0.35 0.00 0.00 4.68 0.00 23:51:06 23:46:01 0.23 0.00 0.23 0.00 0.00 3.26 0.00 23:51:06 23:47:01 0.30 0.00 0.30 0.00 0.00 3.63 0.00 23:51:06 23:48:01 0.25 0.00 0.25 0.00 0.00 2.30 0.00 23:51:06 23:49:01 0.20 0.00 0.20 0.00 0.00 2.32 0.00 23:51:06 23:50:01 80.69 0.03 80.65 0.00 3.73 27913.70 0.00 23:51:06 Average: 15.08 0.35 14.73 0.00 241.77 2920.94 0.00 23:51:06 23:51:06 23:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:51:06 23:40:01 5454760 0 799932 9.99 2620 1751628 1288916 14.23 575240 1579304 20 23:51:06 23:41:01 5463096 0 791592 9.88 2620 1751632 1227592 13.55 568292 1579268 20 23:51:06 23:42:01 5464184 0 790496 9.87 2620 1751640 1214252 13.41 569188 1577524 20 23:51:06 23:43:01 5462996 0 791680 9.88 2620 1751644 1214340 13.41 570420 1577524 8 23:51:06 23:44:01 5462888 0 791780 9.89 2620 1751652 1214352 13.41 565808 1582252 16 23:51:06 23:45:01 5464800 0 789868 9.86 2620 1751652 1201740 13.27 564380 1582252 16 23:51:06 23:46:01 5465040 0 789620 9.86 2620 1751660 1196600 13.21 564004 1582292 16 23:51:06 23:47:01 5453920 0 800736 10.00 2620 1751664 1196600 13.21 575688 1582292 8 23:51:06 23:48:01 5453316 0 801340 10.01 2620 1751664 1196600 13.21 576108 1582292 16 23:51:06 23:49:01 5452820 0 801828 10.01 2620 1751672 1196696 13.21 578360 1580444 16 23:51:06 23:50:01 4357928 0 1055784 13.18 2620 2592608 1395680 15.41 834160 2298436 100312 23:51:06 Average: 5359613 0 818605 10.22 2620 1828101 1231215 13.59 594695 1645807 9133 23:51:06 23:51:06 23:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:51:06 23:40:01 eth0 255.13 209.04 759.20 48.32 0.00 0.00 0.00 0.00 23:51:06 23:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:40:01 docker0 51.85 41.05 4.48 134.28 0.00 0.00 0.00 0.00 23:51:06 23:41:01 eth0 3.35 0.50 0.75 0.36 0.00 0.00 0.00 0.00 23:51:06 23:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:42:01 eth0 3.33 0.73 0.97 0.58 0.00 0.00 0.00 0.00 23:51:06 23:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:43:01 eth0 2.15 0.50 0.65 0.40 0.00 0.00 0.00 0.00 23:51:06 23:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:44:01 eth0 1.57 0.87 0.88 0.70 0.00 0.00 0.00 0.00 23:51:06 23:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:45:01 eth0 0.28 0.23 0.10 0.02 0.00 0.00 0.00 0.00 23:51:06 23:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:46:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:51:06 23:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:47:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:51:06 23:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:48:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:51:06 23:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:49:01 eth0 0.28 0.22 0.09 0.07 0.00 0.00 0.00 0.00 23:51:06 23:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:50:01 veth20a7441 65.40 67.48 6.21 383.69 0.00 0.00 0.00 0.00 23:51:06 23:50:01 eth0 471.41 435.01 4463.91 37.09 0.00 0.00 0.00 0.00 23:51:06 23:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 23:50:01 docker0 65.40 67.38 5.31 383.68 0.00 0.00 0.00 0.00 23:51:06 Average: veth20a7441 5.95 6.14 0.56 34.89 0.00 0.00 0.00 0.00 23:51:06 Average: eth0 67.11 58.88 475.32 7.96 0.00 0.00 0.00 0.00 23:51:06 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:51:06 Average: docker0 10.66 9.86 0.89 47.11 0.00 0.00 0.00 0.00 23:51:06 23:51:06 23:51:06 ---> sar -P ALL: 23:51:06 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/30/21 _x86_64_ (2 CPU) 23:51:06 23:51:06 23:38:25 LINUX RESTART (2 CPU) 23:51:06 23:51:06 23:39:01 CPU %user %nice %system %iowait %steal %idle 23:51:06 23:40:01 all 6.60 0.00 2.83 1.61 0.05 88.90 23:51:06 23:40:01 0 6.81 0.00 3.03 0.82 0.05 89.30 23:51:06 23:40:01 1 6.40 0.00 2.63 2.41 0.05 88.51 23:51:06 23:41:01 all 0.13 0.00 0.07 0.00 0.03 99.77 23:51:06 23:41:01 0 0.22 0.00 0.08 0.00 0.03 99.67 23:51:06 23:41:01 1 0.03 0.00 0.05 0.00 0.03 99.88 23:51:06 23:42:01 all 0.14 0.00 0.03 0.00 0.04 99.78 23:51:06 23:42:01 0 0.17 0.00 0.03 0.00 0.05 99.75 23:51:06 23:42:01 1 0.12 0.00 0.03 0.00 0.03 99.82 23:51:06 23:43:01 all 0.06 0.00 0.03 0.00 0.03 99.88 23:51:06 23:43:01 0 0.07 0.00 0.03 0.00 0.03 99.87 23:51:06 23:43:01 1 0.05 0.00 0.02 0.00 0.03 99.90 23:51:06 23:44:01 all 0.21 0.00 0.03 0.00 0.03 99.73 23:51:06 23:44:01 0 0.33 0.00 0.03 0.00 0.02 99.62 23:51:06 23:44:01 1 0.08 0.00 0.03 0.00 0.03 99.85 23:51:06 23:45:01 all 0.08 0.00 0.03 0.00 0.03 99.87 23:51:06 23:45:01 0 0.12 0.00 0.03 0.00 0.02 99.83 23:51:06 23:45:01 1 0.03 0.00 0.03 0.00 0.03 99.90 23:51:06 23:46:01 all 0.13 0.00 0.03 0.00 0.03 99.82 23:51:06 23:46:01 0 0.20 0.00 0.03 0.00 0.02 99.75 23:51:06 23:46:01 1 0.05 0.00 0.02 0.00 0.03 99.90 23:51:06 23:47:01 all 0.16 0.00 0.03 0.00 0.03 99.78 23:51:06 23:47:01 0 0.30 0.00 0.05 0.00 0.03 99.62 23:51:06 23:47:01 1 0.02 0.00 0.02 0.00 0.02 99.95 23:51:06 23:48:01 all 0.12 0.00 0.03 0.00 0.03 99.83 23:51:06 23:48:01 0 0.18 0.00 0.03 0.00 0.05 99.73 23:51:06 23:48:01 1 0.05 0.00 0.02 0.00 0.00 99.93 23:51:06 23:49:01 all 0.16 0.00 0.03 0.00 0.03 99.78 23:51:06 23:49:01 0 0.32 0.00 0.03 0.00 0.03 99.62 23:51:06 23:49:01 1 0.00 0.00 0.02 0.00 0.03 99.95 23:51:06 23:50:01 all 11.30 0.00 5.01 2.17 0.05 81.47 23:51:06 23:50:01 0 11.05 0.00 5.24 1.81 0.05 81.85 23:51:06 23:50:01 1 11.56 0.00 4.78 2.53 0.05 81.09 23:51:06 23:51:06 Average: CPU %user %nice %system %iowait %steal %idle 23:51:06 Average: all 1.70 0.00 0.73 0.34 0.03 97.20 23:51:06 Average: 0 1.76 0.00 0.77 0.23 0.04 97.20 23:51:06 Average: 1 1.64 0.00 0.68 0.44 0.03 97.21 23:51:06 23:51:06 23:51:06