Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 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-ssh1897600310441825298.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2584502430399519037.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6071360846886080921.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7583988411336488016.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7192250388928127434.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-941 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 Avoid second fetch Checking out Revision 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b (master) 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-ssh8966202062123825272.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 Commit message: "Merge pull request #108 from siggiskulason/snap-fix-service-name" > git rev-list --no-walk a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:15:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:15:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:15:54 ========================================================= 22:15:54 EdgeX Global Pipelines Version Info 22:15:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:15:55 ------------------- 22:15:55 stable info: 22:15:55 ------------------- 22:15:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:15:55 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 22:15:55 Message: update stable to v1.0.192 22:15:56 ------------------- 22:15:56 experimental info: 22:15:56 ------------------- 22:15:56 Commited By: **** collab-it+edgex@linuxfoundation.org 22:15:56 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 22:15:56 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:15:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:15:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 405bc14 [Pipeline] echo 22:16:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:00 provisioning config files... 22:16:00 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1649400280106922450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:00 ---> docker-login.sh 22:16:00 nexus3.edgexfoundry.org:10001 22:16:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:01 Configure a credential helper to remove this warning. See 22:16:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:01 22:16:01 Login Succeeded 22:16:01 nexus3.edgexfoundry.org:10002 22:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:01 Configure a credential helper to remove this warning. See 22:16:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:01 22:16:01 Login Succeeded 22:16:01 nexus3.edgexfoundry.org:10003 22:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:01 Configure a credential helper to remove this warning. See 22:16:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:01 22:16:01 Login Succeeded 22:16:01 nexus3.edgexfoundry.org:10004 22:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:01 Configure a credential helper to remove this warning. See 22:16:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:01 22:16:01 Login Succeeded 22:16:01 docker.io 22:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:01 Configure a credential helper to remove this warning. See 22:16:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:01 22:16:01 Login Succeeded 22:16:01 ---> docker-login.sh ends [Pipeline] } 22:16:01 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 22:16:02 + git log --format=format:%s -1 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] echo 22:16:02 GIT_COMMIT: 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b, Commit Message: Merge pull request #108 from siggiskulason/snap-fix-service-name [Pipeline] echo 22:16:02 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:16:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:16:03 22:16:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:16:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:16:03 latest: Pulling from edgex-devops/git-semver 22:16:03 31603596830f: Pulling fs layer 22:16:03 54011a49482f: Pulling fs layer 22:16:03 a6820b24f6d8: Pulling fs layer 22:16:03 f581987b2513: Pulling fs layer 22:16:03 f581987b2513: Waiting 22:16:04 54011a49482f: Download complete 22:16:04 31603596830f: Verifying Checksum 22:16:04 31603596830f: Download complete 22:16:04 f581987b2513: Verifying Checksum 22:16:04 f581987b2513: Download complete 22:16:04 a6820b24f6d8: Verifying Checksum 22:16:04 a6820b24f6d8: Download complete 22:16:04 31603596830f: Pull complete 22:16:04 54011a49482f: Pull complete 22:16:04 a6820b24f6d8: Pull complete 22:16:05 f581987b2513: Pull complete 22:16:05 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:16:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:16:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:16:05 prd-centos7-docker-4c-2g-941 does not seem to be running inside a container 22:16:05 $ 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 22:16:06 $ docker top d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:16:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:06 [ssh-agent] Looking for ssh-agent implementation... 22:16:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:06 $ docker exec d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b ssh-agent 22:16:06 SSH_AUTH_SOCK=/tmp/ssh-tyZmepjC9cje/agent.13 22:16:06 SSH_AGENT_PID=20 22:16:06 Running ssh-add (command line suppressed) 22:16:06 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3299980164444873914.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3299980164444873914.key) 22:16:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:06 + git tag --points-at HEAD [Pipeline] } 22:16:07 $ docker exec --env ******** --env ******** d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b ssh-agent -k 22:16:07 unset SSH_AUTH_SOCK; 22:16:07 unset SSH_AGENT_PID; 22:16:07 echo Agent pid 20 killed; 22:16:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:16:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:07 [ssh-agent] Looking for ssh-agent implementation... 22:16:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:07 $ docker exec d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b ssh-agent 22:16:07 SSH_AUTH_SOCK=/tmp/ssh-E8ZCXRjfWzBr/agent.55 22:16:07 SSH_AGENT_PID=61 22:16:07 Running ssh-add (command line suppressed) 22:16:07 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7011161758327920943.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7011161758327920943.key) 22:16:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:07 + git semver init 22:16:07 # -> Open(): unable to determine branch for HEAD 22:16:07 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 22:16:07 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 22:16:07 # $SEMVER_REMOTE_NAME = origin 22:16:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:16:07 # $SEMVER_USER_NAME = edgex-jenkins 22:16:07 # $SEMVER_BRANCH = master 22:16:07 # $SEMVER_TEMP = /tmp/semver-942375809 22:16:07 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 22:16:08 # '/tmp/semver-942375809' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 22:16:08 # -> Force: false 22:16:08 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 22:16:08 $ docker exec --env ******** --env ******** d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b ssh-agent -k 22:16:08 unset SSH_AUTH_SOCK; 22:16:08 unset SSH_AGENT_PID; 22:16:08 echo Agent pid 61 killed; 22:16:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:16:09 + git semver [Pipeline] } 22:16:09 $ docker stop --time=1 d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b 22:16:10 $ docker rm -f d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b [Pipeline] // withDockerContainer [Pipeline] sh 22:16:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:16:11 Stashed 1 file(s) [Pipeline] echo 22:16:11 [edgeXSemver]: initialized semver on version 1.2.2-dev.14 [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 22:16:26 Still waiting to schedule task 22:16:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:16:26 Still waiting to schedule task 22:16:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:19:07 Running on prd-centos7-docker-4c-2g-944 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 22:19:07 Running in /w/workspace/device-rest-go/47 [Pipeline] { [Pipeline] checkout 22:19:07 The recommended git tool is: git 22:19:09 using credential edgex-jenkins-ssh 22:19:09 Cloning the remote Git repository 22:19:09 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:19:10 Avoid second fetch 22:19:10 Checking out Revision 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b (master) 22:19:09 > git init /w/workspace/device-rest-go/47 # timeout=10 22:19:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:19:09 > git --version # timeout=10 22:19:09 > git --version # 'git version 2.24.4' 22:19:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:19:09 [INFO] Currently running in a labeled security context 22:19:09 [INFO] Currently SELinux is 'enforcing' on the host 22:19:09 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/47@tmp/jenkins-gitclient-ssh7678063805828810270.key 22:19:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:19:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:19:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:19:10 > git config core.sparsecheckout # timeout=10 22:19:10 > git checkout -f 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 22:19:14 Commit message: "Merge pull request #108 from siggiskulason/snap-fix-service-name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-943 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 22:19:15 Running in /w/workspace/device-rest-go/47 [Pipeline] { [Pipeline] checkout 22:19:15 The recommended git tool is: git 22:19:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:19:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:19:16 + true 22:19:16 + sudo service docker restart 22:19:16 Redirecting to /bin/systemctl restart docker.service 22:19:20 using credential edgex-jenkins-ssh 22:19:20 Cloning the remote Git repository 22:19:20 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:19:20 > git init /w/workspace/device-rest-go/47 # timeout=10 22:19:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:19:21 > git --version # timeout=10 22:19:21 > git --version # 'git version 2.17.1' 22:19:21 using GIT_SSH to set credentials SSH Credentials for GitHub 22:19:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:19:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:19:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:19:22 Avoid second fetch 22:19:22 Checking out Revision 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b (master) 22:19:22 > git config core.sparsecheckout # timeout=10 22:19:22 > git checkout -f 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 22:19:27 Commit message: "Merge pull request #108 from siggiskulason/snap-fix-service-name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:28 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:19:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:19:29 + true 22:19:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:34 provisioning config files... 22:19:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config7629906221011636163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:34 ---> docker-login.sh 22:19:34 nexus3.edgexfoundry.org:10001 22:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:34 Configure a credential helper to remove this warning. See 22:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:34 22:19:34 Login Succeeded 22:19:34 nexus3.edgexfoundry.org:10002 22:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:34 Configure a credential helper to remove this warning. See 22:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:34 22:19:34 Login Succeeded 22:19:34 nexus3.edgexfoundry.org:10003 22:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:35 Configure a credential helper to remove this warning. See 22:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:35 22:19:35 Login Succeeded 22:19:35 nexus3.edgexfoundry.org:10004 22:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:35 Configure a credential helper to remove this warning. See 22:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:35 22:19:35 Login Succeeded 22:19:35 docker.io 22:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:35 Configure a credential helper to remove this warning. See 22:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:35 22:19:35 Login Succeeded 22:19:35 ---> docker-login.sh ends [Pipeline] } 22:19:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:19:35 ========================================================= 22:19:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:19:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:19:36 + 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 . 22:19:36 Sending build context to Docker daemon 92.16kB 22:19:36 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 22:19:36 Step 2/10 : FROM ${BASE} 22:19:36 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:19:36 540db60ca938: Pulling fs layer 22:19:36 adcc1eea9eea: Pulling fs layer 22:19:36 4c4ab2625f07: Pulling fs layer 22:19:36 0510c868ecb4: Pulling fs layer 22:19:36 afea3b2eda06: Pulling fs layer 22:19:36 7809a108b3ef: Pulling fs layer 22:19:36 f706445af74f: Pulling fs layer 22:19:36 0510c868ecb4: Waiting 22:19:36 afea3b2eda06: Waiting 22:19:36 7809a108b3ef: Waiting 22:19:36 f706445af74f: Waiting 22:19:36 4c4ab2625f07: Verifying Checksum 22:19:36 4c4ab2625f07: Download complete 22:19:36 adcc1eea9eea: Verifying Checksum 22:19:36 adcc1eea9eea: Download complete 22:19:36 afea3b2eda06: Verifying Checksum 22:19:36 afea3b2eda06: Download complete 22:19:36 7809a108b3ef: Verifying Checksum 22:19:36 7809a108b3ef: Download complete 22:19:36 540db60ca938: Verifying Checksum 22:19:36 540db60ca938: Download complete 22:19:36 540db60ca938: Pull complete 22:19:36 adcc1eea9eea: Pull complete 22:19:36 4c4ab2625f07: Pull complete 22:19:38 f706445af74f: Verifying Checksum 22:19:38 f706445af74f: Download complete 22:19:38 0510c868ecb4: Verifying Checksum 22:19:38 0510c868ecb4: Download complete 22:19:41 0510c868ecb4: Pull complete 22:19:41 afea3b2eda06: Pull complete 22:19:41 7809a108b3ef: Pull complete 22:19:43 f706445af74f: Pull complete 22:19:43 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:19:43 ---> b068be0155e3 22:19:43 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:19:46 ---> Running in 948ea7ce4d21 22:19:46 Removing intermediate container 948ea7ce4d21 22:19:46 ---> 976b0eed9969 22:19:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:19:46 ---> Running in 73a225c7ac8c 22:19:46 Removing intermediate container 73a225c7ac8c 22:19:46 ---> 08609fa38c93 22:19:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:19:46 ---> Running in c480ddde02ac 22:19:47 Removing intermediate container c480ddde02ac 22:19:47 ---> f3b19ee4266d 22:19:47 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:19:47 ---> Running in 8289ac243af1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:47 provisioning config files... 22:19:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config7313541880309404192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:47 Removing intermediate container 8289ac243af1 22:19:47 ---> 61c4dac4b3e6 22:19:47 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:47 ---> Running in b90499835870 22:19:47 ---> docker-login.sh 22:19:47 nexus3.edgexfoundry.org:10001 22:19:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:49 Configure a credential helper to remove this warning. See 22:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:49 22:19:49 Login Succeeded 22:19:49 nexus3.edgexfoundry.org:10002 22:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:49 (1/9) Installing libc-dev (0.7.2-r3) 22:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:49 Configure a credential helper to remove this warning. See 22:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:49 22:19:49 Login Succeeded 22:19:49 nexus3.edgexfoundry.org:10003 22:19:49 (2/9) Installing libsodium (1.0.18-r0) 22:19:49 (3/9) Installing pkgconf (1.7.3-r0) 22:19:49 (4/9) Installing libsodium-dev (1.0.18-r0) 22:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:49 Configure a credential helper to remove this warning. See 22:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:49 22:19:49 Login Succeeded 22:19:49 nexus3.edgexfoundry.org:10004 22:19:50 (5/9) Installing openssh-keygen (8.4_p1-r3) 22:19:50 (6/9) Installing libedit (20191231.3.1-r1) 22:19:50 (7/9) Installing openssh-client (8.4_p1-r3) 22:19:50 (8/9) Installing libzmq (4.3.3-r1) 22:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:50 Configure a credential helper to remove this warning. See 22:19:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:50 22:19:50 Login Succeeded 22:19:50 docker.io 22:19:50 (9/9) Installing zeromq-dev (4.3.3-r1) 22:19:50 Executing busybox-1.32.1-r6.trigger 22:19:50 OK: 154 MiB in 49 packages 22:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:51 Removing intermediate container b90499835870 22:19:51 ---> f7062715ebc4 22:19:51 Step 8/10 : WORKDIR /device-rest-go 22:19:51 ---> Running in 94d4bd0dab81 22:19:51 Removing intermediate container 94d4bd0dab81 22:19:51 ---> d41cb4d5abad 22:19:51 Step 9/10 : COPY . . 22:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:51 Configure a credential helper to remove this warning. See 22:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:51 22:19:51 Login Succeeded 22:19:51 ---> docker-login.sh ends [Pipeline] } 22:19:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 22:19:51 ---> f41d0178d3dd 22:19:51 Step 10/10 : RUN go mod download 22:19:51 ---> Running in df9cfa6769bb [Pipeline] echo 22:19:51 ========================================================= 22:19:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:19:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:19:52 + 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 . 22:19:52 Sending build context to Docker daemon 92.16kB 22:19:52 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 22:19:52 Step 2/10 : FROM ${BASE} 22:19:52 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:19:52 595b0fe564bb: Pulling fs layer 22:19:52 7186ed65a4f7: Pulling fs layer 22:19:52 316046926c0a: Pulling fs layer 22:19:52 4ebd0625c992: Pulling fs layer 22:19:52 207e8628e3a3: Pulling fs layer 22:19:52 c791037a9be2: Pulling fs layer 22:19:52 ffd874e62e21: Pulling fs layer 22:19:52 207e8628e3a3: Waiting 22:19:52 c791037a9be2: Waiting 22:19:52 4ebd0625c992: Waiting 22:19:52 ffd874e62e21: Waiting 22:19:52 316046926c0a: Download complete 22:19:52 7186ed65a4f7: Verifying Checksum 22:19:52 7186ed65a4f7: Download complete 22:19:52 207e8628e3a3: Verifying Checksum 22:19:52 207e8628e3a3: Download complete 22:19:52 c791037a9be2: Verifying Checksum 22:19:52 c791037a9be2: Download complete 22:19:52 595b0fe564bb: Verifying Checksum 22:19:52 595b0fe564bb: Download complete 22:19:53 595b0fe564bb: Pull complete 22:19:54 7186ed65a4f7: Pull complete 22:19:54 ffd874e62e21: Verifying Checksum 22:19:54 ffd874e62e21: Download complete 22:19:54 316046926c0a: Pull complete 22:19:55 4ebd0625c992: Verifying Checksum 22:19:55 4ebd0625c992: Download complete 22:20:03 Removing intermediate container df9cfa6769bb 22:20:03 ---> c063830bc1e2 22:20:03 Successfully built c063830bc1e2 22:20:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:20:04 + docker inspect -f . ci-base-image-x86_64 22:20:04 . [Pipeline] withDockerContainer 22:20:04 prd-centos7-docker-4c-2g-944 does not seem to be running inside a container 22:20:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@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 ******** ci-base-image-x86_64 cat 22:20:04 $ docker top 9d6046b6033a6ad9b46ba2f4cd681f51ca8931218a8aeeaafd4239e8c8fc4f3f -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:04 + go version 22:20:04 go version go1.16.3 linux/amd64 [Pipeline] } 22:20:04 $ docker stop --time=1 9d6046b6033a6ad9b46ba2f4cd681f51ca8931218a8aeeaafd4239e8c8fc4f3f 22:20:06 $ docker rm -f 9d6046b6033a6ad9b46ba2f4cd681f51ca8931218a8aeeaafd4239e8c8fc4f3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:20:06 + docker inspect -f . ci-base-image-x86_64 22:20:06 . [Pipeline] withDockerContainer 22:20:06 prd-centos7-docker-4c-2g-944 does not seem to be running inside a container 22:20:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@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 ******** ci-base-image-x86_64 cat 22:20:07 $ docker top 8d51ec52c5febfb22b2d93627c24f56f1e32e75d1120f7d59e7cb6be9e3e4971 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:07 + go mod tidy [Pipeline] sh 22:20:08 4ebd0625c992: Pull complete 22:20:08 207e8628e3a3: Pull complete 22:20:08 c791037a9be2: Pull complete 22:20:08 + make test 22:20:08 go mod tidy 22:20:08 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:20:08 ? github.com/edgexfoundry/device-rest-go [no test files] 22:20:10 ffd874e62e21: Pull complete 22:20:10 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 22:20:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:20:10 ---> cfc18b08335c 22:20:10 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:20:12 ---> Running in 3e081c1a18bc 22:20:13 Removing intermediate container 3e081c1a18bc 22:20:13 ---> 28d7ccf4bbee 22:20:13 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:20:13 ---> Running in fa7b090f4c85 22:20:13 Removing intermediate container fa7b090f4c85 22:20:13 ---> e7c8f4d6aca4 22:20:13 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:20:14 ---> Running in b4f33af78d02 22:20:14 Removing intermediate container b4f33af78d02 22:20:14 ---> 502923b742b0 22:20:14 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:20:14 ---> Running in 8db10899a61d 22:20:17 Removing intermediate container 8db10899a61d 22:20:17 ---> f653c2b3015d 22:20:17 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:20:17 ---> Running in c22f852df754 22:20:18 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:20:19 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:20:20 (1/9) Installing libc-dev (0.7.2-r3) 22:20:20 (2/9) Installing libsodium (1.0.18-r0) 22:20:20 (3/9) Installing pkgconf (1.7.3-r0) 22:20:20 (4/9) Installing libsodium-dev (1.0.18-r0) 22:20:20 (5/9) Installing openssh-keygen (8.4_p1-r3) 22:20:20 (6/9) Installing libedit (20191231.3.1-r1) 22:20:20 (7/9) Installing openssh-client (8.4_p1-r3) 22:20:20 (8/9) Installing libzmq (4.3.3-r1) 22:20:20 (9/9) Installing zeromq-dev (4.3.3-r1) 22:20:20 Executing busybox-1.32.1-r6.trigger 22:20:21 OK: 144 MiB in 49 packages 22:20:22 Removing intermediate container c22f852df754 22:20:22 ---> 21916fb027cb 22:20:22 Step 8/10 : WORKDIR /device-rest-go 22:20:22 ---> Running in 7ea35757e7d3 22:20:23 Removing intermediate container 7ea35757e7d3 22:20:23 ---> d464294ba804 22:20:23 Step 9/10 : COPY . . 22:20:23 ---> 7e0714c7e44b 22:20:23 Step 10/10 : RUN go mod download 22:20:24 ---> Running in d9c5b8300b85 22:20:26 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:20:26 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 54.0% of statements 22:20:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:20:33 gofmt -l . 22:20:33 [ "`gofmt -l .`" = "" ] 22:20:33 ./bin/test-go-mod-tidy.sh 22:20:33 ./bin/test-attribution-txt.sh [Pipeline] } 22:20:33 $ docker stop --time=1 8d51ec52c5febfb22b2d93627c24f56f1e32e75d1120f7d59e7cb6be9e3e4971 22:20:35 $ docker rm -f 8d51ec52c5febfb22b2d93627c24f56f1e32e75d1120f7d59e7cb6be9e3e4971 [Pipeline] // withDockerContainer [Pipeline] sh 22:20:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:20:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:20:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:20:38 + ls -al . 22:20:38 total 104 22:20:38 drwxrwxr-x. 8 jenkins jenkins 4096 May 28 22:20 . 22:20:38 drwxrwxr-x. 4 jenkins jenkins 30 May 28 22:19 .. 22:20:38 -rw-rw-r--. 1 jenkins jenkins 6792 May 28 22:19 Attribution.txt 22:20:38 drwxrwxr-x. 2 jenkins jenkins 64 May 28 22:19 bin 22:20:38 drwxrwxr-x. 3 jenkins jenkins 32 May 28 22:19 cmd 22:20:38 -rw-r--r--. 1 jenkins jenkins 8513 May 28 22:20 coverage.out 22:20:38 -rw-rw-r--. 1 jenkins jenkins 1615 May 28 22:19 Dockerfile 22:20:38 -rw-rw-r--. 1 jenkins jenkins 1087 May 28 22:19 Dockerfile.build 22:20:38 -rw-rw-r--. 1 jenkins jenkins 151 May 28 22:19 .dockerignore 22:20:38 drwxrwxr-x. 2 jenkins jenkins 76 May 28 22:19 driver 22:20:38 drwxrwxr-x. 8 jenkins jenkins 162 May 28 22:19 .git 22:20:38 drwxrwxr-x. 2 jenkins jenkins 103 May 28 22:19 .github 22:20:38 -rw-rw-r--. 1 jenkins jenkins 336 May 28 22:19 .gitignore 22:20:38 -rw-r--r--. 1 jenkins jenkins 285 May 28 22:20 go.mod 22:20:38 -rw-r--r--. 1 jenkins jenkins 21177 May 28 22:20 go.sum 22:20:38 -rw-rw-r--. 1 jenkins jenkins 680 May 28 22:19 Jenkinsfile 22:20:38 -rw-rw-r--. 1 jenkins jenkins 11340 May 28 22:19 LICENSE 22:20:38 -rw-rw-r--. 1 jenkins jenkins 996 May 28 22:19 Makefile 22:20:38 -rw-rw-r--. 1 jenkins jenkins 7667 May 28 22:19 README.md 22:20:38 drwxrwxr-x. 4 jenkins jenkins 71 May 28 22:19 snap 22:20:38 -rw-rw-r--. 1 jenkins jenkins 12 May 28 22:16 VERSION 22:20:38 -rw-rw-r--. 1 jenkins jenkins 713 May 28 22:19 version.go [Pipeline] isUnix [Pipeline] sh 22:20:39 + 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=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b --label arch=amd64 --label version=1.2.2-dev.14 . 22:20:39 Sending build context to Docker daemon 101.9kB 22:20:39 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 22:20:39 Step 2/25 : FROM ${BASE} AS builder 22:20:39 ---> c063830bc1e2 22:20:39 Step 3/25 : ARG MAKE='make build' 22:20:39 ---> Running in aaafe1265b58 22:20:39 Removing intermediate container aaafe1265b58 22:20:39 ---> 8b007589d334 22:20:39 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:20:39 ---> Running in 73a0ee13a76f 22:20:39 Removing intermediate container 73a0ee13a76f 22:20:39 ---> 8a2b0e31114f 22:20:39 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:20:39 ---> Running in c37d10fd5b24 22:20:39 Removing intermediate container c37d10fd5b24 22:20:39 ---> 1d81a703e3c7 22:20:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:20:39 ---> Running in 0ebea9b6a0c5 22:20:39 Removing intermediate container 0ebea9b6a0c5 22:20:39 ---> cfbc4201f883 22:20:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:20:39 ---> Running in 80027978203a 22:20:40 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:20:41 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:20:41 OK: 154 MiB in 49 packages 22:20:41 Removing intermediate container 80027978203a 22:20:41 ---> 7d30ba3ddda0 22:20:41 Step 8/25 : WORKDIR /device-rest-go 22:20:41 ---> Running in cc515ca585f1 22:20:41 Removing intermediate container cc515ca585f1 22:20:41 ---> 5e40589df5f1 22:20:41 Step 9/25 : COPY . . 22:20:41 ---> 244e227e4f06 22:20:41 Step 10/25 : RUN go mod tidy 22:20:41 ---> Running in 2dce3d75cd32 22:20:42 Removing intermediate container 2dce3d75cd32 22:20:42 ---> 7eb8954fd95d 22:20:42 Step 11/25 : RUN make update 22:20:42 ---> Running in edfe1d565e73 22:20:42 CGO_ENABLED=0 GO111MODULE=on go mod download 22:20:43 Removing intermediate container edfe1d565e73 22:20:43 ---> 021846c99ae7 22:20:43 Step 12/25 : RUN $MAKE 22:20:43 ---> Running in fe8dcacdaecc 22:20:43 go mod tidy 22:20:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.14" -o cmd/device-rest ./cmd 22:20:51 Removing intermediate container d9c5b8300b85 22:20:51 ---> 231bee79a2db 22:20:51 Successfully built 231bee79a2db 22:20:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:20:51 + docker inspect -f . ci-base-image-arm64 22:20:51 . [Pipeline] withDockerContainer 22:20:51 prd-ubuntu18.04-docker-arm64-4c-16g-943 does not seem to be running inside a container 22:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@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 ******** ci-base-image-arm64 cat 22:20:53 $ docker top ab73164f87633580de3d461f88449018ee13ee6876711d16d329bab679d3dbc4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:54 + go version 22:20:54 go version go1.16.3 linux/arm64 [Pipeline] } 22:20:54 $ docker stop --time=1 ab73164f87633580de3d461f88449018ee13ee6876711d16d329bab679d3dbc4 22:20:56 Removing intermediate container fe8dcacdaecc 22:20:56 ---> 05076f5a3adc 22:20:56 Step 13/25 : FROM alpine:3.12 22:20:56 3.12: Pulling from library/alpine 22:20:56 339de151aab4: Pulling fs layer 22:20:56 339de151aab4: Verifying Checksum 22:20:56 339de151aab4: Download complete 22:20:56 339de151aab4: Pull complete 22:20:56 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:20:56 Status: Downloaded newer image for alpine:3.12 22:20:56 ---> 13621d1b12d4 22:20:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:20:56 ---> Running in 39b427770a0c 22:20:56 Removing intermediate container 39b427770a0c 22:20:56 ---> 25a57deb285a 22:20:56 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:20:56 ---> Running in 11cf129c6018 22:20:56 Removing intermediate container 11cf129c6018 22:20:56 ---> ff856a69db3c 22:20:56 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:20:56 ---> Running in b3bf13062b53 22:20:56 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:20:56 $ docker rm -f ab73164f87633580de3d461f88449018ee13ee6876711d16d329bab679d3dbc4 22:20:56 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:20:56 (1/6) Installing dumb-init (1.2.2-r1) 22:20:56 (2/6) Installing libgcc (9.3.0-r2) 22:20:56 (3/6) Installing libsodium (1.0.18-r0) 22:20:56 (4/6) Installing libstdc++ (9.3.0-r2) 22:20:56 (5/6) Installing libzmq (4.3.3-r0) 22:20:56 (6/6) Installing zeromq (4.3.3-r0) 22:20:56 Executing busybox-1.31.1-r20.trigger 22:20:56 OK: 8 MiB in 20 packages [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:20:56 Removing intermediate container b3bf13062b53 22:20:56 ---> 3a8b6a0109fb 22:20:56 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:20:56 + docker inspect -f . ci-base-image-arm64 22:20:56 . [Pipeline] withDockerContainer 22:20:56 ---> ea0a2a0254fd 22:20:56 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:20:57 prd-ubuntu18.04-docker-arm64-4c-16g-943 does not seem to be running inside a container 22:20:57 ---> 0c857e3c369a 22:20:57 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:20:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@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 ******** ci-base-image-arm64 cat 22:20:57 ---> 76b1fa36995c 22:20:57 Step 20/25 : EXPOSE 59986 22:20:57 ---> Running in 4e777561e9a1 22:20:57 Removing intermediate container 4e777561e9a1 22:20:57 ---> cbb50b7346e9 22:20:57 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:20:57 ---> Running in 90ac95fae8a3 22:20:57 Removing intermediate container 90ac95fae8a3 22:20:57 ---> cdc71fb1a89d 22:20:57 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:20:57 ---> Running in 3782bf5f57b6 22:20:57 Removing intermediate container 3782bf5f57b6 22:20:57 ---> 1ae6acd1b013 22:20:57 Step 23/25 : LABEL arch=amd64 22:20:57 ---> Running in b3056da1f903 22:20:57 Removing intermediate container b3056da1f903 22:20:57 ---> 405de9d17112 22:20:57 Step 24/25 : LABEL git_sha=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 22:20:57 ---> Running in 2b170501734a 22:20:57 Removing intermediate container 2b170501734a 22:20:57 ---> aea12d5d7b1b 22:20:57 Step 25/25 : LABEL version=1.2.2-dev.14 22:20:57 ---> Running in 88dc1948885e 22:20:57 Removing intermediate container 88dc1948885e 22:20:57 ---> 9115c5e7cef9 22:20:57 [Warning] One or more build-args [ARCH] were not consumed 22:20:57 Successfully built 9115c5e7cef9 22:20:57 Successfully tagged device-rest:latest 22:20:58 $ docker top b0627a07c42c6ebc48c998b2e634c8c2abd862f9c770a92f8332e6065cacd80a -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:59 provisioning config files... 22:20:59 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config7747049095920708154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:59 ---> docker-login.sh 22:20:59 nexus3.edgexfoundry.org:10001 22:20:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:59 Configure a credential helper to remove this warning. See 22:20:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:59 22:20:59 Login Succeeded 22:20:59 nexus3.edgexfoundry.org:10002 22:20:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:59 + go mod tidy 22:20:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:59 Configure a credential helper to remove this warning. See 22:20:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:59 22:20:59 Login Succeeded 22:20:59 nexus3.edgexfoundry.org:10003 22:20:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:59 Configure a credential helper to remove this warning. See 22:20:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:59 22:20:59 Login Succeeded 22:20:59 nexus3.edgexfoundry.org:10004 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 docker.io 22:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 22:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:00 Configure a credential helper to remove this warning. See 22:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:00 22:21:00 Login Succeeded 22:21:00 ---> docker-login.sh ends [Pipeline] } 22:21:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:21:00 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:21:00 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 22:21:00 latest 22:21:00 1.2.2-dev.14 22:21:00 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 22:21:00 master 22:21:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:21:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] isUnix [Pipeline] sh 22:21:00 + make test 22:21:00 go mod tidy 22:21:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 22:21:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:21:01 5952d1a8fda8: Preparing 22:21:01 d439f38254a1: Preparing 22:21:01 0ae7cc581c38: Preparing 22:21:01 8307a70540d6: Preparing 22:21:01 32f366d666a5: Preparing 22:21:01 32f366d666a5: Layer already exists 22:21:01 d439f38254a1: Pushed 22:21:01 5952d1a8fda8: Pushed 22:21:01 8307a70540d6: Pushed 22:21:01 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:21:02 0ae7cc581c38: Pushed 22:21:02 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b: digest: sha256:59d81bec613742dae650a5f2de918a69839718f88f55c87b78a068efe5850263 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:21:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 22:21:03 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:21:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:21:03 5952d1a8fda8: Preparing 22:21:03 d439f38254a1: Preparing 22:21:03 0ae7cc581c38: Preparing 22:21:03 8307a70540d6: Preparing 22:21:03 32f366d666a5: Preparing 22:21:03 0ae7cc581c38: Layer already exists 22:21:03 32f366d666a5: Layer already exists 22:21:03 5952d1a8fda8: Layer already exists 22:21:03 8307a70540d6: Layer already exists 22:21:03 d439f38254a1: Layer already exists 22:21:03 latest: digest: sha256:59d81bec613742dae650a5f2de918a69839718f88f55c87b78a068efe5850263 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:21:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.14 [Pipeline] isUnix [Pipeline] sh 22:21:03 + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.14 22:21:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:21:03 5952d1a8fda8: Preparing 22:21:03 d439f38254a1: Preparing 22:21:03 0ae7cc581c38: Preparing 22:21:03 8307a70540d6: Preparing 22:21:03 32f366d666a5: Preparing 22:21:03 d439f38254a1: Layer already exists 22:21:03 8307a70540d6: Layer already exists 22:21:03 5952d1a8fda8: Layer already exists 22:21:03 32f366d666a5: Layer already exists 22:21:03 0ae7cc581c38: Layer already exists 22:21:03 1.2.2-dev.14: digest: sha256:59d81bec613742dae650a5f2de918a69839718f88f55c87b78a068efe5850263 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:21:04 ? github.com/edgexfoundry/device-rest-go [no test files] 22:21:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 [Pipeline] isUnix [Pipeline] sh 22:21:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 22:21:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:21:04 5952d1a8fda8: Preparing 22:21:04 d439f38254a1: Preparing 22:21:04 0ae7cc581c38: Preparing 22:21:04 8307a70540d6: Preparing 22:21:04 32f366d666a5: Preparing 22:21:04 d439f38254a1: Layer already exists 22:21:04 0ae7cc581c38: Layer already exists 22:21:04 8307a70540d6: Layer already exists 22:21:04 5952d1a8fda8: Layer already exists 22:21:04 32f366d666a5: Layer already exists 22:21:04 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14: digest: sha256:59d81bec613742dae650a5f2de918a69839718f88f55c87b78a068efe5850263 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:21:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 22:21:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 22:21:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:21:05 5952d1a8fda8: Preparing 22:21:05 d439f38254a1: Preparing 22:21:05 0ae7cc581c38: Preparing 22:21:05 8307a70540d6: Preparing 22:21:05 32f366d666a5: Preparing 22:21:05 8307a70540d6: Layer already exists 22:21:05 0ae7cc581c38: Layer already exists 22:21:05 d439f38254a1: Layer already exists 22:21:05 5952d1a8fda8: Layer already exists 22:21:05 32f366d666a5: Layer already exists 22:21:05 master: digest: sha256:59d81bec613742dae650a5f2de918a69839718f88f55c87b78a068efe5850263 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:21:05 ===================================================== [Pipeline] echo 22:21:05 taggedImages: 22:21:05 - nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 22:21:05 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:21:05 - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.14 22:21:05 - nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 22:21:05 - 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 22:21:05 ---> job-cost.sh 22:21:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-f7mp 22:21:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:21:28 lf-activate-venv(): INFO: Adding /tmp/venv-f7mp/bin to PATH 22:21:28 INFO: No Stack... 22:21:28 INFO: Retrieving Pricing Info for: v3-standard-2 22:21:28 INFO: Archiving Costs [Pipeline] sh 22:21:28 + cut -d, -f6 22:21:28 + cat /w/workspace/device-rest-go/47/archives/cost.csv [Pipeline] lock 22:21:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] 22:21:28 Resource [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] did not exist. Created. 22:21:28 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:29 + echo total: 0.05999999865889549 [Pipeline] stash 22:21:29 Stashed 1 file(s) [Pipeline] } 22:21:29 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:22:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:22:00 ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 54.0% of statements 22:22:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:22:23 gofmt -l . 22:22:23 [ "`gofmt -l .`" = "" ] 22:22:23 ./bin/test-go-mod-tidy.sh 22:22:23 ./bin/test-attribution-txt.sh [Pipeline] } 22:22:23 $ docker stop --time=1 b0627a07c42c6ebc48c998b2e634c8c2abd862f9c770a92f8332e6065cacd80a 22:22:25 $ docker rm -f b0627a07c42c6ebc48c998b2e634c8c2abd862f9c770a92f8332e6065cacd80a [Pipeline] // withDockerContainer [Pipeline] sh 22:22:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:22:26 Warning: overwriting stash ‘coverage-report’ 22:22:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:22:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:22:27 + ls -al . 22:22:27 total 132 22:22:27 drwxrwxr-x 8 jenkins jenkins 4096 May 28 22:22 . 22:22:27 drwxrwxr-x 4 jenkins jenkins 4096 May 28 22:19 .. 22:22:27 -rw-rw-r-- 1 jenkins jenkins 151 May 28 22:19 .dockerignore 22:22:27 drwxrwxr-x 8 jenkins jenkins 4096 May 28 22:19 .git 22:22:27 drwxrwxr-x 2 jenkins jenkins 4096 May 28 22:19 .github 22:22:27 -rw-rw-r-- 1 jenkins jenkins 336 May 28 22:19 .gitignore 22:22:27 -rw-rw-r-- 1 jenkins jenkins 6792 May 28 22:19 Attribution.txt 22:22:27 -rw-rw-r-- 1 jenkins jenkins 1615 May 28 22:19 Dockerfile 22:22:27 -rw-rw-r-- 1 jenkins jenkins 1087 May 28 22:19 Dockerfile.build 22:22:27 -rw-rw-r-- 1 jenkins jenkins 680 May 28 22:19 Jenkinsfile 22:22:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 28 22:19 LICENSE 22:22:27 -rw-rw-r-- 1 jenkins jenkins 996 May 28 22:19 Makefile 22:22:27 -rw-rw-r-- 1 jenkins jenkins 7667 May 28 22:19 README.md 22:22:27 -rw-rw-r-- 1 jenkins jenkins 12 May 28 22:16 VERSION 22:22:27 drwxrwxr-x 2 jenkins jenkins 4096 May 28 22:19 bin 22:22:27 drwxrwxr-x 3 jenkins jenkins 4096 May 28 22:19 cmd 22:22:27 -rw-r--r-- 1 jenkins jenkins 8513 May 28 22:21 coverage.out 22:22:27 drwxrwxr-x 2 jenkins jenkins 4096 May 28 22:19 driver 22:22:27 -rw-r--r-- 1 jenkins jenkins 285 May 28 22:22 go.mod 22:22:27 -rw-r--r-- 1 jenkins jenkins 21177 May 28 22:21 go.sum 22:22:27 drwxrwxr-x 4 jenkins jenkins 4096 May 28 22:19 snap 22:22:27 -rw-rw-r-- 1 jenkins jenkins 713 May 28 22:19 version.go [Pipeline] isUnix [Pipeline] sh 22:22:27 + 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=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b --label arch=arm64 --label version=1.2.2-dev.14 . 22:22:27 Sending build context to Docker daemon 101.9kB 22:22:28 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 22:22:28 Step 2/25 : FROM ${BASE} AS builder 22:22:28 ---> 231bee79a2db 22:22:28 Step 3/25 : ARG MAKE='make build' 22:22:28 ---> Running in 410904e63602 22:22:28 Removing intermediate container 410904e63602 22:22:28 ---> 29dd3ff482b3 22:22:28 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:22:28 ---> Running in c2cd43589cfe 22:22:29 Removing intermediate container c2cd43589cfe 22:22:29 ---> 14a24d40812a 22:22:29 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:22:29 ---> Running in 33b0ba424ac0 22:22:30 Removing intermediate container 33b0ba424ac0 22:22:30 ---> 9e98b59a7d66 22:22:30 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:22:30 ---> Running in d2d5bbe3804b 22:22:32 Removing intermediate container d2d5bbe3804b 22:22:32 ---> d71e392d1a8e 22:22:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:32 ---> Running in c6e47fbc9dd9 22:22:33 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:22:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:22:35 OK: 144 MiB in 49 packages 22:22:36 Removing intermediate container c6e47fbc9dd9 22:22:36 ---> 72ea1a03f19a 22:22:36 Step 8/25 : WORKDIR /device-rest-go 22:22:36 ---> Running in 4499f2a3e12e 22:22:37 Removing intermediate container 4499f2a3e12e 22:22:37 ---> 7451bbe542ec 22:22:37 Step 9/25 : COPY . . 22:22:38 ---> c16f1672da5f 22:22:38 Step 10/25 : RUN go mod tidy 22:22:38 ---> Running in 194246d3e40d 22:22:40 Removing intermediate container 194246d3e40d 22:22:40 ---> c337e1ff9054 22:22:40 Step 11/25 : RUN make update 22:22:40 ---> Running in d584020fd1e6 22:22:42 CGO_ENABLED=0 GO111MODULE=on go mod download 22:22:43 Removing intermediate container d584020fd1e6 22:22:43 ---> 7c15f4b7980e 22:22:43 Step 12/25 : RUN $MAKE 22:22:43 ---> Running in f22e9b5353cf 22:22:44 go mod tidy 22:22:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.14" -o cmd/device-rest ./cmd 22:23:24 Removing intermediate container f22e9b5353cf 22:23:24 ---> 475d2b4312d0 22:23:24 Step 13/25 : FROM alpine:3.12 22:23:24 3.12: Pulling from library/alpine 22:23:24 d2f70382dc9a: Pulling fs layer 22:23:24 d2f70382dc9a: Verifying Checksum 22:23:24 d2f70382dc9a: Download complete 22:23:24 d2f70382dc9a: Pull complete 22:23:24 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:23:24 Status: Downloaded newer image for alpine:3.12 22:23:24 ---> 9852663dfa18 22:23:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:23:24 ---> Running in 558f8f11337f 22:23:24 Removing intermediate container 558f8f11337f 22:23:24 ---> 62d062fe9a7a 22:23:24 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:23:24 ---> Running in a1c44e320287 22:23:24 Removing intermediate container a1c44e320287 22:23:24 ---> 37c7fa156c92 22:23:24 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:23:24 ---> Running in 9bfb9c4fffbf 22:23:24 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:23:24 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:23:25 (1/6) Installing dumb-init (1.2.2-r1) 22:23:25 (2/6) Installing libgcc (9.3.0-r2) 22:23:25 (3/6) Installing libsodium (1.0.18-r0) 22:23:25 (4/6) Installing libstdc++ (9.3.0-r2) 22:23:25 (5/6) Installing libzmq (4.3.3-r0) 22:23:25 (6/6) Installing zeromq (4.3.3-r0) 22:23:25 Executing busybox-1.31.1-r20.trigger 22:23:25 OK: 8 MiB in 20 packages 22:23:26 Removing intermediate container 9bfb9c4fffbf 22:23:26 ---> 2464348612cf 22:23:26 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:23:27 ---> ba3bd69418f9 22:23:27 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:23:28 ---> 30ba8b55112a 22:23:28 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:23:28 ---> 38c0b27d75ae 22:23:28 Step 20/25 : EXPOSE 59986 22:23:28 ---> Running in 64a2f0f90f48 22:23:29 Removing intermediate container 64a2f0f90f48 22:23:29 ---> 04df15a69d03 22:23:29 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:23:29 ---> Running in c04292ad105f 22:23:30 Removing intermediate container c04292ad105f 22:23:30 ---> 8c83a5854e36 22:23:30 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:23:30 ---> Running in 7c15a0dda70e 22:23:30 Removing intermediate container 7c15a0dda70e 22:23:30 ---> a4a6e1dae684 22:23:30 Step 23/25 : LABEL arch=arm64 22:23:30 ---> Running in 8c12d58dcf50 22:23:31 Removing intermediate container 8c12d58dcf50 22:23:31 ---> 264e13381de8 22:23:31 Step 24/25 : LABEL git_sha=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 22:23:31 ---> Running in 4d353a1a3d6a 22:23:31 Removing intermediate container 4d353a1a3d6a 22:23:31 ---> 58fd09355914 22:23:31 Step 25/25 : LABEL version=1.2.2-dev.14 22:23:32 ---> Running in 7637389ee7e4 22:23:32 Removing intermediate container 7637389ee7e4 22:23:32 ---> 490b1f0b18e4 22:23:32 [Warning] One or more build-args [ARCH] were not consumed 22:23:32 Successfully built 490b1f0b18e4 22:23:32 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 22:23:32 provisioning config files... 22:23:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config596121875380739190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:33 ---> docker-login.sh 22:23:33 nexus3.edgexfoundry.org:10001 22:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:33 Configure a credential helper to remove this warning. See 22:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:33 22:23:33 Login Succeeded 22:23:33 nexus3.edgexfoundry.org:10002 22:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:34 Configure a credential helper to remove this warning. See 22:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:34 22:23:34 Login Succeeded 22:23:34 nexus3.edgexfoundry.org:10003 22:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:34 Configure a credential helper to remove this warning. See 22:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:34 22:23:34 Login Succeeded 22:23:34 nexus3.edgexfoundry.org:10004 22:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:35 Configure a credential helper to remove this warning. See 22:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:35 22:23:35 Login Succeeded 22:23:35 docker.io 22:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:36 Configure a credential helper to remove this warning. See 22:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:36 22:23:36 Login Succeeded 22:23:36 ---> docker-login.sh ends [Pipeline] } 22:23:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:23:36 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:23:36 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 22:23:36 latest 22:23:36 1.2.2-dev.14 22:23:36 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 22:23:36 master 22:23:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:23:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] isUnix [Pipeline] sh 22:23:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 22:23:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:23:37 83cdbeb95c03: Preparing 22:23:37 a98c1bfe8eee: Preparing 22:23:37 458c0062bc70: Preparing 22:23:37 df96670f2b7f: Preparing 22:23:37 3fbe34a1663b: Preparing 22:23:37 3fbe34a1663b: Layer already exists 22:23:37 83cdbeb95c03: Pushed 22:23:37 a98c1bfe8eee: Pushed 22:23:38 df96670f2b7f: Pushed 22:23:40 458c0062bc70: Pushed 22:23:40 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b: digest: sha256:605218df2523be2f9cb1ac52898b56a0337b4f46451323d30fc82bc5549f3eba size: 1365 [Pipeline] isUnix [Pipeline] sh 22:23:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:23:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:23:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:23:41 83cdbeb95c03: Preparing 22:23:41 a98c1bfe8eee: Preparing 22:23:41 458c0062bc70: Preparing 22:23:41 df96670f2b7f: Preparing 22:23:41 3fbe34a1663b: Preparing 22:23:41 df96670f2b7f: Layer already exists 22:23:41 3fbe34a1663b: Layer already exists 22:23:41 458c0062bc70: Layer already exists 22:23:41 a98c1bfe8eee: Layer already exists 22:23:41 83cdbeb95c03: Layer already exists 22:23:41 latest: digest: sha256:605218df2523be2f9cb1ac52898b56a0337b4f46451323d30fc82bc5549f3eba size: 1365 [Pipeline] isUnix [Pipeline] sh 22:23:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.14 [Pipeline] isUnix [Pipeline] sh 22:23:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.14 22:23:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:23:42 83cdbeb95c03: Preparing 22:23:42 a98c1bfe8eee: Preparing 22:23:42 458c0062bc70: Preparing 22:23:42 df96670f2b7f: Preparing 22:23:42 3fbe34a1663b: Preparing 22:23:42 df96670f2b7f: Layer already exists 22:23:42 3fbe34a1663b: Layer already exists 22:23:42 a98c1bfe8eee: Layer already exists 22:23:42 458c0062bc70: Layer already exists 22:23:42 83cdbeb95c03: Layer already exists 22:23:42 1.2.2-dev.14: digest: sha256:605218df2523be2f9cb1ac52898b56a0337b4f46451323d30fc82bc5549f3eba size: 1365 [Pipeline] isUnix [Pipeline] sh 22:23:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 [Pipeline] isUnix [Pipeline] sh 22:23:43 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 22:23:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:23:43 83cdbeb95c03: Preparing 22:23:43 a98c1bfe8eee: Preparing 22:23:43 458c0062bc70: Preparing 22:23:43 df96670f2b7f: Preparing 22:23:43 3fbe34a1663b: Preparing 22:23:43 458c0062bc70: Layer already exists 22:23:43 83cdbeb95c03: Layer already exists 22:23:43 a98c1bfe8eee: Layer already exists 22:23:43 3fbe34a1663b: Layer already exists 22:23:43 df96670f2b7f: Layer already exists 22:23:43 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14: digest: sha256:605218df2523be2f9cb1ac52898b56a0337b4f46451323d30fc82bc5549f3eba size: 1365 [Pipeline] isUnix [Pipeline] sh 22:23:43 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 22:23:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 22:23:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:23:44 83cdbeb95c03: Preparing 22:23:44 a98c1bfe8eee: Preparing 22:23:44 458c0062bc70: Preparing 22:23:44 df96670f2b7f: Preparing 22:23:44 3fbe34a1663b: Preparing 22:23:44 458c0062bc70: Layer already exists 22:23:44 df96670f2b7f: Layer already exists 22:23:44 3fbe34a1663b: Layer already exists 22:23:44 83cdbeb95c03: Layer already exists 22:23:44 a98c1bfe8eee: Layer already exists 22:23:44 master: digest: sha256:605218df2523be2f9cb1ac52898b56a0337b4f46451323d30fc82bc5549f3eba size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:23:44 ===================================================== [Pipeline] echo 22:23:44 taggedImages: 22:23:44 - nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 22:23:44 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:23:44 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.14 22:23:44 - nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 22:23:44 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 22:23:44 ---> job-cost.sh 22:23:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dnoa 22:24:23 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:25:45 lf-activate-venv(): INFO: Adding /tmp/venv-Dnoa/bin to PATH 22:25:45 INFO: No Stack... 22:25:46 INFO: Retrieving Pricing Info for: v2-standard-4 22:25:46 INFO: Archiving Costs [Pipeline] sh 22:25:46 + + catcut /w/workspace/device-rest-go/47/archives/cost.csv -d, 22:25:46 -f6 [Pipeline] lock 22:25:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] 22:25:46 Resource [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] did not exist. Created. 22:25:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:25:47 /w/workspace/device-rest-go/47@tmp/durable-993cd4d9/script.sh: 1: /w/workspace/device-rest-go/47@tmp/durable-993cd4d9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:25:47 + echo total: 0.18000000715255737 [Pipeline] stash 22:25:47 Warning: overwriting stash ‘stack-cost’ 22:25:47 Stashed 1 file(s) [Pipeline] } 22:25:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-47-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 22:25:48 provisioning config files... 22:25:48 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6800139339979347607tmp [Pipeline] { [Pipeline] sh 22:25:48 + set +x 22:25:48 + bash -s -- 22:25:48 + curl -s https://codecov.io/bash 22:25:48 22:25:48 _____ _ 22:25:48 / ____| | | 22:25:48 | | ___ __| | ___ ___ _____ __ 22:25:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:25:48 | |___| (_) | (_| | __/ (_| (_) \ V / 22:25:48 \_____\___/ \__,_|\___|\___\___/ \_/ 22:25:48 Bash-1.0.3 22:25:48 22:25:48 22:25:48 ==> git version 2.24.4 found 22:25:48 ==> 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 22:25:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:25:48 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:25:48 ==> Jenkins CI detected. 22:25:48 project root: . 22:25:48 --> token set from env 22:25:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:25:48 ==> Running gcov in . (disable via -X gcov) 22:25:48 ==> Python coveragepy not found 22:25:48 ==> Searching for coverage reports in: 22:25:48 + . 22:25:48 -> Found 1 reports 22:25:48 ==> Detecting git/mercurial file structure 22:25:48 ==> Reading reports 22:25:48 + ./coverage.out bytes=8513 22:25:48 ==> Appending adjustments 22:25:48 https://docs.codecov.io/docs/fixing-reports 22:25:48 + Found adjustments 22:25:48 ==> Gzipping contents 22:25:48 4.0K /tmp/codecov.QRhgo2.gz 22:25:48 ==> Uploading reports 22:25:48 url: https://codecov.io 22:25:48 query: branch=master&commit=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:25:48 -> Pinging Codecov 22:25:48 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:25:49 -> Uploading to 22:25:49 https://storage.googleapis.com/codecov/v4/raw/2021-05-28/4E5D53B4F1F92C436F7061BF334D961C/405bc14ac6f45c2dca7c5fb451b6f8197ce2523b/85c20d05-fc1e-48cf-ac93-627410bb31ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210528%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210528T222549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c2b18ad4f341ff82e7fe4b0e090f8cbfdd5aa30454ff9eeade517c98f0c554f 22:25:49 % Total % Received % Xferd Average Speed Time Time Time Current 22:25:49 Dload Upload Total Spent Left Speed 22:25:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4370 --:--:-- --:--:-- --:--:-- 4377 22:25:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] } 22:25:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:25:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:25:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:25:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:25:50 22:25:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 22:25:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:25:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:25:50 188c0c94c7c5: Pulling fs layer 22:25:50 0ef7d3d256c8: Pulling fs layer 22:25:50 de9db76c5a1d: Pulling fs layer 22:25:50 0eba1c9be4d2: Pulling fs layer 22:25:50 0d57e429df01: Pulling fs layer 22:25:50 4e4be7b47b0d: Pulling fs layer 22:25:50 e1f770b5df2f: Pulling fs layer 22:25:50 85a0685a4137: Pulling fs layer 22:25:50 0d57e429df01: Waiting 22:25:50 4e4be7b47b0d: Waiting 22:25:50 e1f770b5df2f: Waiting 22:25:50 85a0685a4137: Waiting 22:25:50 0eba1c9be4d2: Waiting 22:25:50 de9db76c5a1d: Verifying Checksum 22:25:50 de9db76c5a1d: Download complete 22:25:50 0ef7d3d256c8: Verifying Checksum 22:25:50 0ef7d3d256c8: Download complete 22:25:50 0d57e429df01: Verifying Checksum 22:25:50 0d57e429df01: Download complete 22:25:51 188c0c94c7c5: Verifying Checksum 22:25:51 188c0c94c7c5: Download complete 22:25:51 4e4be7b47b0d: Verifying Checksum 22:25:51 4e4be7b47b0d: Download complete 22:25:51 188c0c94c7c5: Pull complete 22:25:51 0ef7d3d256c8: Pull complete 22:25:51 de9db76c5a1d: Pull complete 22:25:52 e1f770b5df2f: Verifying Checksum 22:25:52 e1f770b5df2f: Download complete 22:25:54 0eba1c9be4d2: Verifying Checksum 22:25:54 0eba1c9be4d2: Download complete 22:25:54 85a0685a4137: Verifying Checksum 22:25:54 85a0685a4137: Download complete 22:25:57 0eba1c9be4d2: Pull complete 22:25:57 0d57e429df01: Pull complete 22:25:57 4e4be7b47b0d: Pull complete 22:25:57 e1f770b5df2f: Pull complete 22:26:01 85a0685a4137: Pull complete 22:26:01 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 22:26:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:26:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 22:26:01 prd-centos7-docker-4c-2g-941 does not seem to be running inside a container 22:26:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:26:03 $ docker top 40aac4d084d012e92d869a093651474433d2ed66857e1c2b59445a81f8cc7c97 -eo pid,comm [Pipeline] { [Pipeline] echo 22:26:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:26:03 + set -o pipefail 22:26:03 + snyk monitor '--org=edgex-jenkins' 22:26:35 22:26:35 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 22:26:35 22:26:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/f67699b1-a645-4747-8e6a-ad47b9e19269 22:26:35 22:26:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:26:35 22:26:35 [Pipeline] } 22:26:35 $ docker stop --time=1 40aac4d084d012e92d869a093651474433d2ed66857e1c2b59445a81f8cc7c97 22:26:37 $ docker rm -f 40aac4d084d012e92d869a093651474433d2ed66857e1c2b59445a81f8cc7c97 [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 22:26:38 + git log --format=format:%s -1 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] isUnix [Pipeline] sh 22:26:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:26:39 . [Pipeline] withDockerContainer 22:26:39 prd-centos7-docker-4c-2g-941 does not seem to be running inside a container 22:26: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:26:39 $ docker top 7504a635539e1aab47ac58a4d93037990f8e5e997e3f97f343e55a2df5101135 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:26:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:26:39 [ssh-agent] Looking for ssh-agent implementation... 22:26:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:26:39 $ docker exec 7504a635539e1aab47ac58a4d93037990f8e5e997e3f97f343e55a2df5101135 ssh-agent 22:26:39 SSH_AUTH_SOCK=/tmp/ssh-E5fs1EshUgQo/agent.14 22:26:39 SSH_AGENT_PID=20 22:26:39 Running ssh-add (command line suppressed) 22:26:40 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3492526710995016879.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3492526710995016879.key) 22:26:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:26:40 + git semver tag 22:26:40 # -> Open(): unable to determine branch for HEAD 22:26:40 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 22:26:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 22:26:40 # $SEMVER_REMOTE_NAME = origin 22:26:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:26:40 # $SEMVER_USER_NAME = edgex-jenkins 22:26:40 # $SEMVER_BRANCH = master 22:26:40 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 22:26:40 # 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b HEAD 22:26:40 # -> Force: false 22:26:40 # 3a903505b6507595f2072e626e3b4a26b1e265b1 refs/tags/v1.2.2-dev.14 [Pipeline] } 22:26:40 $ docker exec --env ******** --env ******** 7504a635539e1aab47ac58a4d93037990f8e5e997e3f97f343e55a2df5101135 ssh-agent -k 22:26:40 unset SSH_AUTH_SOCK; 22:26:40 unset SSH_AGENT_PID; 22:26:40 echo Agent pid 20 killed; 22:26:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:26:40 + git semver [Pipeline] } 22:26:40 $ docker stop --time=1 7504a635539e1aab47ac58a4d93037990f8e5e997e3f97f343e55a2df5101135 22:26:42 $ docker rm -f 7504a635539e1aab47ac58a4d93037990f8e5e997e3f97f343e55a2df5101135 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 22:26:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:26:42 22:26:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 22:26:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:26:42 0.23.1-centos7: Pulling from edgex-lftools 22:26:42 ab5ef0e58194: Pulling fs layer 22:26:42 9712f1f96733: Pulling fs layer 22:26:42 63f879dbbcfc: Pulling fs layer 22:26:42 0d9ebad4ef96: Pulling fs layer 22:26:42 e9a5061849ea: Pulling fs layer 22:26:42 d747dcd14b5f: Pulling fs layer 22:26:42 2de7ff778b66: Pulling fs layer 22:26:42 0d9ebad4ef96: Waiting 22:26:42 e9a5061849ea: Waiting 22:26:42 d747dcd14b5f: Waiting 22:26:42 2de7ff778b66: Waiting 22:26:42 9712f1f96733: Verifying Checksum 22:26:42 9712f1f96733: Download complete 22:26:44 63f879dbbcfc: Verifying Checksum 22:26:44 63f879dbbcfc: Download complete 22:26:44 e9a5061849ea: Verifying Checksum 22:26:44 e9a5061849ea: Download complete 22:26:44 d747dcd14b5f: Verifying Checksum 22:26:44 d747dcd14b5f: Download complete 22:26:44 2de7ff778b66: Verifying Checksum 22:26:44 2de7ff778b66: Download complete 22:26:44 0d9ebad4ef96: Verifying Checksum 22:26:44 0d9ebad4ef96: Download complete 22:26:45 ab5ef0e58194: Verifying Checksum 22:26:45 ab5ef0e58194: Download complete 22:26:47 ab5ef0e58194: Pull complete 22:26:47 9712f1f96733: Pull complete 22:26:48 63f879dbbcfc: Pull complete 22:26:51 0d9ebad4ef96: Pull complete 22:26:51 e9a5061849ea: Pull complete 22:26:51 d747dcd14b5f: Pull complete 22:26:52 2de7ff778b66: Pull complete 22:26:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:26:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:26:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 22:26:52 prd-centos7-docker-4c-2g-941 does not seem to be running inside a container 22:26:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:26:57 $ docker top 0c05f375f8cf3f8d0dc28a446cb43ac002497213af23d1a3f4a1579c2bf0057a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:26:57 provisioning config files... 22:26:57 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5351426451042348948tmp 22:26:57 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4690149299753581193tmp 22:26:57 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2050106463605183941tmp [Pipeline] { [Pipeline] echo 22:26:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:26:58 ---> sigul-configuration.sh 22:26:58 gpg: directory `/root/.gnupg' created 22:26:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:26:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:26:58 gpg: keyring `/root/.gnupg/secring.gpg' created 22:26:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:26:58 gpg: CAST5 encrypted data 22:26:58 gpg: encrypted with 1 passphrase 22:26:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:26:58 + mkdir /home/jenkins 22:26:58 + mkdir /home/jenkins/sigul [Pipeline] sh 22:26:58 + 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 22:26:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:26:59 ---> sigul-install.sh 22:27:04 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 22:27:04 + git tag --list 22:27:04 v1.0.0 22:27:04 v1.1.0 22:27:04 v1.1.1 22:27:04 v1.1.2 22:27:04 v1.2.0 22:27:04 v1.2.1 22:27:04 v1.2.1-dev.1 22:27:04 v1.2.1-dev.2 22:27:04 v1.2.1-dev.3 22:27:04 v1.2.1-dev.4 22:27:04 v1.2.2-dev.1 22:27:04 v1.2.2-dev.10 22:27:04 v1.2.2-dev.11 22:27:04 v1.2.2-dev.12 22:27:04 v1.2.2-dev.13 22:27:04 v1.2.2-dev.14 22:27:04 v1.2.2-dev.2 22:27:04 v1.2.2-dev.3 22:27:04 v1.2.2-dev.4 22:27:04 v1.2.2-dev.5 22:27:04 v1.2.2-dev.6 22:27:04 v1.2.2-dev.7 22:27:04 v1.2.2-dev.8 22:27:04 v1.2.2-dev.9 [Pipeline] sh 22:27:05 + lftools sign git-tag v1.2.2-dev.14 22:27:05 Signing Git tag with Sigul... 22:27:05 Signing v1.2.2-dev.14 [Pipeline] echo 22:27:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:27:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:27:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:27:06 $ docker stop --time=1 0c05f375f8cf3f8d0dc28a446cb43ac002497213af23d1a3f4a1579c2bf0057a 22:27:08 $ docker rm -f 0c05f375f8cf3f8d0dc28a446cb43ac002497213af23d1a3f4a1579c2bf0057a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 22:27:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:27:08 . [Pipeline] withDockerContainer 22:27:08 prd-centos7-docker-4c-2g-941 does not seem to be running inside a container 22:27:08 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:27:09 $ docker top ae46f41363b2985c422d5cbfe250ff75c456f6583a5c759a96beb5060ac21fb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:27:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:27:09 [ssh-agent] Looking for ssh-agent implementation... 22:27:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:27:09 $ docker exec ae46f41363b2985c422d5cbfe250ff75c456f6583a5c759a96beb5060ac21fb0 ssh-agent 22:27:09 SSH_AUTH_SOCK=/tmp/ssh-OCoe6S6vuQC2/agent.13 22:27:09 SSH_AGENT_PID=20 22:27:09 Running ssh-add (command line suppressed) 22:27:09 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3733629896257404478.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3733629896257404478.key) 22:27:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:27:10 + git semver bump pre 22:27:10 # -> Open(): unable to determine branch for HEAD 22:27:10 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 22:27:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 22:27:10 # $SEMVER_REMOTE_NAME = origin 22:27:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:27:10 # $SEMVER_USER_NAME = edgex-jenkins 22:27:10 # $SEMVER_BRANCH = master 22:27:10 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 22:27:10 1.2.2-dev.15 [Pipeline] } 22:27:10 $ docker exec --env ******** --env ******** ae46f41363b2985c422d5cbfe250ff75c456f6583a5c759a96beb5060ac21fb0 ssh-agent -k 22:27:10 unset SSH_AUTH_SOCK; 22:27:10 unset SSH_AGENT_PID; 22:27:10 echo Agent pid 20 killed; 22:27:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:27:10 + git semver [Pipeline] } 22:27:10 $ docker stop --time=1 ae46f41363b2985c422d5cbfe250ff75c456f6583a5c759a96beb5060ac21fb0 22:27:11 $ docker rm -f ae46f41363b2985c422d5cbfe250ff75c456f6583a5c759a96beb5060ac21fb0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 22:27:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:27:12 . [Pipeline] withDockerContainer 22:27:12 prd-centos7-docker-4c-2g-941 does not seem to be running inside a container 22:27:12 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:27:12 $ docker top f177c15d98188c76f2a1ddf8cc8d382f610fec32f1a45f080b16e6a87b8ad7a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:27:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:27:12 [ssh-agent] Looking for ssh-agent implementation... 22:27:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:27:12 $ docker exec f177c15d98188c76f2a1ddf8cc8d382f610fec32f1a45f080b16e6a87b8ad7a2 ssh-agent 22:27:13 SSH_AUTH_SOCK=/tmp/ssh-XtOb1xhJoSKY/agent.13 22:27:13 SSH_AGENT_PID=19 22:27:13 Running ssh-add (command line suppressed) 22:27:13 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2528762601181296086.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2528762601181296086.key) 22:27:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:27:13 + git semver push 22:27:13 # -> Open(): unable to determine branch for HEAD 22:27:13 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 22:27:13 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 22:27:13 # $SEMVER_REMOTE_NAME = origin 22:27:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:27:13 # $SEMVER_USER_NAME = edgex-jenkins 22:27:13 # $SEMVER_BRANCH = master 22:27:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 22:27:17 $ docker exec --env ******** --env ******** f177c15d98188c76f2a1ddf8cc8d382f610fec32f1a45f080b16e6a87b8ad7a2 ssh-agent -k 22:27:17 unset SSH_AUTH_SOCK; 22:27:17 unset SSH_AGENT_PID; 22:27:17 echo Agent pid 19 killed; 22:27:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:27:18 + git semver [Pipeline] } 22:27:18 $ docker stop --time=1 f177c15d98188c76f2a1ddf8cc8d382f610fec32f1a45f080b16e6a87b8ad7a2 22:27:19 $ docker rm -f f177c15d98188c76f2a1ddf8cc8d382f610fec32f1a45f080b16e6a87b8ad7a2 [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 22:27:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:27:20 ---> package-listing.sh 22:27:20 ++ tr '[:upper:]' '[:lower:]' 22:27:20 ++ facter osfamily 22:27:20 + OS_FAMILY=redhat 22:27:20 + workspace=/w/workspace/gexfoundry_device-rest-go_master 22:27:20 + START_PACKAGES=/tmp/packages_start.txt 22:27:20 + END_PACKAGES=/tmp/packages_end.txt 22:27:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:27:20 + PACKAGES=/tmp/packages_start.txt 22:27:20 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 22:27:20 + PACKAGES=/tmp/packages_end.txt 22:27:20 + case "${OS_FAMILY}" in 22:27:20 + rpm -qa 22:27:20 + sort 22:27:21 + '[' -f /tmp/packages_start.txt ']' 22:27:21 + '[' -f /tmp/packages_end.txt ']' 22:27:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:27:21 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 22:27:21 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 22:27:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 22:27:21 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 22:27:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:27:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:27:22 22:27:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:27:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:27:22 alpine: Pulling from edgex-lftools-log-publisher 22:27:22 df20fa9351a1: Pulling fs layer 22:27:22 36b3adc4ff6f: Pulling fs layer 22:27:22 8ad3a11d3b57: Pulling fs layer 22:27:22 46f8f816bc3b: Pulling fs layer 22:27:22 93b61091891f: Pulling fs layer 22:27:22 93b9cdb0e59b: Pulling fs layer 22:27:22 5e14af77c1be: Pulling fs layer 22:27:22 01666e4c0597: Pulling fs layer 22:27:22 aa168da1d23b: Pulling fs layer 22:27:22 46f8f816bc3b: Waiting 22:27:22 93b61091891f: Waiting 22:27:22 93b9cdb0e59b: Waiting 22:27:22 5e14af77c1be: Waiting 22:27:22 01666e4c0597: Waiting 22:27:22 aa168da1d23b: Waiting 22:27:22 36b3adc4ff6f: Verifying Checksum 22:27:22 36b3adc4ff6f: Download complete 22:27:22 46f8f816bc3b: Verifying Checksum 22:27:22 46f8f816bc3b: Download complete 22:27:22 df20fa9351a1: Verifying Checksum 22:27:22 df20fa9351a1: Download complete 22:27:22 93b61091891f: Verifying Checksum 22:27:22 93b61091891f: Download complete 22:27:22 5e14af77c1be: Verifying Checksum 22:27:22 5e14af77c1be: Download complete 22:27:22 93b9cdb0e59b: Verifying Checksum 22:27:22 93b9cdb0e59b: Download complete 22:27:22 01666e4c0597: Verifying Checksum 22:27:22 01666e4c0597: Download complete 22:27:22 df20fa9351a1: Pull complete 22:27:22 36b3adc4ff6f: Pull complete 22:27:23 8ad3a11d3b57: Verifying Checksum 22:27:23 8ad3a11d3b57: Download complete 22:27:23 8ad3a11d3b57: Pull complete 22:27:23 46f8f816bc3b: Pull complete 22:27:24 93b61091891f: Pull complete 22:27:24 93b9cdb0e59b: Pull complete 22:27:24 5e14af77c1be: Pull complete 22:27:24 01666e4c0597: Pull complete 22:27:24 aa168da1d23b: Verifying Checksum 22:27:24 aa168da1d23b: Download complete 22:27:29 aa168da1d23b: Pull complete 22:27:29 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:27:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:27:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:27:29 prd-centos7-docker-4c-2g-941 does not seem to be running inside a container 22:27:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:27:31 $ docker top 5b0f8595789064b4ecd4497fe51b700bf7b5a561ea87f8c6b6a808558b49d3ea -eo pid,comm [Pipeline] { [Pipeline] sh 22:27:31 + touch /tmp/pre-build-complete [Pipeline] sh 22:27:31 + mkdir -p /var/log/sa [Pipeline] sh 22:27:32 + ls /var/log/sa-host 22:27:32 + sadf -c /var/log/sa-host/sa05 22:27:32 file_magic: OK 22:27:32 HZ: Using current value: 100 22:27:32 file_header: OK 22:27:32 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 22:27:32 Statistics: 22:27:32 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:27:32 File successfully converted to sysstat format version 12.2.1 22:27:32 + sadf -c /var/log/sa-host/sa28 22:27:32 file_magic: OK 22:27:32 HZ: Using current value: 100 22:27:32 file_header: OK 22:27:32 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 22:27:32 Statistics: 22:27:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:27:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:27:32 provisioning config files... 22:27:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config644311898761816249tmp [Pipeline] { [Pipeline] echo 22:27:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:27:32 ---> create-netrc.sh [Pipeline] } 22:27:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:27:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:27:32 ---> python-tools-install.sh [Pipeline] echo 22:27:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:27:33 ---> sudo-logs.sh 22:27:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:27:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:27:33 ---> job-cost.sh 22:27:33 lf-activate-venv: SKIPPING 22:27:33 DEBUG: total: 0.18000000715255737 22:27:33 INFO: Retrieving Stack Cost... 22:27:34 INFO: Retrieving Pricing Info for: v3-standard-2 22:27:35 INFO: Archiving Costs [Pipeline] echo 22:27:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:27:35 ---> logs-deploy.sh 22:27:35 lf-activate-venv: SKIPPING 22:27:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/47 22:27:35 INFO: archiving workspace using pattern(s): 22:27:36 Archives upload complete. 22:27:36 INFO: archiving logs to Nexus 22:27:37 ---> uname -a: 22:27:37 Linux prd-centos7-docker-4c-2g-941.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 22:27:37 22:27:37 22:27:37 ---> lscpu: 22:27:37 Architecture: x86_64 22:27:37 CPU op-mode(s): 32-bit, 64-bit 22:27:37 Byte Order: Little Endian 22:27:37 Address sizes: 40 bits physical, 48 bits virtual 22:27:37 CPU(s): 2 22:27:37 On-line CPU(s) list: 0,1 22:27:37 Thread(s) per core: 1 22:27:37 Core(s) per socket: 1 22:27:37 Socket(s): 2 22:27:37 NUMA node(s): 1 22:27:37 Vendor ID: AuthenticAMD 22:27:37 CPU family: 23 22:27:37 Model: 49 22:27:37 Model name: AMD EPYC-Rome Processor 22:27:37 Stepping: 0 22:27:37 CPU MHz: 2800.000 22:27:37 BogoMIPS: 5600.00 22:27:37 Virtualization: AMD-V 22:27:37 Hypervisor vendor: KVM 22:27:37 Virtualization type: full 22:27:37 L1d cache: 64 KiB 22:27:37 L1i cache: 64 KiB 22:27:37 L2 cache: 1 MiB 22:27:37 L3 cache: 32 MiB 22:27:37 NUMA node0 CPU(s): 0,1 22:27:37 Vulnerability Itlb multihit: Not affected 22:27:37 Vulnerability L1tf: Not affected 22:27:37 Vulnerability Mds: Not affected 22:27:37 Vulnerability Meltdown: Not affected 22:27:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:27:37 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:27:37 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:27:37 Vulnerability Srbds: Not affected 22:27:37 Vulnerability Tsx async abort: Not affected 22:27:37 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 22:27:37 22:27:37 22:27:37 ---> nproc: 22:27:37 2 22:27:37 22:27:37 22:27:37 ---> df -h: 22:27:37 Filesystem Size Used Available Use% Mounted on 22:27:37 overlay 40.0G 8.9G 31.1G 22% / 22:27:37 tmpfs 64.0M 0 64.0M 0% /dev 22:27:37 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 22:27:37 shm 64.0M 0 64.0M 0% /dev/shm 22:27:37 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 22:27:37 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 22:27:37 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 22:27:37 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 22:27:37 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 22:27:37 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 22:27:37 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master 22:27:37 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master@tmp 22:27:37 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 22:27:37 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 22:27:37 22:27:37 22:27:37 ---> free -m: 22:27:37 total used free shared buff/cache available 22:27:37 Mem: 7821 1286 3135 0 3399 6452 22:27:37 Swap: 1023 0 1023 22:27:37 22:27:37 22:27:37 ---> ip addr: 22:27:37 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:27:37 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:27:37 inet 127.0.0.1/8 scope host lo 22:27:37 valid_lft forever preferred_lft forever 22:27:37 inet6 ::1/128 scope host 22:27:37 valid_lft forever preferred_lft forever 22:27:37 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:27:37 link/ether fa:16:3e:98:e5:a6 brd ff:ff:ff:ff:ff:ff 22:27:37 inet 10.30.123.220/23 brd 10.30.123.255 scope global dynamic eth0 22:27:37 valid_lft 85670sec preferred_lft 85670sec 22:27:37 inet6 fe80::f816:3eff:fe98:e5a6/64 scope link 22:27:37 valid_lft forever preferred_lft forever 22:27:37 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:27:37 link/ether 02:42:c9:81:d8:c4 brd ff:ff:ff:ff:ff:ff 22:27:37 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:27:37 valid_lft forever preferred_lft forever 22:27:37 inet6 fe80::42:c9ff:fe81:d8c4/64 scope link 22:27:37 valid_lft forever preferred_lft forever 22:27:37 22:27:37 22:27:37 ---> sar -b -r -n DEV: 22:27:37 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/28/21 _x86_64_ (2 CPU) 22:27:37 22:27:37 22:15:16 LINUX RESTART (2 CPU) 22:27:37 22:27:37 22:16:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:27:37 22:17:01 18.98 0.67 18.32 0.00 352.37 3442.35 0.00 22:27:37 22:18:01 0.35 0.00 0.35 0.00 0.00 5.53 0.00 22:27:37 22:19:01 0.32 0.00 0.32 0.00 0.00 5.28 0.00 22:27:37 22:20:01 0.15 0.00 0.15 0.00 0.00 1.75 0.00 22:27:37 22:21:01 0.20 0.00 0.20 0.00 0.00 1.95 0.00 22:27:37 22:22:01 0.48 0.00 0.48 0.00 0.00 7.11 0.00 22:27:37 22:23:01 0.15 0.00 0.15 0.00 0.00 2.15 0.00 22:27:37 22:24:01 0.27 0.00 0.27 0.00 0.00 3.35 0.00 22:27:37 22:25:01 0.25 0.00 0.25 0.00 0.00 2.43 0.00 22:27:37 22:26:01 29.90 0.03 29.86 0.00 3.73 10727.22 0.00 22:27:37 22:27:01 173.37 0.00 173.37 0.00 0.00 44360.14 0.00 22:27:37 Average: 20.40 0.06 20.34 0.00 32.38 5324.18 0.00 22:27:37 22:27:37 22:16:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:27:37 22:17:01 5441660 0 813172 10.15 2620 1751480 1279440 14.13 582356 1585272 20 22:27:37 22:18:01 5446004 0 808820 10.10 2620 1751488 1206224 13.32 578940 1585240 16 22:27:37 22:19:01 5446268 0 808556 10.10 2620 1751488 1206224 13.32 581420 1582700 8 22:27:37 22:20:01 5443356 0 811464 10.13 2620 1751492 1206500 13.32 584772 1582700 8 22:27:37 22:21:01 5441892 0 812920 10.15 2620 1751500 1206308 13.32 579216 1590012 16 22:27:37 22:22:01 5442316 0 812496 10.14 2620 1751500 1206224 13.32 578752 1590012 12 22:27:37 22:23:01 5441924 0 812876 10.15 2620 1751512 1206224 13.32 578732 1590012 16 22:27:37 22:24:01 5436372 0 818424 10.22 2620 1751516 1206224 13.32 584752 1590012 8 22:27:37 22:25:01 5435612 0 819180 10.23 2620 1751520 1206224 13.32 585244 1590012 16 22:27:37 22:26:01 4568804 0 967940 12.09 2620 2469568 1394624 15.40 710712 2240660 450928 22:27:37 22:27:01 3657332 0 1209656 15.10 2620 3139324 1399052 15.45 937876 2779336 31956 22:27:37 Average: 5200140 0 863228 10.78 2620 1942944 1247570 13.77 625707 1755088 43909 22:27:37 22:27:37 22:16:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:27:37 22:17:01 eth0 98.63 96.65 465.92 17.55 0.00 0.00 0.00 0.00 22:27:37 22:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:17:01 docker0 40.15 27.93 3.86 132.93 0.00 0.00 0.00 0.00 22:27:37 22:18:01 eth0 0.33 0.02 0.01 0.03 0.00 0.00 0.00 0.00 22:27:37 22:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:19:01 eth0 0.98 0.07 0.10 0.01 0.00 0.00 0.00 0.00 22:27:37 22:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:20:01 eth0 0.92 0.48 0.53 0.36 0.00 0.00 0.00 0.00 22:27:37 22:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:21:01 eth0 0.32 0.23 0.14 0.10 0.00 0.00 0.00 0.00 22:27:37 22:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:22:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:27:37 22:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:23:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:27:37 22:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:24:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:27:37 22:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:25:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:27:37 22:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:26:01 eth0 389.46 360.41 4076.87 29.49 0.00 0.00 0.00 0.00 22:27:37 22:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:27:01 veth868e38c 31.66 34.93 1.95 261.97 0.00 0.00 0.00 0.00 22:27:37 22:27:01 eth0 471.52 424.67 3871.35 44.36 0.00 0.00 0.00 0.00 22:27:37 22:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 22:27:01 docker0 94.27 105.15 6.44 645.14 0.00 0.00 0.00 0.00 22:27:37 Average: veth868e38c 2.88 3.18 0.18 23.82 0.00 0.00 0.00 0.00 22:27:37 Average: eth0 87.52 80.27 765.08 8.36 0.00 0.00 0.00 0.00 22:27:37 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:27:37 Average: docker0 12.22 12.10 0.94 70.74 0.00 0.00 0.00 0.00 22:27:37 22:27:37 22:27:37 ---> sar -P ALL: 22:27:37 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/28/21 _x86_64_ (2 CPU) 22:27:37 22:27:37 22:15:16 LINUX RESTART (2 CPU) 22:27:37 22:27:37 22:16:01 CPU %user %nice %system %iowait %steal %idle 22:27:37 22:17:01 all 2.77 0.00 1.38 0.35 0.06 95.44 22:27:37 22:17:01 0 2.37 0.00 1.29 0.47 0.05 95.82 22:27:37 22:17:01 1 3.16 0.00 1.48 0.24 0.07 95.05 22:27:37 22:18:01 all 0.06 0.00 0.04 0.00 0.03 99.87 22:27:37 22:18:01 0 0.08 0.00 0.05 0.00 0.02 99.85 22:27:37 22:18:01 1 0.03 0.00 0.03 0.00 0.03 99.90 22:27:37 22:19:01 all 0.08 0.00 0.03 0.00 0.03 99.86 22:27:37 22:19:01 0 0.15 0.00 0.02 0.00 0.03 99.80 22:27:37 22:19:01 1 0.02 0.00 0.03 0.00 0.03 99.92 22:27:37 22:20:01 all 0.13 0.00 0.02 0.00 0.03 99.82 22:27:37 22:20:01 0 0.22 0.00 0.02 0.00 0.03 99.73 22:27:37 22:20:01 1 0.03 0.00 0.02 0.00 0.03 99.92 22:27:37 22:21:01 all 0.15 0.00 0.05 0.00 0.04 99.76 22:27:37 22:21:01 0 0.27 0.00 0.05 0.00 0.05 99.63 22:27:37 22:21:01 1 0.03 0.00 0.05 0.00 0.03 99.88 22:27:37 22:22:01 all 0.09 0.00 0.02 0.00 0.03 99.86 22:27:37 22:22:01 0 0.17 0.00 0.02 0.00 0.03 99.78 22:27:37 22:22:01 1 0.02 0.00 0.02 0.00 0.03 99.93 22:27:37 22:23:01 all 0.07 0.00 0.03 0.00 0.03 99.88 22:27:37 22:23:01 0 0.08 0.00 0.02 0.00 0.02 99.88 22:27:37 22:23:01 1 0.05 0.00 0.03 0.00 0.03 99.88 22:27:37 22:24:01 all 0.03 0.00 0.03 0.00 0.04 99.89 22:27:37 22:24:01 0 0.02 0.00 0.02 0.00 0.02 99.95 22:27:37 22:24:01 1 0.05 0.00 0.05 0.00 0.07 99.83 22:27:37 22:25:01 all 0.06 0.00 0.02 0.00 0.04 99.88 22:27:37 22:25:01 0 0.03 0.00 0.02 0.00 0.03 99.92 22:27:37 22:25:01 1 0.08 0.00 0.02 0.00 0.05 99.85 22:27:37 22:26:01 all 7.59 0.00 2.89 0.09 0.04 89.38 22:27:37 22:26:01 0 7.84 0.00 2.98 0.07 0.05 89.06 22:27:37 22:26:01 1 7.34 0.00 2.80 0.12 0.03 89.70 22:27:37 22:27:01 all 12.99 0.00 6.15 2.18 0.10 78.59 22:27:37 22:27:01 0 12.55 0.00 6.16 2.50 0.09 78.70 22:27:37 22:27:01 1 13.42 0.00 6.14 1.86 0.10 78.48 22:27:37 22:27:37 Average: CPU %user %nice %system %iowait %steal %idle 22:27:37 Average: all 2.13 0.00 0.95 0.23 0.04 96.65 22:27:37 Average: 0 2.11 0.00 0.94 0.27 0.04 96.64 22:27:37 Average: 1 2.16 0.00 0.95 0.20 0.05 96.65 22:27:37 22:27:37 22:27:37