Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ac4b371315fba0b9546dc2a95c8393f838fbe7e4 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh671391615558768407.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2149748628327981993.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4142420346934683786.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh34364521994616794.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7521163839120005697.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1009 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_master@tmp/jenkins-gitclient-ssh4032790627052233571.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 Commit message: "Merge pull request #127 from siggiskulason/snap-v2" > git rev-list --no-walk c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:34:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:34:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:34:08 ========================================================= 20:34:08 EdgeX Global Pipelines Version Info 20:34:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:34:09 ------------------- 20:34:09 stable info: 20:34:09 ------------------- 20:34:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:34:09 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 20:34:09 Message: update stable to v1.0.195 20:34:10 ------------------- 20:34:10 experimental info: 20:34:10 ------------------- 20:34:10 Commited By: **** collab-it+edgex@linuxfoundation.org 20:34:10 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 20:34:10 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:34:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:34:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:34:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:34:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:34:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 20:34:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 20:34:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 20:34:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] echo 20:34:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac4b371 [Pipeline] echo 20:34:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:11 provisioning config files... 20:34:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5145466354357131646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:11 ---> docker-login.sh 20:34:11 nexus3.edgexfoundry.org:10001 20:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:12 Configure a credential helper to remove this warning. See 20:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:12 20:34:12 Login Succeeded 20:34:12 nexus3.edgexfoundry.org:10002 20:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:12 Configure a credential helper to remove this warning. See 20:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:12 20:34:12 Login Succeeded 20:34:12 nexus3.edgexfoundry.org:10003 20:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:12 Configure a credential helper to remove this warning. See 20:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:12 20:34:12 Login Succeeded 20:34:12 nexus3.edgexfoundry.org:10004 20:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:12 Configure a credential helper to remove this warning. See 20:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:12 20:34:12 Login Succeeded 20:34:12 docker.io 20:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:12 Configure a credential helper to remove this warning. See 20:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:12 20:34:12 Login Succeeded 20:34:12 ---> docker-login.sh ends [Pipeline] } 20:34:12 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 20:34:13 + git log --format=format:%s -1 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] echo 20:34:13 GIT_COMMIT: ac4b371315fba0b9546dc2a95c8393f838fbe7e4, Commit Message: Merge pull request #127 from siggiskulason/snap-v2 [Pipeline] echo 20:34:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:34:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:14 20:34:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:34:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:14 latest: Pulling from edgex-devops/git-semver 20:34:14 31603596830f: Pulling fs layer 20:34:14 54011a49482f: Pulling fs layer 20:34:14 a6820b24f6d8: Pulling fs layer 20:34:14 f581987b2513: Pulling fs layer 20:34:14 f581987b2513: Waiting 20:34:14 54011a49482f: Verifying Checksum 20:34:14 54011a49482f: Download complete 20:34:15 31603596830f: Verifying Checksum 20:34:15 31603596830f: Download complete 20:34:15 f581987b2513: Verifying Checksum 20:34:15 f581987b2513: Download complete 20:34:15 a6820b24f6d8: Verifying Checksum 20:34:15 a6820b24f6d8: Download complete 20:34:15 31603596830f: Pull complete 20:34:15 54011a49482f: Pull complete 20:34:15 a6820b24f6d8: Pull complete 20:34:16 f581987b2513: Pull complete 20:34:16 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:34:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:34:16 prd-centos7-docker-4c-2g-1009 does not seem to be running inside a container 20:34:16 $ 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 20:34:17 $ docker top c72605582a76eba1203d361626af8b6fad28204f948b053a03d9be9c71e2857b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:34:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:17 [ssh-agent] Looking for ssh-agent implementation... 20:34:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:17 $ docker exec c72605582a76eba1203d361626af8b6fad28204f948b053a03d9be9c71e2857b ssh-agent 20:34:17 SSH_AUTH_SOCK=/tmp/ssh-rlWD9fwgrrJ0/agent.12 20:34:17 SSH_AGENT_PID=18 20:34:17 Running ssh-add (command line suppressed) 20:34:17 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_564324899488120819.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_564324899488120819.key) 20:34:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:18 + git tag --points-at HEAD [Pipeline] } 20:34:18 $ docker exec --env ******** --env ******** c72605582a76eba1203d361626af8b6fad28204f948b053a03d9be9c71e2857b ssh-agent -k 20:34:18 unset SSH_AUTH_SOCK; 20:34:18 unset SSH_AGENT_PID; 20:34:18 echo Agent pid 18 killed; 20:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:34:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:18 [ssh-agent] Looking for ssh-agent implementation... 20:34:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:18 $ docker exec c72605582a76eba1203d361626af8b6fad28204f948b053a03d9be9c71e2857b ssh-agent 20:34:18 SSH_AUTH_SOCK=/tmp/ssh-xP1wgHvMHwvJ/agent.52 20:34:18 SSH_AGENT_PID=59 20:34:18 Running ssh-add (command line suppressed) 20:34:18 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1979767658310429676.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1979767658310429676.key) 20:34:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:19 + git semver init 20:34:19 # -> Open(): unable to determine branch for HEAD 20:34:19 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:34:19 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:34:19 # $SEMVER_REMOTE_NAME = origin 20:34:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:34:19 # $SEMVER_USER_NAME = edgex-jenkins 20:34:19 # $SEMVER_BRANCH = master 20:34:19 # $SEMVER_TEMP = /tmp/semver-586318179 20:34:19 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:34:20 # '/tmp/semver-586318179' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 20:34:20 # -> Force: false 20:34:20 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 20:34:20 $ docker exec --env ******** --env ******** c72605582a76eba1203d361626af8b6fad28204f948b053a03d9be9c71e2857b ssh-agent -k 20:34:20 unset SSH_AUTH_SOCK; 20:34:20 unset SSH_AGENT_PID; 20:34:20 echo Agent pid 59 killed; 20:34:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:34:20 + git semver [Pipeline] } 20:34:20 $ docker stop --time=1 c72605582a76eba1203d361626af8b6fad28204f948b053a03d9be9c71e2857b 20:34:22 $ docker rm -f c72605582a76eba1203d361626af8b6fad28204f948b053a03d9be9c71e2857b [Pipeline] // withDockerContainer [Pipeline] sh 20:34:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:34:22 Stashed 1 file(s) [Pipeline] echo 20:34:22 [edgeXSemver]: initialized semver on version 1.2.2-dev.22 [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 20:34:37 Still waiting to schedule task 20:34:37 ‘prd-centos7-docker-4c-2g-1005’ is offline 20:34:37 ‘prd-centos7-docker-4c-2g-1008’ is offline 20:34:37 ‘prd-centos7-docker-4c-2g-1010’ is offline 20:34:37 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1006’ doesn’t have label ‘centos7-docker-4c-2g’ 20:34:37 Still waiting to schedule task 20:34:37 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1006’ is offline 20:35:54 Running on prd-centos7-docker-4c-2g-1013 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 20:35:54 Running in /w/workspace/device-rest-go/56 [Pipeline] { [Pipeline] checkout 20:35:57 The recommended git tool is: git 20:36:00 using credential edgex-jenkins-ssh 20:36:00 Cloning the remote Git repository 20:36:00 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:36:00 > git init /w/workspace/device-rest-go/56 # timeout=10 20:36:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:36:00 > git --version # timeout=10 20:36:00 > git --version # 'git version 2.24.4' 20:36:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:00 [INFO] Currently running in a labeled security context 20:36:00 [INFO] Currently SELinux is 'enforcing' on the host 20:36:00 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/56@tmp/jenkins-gitclient-ssh3671018212953733156.key 20:36:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:01 Avoid second fetch 20:36:01 Checking out Revision ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (master) 20:36:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:36:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:01 > git config core.sparsecheckout # timeout=10 20:36:01 > git checkout -f ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 20:36:05 Commit message: "Merge pull request #127 from siggiskulason/snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:36:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:36:06 + true 20:36:06 + sudo service docker restart 20:36:06 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:25 provisioning config files... 20:36:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/56@tmp/config4588522690578482571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:25 ---> docker-login.sh 20:36:25 nexus3.edgexfoundry.org:10001 20:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:25 Configure a credential helper to remove this warning. See 20:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:25 20:36:25 Login Succeeded 20:36:25 nexus3.edgexfoundry.org:10002 20:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:25 Configure a credential helper to remove this warning. See 20:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:25 20:36:25 Login Succeeded 20:36:25 nexus3.edgexfoundry.org:10003 20:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:25 Configure a credential helper to remove this warning. See 20:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:25 20:36:25 Login Succeeded 20:36:25 nexus3.edgexfoundry.org:10004 20:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:26 Configure a credential helper to remove this warning. See 20:36:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:26 20:36:26 Login Succeeded 20:36:26 docker.io 20:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:26 Configure a credential helper to remove this warning. See 20:36:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:26 20:36:26 Login Succeeded 20:36:26 ---> docker-login.sh ends [Pipeline] } 20:36:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:36:26 ========================================================= 20:36:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:36:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:36:27 + 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 . 20:36:27 Sending build context to Docker daemon 116.2kB 20:36:27 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 20:36:27 Step 2/10 : FROM ${BASE} 20:36:27 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:36:27 540db60ca938: Pulling fs layer 20:36:27 adcc1eea9eea: Pulling fs layer 20:36:27 4c4ab2625f07: Pulling fs layer 20:36:27 0510c868ecb4: Pulling fs layer 20:36:27 afea3b2eda06: Pulling fs layer 20:36:27 7809a108b3ef: Pulling fs layer 20:36:27 f706445af74f: Pulling fs layer 20:36:27 afea3b2eda06: Waiting 20:36:27 0510c868ecb4: Waiting 20:36:27 7809a108b3ef: Waiting 20:36:27 f706445af74f: Waiting 20:36:27 4c4ab2625f07: Download complete 20:36:27 adcc1eea9eea: Verifying Checksum 20:36:27 adcc1eea9eea: Download complete 20:36:27 afea3b2eda06: Verifying Checksum 20:36:27 afea3b2eda06: Download complete 20:36:27 7809a108b3ef: Verifying Checksum 20:36:27 7809a108b3ef: Download complete 20:36:27 540db60ca938: Verifying Checksum 20:36:27 540db60ca938: Download complete 20:36:27 540db60ca938: Pull complete 20:36:27 adcc1eea9eea: Pull complete 20:36:27 4c4ab2625f07: Pull complete 20:36:29 f706445af74f: Verifying Checksum 20:36:29 f706445af74f: Download complete 20:36:30 0510c868ecb4: Verifying Checksum 20:36:30 0510c868ecb4: Download complete 20:36:34 0510c868ecb4: Pull complete 20:36:34 afea3b2eda06: Pull complete 20:36:34 7809a108b3ef: Pull complete 20:36:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1012 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 20:36:35 Running in /w/workspace/device-rest-go/56 [Pipeline] { [Pipeline] checkout 20:36:35 The recommended git tool is: git 20:36:35 f706445af74f: Pull complete 20:36:35 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:36:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:36:35 ---> b068be0155e3 20:36:35 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:36:40 ---> Running in dd3a4256a4d3 20:36:40 Removing intermediate container dd3a4256a4d3 20:36:40 ---> 0e25316e92c9 20:36:40 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:36:40 ---> Running in b0a7ab730a7c 20:36:40 Removing intermediate container b0a7ab730a7c 20:36:40 ---> 0f67eed3b674 20:36:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:36:40 ---> Running in 2e7c8532d4f2 20:36:40 Removing intermediate container 2e7c8532d4f2 20:36:40 ---> 3969369b8ae1 20:36:40 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:36:40 ---> Running in 2ebf476b023a 20:36:40 Removing intermediate container 2ebf476b023a 20:36:40 ---> f4c0a04c7e46 20:36:40 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:40 ---> Running in 7c8f8991eda7 20:36:41 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:36:41 using credential edgex-jenkins-ssh 20:36:41 Cloning the remote Git repository 20:36:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:36:41 > git init /w/workspace/device-rest-go/56 # timeout=10 20:36:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:36:41 > git --version # timeout=10 20:36:41 > git --version # 'git version 2.17.1' 20:36:41 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:36:42 (1/9) Installing libc-dev (0.7.2-r3) 20:36:42 (2/9) Installing libsodium (1.0.18-r0) 20:36:43 (3/9) Installing pkgconf (1.7.3-r0) 20:36:43 (4/9) Installing libsodium-dev (1.0.18-r0) 20:36:43 (5/9) Installing openssh-keygen (8.4_p1-r3) 20:36:43 (6/9) Installing libedit (20191231.3.1-r1) 20:36:43 (7/9) Installing openssh-client (8.4_p1-r3) 20:36:44 (8/9) Installing libzmq (4.3.3-r1) 20:36:44 Avoid second fetch 20:36:44 Checking out Revision ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (master) 20:36:44 (9/9) Installing zeromq-dev (4.3.3-r1) 20:36:44 Executing busybox-1.32.1-r6.trigger 20:36:44 OK: 154 MiB in 49 packages 20:36:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:36:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:44 > git config core.sparsecheckout # timeout=10 20:36:44 > git checkout -f ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 20:36:44 Removing intermediate container 7c8f8991eda7 20:36:44 ---> 3d9ea4cecf17 20:36:44 Step 8/10 : WORKDIR /device-rest-go 20:36:44 ---> Running in 0a5832af8172 20:36:44 Removing intermediate container 0a5832af8172 20:36:44 ---> 1b89a8c93271 20:36:44 Step 9/10 : COPY . . 20:36:45 ---> c6c1c3f57b6b 20:36:45 Step 10/10 : RUN go mod download 20:36:45 ---> Running in b6ab2a4c5d64 20:36:48 Commit message: "Merge pull request #127 from siggiskulason/snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:36:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:36:52 + + sudotrue service 20:36:52 docker restart 20:36:59 Removing intermediate container b6ab2a4c5d64 20:36:59 ---> 1472d3801f27 20:36:59 Successfully built 1472d3801f27 20:36:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:36:59 + docker inspect -f . ci-base-image-x86_64 20:36:59 . [Pipeline] withDockerContainer 20:36:59 prd-centos7-docker-4c-2g-1013 does not seem to be running inside a container 20:36:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/56 -v /w/workspace/device-rest-go/56:/w/workspace/device-rest-go/56:rw,z -v /w/workspace/device-rest-go/56@tmp:/w/workspace/device-rest-go/56@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 20:37:00 $ docker top b8c2b49f6061841f1c027d02d2b72d50c56f03a90388f3d0062edac574399f42 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:00 + go version 20:37:00 go version go1.16.3 linux/amd64 [Pipeline] } 20:37:00 $ docker stop --time=1 b8c2b49f6061841f1c027d02d2b72d50c56f03a90388f3d0062edac574399f42 20:37:01 $ docker rm -f b8c2b49f6061841f1c027d02d2b72d50c56f03a90388f3d0062edac574399f42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:37:02 + docker inspect -f . ci-base-image-x86_64 20:37:02 . [Pipeline] withDockerContainer 20:37:02 prd-centos7-docker-4c-2g-1013 does not seem to be running inside a container 20:37:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/56 -v /w/workspace/device-rest-go/56:/w/workspace/device-rest-go/56:rw,z -v /w/workspace/device-rest-go/56@tmp:/w/workspace/device-rest-go/56@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 20:37:02 $ docker top 6940f96a9728a92c6c8151bc337185ae2449433572b233d460acb1d51aa83a8f -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:03 + go mod tidy [Pipeline] sh 20:37:03 + make test 20:37:03 go mod tidy 20:37:04 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:37:04 ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:11 provisioning config files... 20:37:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/56@tmp/config6080789179132407320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:13 ---> docker-login.sh 20:37:13 nexus3.edgexfoundry.org:10001 20:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:13 Configure a credential helper to remove this warning. See 20:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:13 20:37:13 Login Succeeded 20:37:13 nexus3.edgexfoundry.org:10002 20:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:13 Configure a credential helper to remove this warning. See 20:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:13 20:37:13 Login Succeeded 20:37:13 nexus3.edgexfoundry.org:10003 20:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:13 Configure a credential helper to remove this warning. See 20:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:13 20:37:13 Login Succeeded 20:37:13 nexus3.edgexfoundry.org:10004 20:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:14 Configure a credential helper to remove this warning. See 20:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:14 20:37:14 Login Succeeded 20:37:14 docker.io 20:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:15 Configure a credential helper to remove this warning. See 20:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:15 20:37:15 Login Succeeded 20:37:15 ---> docker-login.sh ends [Pipeline] } 20:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:37:15 ========================================================= 20:37:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:37:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:37:15 + 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 . 20:37:15 Sending build context to Docker daemon 116.2kB 20:37:16 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 20:37:16 Step 2/10 : FROM ${BASE} 20:37:16 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:37:16 595b0fe564bb: Pulling fs layer 20:37:16 3088b5b3c5c0: Pulling fs layer 20:37:16 5b7225fbf94c: Pulling fs layer 20:37:16 ba82ee9f976e: Pulling fs layer 20:37:16 506bd15cee9f: Pulling fs layer 20:37:16 75a0a4a0db45: Pulling fs layer 20:37:16 618dc40b7e24: Pulling fs layer 20:37:16 ba82ee9f976e: Waiting 20:37:16 506bd15cee9f: Waiting 20:37:16 75a0a4a0db45: Waiting 20:37:16 5b7225fbf94c: Verifying Checksum 20:37:16 5b7225fbf94c: Download complete 20:37:16 3088b5b3c5c0: Verifying Checksum 20:37:16 3088b5b3c5c0: Download complete 20:37:16 506bd15cee9f: Verifying Checksum 20:37:16 506bd15cee9f: Download complete 20:37:16 595b0fe564bb: Verifying Checksum 20:37:16 75a0a4a0db45: Verifying Checksum 20:37:16 75a0a4a0db45: Download complete 20:37:17 595b0fe564bb: Pull complete 20:37:17 3088b5b3c5c0: Pull complete 20:37:18 5b7225fbf94c: Pull complete 20:37:19 618dc40b7e24: Download complete 20:37:20 ba82ee9f976e: Verifying Checksum 20:37:20 ba82ee9f976e: Download complete 20:37:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:37:23 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 54.0% of statements 20:37:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:37:30 gofmt -l . 20:37:30 [ "`gofmt -l .`" = "" ] 20:37:30 ./bin/test-go-mod-tidy.sh 20:37:30 ./bin/test-attribution-txt.sh [Pipeline] } 20:37:30 $ docker stop --time=1 6940f96a9728a92c6c8151bc337185ae2449433572b233d460acb1d51aa83a8f 20:37:31 ba82ee9f976e: Pull complete 20:37:31 506bd15cee9f: Pull complete 20:37:31 75a0a4a0db45: Pull complete 20:37:32 $ docker rm -f 6940f96a9728a92c6c8151bc337185ae2449433572b233d460acb1d51aa83a8f [Pipeline] // withDockerContainer [Pipeline] sh 20:37:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:37:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 20:37:33 618dc40b7e24: Pull complete 20:37:33 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 20:37:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:37:33 ---> a36622ca3599 20:37:33 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] sh 20:37:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:37:34 + ls -al . 20:37:34 total 112 20:37:34 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 30 20:37 . 20:37:34 drwxrwxr-x. 4 jenkins jenkins 30 Jun 30 20:36 .. 20:37:34 -rw-rw-r--. 1 jenkins jenkins 6792 Jun 30 20:36 Attribution.txt 20:37:34 drwxrwxr-x. 2 jenkins jenkins 64 Jun 30 20:36 bin 20:37:34 -rw-rw-r--. 1 jenkins jenkins 7459 Jun 30 20:36 CHANGELOG.md 20:37:34 drwxrwxr-x. 3 jenkins jenkins 32 Jun 30 20:36 cmd 20:37:34 -rw-r--r--. 1 jenkins jenkins 8513 Jun 30 20:37 coverage.out 20:37:34 -rw-rw-r--. 1 jenkins jenkins 1615 Jun 30 20:36 Dockerfile 20:37:34 -rw-rw-r--. 1 jenkins jenkins 1087 Jun 30 20:36 Dockerfile.build 20:37:34 -rw-rw-r--. 1 jenkins jenkins 151 Jun 30 20:36 .dockerignore 20:37:34 drwxrwxr-x. 2 jenkins jenkins 76 Jun 30 20:36 driver 20:37:34 drwxrwxr-x. 8 jenkins jenkins 162 Jun 30 20:36 .git 20:37:34 drwxrwxr-x. 2 jenkins jenkins 103 Jun 30 20:36 .github 20:37:34 -rw-rw-r--. 1 jenkins jenkins 336 Jun 30 20:36 .gitignore 20:37:34 -rw-r--r--. 1 jenkins jenkins 271 Jun 30 20:37 go.mod 20:37:34 -rw-r--r--. 1 jenkins jenkins 20570 Jun 30 20:37 go.sum 20:37:34 -rw-rw-r--. 1 jenkins jenkins 680 Jun 30 20:36 Jenkinsfile 20:37:34 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 30 20:36 LICENSE 20:37:34 -rw-rw-r--. 1 jenkins jenkins 996 Jun 30 20:36 Makefile 20:37:34 -rw-rw-r--. 1 jenkins jenkins 7667 Jun 30 20:36 README.md 20:37:34 drwxrwxr-x. 4 jenkins jenkins 71 Jun 30 20:36 snap 20:37:34 -rw-rw-r--. 1 jenkins jenkins 12 Jun 30 20:34 VERSION 20:37:34 -rw-rw-r--. 1 jenkins jenkins 713 Jun 30 20:36 version.go [Pipeline] isUnix [Pipeline] sh 20:37:34 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 --label arch=amd64 --label version=1.2.2-dev.22 . 20:37:34 Sending build context to Docker daemon 126kB 20:37:34 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:37:34 Step 2/25 : FROM ${BASE} AS builder 20:37:34 ---> 1472d3801f27 20:37:34 Step 3/25 : ARG MAKE='make build' 20:37:34 ---> Running in a428bb6bb0ec 20:37:34 Removing intermediate container a428bb6bb0ec 20:37:34 ---> 943cbcdf7566 20:37:34 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:37:34 ---> Running in 626ce1e83000 20:37:34 Removing intermediate container 626ce1e83000 20:37:34 ---> c8fe824749f6 20:37:34 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:37:34 ---> Running in 2cc61361d2d6 20:37:34 Removing intermediate container 2cc61361d2d6 20:37:34 ---> 9dc33a1349f7 20:37:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:37:34 ---> Running in 7be51e240f70 20:37:35 Removing intermediate container 7be51e240f70 20:37:35 ---> 4ec6f9eea24c 20:37:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:37:35 ---> Running in 09208d36a8d8 20:37:35 ---> Running in d5a3c114f4c5 20:37:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:37:36 Removing intermediate container d5a3c114f4c5 20:37:36 ---> 7bb909d7936d 20:37:36 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:37:36 ---> Running in bc9ec2d2cfd0 20:37:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:37:36 Removing intermediate container bc9ec2d2cfd0 20:37:36 ---> 4a779e12b176 20:37:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:37:36 ---> Running in 0f21381e9744 20:37:37 OK: 154 MiB in 49 packages 20:37:37 Removing intermediate container 09208d36a8d8 20:37:37 ---> 8eba92d76e81 20:37:37 Step 8/25 : WORKDIR /device-rest-go 20:37:37 ---> Running in adf0aedca4a0 20:37:37 Removing intermediate container 0f21381e9744 20:37:37 ---> bb1cc5346f76 20:37:37 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:37:37 ---> Running in 3975803d398f 20:37:39 Removing intermediate container adf0aedca4a0 20:37:39 ---> 9a21dfd5bd67 20:37:39 Step 9/25 : COPY . . 20:37:39 ---> d639e4344690 20:37:39 Step 10/25 : RUN go mod tidy 20:37:39 ---> Running in dca594d85171 20:37:39 Removing intermediate container dca594d85171 20:37:39 ---> 33540995c28d 20:37:39 Step 11/25 : RUN make update 20:37:39 ---> Running in 111608a2d871 20:37:39 CGO_ENABLED=0 GO111MODULE=on go mod download 20:37:39 Removing intermediate container 111608a2d871 20:37:39 ---> 3281a15ee630 20:37:39 Step 12/25 : RUN $MAKE 20:37:39 ---> Running in 4bf61113e5b4 20:37:39 go mod tidy 20:37:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.22" -o cmd/device-rest ./cmd 20:37:39 Removing intermediate container 3975803d398f 20:37:39 ---> 5ff66114803a 20:37:39 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:37:39 ---> Running in 44c6bae5437b 20:37:41 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:37:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:37:43 (1/9) Installing libc-dev (0.7.2-r3) 20:37:43 (2/9) Installing libsodium (1.0.18-r0) 20:37:43 (3/9) Installing pkgconf (1.7.3-r0) 20:37:43 (4/9) Installing libsodium-dev (1.0.18-r0) 20:37:43 (5/9) Installing openssh-keygen (8.4_p1-r3) 20:37:43 (6/9) Installing libedit (20191231.3.1-r1) 20:37:43 (7/9) Installing openssh-client (8.4_p1-r3) 20:37:44 (8/9) Installing libzmq (4.3.3-r1) 20:37:44 (9/9) Installing zeromq-dev (4.3.3-r1) 20:37:44 Executing busybox-1.32.1-r6.trigger 20:37:44 OK: 144 MiB in 49 packages 20:37:45 Removing intermediate container 44c6bae5437b 20:37:45 ---> 4023f397764a 20:37:45 Step 8/10 : WORKDIR /device-rest-go 20:37:45 ---> Running in 6563b5509cde 20:37:46 Removing intermediate container 6563b5509cde 20:37:46 ---> 718cc1a211c0 20:37:46 Step 9/10 : COPY . . 20:37:47 ---> 035e4c92aa57 20:37:47 Step 10/10 : RUN go mod download 20:37:47 ---> Running in d58a9306e614 20:37:52 Removing intermediate container 4bf61113e5b4 20:37:52 ---> df79f7e21ca8 20:37:52 Step 13/25 : FROM alpine:3.12 20:37:52 3.12: Pulling from library/alpine 20:37:52 339de151aab4: Pulling fs layer 20:37:52 339de151aab4: Verifying Checksum 20:37:52 339de151aab4: Download complete 20:37:52 339de151aab4: Pull complete 20:37:52 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 20:37:52 Status: Downloaded newer image for alpine:3.12 20:37:52 ---> 13621d1b12d4 20:37:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:37:52 ---> Running in 72269618e7a2 20:37:52 Removing intermediate container 72269618e7a2 20:37:52 ---> 8b8a3f5f74c9 20:37:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:37:52 ---> Running in db87300a9d3d 20:37:52 Removing intermediate container db87300a9d3d 20:37:52 ---> da7ea0d3ff1a 20:37:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:37:52 ---> Running in 1336ef106e08 20:37:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:37:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:37:52 (1/6) Installing dumb-init (1.2.2-r1) 20:37:52 (2/6) Installing libgcc (9.3.0-r2) 20:37:52 (3/6) Installing libsodium (1.0.18-r0) 20:37:52 (4/6) Installing libstdc++ (9.3.0-r2) 20:37:52 (5/6) Installing libzmq (4.3.3-r0) 20:37:52 (6/6) Installing zeromq (4.3.3-r0) 20:37:52 Executing busybox-1.31.1-r20.trigger 20:37:52 OK: 8 MiB in 20 packages 20:37:53 Removing intermediate container 1336ef106e08 20:37:53 ---> 121308331312 20:37:53 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:37:53 ---> 29f0d837528e 20:37:53 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:37:53 ---> a260d78821f3 20:37:53 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:37:53 ---> fd6758edddff 20:37:53 Step 20/25 : EXPOSE 59986 20:37:53 ---> Running in 29d8628fcc31 20:37:53 Removing intermediate container 29d8628fcc31 20:37:53 ---> 174aa9df82b0 20:37:53 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:37:53 ---> Running in 5fb4e351a682 20:37:53 Removing intermediate container 5fb4e351a682 20:37:53 ---> c69884620e06 20:37:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:37:54 ---> Running in 6fdb06f0f9ab 20:37:54 Removing intermediate container 6fdb06f0f9ab 20:37:54 ---> cf94dde99711 20:37:54 Step 23/25 : LABEL arch=amd64 20:37:54 ---> Running in a329ededb292 20:37:54 Removing intermediate container a329ededb292 20:37:54 ---> e99961b3617e 20:37:54 Step 24/25 : LABEL git_sha=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 20:37:54 ---> Running in ecf55bcd6fb2 20:37:54 Removing intermediate container ecf55bcd6fb2 20:37:54 ---> 7d59a49d62e9 20:37:54 Step 25/25 : LABEL version=1.2.2-dev.22 20:37:54 ---> Running in a795b7c1223d 20:37:54 Removing intermediate container a795b7c1223d 20:37:54 ---> 5371476d407d 20:37:54 [Warning] One or more build-args [ARCH] were not consumed 20:37:54 Successfully built 5371476d407d 20:37:54 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:54 provisioning config files... 20:37:54 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/56@tmp/config2023470679272176487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:56 ---> docker-login.sh 20:37:56 nexus3.edgexfoundry.org:10001 20:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:56 Configure a credential helper to remove this warning. See 20:37:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:56 20:37:56 Login Succeeded 20:37:56 nexus3.edgexfoundry.org:10002 20:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:57 Configure a credential helper to remove this warning. See 20:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:57 20:37:57 Login Succeeded 20:37:57 nexus3.edgexfoundry.org:10003 20:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:57 Configure a credential helper to remove this warning. See 20:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:57 20:37:57 Login Succeeded 20:37:57 nexus3.edgexfoundry.org:10004 20:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:57 Configure a credential helper to remove this warning. See 20:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:57 20:37:57 Login Succeeded 20:37:57 docker.io 20:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:57 Configure a credential helper to remove this warning. See 20:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:57 20:37:57 Login Succeeded 20:37:57 ---> docker-login.sh ends [Pipeline] } 20:37:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:37:57 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:37:57 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 20:37:57 latest 20:37:57 1.2.2-dev.22 20:37:57 ac4b371315fba0b9546dc2a95c8393f838fbe7e4-1.2.2-dev.22 20:37:57 master 20:37:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:37:58 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] isUnix [Pipeline] sh 20:37:58 + docker push nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 20:37:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:37:58 20aefed4d0e4: Preparing 20:37:58 1e7fad409a03: Preparing 20:37:58 a63cfb8ae36c: Preparing 20:37:58 92731fb4ca95: Preparing 20:37:58 32f366d666a5: Preparing 20:37:58 32f366d666a5: Layer already exists 20:37:59 1e7fad409a03: Pushed 20:37:59 20aefed4d0e4: Pushed 20:37:59 92731fb4ca95: Pushed 20:38:00 a63cfb8ae36c: Pushed 20:38:00 ac4b371315fba0b9546dc2a95c8393f838fbe7e4: digest: sha256:df00c0c95befad072520eb686db4cdacb011b7de65f63218891c99f114c2f8bc size: 1365 [Pipeline] isUnix [Pipeline] sh 20:38:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 20:38:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:38:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:38:01 20aefed4d0e4: Preparing 20:38:01 1e7fad409a03: Preparing 20:38:01 a63cfb8ae36c: Preparing 20:38:01 92731fb4ca95: Preparing 20:38:01 32f366d666a5: Preparing 20:38:01 92731fb4ca95: Layer already exists 20:38:01 32f366d666a5: Layer already exists 20:38:01 1e7fad409a03: Layer already exists 20:38:01 20aefed4d0e4: Layer already exists 20:38:01 a63cfb8ae36c: Layer already exists 20:38:01 latest: digest: sha256:df00c0c95befad072520eb686db4cdacb011b7de65f63218891c99f114c2f8bc size: 1365 [Pipeline] isUnix [Pipeline] sh 20:38:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.22 [Pipeline] isUnix [Pipeline] sh 20:38:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.22 20:38:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:38:01 20aefed4d0e4: Preparing 20:38:01 1e7fad409a03: Preparing 20:38:01 a63cfb8ae36c: Preparing 20:38:01 92731fb4ca95: Preparing 20:38:01 32f366d666a5: Preparing 20:38:01 20aefed4d0e4: Layer already exists 20:38:01 1e7fad409a03: Layer already exists 20:38:01 a63cfb8ae36c: Layer already exists 20:38:01 32f366d666a5: Layer already exists 20:38:01 92731fb4ca95: Layer already exists 20:38:01 1.2.2-dev.22: digest: sha256:df00c0c95befad072520eb686db4cdacb011b7de65f63218891c99f114c2f8bc size: 1365 [Pipeline] isUnix [Pipeline] sh 20:38:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-1.2.2-dev.22 [Pipeline] isUnix [Pipeline] sh 20:38:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-1.2.2-dev.22 20:38:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:38:02 20aefed4d0e4: Preparing 20:38:02 1e7fad409a03: Preparing 20:38:02 a63cfb8ae36c: Preparing 20:38:02 92731fb4ca95: Preparing 20:38:02 32f366d666a5: Preparing 20:38:02 1e7fad409a03: Layer already exists 20:38:02 32f366d666a5: Layer already exists 20:38:02 20aefed4d0e4: Layer already exists 20:38:02 a63cfb8ae36c: Layer already exists 20:38:02 92731fb4ca95: Layer already exists 20:38:02 ac4b371315fba0b9546dc2a95c8393f838fbe7e4-1.2.2-dev.22: digest: sha256:df00c0c95befad072520eb686db4cdacb011b7de65f63218891c99f114c2f8bc size: 1365 [Pipeline] isUnix [Pipeline] sh 20:38:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 20:38:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 20:38:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:38:02 20aefed4d0e4: Preparing 20:38:02 1e7fad409a03: Preparing 20:38:02 a63cfb8ae36c: Preparing 20:38:02 92731fb4ca95: Preparing 20:38:02 32f366d666a5: Preparing 20:38:02 32f366d666a5: Layer already exists 20:38:02 20aefed4d0e4: Layer already exists 20:38:02 1e7fad409a03: Layer already exists 20:38:02 92731fb4ca95: Layer already exists 20:38:02 a63cfb8ae36c: Layer already exists 20:38:03 master: digest: sha256:df00c0c95befad072520eb686db4cdacb011b7de65f63218891c99f114c2f8bc size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:38:03 ===================================================== [Pipeline] echo 20:38:03 taggedImages: 20:38:03 - nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 20:38:03 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:38:03 - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.22 20:38:03 - nexus3.edgexfoundry.org:10004/device-rest:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-1.2.2-dev.22 20:38:03 - 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 20:38:05 ---> job-cost.sh 20:38:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2SVI 20:38:13 Removing intermediate container d58a9306e614 20:38:13 ---> 4318d819bc70 20:38:13 Successfully built 4318d819bc70 20:38:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:38:13 + docker inspect -f . ci-base-image-arm64 20:38:13 . [Pipeline] withDockerContainer 20:38:13 prd-ubuntu18.04-docker-arm64-4c-16g-1012 does not seem to be running inside a container 20:38:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/56 -v /w/workspace/device-rest-go/56:/w/workspace/device-rest-go/56:rw,z -v /w/workspace/device-rest-go/56@tmp:/w/workspace/device-rest-go/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:38:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:38:15 $ docker top e2030455c8ddd15d1db138579f76e8e660cde222d4b62e9eb097da22e7c1646a -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:16 + go version 20:38:16 go version go1.16.5 linux/arm64 [Pipeline] } 20:38:16 $ docker stop --time=1 e2030455c8ddd15d1db138579f76e8e660cde222d4b62e9eb097da22e7c1646a 20:38:18 $ docker rm -f e2030455c8ddd15d1db138579f76e8e660cde222d4b62e9eb097da22e7c1646a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:38:19 + docker inspect -f . ci-base-image-arm64 20:38:19 . [Pipeline] withDockerContainer 20:38:19 prd-ubuntu18.04-docker-arm64-4c-16g-1012 does not seem to be running inside a container 20:38:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/56 -v /w/workspace/device-rest-go/56:/w/workspace/device-rest-go/56:rw,z -v /w/workspace/device-rest-go/56@tmp:/w/workspace/device-rest-go/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:38:21 $ docker top 343b6d32991e6db068988e972ff31a2da16eef9c9d6327dc38979715f229f37e -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:22 + go mod tidy [Pipeline] sh 20:38:23 + make test 20:38:23 go mod tidy 20:38:23 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:38:25 ? github.com/edgexfoundry/device-rest-go [no test files] 20:38:29 lf-activate-venv(): INFO: Adding /tmp/venv-2SVI/bin to PATH 20:38:29 INFO: No Stack... 20:38:29 INFO: Retrieving Pricing Info for: v3-standard-2 20:38:29 INFO: Archiving Costs [Pipeline] sh 20:38:29 + cat /w/workspace/device-rest-go/56/archives/cost.csv 20:38:29 + cut -d, -f6 [Pipeline] lock 20:38:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-56-stack-cost] 20:38:29 Resource [jenkins-edgexfoundry-device-rest-go-master-56-stack-cost] did not exist. Created. 20:38:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:38:30 + echo total: 0.05999999865889549 [Pipeline] stash 20:38:30 Stashed 1 file(s) [Pipeline] } 20:38:30 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-56-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:39:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:39:22 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 54.0% of statements 20:39:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:39:46 gofmt -l . 20:39:46 [ "`gofmt -l .`" = "" ] 20:39:46 ./bin/test-go-mod-tidy.sh 20:39:46 ./bin/test-attribution-txt.sh [Pipeline] } 20:39:47 $ docker stop --time=1 343b6d32991e6db068988e972ff31a2da16eef9c9d6327dc38979715f229f37e 20:39:49 $ docker rm -f 343b6d32991e6db068988e972ff31a2da16eef9c9d6327dc38979715f229f37e [Pipeline] // withDockerContainer [Pipeline] sh 20:39:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:39:50 Warning: overwriting stash ‘coverage-report’ 20:39:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:39:51 + ls -al . 20:39:51 total 140 20:39:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 20:39 . 20:39:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 20:36 .. 20:39:51 -rw-rw-r-- 1 jenkins jenkins 151 Jun 30 20:36 .dockerignore 20:39:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 20:36 .git 20:39:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 20:36 .github 20:39:51 -rw-rw-r-- 1 jenkins jenkins 336 Jun 30 20:36 .gitignore 20:39:51 -rw-rw-r-- 1 jenkins jenkins 6792 Jun 30 20:36 Attribution.txt 20:39:51 -rw-rw-r-- 1 jenkins jenkins 7459 Jun 30 20:36 CHANGELOG.md 20:39:51 -rw-rw-r-- 1 jenkins jenkins 1615 Jun 30 20:36 Dockerfile 20:39:51 -rw-rw-r-- 1 jenkins jenkins 1087 Jun 30 20:36 Dockerfile.build 20:39:51 -rw-rw-r-- 1 jenkins jenkins 680 Jun 30 20:36 Jenkinsfile 20:39:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 20:36 LICENSE 20:39:51 -rw-rw-r-- 1 jenkins jenkins 996 Jun 30 20:36 Makefile 20:39:51 -rw-rw-r-- 1 jenkins jenkins 7667 Jun 30 20:36 README.md 20:39:51 -rw-rw-r-- 1 jenkins jenkins 12 Jun 30 20:34 VERSION 20:39:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 20:36 bin 20:39:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 20:36 cmd 20:39:51 -rw-r--r-- 1 jenkins jenkins 8513 Jun 30 20:39 coverage.out 20:39:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 20:36 driver 20:39:51 -rw-r--r-- 1 jenkins jenkins 271 Jun 30 20:39 go.mod 20:39:51 -rw-r--r-- 1 jenkins jenkins 20570 Jun 30 20:38 go.sum 20:39:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 20:36 snap 20:39:51 -rw-rw-r-- 1 jenkins jenkins 713 Jun 30 20:36 version.go [Pipeline] isUnix [Pipeline] sh 20:39:52 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 --label arch=arm64 --label version=1.2.2-dev.22 . 20:39:52 Sending build context to Docker daemon 126kB 20:39:52 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:39:52 Step 2/25 : FROM ${BASE} AS builder 20:39:52 ---> 4318d819bc70 20:39:52 Step 3/25 : ARG MAKE='make build' 20:39:52 ---> Running in 0d7572cde525 20:39:53 Removing intermediate container 0d7572cde525 20:39:53 ---> 606b75670e99 20:39:53 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:39:53 ---> Running in e66195443417 20:39:54 Removing intermediate container e66195443417 20:39:54 ---> 135dd7dc43e2 20:39:54 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:39:54 ---> Running in 4aed684f7e64 20:39:54 Removing intermediate container 4aed684f7e64 20:39:54 ---> 176533a8f210 20:39:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:39:54 ---> Running in d4ebc5d908ec 20:39:57 Removing intermediate container d4ebc5d908ec 20:39:57 ---> 40ef7a379496 20:39:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:57 ---> Running in 5897f2cf9090 20:39:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:39:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:40:00 OK: 144 MiB in 49 packages 20:40:01 Removing intermediate container 5897f2cf9090 20:40:01 ---> 6f2120bc60f3 20:40:01 Step 8/25 : WORKDIR /device-rest-go 20:40:01 ---> Running in afacc4ea9f45 20:40:02 Removing intermediate container afacc4ea9f45 20:40:02 ---> c9c659619a23 20:40:02 Step 9/25 : COPY . . 20:40:03 ---> 371fc7fd485a 20:40:03 Step 10/25 : RUN go mod tidy 20:40:03 ---> Running in d3e2297ca83c 20:40:06 Removing intermediate container d3e2297ca83c 20:40:06 ---> fbd1d0c3ce78 20:40:06 Step 11/25 : RUN make update 20:40:06 ---> Running in 42be4ef36f56 20:40:07 CGO_ENABLED=0 GO111MODULE=on go mod download 20:40:08 Removing intermediate container 42be4ef36f56 20:40:08 ---> 9b21f28e24a5 20:40:08 Step 12/25 : RUN $MAKE 20:40:08 ---> Running in 2499ee32ee7c 20:40:10 go mod tidy 20:40:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.22" -o cmd/device-rest ./cmd 20:40:49 Removing intermediate container 2499ee32ee7c 20:40:49 ---> 848f86404f72 20:40:49 Step 13/25 : FROM alpine:3.12 20:40:49 3.12: Pulling from library/alpine 20:40:49 d2f70382dc9a: Pulling fs layer 20:40:49 d2f70382dc9a: Verifying Checksum 20:40:49 d2f70382dc9a: Download complete 20:40:50 d2f70382dc9a: Pull complete 20:40:50 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 20:40:50 Status: Downloaded newer image for alpine:3.12 20:40:50 ---> c4fd0aeabfcf 20:40:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:40:50 ---> Running in 0c4a222fe436 20:40:51 Removing intermediate container 0c4a222fe436 20:40:51 ---> a5a1388f4c71 20:40:51 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:40:51 ---> Running in c8da590e8f80 20:40:51 Removing intermediate container c8da590e8f80 20:40:51 ---> f48dbf3ae1f2 20:40:51 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:40:51 ---> Running in ed36d6c1035f 20:40:53 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:40:53 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:40:54 (1/6) Installing dumb-init (1.2.2-r1) 20:40:54 (2/6) Installing libgcc (9.3.0-r2) 20:40:54 (3/6) Installing libsodium (1.0.18-r0) 20:40:54 (4/6) Installing libstdc++ (9.3.0-r2) 20:40:54 (5/6) Installing libzmq (4.3.3-r0) 20:40:54 (6/6) Installing zeromq (4.3.3-r0) 20:40:54 Executing busybox-1.31.1-r20.trigger 20:40:54 OK: 8 MiB in 20 packages 20:40:55 Removing intermediate container ed36d6c1035f 20:40:55 ---> a62a7a8ed803 20:40:55 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:40:56 ---> 4ab0ccf9c07a 20:40:56 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:40:57 ---> 7b585cd1248e 20:40:57 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:40:58 ---> 9c7e944d9464 20:40:58 Step 20/25 : EXPOSE 59986 20:40:58 ---> Running in d9181c5d0753 20:40:59 Removing intermediate container d9181c5d0753 20:40:59 ---> ab4ef6f0929e 20:40:59 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:40:59 ---> Running in 51501663355d 20:40:59 Removing intermediate container 51501663355d 20:40:59 ---> 0fb553390039 20:40:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:40:59 ---> Running in 1a3c97445c5c 20:41:00 Removing intermediate container 1a3c97445c5c 20:41:00 ---> 70099e9691af 20:41:00 Step 23/25 : LABEL arch=arm64 20:41:00 ---> Running in f583a261c7fa 20:41:00 Removing intermediate container f583a261c7fa 20:41:01 ---> 1a222d06657f 20:41:01 Step 24/25 : LABEL git_sha=ac4b371315fba0b9546dc2a95c8393f838fbe7e4 20:41:01 ---> Running in 32f528e6acb8 20:41:01 Removing intermediate container 32f528e6acb8 20:41:01 ---> 25beac8ebeab 20:41:01 Step 25/25 : LABEL version=1.2.2-dev.22 20:41:01 ---> Running in 1008b2bc0c99 20:41:02 Removing intermediate container 1008b2bc0c99 20:41:02 ---> 867fb88a79fb 20:41:02 [Warning] One or more build-args [ARCH] were not consumed 20:41:02 Successfully built 867fb88a79fb 20:41:02 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 20:41:05 provisioning config files... 20:41:05 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/56@tmp/config779050074799022607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:05 ---> docker-login.sh 20:41:05 nexus3.edgexfoundry.org:10001 20:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:06 Configure a credential helper to remove this warning. See 20:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:06 20:41:06 Login Succeeded 20:41:06 nexus3.edgexfoundry.org:10002 20:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:06 Configure a credential helper to remove this warning. See 20:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:06 20:41:06 Login Succeeded 20:41:06 nexus3.edgexfoundry.org:10003 20:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:07 Configure a credential helper to remove this warning. See 20:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:07 20:41:07 Login Succeeded 20:41:07 nexus3.edgexfoundry.org:10004 20:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:07 Configure a credential helper to remove this warning. See 20:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:07 20:41:07 Login Succeeded 20:41:07 docker.io 20:41:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:08 Configure a credential helper to remove this warning. See 20:41:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:08 20:41:08 Login Succeeded 20:41:08 ---> docker-login.sh ends [Pipeline] } 20:41:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:41:08 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:41:08 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 20:41:08 latest 20:41:08 1.2.2-dev.22 20:41:08 ac4b371315fba0b9546dc2a95c8393f838fbe7e4-1.2.2-dev.22 20:41:08 master 20:41:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:41:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] isUnix [Pipeline] sh 20:41:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 20:41:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:41:09 ee878c8b7c11: Preparing 20:41:09 47ae7d1649e1: Preparing 20:41:09 acb96f0ba52d: Preparing 20:41:09 2004e1df9320: Preparing 20:41:09 3fbe34a1663b: Preparing 20:41:09 3fbe34a1663b: Layer already exists 20:41:09 47ae7d1649e1: Pushed 20:41:09 ee878c8b7c11: Pushed 20:41:10 2004e1df9320: Pushed 20:41:12 acb96f0ba52d: Pushed 20:41:13 ac4b371315fba0b9546dc2a95c8393f838fbe7e4: digest: sha256:6da844b56302ce091bb27bfa013f7adfe63e8bc0bbf15e6e93133dd4f85a9750 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:41:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:41:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:41:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:41:13 ee878c8b7c11: Preparing 20:41:13 47ae7d1649e1: Preparing 20:41:13 acb96f0ba52d: Preparing 20:41:13 2004e1df9320: Preparing 20:41:13 3fbe34a1663b: Preparing 20:41:14 47ae7d1649e1: Layer already exists 20:41:14 acb96f0ba52d: Layer already exists 20:41:14 3fbe34a1663b: Layer already exists 20:41:14 2004e1df9320: Layer already exists 20:41:14 ee878c8b7c11: Layer already exists 20:41:14 latest: digest: sha256:6da844b56302ce091bb27bfa013f7adfe63e8bc0bbf15e6e93133dd4f85a9750 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:41:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.22 [Pipeline] isUnix [Pipeline] sh 20:41:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.22 20:41:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:41:14 ee878c8b7c11: Preparing 20:41:14 47ae7d1649e1: Preparing 20:41:14 acb96f0ba52d: Preparing 20:41:14 2004e1df9320: Preparing 20:41:14 3fbe34a1663b: Preparing 20:41:15 47ae7d1649e1: Layer already exists 20:41:15 ee878c8b7c11: Layer already exists 20:41:15 3fbe34a1663b: Layer already exists 20:41:15 2004e1df9320: Layer already exists 20:41:15 acb96f0ba52d: Layer already exists 20:41:15 1.2.2-dev.22: digest: sha256:6da844b56302ce091bb27bfa013f7adfe63e8bc0bbf15e6e93133dd4f85a9750 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:41:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-1.2.2-dev.22 [Pipeline] isUnix [Pipeline] sh 20:41:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-1.2.2-dev.22 20:41:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:41:15 ee878c8b7c11: Preparing 20:41:15 47ae7d1649e1: Preparing 20:41:15 acb96f0ba52d: Preparing 20:41:15 2004e1df9320: Preparing 20:41:15 3fbe34a1663b: Preparing 20:41:16 ee878c8b7c11: Layer already exists 20:41:16 3fbe34a1663b: Layer already exists 20:41:16 2004e1df9320: Layer already exists 20:41:16 acb96f0ba52d: Layer already exists 20:41:16 47ae7d1649e1: Layer already exists 20:41:16 ac4b371315fba0b9546dc2a95c8393f838fbe7e4-1.2.2-dev.22: digest: sha256:6da844b56302ce091bb27bfa013f7adfe63e8bc0bbf15e6e93133dd4f85a9750 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:41:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 20:41:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 20:41:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:41:16 ee878c8b7c11: Preparing 20:41:16 47ae7d1649e1: Preparing 20:41:16 acb96f0ba52d: Preparing 20:41:16 2004e1df9320: Preparing 20:41:16 3fbe34a1663b: Preparing 20:41:17 ee878c8b7c11: Layer already exists 20:41:17 2004e1df9320: Layer already exists 20:41:17 3fbe34a1663b: Layer already exists 20:41:17 acb96f0ba52d: Layer already exists 20:41:17 47ae7d1649e1: Layer already exists 20:41:17 master: digest: sha256:6da844b56302ce091bb27bfa013f7adfe63e8bc0bbf15e6e93133dd4f85a9750 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:41:17 ===================================================== [Pipeline] echo 20:41:17 taggedImages: 20:41:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4 20:41:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:41:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.22 20:41:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ac4b371315fba0b9546dc2a95c8393f838fbe7e4-1.2.2-dev.22 20:41:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:41:17 ---> job-cost.sh 20:41:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-q0kd 20:42:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:43:41 lf-activate-venv(): INFO: Adding /tmp/venv-q0kd/bin to PATH 20:43:41 INFO: No Stack... 20:43:41 INFO: Retrieving Pricing Info for: v2-standard-4 20:43:41 INFO: Archiving Costs [Pipeline] sh 20:43:41 + cut -d, -f6 20:43:41 + cat /w/workspace/device-rest-go/56/archives/cost.csv [Pipeline] lock 20:43:41 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-56-stack-cost] 20:43:41 Resource [jenkins-edgexfoundry-device-rest-go-master-56-stack-cost] did not exist. Created. 20:43:41 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:43:42 /w/workspace/device-rest-go/56@tmp/durable-2418ab09/script.sh: 1: /w/workspace/device-rest-go/56@tmp/durable-2418ab09/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:43:42 + echo total: 0.18000000715255737 [Pipeline] stash 20:43:42 Warning: overwriting stash ‘stack-cost’ 20:43:42 Stashed 1 file(s) [Pipeline] } 20:43:42 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-56-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 20:43:43 provisioning config files... 20:43:43 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7318853508984623101tmp [Pipeline] { [Pipeline] sh 20:43:44 + set +x 20:43:44 + bash -s -- 20:43:44 + curl -s https://codecov.io/bash 20:43:44 20:43:44 _____ _ 20:43:44 / ____| | | 20:43:44 | | ___ __| | ___ ___ _____ __ 20:43:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:43:44 | |___| (_) | (_| | __/ (_| (_) \ V / 20:43:44 \_____\___/ \__,_|\___|\___\___/ \_/ 20:43:44 Bash-1.0.3 20:43:44 20:43:44 20:43:44 ==> git version 2.24.4 found 20:43:44 ==> 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 20:43:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:43:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:43:44 ==> Jenkins CI detected. 20:43:44 project root: . 20:43:44 --> token set from env 20:43:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:43:44 ==> Running gcov in . (disable via -X gcov) 20:43:44 ==> Python coveragepy not found 20:43:44 ==> Searching for coverage reports in: 20:43:44 + . 20:43:44 -> Found 1 reports 20:43:44 ==> Detecting git/mercurial file structure 20:43:44 ==> Reading reports 20:43:44 + ./coverage.out bytes=8513 20:43:44 ==> Appending adjustments 20:43:44 https://docs.codecov.io/docs/fixing-reports 20:43:44 + Found adjustments 20:43:44 ==> Gzipping contents 20:43:44 4.0K /tmp/codecov.NtfELe.gz 20:43:44 ==> Uploading reports 20:43:44 url: https://codecov.io 20:43:44 query: branch=master&commit=ac4b371315fba0b9546dc2a95c8393f838fbe7e4&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:43:44 -> Pinging Codecov 20:43:44 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=ac4b371315fba0b9546dc2a95c8393f838fbe7e4&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:43:44 -> Uploading to 20:43:44 https://storage.googleapis.com/codecov/v4/raw/2021-06-30/4E5D53B4F1F92C436F7061BF334D961C/ac4b371315fba0b9546dc2a95c8393f838fbe7e4/0c9b92f5-d906-4015-b373-58a838c52586.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210630T204344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10a3b4da9290b0a61959228213bf65a5206a620917e53dc23f9eff4170572121 20:43:44 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:44 Dload Upload Total Spent Left Speed 20:43:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1793 0 0 100 1793 0 3595 --:--:-- --:--:-- --:--:-- 3600 20:43:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] } 20:43:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:43:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:43:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:43:49 20:43:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:43:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:43:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:43:49 188c0c94c7c5: Pulling fs layer 20:43:49 0ef7d3d256c8: Pulling fs layer 20:43:49 de9db76c5a1d: Pulling fs layer 20:43:49 0eba1c9be4d2: Pulling fs layer 20:43:49 0d57e429df01: Pulling fs layer 20:43:49 4e4be7b47b0d: Pulling fs layer 20:43:49 e1f770b5df2f: Pulling fs layer 20:43:49 85a0685a4137: Pulling fs layer 20:43:49 0d57e429df01: Waiting 20:43:49 4e4be7b47b0d: Waiting 20:43:49 e1f770b5df2f: Waiting 20:43:49 0eba1c9be4d2: Waiting 20:43:49 85a0685a4137: Waiting 20:43:49 de9db76c5a1d: Verifying Checksum 20:43:49 de9db76c5a1d: Download complete 20:43:49 0ef7d3d256c8: Verifying Checksum 20:43:49 0ef7d3d256c8: Download complete 20:43:49 0d57e429df01: Verifying Checksum 20:43:49 0d57e429df01: Download complete 20:43:49 188c0c94c7c5: Verifying Checksum 20:43:49 188c0c94c7c5: Download complete 20:43:49 4e4be7b47b0d: Verifying Checksum 20:43:49 4e4be7b47b0d: Download complete 20:43:49 188c0c94c7c5: Pull complete 20:43:50 0ef7d3d256c8: Pull complete 20:43:50 de9db76c5a1d: Pull complete 20:43:51 e1f770b5df2f: Verifying Checksum 20:43:51 e1f770b5df2f: Download complete 20:43:53 0eba1c9be4d2: Verifying Checksum 20:43:53 0eba1c9be4d2: Download complete 20:43:53 85a0685a4137: Verifying Checksum 20:43:53 85a0685a4137: Download complete 20:43:57 0eba1c9be4d2: Pull complete 20:43:57 0d57e429df01: Pull complete 20:43:57 4e4be7b47b0d: Pull complete 20:43:57 e1f770b5df2f: Pull complete 20:44:00 85a0685a4137: Pull complete 20:44:00 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:44:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:44:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:44:00 prd-centos7-docker-4c-2g-1009 does not seem to be running inside a container 20:44:00 $ 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 20:44:03 $ docker top a4118c47c95fdeb91c66752d2eb54001f8be92414b839b2857892750c5b6a429 -eo pid,comm [Pipeline] { [Pipeline] echo 20:44:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:44:04 + set -o pipefail 20:44:04 + snyk monitor '--org=edgex-jenkins' 20:44:08 20:44:08 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 20:44:08 20:44:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/f888c885-0e3d-4dd4-9e84-ef680dd3af88 20:44:08 20:44:08 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:44:08 20:44:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:44:08 20:44:08 [Pipeline] } 20:44:08 $ docker stop --time=1 a4118c47c95fdeb91c66752d2eb54001f8be92414b839b2857892750c5b6a429 20:44:11 $ docker rm -f a4118c47c95fdeb91c66752d2eb54001f8be92414b839b2857892750c5b6a429 [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 20:44:12 + git log --format=format:%s -1 ac4b371315fba0b9546dc2a95c8393f838fbe7e4 [Pipeline] isUnix [Pipeline] sh 20:44:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:44:12 . [Pipeline] withDockerContainer 20:44:12 prd-centos7-docker-4c-2g-1009 does not seem to be running inside a container 20:44: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 20:44:12 $ docker top a4e6741dbcf851f6bc0299b4d46f27394eece34ad16fd6079b8c368bf1d536a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:44:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:44:13 [ssh-agent] Looking for ssh-agent implementation... 20:44:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:44:13 $ docker exec a4e6741dbcf851f6bc0299b4d46f27394eece34ad16fd6079b8c368bf1d536a3 ssh-agent 20:44:13 SSH_AUTH_SOCK=/tmp/ssh-mkiixDFn27r6/agent.14 20:44:13 SSH_AGENT_PID=20 20:44:13 Running ssh-add (command line suppressed) 20:44:13 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1171122349679748774.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1171122349679748774.key) 20:44:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:44:13 + git semver tag 20:44:13 # -> Open(): unable to determine branch for HEAD 20:44:13 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:44:13 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:44:13 # $SEMVER_REMOTE_NAME = origin 20:44:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:44:13 # $SEMVER_USER_NAME = edgex-jenkins 20:44:13 # $SEMVER_BRANCH = master 20:44:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 20:44:13 # ac4b371315fba0b9546dc2a95c8393f838fbe7e4 HEAD 20:44:13 # -> Force: false 20:44:13 # b52119ece566a25316e7e7fbad2aab7b8fd2580e refs/tags/v1.2.2-dev.22 [Pipeline] } 20:44:13 $ docker exec --env ******** --env ******** a4e6741dbcf851f6bc0299b4d46f27394eece34ad16fd6079b8c368bf1d536a3 ssh-agent -k 20:44:13 unset SSH_AUTH_SOCK; 20:44:13 unset SSH_AGENT_PID; 20:44:13 echo Agent pid 20 killed; 20:44:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:44:14 + git semver [Pipeline] } 20:44:14 $ docker stop --time=1 a4e6741dbcf851f6bc0299b4d46f27394eece34ad16fd6079b8c368bf1d536a3 20:44:15 $ docker rm -f a4e6741dbcf851f6bc0299b4d46f27394eece34ad16fd6079b8c368bf1d536a3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:44:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:44:15 20:44:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:44:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:44:16 0.23.1-centos7: Pulling from edgex-lftools 20:44:16 ab5ef0e58194: Pulling fs layer 20:44:16 9712f1f96733: Pulling fs layer 20:44:16 63f879dbbcfc: Pulling fs layer 20:44:16 0d9ebad4ef96: Pulling fs layer 20:44:16 e9a5061849ea: Pulling fs layer 20:44:16 d747dcd14b5f: Pulling fs layer 20:44:16 2de7ff778b66: Pulling fs layer 20:44:16 e9a5061849ea: Waiting 20:44:16 d747dcd14b5f: Waiting 20:44:16 2de7ff778b66: Waiting 20:44:16 0d9ebad4ef96: Waiting 20:44:16 9712f1f96733: Verifying Checksum 20:44:16 9712f1f96733: Download complete 20:44:17 63f879dbbcfc: Verifying Checksum 20:44:17 63f879dbbcfc: Download complete 20:44:17 e9a5061849ea: Verifying Checksum 20:44:17 e9a5061849ea: Download complete 20:44:17 d747dcd14b5f: Verifying Checksum 20:44:17 d747dcd14b5f: Download complete 20:44:18 2de7ff778b66: Verifying Checksum 20:44:18 2de7ff778b66: Download complete 20:44:18 0d9ebad4ef96: Verifying Checksum 20:44:18 0d9ebad4ef96: Download complete 20:44:18 ab5ef0e58194: Verifying Checksum 20:44:18 ab5ef0e58194: Download complete 20:44:21 ab5ef0e58194: Pull complete 20:44:21 9712f1f96733: Pull complete 20:44:22 63f879dbbcfc: Pull complete 20:44:25 0d9ebad4ef96: Pull complete 20:44:25 e9a5061849ea: Pull complete 20:44:25 d747dcd14b5f: Pull complete 20:44:26 2de7ff778b66: Pull complete 20:44:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:44:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:44:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:44:26 prd-centos7-docker-4c-2g-1009 does not seem to be running inside a container 20:44:26 $ 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 20:44:31 $ docker top ca19bf2b2a20d9e11f2ee86b3ccd94e998c6d75bcaf574fdabffb0f6889e7307 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:44:31 provisioning config files... 20:44:31 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1125649514430430275tmp 20:44:31 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2262603131675025764tmp 20:44:31 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3957658007009121567tmp [Pipeline] { [Pipeline] echo 20:44:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:44:32 ---> sigul-configuration.sh 20:44:32 gpg: directory `/root/.gnupg' created 20:44:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:44:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:44:32 gpg: keyring `/root/.gnupg/secring.gpg' created 20:44:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:44:32 gpg: CAST5 encrypted data 20:44:32 gpg: encrypted with 1 passphrase 20:44:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:44:32 + mkdir /home/jenkins 20:44:32 + mkdir /home/jenkins/sigul [Pipeline] sh 20:44:32 + 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 20:44:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:44:33 ---> sigul-install.sh 20:44:37 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 20:44:37 + git tag --list 20:44:37 v1.0.0 20:44:37 v1.1.0 20:44:37 v1.1.1 20:44:37 v1.1.2 20:44:37 v1.2.0 20:44:37 v1.2.1 20:44:37 v1.2.1-dev.1 20:44:37 v1.2.1-dev.2 20:44:37 v1.2.1-dev.3 20:44:37 v1.2.1-dev.4 20:44:37 v1.2.2-dev.1 20:44:37 v1.2.2-dev.10 20:44:37 v1.2.2-dev.11 20:44:37 v1.2.2-dev.12 20:44:37 v1.2.2-dev.13 20:44:37 v1.2.2-dev.14 20:44:37 v1.2.2-dev.15 20:44:37 v1.2.2-dev.16 20:44:37 v1.2.2-dev.17 20:44:37 v1.2.2-dev.18 20:44:37 v1.2.2-dev.19 20:44:37 v1.2.2-dev.2 20:44:37 v1.2.2-dev.20 20:44:37 v1.2.2-dev.21 20:44:37 v1.2.2-dev.22 20:44:37 v1.2.2-dev.3 20:44:37 v1.2.2-dev.4 20:44:37 v1.2.2-dev.5 20:44:37 v1.2.2-dev.6 20:44:37 v1.2.2-dev.7 20:44:37 v1.2.2-dev.8 20:44:37 v1.2.2-dev.9 [Pipeline] sh 20:44:38 + lftools sign git-tag v1.2.2-dev.22 20:44:38 Signing Git tag with Sigul... 20:44:38 Signing v1.2.2-dev.22 [Pipeline] echo 20:44:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:44:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:44:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:44:40 $ docker stop --time=1 ca19bf2b2a20d9e11f2ee86b3ccd94e998c6d75bcaf574fdabffb0f6889e7307 20:44:41 $ docker rm -f ca19bf2b2a20d9e11f2ee86b3ccd94e998c6d75bcaf574fdabffb0f6889e7307 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:44:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:44:42 . [Pipeline] withDockerContainer 20:44:42 prd-centos7-docker-4c-2g-1009 does not seem to be running inside a container 20:44:42 $ 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 20:44:42 $ docker top 16ebfdde4f31da6f67a76a30b183327b304bccb283323ff7d1c656376605c81a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:44:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:44:42 [ssh-agent] Looking for ssh-agent implementation... 20:44:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:44:42 $ docker exec 16ebfdde4f31da6f67a76a30b183327b304bccb283323ff7d1c656376605c81a ssh-agent 20:44:43 SSH_AUTH_SOCK=/tmp/ssh-TP2qXEmGgVyz/agent.17 20:44:43 SSH_AGENT_PID=24 20:44:43 Running ssh-add (command line suppressed) 20:44:43 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3436757782477347192.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3436757782477347192.key) 20:44:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:44:43 + git semver bump pre 20:44:43 # -> Open(): unable to determine branch for HEAD 20:44:43 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:44:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:44:43 # $SEMVER_REMOTE_NAME = origin 20:44:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:44:43 # $SEMVER_USER_NAME = edgex-jenkins 20:44:43 # $SEMVER_BRANCH = master 20:44:43 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 20:44:43 1.2.2-dev.23 [Pipeline] } 20:44:43 $ docker exec --env ******** --env ******** 16ebfdde4f31da6f67a76a30b183327b304bccb283323ff7d1c656376605c81a ssh-agent -k 20:44:43 unset SSH_AUTH_SOCK; 20:44:43 unset SSH_AGENT_PID; 20:44:43 echo Agent pid 24 killed; 20:44:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:44:43 + git semver [Pipeline] } 20:44:43 $ docker stop --time=1 16ebfdde4f31da6f67a76a30b183327b304bccb283323ff7d1c656376605c81a 20:44:45 $ docker rm -f 16ebfdde4f31da6f67a76a30b183327b304bccb283323ff7d1c656376605c81a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:44:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:44:45 . [Pipeline] withDockerContainer 20:44:45 prd-centos7-docker-4c-2g-1009 does not seem to be running inside a container 20:44:45 $ 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 20:44:46 $ docker top 791b6a8b1ae71212e9765ba6dd2f195c1882384fee053c058ac08a50602ec288 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:44:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:44:46 [ssh-agent] Looking for ssh-agent implementation... 20:44:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:44:46 $ docker exec 791b6a8b1ae71212e9765ba6dd2f195c1882384fee053c058ac08a50602ec288 ssh-agent 20:44:46 SSH_AUTH_SOCK=/tmp/ssh-krKVPMZFdENm/agent.14 20:44:46 SSH_AGENT_PID=20 20:44:46 Running ssh-add (command line suppressed) 20:44:46 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1489430951723326156.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1489430951723326156.key) 20:44:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:44:46 + git semver push 20:44:46 # -> Open(): unable to determine branch for HEAD 20:44:46 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:44:46 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:44:46 # $SEMVER_REMOTE_NAME = origin 20:44:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:44:46 # $SEMVER_USER_NAME = edgex-jenkins 20:44:46 # $SEMVER_BRANCH = master 20:44:46 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 20:44:52 $ docker exec --env ******** --env ******** 791b6a8b1ae71212e9765ba6dd2f195c1882384fee053c058ac08a50602ec288 ssh-agent -k 20:44:52 unset SSH_AUTH_SOCK; 20:44:52 unset SSH_AGENT_PID; 20:44:52 echo Agent pid 20 killed; 20:44:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:44:52 + git semver [Pipeline] } 20:44:52 $ docker stop --time=1 791b6a8b1ae71212e9765ba6dd2f195c1882384fee053c058ac08a50602ec288 20:44:53 $ docker rm -f 791b6a8b1ae71212e9765ba6dd2f195c1882384fee053c058ac08a50602ec288 [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 20:44:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:44:55 ---> package-listing.sh 20:44:55 ++ facter osfamily 20:44:55 ++ tr '[:upper:]' '[:lower:]' 20:44:55 + OS_FAMILY=redhat 20:44:55 + workspace=/w/workspace/gexfoundry_device-rest-go_master 20:44:55 + START_PACKAGES=/tmp/packages_start.txt 20:44:55 + END_PACKAGES=/tmp/packages_end.txt 20:44:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:44:55 + PACKAGES=/tmp/packages_start.txt 20:44:55 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 20:44:55 + PACKAGES=/tmp/packages_end.txt 20:44:55 + case "${OS_FAMILY}" in 20:44:55 + rpm -qa 20:44:55 + sort 20:44:56 + '[' -f /tmp/packages_start.txt ']' 20:44:56 + '[' -f /tmp/packages_end.txt ']' 20:44:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:44:56 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 20:44:56 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 20:44:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 20:44:56 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 20:44:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:44:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:44:57 20:44:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:44:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:44:57 alpine: Pulling from edgex-lftools-log-publisher 20:44:57 df20fa9351a1: Pulling fs layer 20:44:57 36b3adc4ff6f: Pulling fs layer 20:44:57 8ad3a11d3b57: Pulling fs layer 20:44:57 46f8f816bc3b: Pulling fs layer 20:44:57 93b61091891f: Pulling fs layer 20:44:57 93b9cdb0e59b: Pulling fs layer 20:44:57 5e14af77c1be: Pulling fs layer 20:44:57 01666e4c0597: Pulling fs layer 20:44:57 aa168da1d23b: Pulling fs layer 20:44:57 93b9cdb0e59b: Waiting 20:44:57 5e14af77c1be: Waiting 20:44:57 01666e4c0597: Waiting 20:44:57 aa168da1d23b: Waiting 20:44:57 46f8f816bc3b: Waiting 20:44:57 93b61091891f: Waiting 20:44:57 36b3adc4ff6f: Download complete 20:44:57 46f8f816bc3b: Verifying Checksum 20:44:57 46f8f816bc3b: Download complete 20:44:57 df20fa9351a1: Verifying Checksum 20:44:57 df20fa9351a1: Download complete 20:44:58 93b9cdb0e59b: Verifying Checksum 20:44:58 93b9cdb0e59b: Download complete 20:44:58 5e14af77c1be: Verifying Checksum 20:44:58 5e14af77c1be: Download complete 20:44:58 01666e4c0597: Verifying Checksum 20:44:58 01666e4c0597: Download complete 20:44:58 93b61091891f: Verifying Checksum 20:44:58 93b61091891f: Download complete 20:44:58 8ad3a11d3b57: Verifying Checksum 20:44:58 8ad3a11d3b57: Download complete 20:44:58 df20fa9351a1: Pull complete 20:44:58 36b3adc4ff6f: Pull complete 20:44:58 8ad3a11d3b57: Pull complete 20:44:58 46f8f816bc3b: Pull complete 20:44:58 93b61091891f: Pull complete 20:44:59 93b9cdb0e59b: Pull complete 20:44:59 5e14af77c1be: Pull complete 20:44:59 01666e4c0597: Pull complete 20:45:00 aa168da1d23b: Verifying Checksum 20:45:00 aa168da1d23b: Download complete 20:45:06 aa168da1d23b: Pull complete 20:45:06 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:45:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:45:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:45:06 prd-centos7-docker-4c-2g-1009 does not seem to be running inside a container 20:45:07 $ 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 20:45:09 $ docker top 0f6678e9cfce81945360c9d9bd653ee020ad4279fe8bc705b77d52c4662505af -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:10 + touch /tmp/pre-build-complete [Pipeline] sh 20:45:10 + mkdir -p /var/log/sa [Pipeline] sh 20:45:10 + ls /var/log/sa-host 20:45:10 + sadf -c /var/log/sa-host/sa05 20:45:10 file_magic: OK 20:45:10 HZ: Using current value: 100 20:45:10 file_header: OK 20:45:10 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 20:45:10 Statistics: 20:45:10 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:45:10 File successfully converted to sysstat format version 12.2.1 20:45:10 + sadf -c /var/log/sa-host/sa30 20:45:10 file_magic: OK 20:45:10 HZ: Using current value: 100 20:45:10 file_header: OK 20:45:10 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 20:45:10 Statistics: 20:45:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:45:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:11 provisioning config files... 20:45:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5961431481007142949tmp [Pipeline] { [Pipeline] echo 20:45:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:45:11 ---> create-netrc.sh [Pipeline] } 20:45:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:45:12 ---> python-tools-install.sh [Pipeline] echo 20:45:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:45:12 ---> sudo-logs.sh 20:45:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:45:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:45:13 ---> job-cost.sh 20:45:13 lf-activate-venv: SKIPPING 20:45:13 DEBUG: total: 0.18000000715255737 20:45:13 INFO: Retrieving Stack Cost... 20:45:13 INFO: Retrieving Pricing Info for: v3-standard-2 20:45:14 INFO: Archiving Costs [Pipeline] echo 20:45:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:45:14 ---> logs-deploy.sh 20:45:14 lf-activate-venv: SKIPPING 20:45:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/56 20:45:14 INFO: archiving workspace using pattern(s): 20:45:15 Archives upload complete. 20:45:15 INFO: archiving logs to Nexus 20:45:16 ---> uname -a: 20:45:16 Linux prd-centos7-docker-4c-2g-1009.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 20:45:16 20:45:16 20:45:16 ---> lscpu: 20:45:16 Architecture: x86_64 20:45:16 CPU op-mode(s): 32-bit, 64-bit 20:45:16 Byte Order: Little Endian 20:45:16 Address sizes: 40 bits physical, 48 bits virtual 20:45:16 CPU(s): 2 20:45:16 On-line CPU(s) list: 0,1 20:45:16 Thread(s) per core: 1 20:45:16 Core(s) per socket: 1 20:45:16 Socket(s): 2 20:45:16 NUMA node(s): 1 20:45:16 Vendor ID: AuthenticAMD 20:45:16 CPU family: 23 20:45:16 Model: 49 20:45:16 Model name: AMD EPYC-Rome Processor 20:45:16 Stepping: 0 20:45:16 CPU MHz: 2800.000 20:45:16 BogoMIPS: 5600.00 20:45:16 Virtualization: AMD-V 20:45:16 Hypervisor vendor: KVM 20:45:16 Virtualization type: full 20:45:16 L1d cache: 64 KiB 20:45:16 L1i cache: 64 KiB 20:45:16 L2 cache: 1 MiB 20:45:16 L3 cache: 32 MiB 20:45:16 NUMA node0 CPU(s): 0,1 20:45:16 Vulnerability Itlb multihit: Not affected 20:45:16 Vulnerability L1tf: Not affected 20:45:16 Vulnerability Mds: Not affected 20:45:16 Vulnerability Meltdown: Not affected 20:45:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:45:16 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:45:16 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:45:16 Vulnerability Srbds: Not affected 20:45:16 Vulnerability Tsx async abort: Not affected 20:45:16 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 20:45:16 20:45:16 20:45:16 ---> nproc: 20:45:16 2 20:45:16 20:45:16 20:45:16 ---> df -h: 20:45:16 Filesystem Size Used Available Use% Mounted on 20:45:16 overlay 40.0G 8.9G 31.1G 22% / 20:45:16 tmpfs 64.0M 0 64.0M 0% /dev 20:45:16 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 20:45:16 shm 64.0M 0 64.0M 0% /dev/shm 20:45:16 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 20:45:16 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 20:45:16 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 20:45:16 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 20:45:16 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master@tmp 20:45:16 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 20:45:16 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 20:45:16 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 20:45:16 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 20:45:16 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master 20:45:16 20:45:16 20:45:16 ---> free -m: 20:45:16 total used free shared buff/cache available 20:45:16 Mem: 7821 1163 3258 0 3399 6574 20:45:16 Swap: 1023 0 1023 20:45:16 20:45:16 20:45:16 ---> ip addr: 20:45:16 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:45:16 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:45:16 inet 127.0.0.1/8 scope host lo 20:45:16 valid_lft forever preferred_lft forever 20:45:16 inet6 ::1/128 scope host 20:45:16 valid_lft forever preferred_lft forever 20:45:16 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:45:16 link/ether fa:16:3e:99:6d:4b brd ff:ff:ff:ff:ff:ff 20:45:16 inet 10.30.122.147/23 brd 10.30.123.255 scope global dynamic eth0 20:45:16 valid_lft 85698sec preferred_lft 85698sec 20:45:16 inet6 fe80::f816:3eff:fe99:6d4b/64 scope link 20:45:16 valid_lft forever preferred_lft forever 20:45:16 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:45:16 link/ether 02:42:33:70:6a:0a brd ff:ff:ff:ff:ff:ff 20:45:16 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:45:16 valid_lft forever preferred_lft forever 20:45:16 inet6 fe80::42:33ff:fe70:6a0a/64 scope link 20:45:16 valid_lft forever preferred_lft forever 20:45:16 20:45:16 20:45:16 ---> sar -b -r -n DEV: 20:45:16 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/30/21 _x86_64_ (2 CPU) 20:45:16 20:45:16 20:33:24 LINUX RESTART (2 CPU) 20:45:16 20:45:16 20:34:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:45:16 20:35:01 83.76 4.08 79.68 0.00 2671.77 4122.83 0.00 20:45:16 20:36:01 0.38 0.00 0.38 0.00 0.00 5.96 0.00 20:45:16 20:37:01 0.18 0.00 0.18 0.00 0.00 2.28 0.00 20:45:16 20:38:01 0.23 0.00 0.23 0.00 0.00 3.61 0.00 20:45:16 20:39:01 0.23 0.00 0.23 0.00 0.00 2.90 0.00 20:45:16 20:40:01 0.33 0.00 0.33 0.00 0.00 4.70 0.00 20:45:16 20:41:01 0.22 0.00 0.22 0.00 0.00 2.70 0.00 20:45:16 20:42:01 0.20 0.00 0.20 0.00 0.00 1.63 0.00 20:45:16 20:43:01 0.32 0.00 0.32 0.00 0.00 3.27 0.00 20:45:16 20:44:01 32.42 0.03 32.39 0.00 3.73 11963.99 0.00 20:45:16 20:45:01 184.26 0.10 184.16 0.00 9.99 46777.72 0.00 20:45:16 Average: 27.51 0.38 27.13 0.00 244.17 5719.38 0.00 20:45:16 20:45:16 20:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:45:16 20:35:01 5458496 0 796200 9.94 2620 1751616 1265276 13.97 570996 1579776 20 20:45:16 20:36:01 5461644 0 793044 9.90 2620 1751624 1264832 13.96 568396 1579752 20 20:45:16 20:37:01 5465848 0 788836 9.85 2620 1751628 1230428 13.58 564176 1580144 16 20:45:16 20:38:01 5454580 0 800096 9.99 2620 1751636 1271180 14.03 574840 1580148 8 20:45:16 20:39:01 5452528 0 802144 10.02 2620 1751640 1283872 14.17 572356 1583984 20 20:45:16 20:40:01 5461020 0 793652 9.91 2620 1751640 1232004 13.60 565316 1583984 16 20:45:16 20:41:01 5465508 0 789156 9.85 2620 1751648 1199108 13.24 561656 1583984 8 20:45:16 20:42:01 5465124 0 789536 9.86 2620 1751652 1199108 13.24 562228 1583984 8 20:45:16 20:43:01 5454972 0 799684 9.98 2620 1751656 1199108 13.24 571988 1583984 8 20:45:16 20:44:01 4599964 0 936636 11.69 2620 2469712 1376196 15.19 673524 2239548 405752 20:45:16 20:45:01 3457800 0 1166840 14.57 2620 3381672 1758112 19.41 1068872 2822248 307476 20:45:16 Average: 5199771 0 841439 10.51 2620 1965102 1298111 14.33 623123 1754685 64850 20:45:16 20:45:16 20:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:45:16 20:35:01 eth0 309.76 261.47 813.50 54.70 0.00 0.00 0.00 0.00 20:45:16 20:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:35:01 docker0 46.26 27.21 3.81 133.28 0.00 0.00 0.00 0.00 20:45:16 20:36:01 eth0 1.92 0.55 0.67 0.36 0.00 0.00 0.00 0.00 20:45:16 20:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:37:01 eth0 2.83 0.57 0.73 0.40 0.00 0.00 0.00 0.00 20:45:16 20:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:38:01 eth0 3.51 2.20 0.74 14.65 0.00 0.00 0.00 0.00 20:45:16 20:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:39:01 eth0 1.38 1.15 0.40 8.64 0.00 0.00 0.00 0.00 20:45:16 20:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:40:01 eth0 0.62 0.38 0.34 0.55 0.00 0.00 0.00 0.00 20:45:16 20:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:41:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:45:16 20:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:42:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:45:16 20:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:43:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:45:16 20:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:44:01 eth0 412.01 382.42 4073.41 31.04 0.00 0.00 0.00 0.00 20:45:16 20:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:45:01 eth0 759.17 676.60 6083.09 146.34 0.00 0.00 0.00 0.00 20:45:16 20:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 20:45:01 docker0 105.58 111.71 7.73 658.59 0.00 0.00 0.00 0.00 20:45:16 Average: eth0 135.65 120.56 998.09 23.34 0.00 0.00 0.00 0.00 20:45:16 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:45:16 Average: docker0 13.81 12.63 1.05 72.00 0.00 0.00 0.00 0.00 20:45:16 20:45:16 20:45:16 ---> sar -P ALL: 20:45:16 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/30/21 _x86_64_ (2 CPU) 20:45:16 20:45:16 20:33:24 LINUX RESTART (2 CPU) 20:45:16 20:45:16 20:34:01 CPU %user %nice %system %iowait %steal %idle 20:45:16 20:35:01 all 6.19 0.00 2.52 1.98 0.06 89.25 20:45:16 20:35:01 0 5.87 0.00 2.92 2.75 0.07 88.39 20:45:16 20:35:01 1 6.52 0.00 2.12 1.21 0.05 90.10 20:45:16 20:36:01 all 0.10 0.00 0.04 0.00 0.03 99.82 20:45:16 20:36:01 0 0.18 0.00 0.07 0.00 0.05 99.70 20:45:16 20:36:01 1 0.02 0.00 0.02 0.00 0.02 99.95 20:45:16 20:37:01 all 0.15 0.00 0.04 0.00 0.03 99.77 20:45:16 20:37:01 0 0.17 0.00 0.05 0.00 0.02 99.77 20:45:16 20:37:01 1 0.13 0.00 0.03 0.00 0.05 99.78 20:45:16 20:38:01 all 0.19 0.00 0.05 0.00 0.03 99.73 20:45:16 20:38:01 0 0.20 0.00 0.07 0.00 0.05 99.68 20:45:16 20:38:01 1 0.18 0.00 0.03 0.00 0.00 99.78 20:45:16 20:39:01 all 0.13 0.00 0.09 0.00 0.03 99.74 20:45:16 20:39:01 0 0.18 0.00 0.15 0.00 0.05 99.62 20:45:16 20:39:01 1 0.08 0.00 0.03 0.00 0.02 99.87 20:45:16 20:40:01 all 0.10 0.00 0.03 0.00 0.04 99.83 20:45:16 20:40:01 0 0.03 0.00 0.03 0.00 0.05 99.88 20:45:16 20:40:01 1 0.17 0.00 0.02 0.00 0.03 99.78 20:45:16 20:41:01 all 0.07 0.00 0.02 0.00 0.03 99.88 20:45:16 20:41:01 0 0.05 0.00 0.02 0.00 0.05 99.88 20:45:16 20:41:01 1 0.08 0.00 0.02 0.00 0.02 99.88 20:45:16 20:42:01 all 0.04 0.00 0.03 0.00 0.03 99.90 20:45:16 20:42:01 0 0.07 0.00 0.02 0.00 0.05 99.87 20:45:16 20:42:01 1 0.02 0.00 0.05 0.00 0.00 99.93 20:45:16 20:43:01 all 0.06 0.00 0.03 0.00 0.03 99.88 20:45:16 20:43:01 0 0.03 0.00 0.02 0.00 0.03 99.92 20:45:16 20:43:01 1 0.08 0.00 0.03 0.00 0.03 99.85 20:45:16 20:44:01 all 7.35 0.00 3.17 0.41 0.04 89.03 20:45:16 20:44:01 0 7.57 0.00 3.49 0.44 0.05 88.45 20:45:16 20:44:01 1 7.14 0.00 2.84 0.37 0.03 89.61 20:45:16 20:45:01 all 20.58 0.00 9.03 4.35 0.11 65.93 20:45:16 20:45:01 0 17.61 0.00 9.45 5.23 0.11 67.60 20:45:16 20:45:01 1 23.55 0.00 8.60 3.48 0.11 64.26 20:45:16 20:45:16 Average: CPU %user %nice %system %iowait %steal %idle 20:45:16 Average: all 3.08 0.00 1.32 0.59 0.04 94.96 20:45:16 Average: 0 2.82 0.00 1.43 0.74 0.05 94.95 20:45:16 Average: 1 3.34 0.00 1.21 0.44 0.03 94.97 20:45:16 20:45:16 20:45:16