Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 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-ssh8213320272857474722.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh5841956154207972062.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh3869341086331674603.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh3845614029140527577.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-ssh1173301299140918754.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-905 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-ssh9103664509996031621.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 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 (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 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 # timeout=10 Commit message: "Merge pull request #110 from siggiskulason/fix-snap-v2" > git rev-list --no-walk e449f7094e73ba5d0241c87d9e59db3ba8d69b80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:25:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:25:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:25:26 ========================================================= 14:25:26 EdgeX Global Pipelines Version Info 14:25:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:25:27 ------------------- 14:25:27 stable info: 14:25:27 ------------------- 14:25:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:25:27 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 14:25:27 Message: update stable to v1.0.193 14:25:28 ------------------- 14:25:28 experimental info: 14:25:28 ------------------- 14:25:28 Commited By: **** collab-it+edgex@linuxfoundation.org 14:25:28 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 14:25:28 Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:25:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:25:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:25:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:25:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:25:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:25:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 14:25:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 14:25:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 14:25:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] echo 14:25:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5f0fcb [Pipeline] echo 14:25:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:25:29 provisioning config files... 14:25:29 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4188294233321302001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:29 ---> docker-login.sh 14:25:29 nexus3.edgexfoundry.org:10001 14:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:29 Configure a credential helper to remove this warning. See 14:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:29 14:25:29 Login Succeeded 14:25:29 nexus3.edgexfoundry.org:10002 14:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:29 Configure a credential helper to remove this warning. See 14:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:29 14:25:29 Login Succeeded 14:25:29 nexus3.edgexfoundry.org:10003 14:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:30 Configure a credential helper to remove this warning. See 14:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:30 14:25:30 Login Succeeded 14:25:30 nexus3.edgexfoundry.org:10004 14:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:30 Configure a credential helper to remove this warning. See 14:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:30 14:25:30 Login Succeeded 14:25:30 docker.io 14:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:30 Configure a credential helper to remove this warning. See 14:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:30 14:25:30 Login Succeeded 14:25:30 ---> docker-login.sh ends [Pipeline] } 14:25:30 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 14:25:31 + git log --format=format:%s -1 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] echo 14:25:31 GIT_COMMIT: a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54, Commit Message: Merge pull request #110 from siggiskulason/fix-snap-v2 [Pipeline] echo 14:25:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:25:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:25:31 14:25:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:25:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:25:32 latest: Pulling from edgex-devops/git-semver 14:25:32 31603596830f: Pulling fs layer 14:25:32 54011a49482f: Pulling fs layer 14:25:32 a6820b24f6d8: Pulling fs layer 14:25:32 f581987b2513: Pulling fs layer 14:25:32 f581987b2513: Waiting 14:25:32 54011a49482f: Verifying Checksum 14:25:32 54011a49482f: Download complete 14:25:32 31603596830f: Download complete 14:25:32 f581987b2513: Verifying Checksum 14:25:32 f581987b2513: Download complete 14:25:32 31603596830f: Pull complete 14:25:32 a6820b24f6d8: Verifying Checksum 14:25:32 a6820b24f6d8: Download complete 14:25:32 54011a49482f: Pull complete 14:25:33 a6820b24f6d8: Pull complete 14:25:33 f581987b2513: Pull complete 14:25:33 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 14:25:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:25:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:25:33 prd-centos7-docker-4c-2g-905 does not seem to be running inside a container 14:25:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:25:34 $ docker top 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:25:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:25:35 [ssh-agent] Looking for ssh-agent implementation... 14:25:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:25:35 $ docker exec 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 ssh-agent 14:25:35 SSH_AUTH_SOCK=/tmp/ssh-FviQC9pgpBC2/agent.14 14:25:35 SSH_AGENT_PID=20 14:25:35 Running ssh-add (command line suppressed) 14:25:35 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2112299213367200117.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2112299213367200117.key) 14:25:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:25:35 + git tag --points-at HEAD [Pipeline] } 14:25:35 $ docker exec --env ******** --env ******** 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 ssh-agent -k 14:25:35 unset SSH_AUTH_SOCK; 14:25:35 unset SSH_AGENT_PID; 14:25:35 echo Agent pid 20 killed; 14:25:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:25:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:25:35 [ssh-agent] Looking for ssh-agent implementation... 14:25:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:25:35 $ docker exec 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 ssh-agent 14:25:36 SSH_AUTH_SOCK=/tmp/ssh-kjVNNENzSIu8/agent.55 14:25:36 SSH_AGENT_PID=62 14:25:36 Running ssh-add (command line suppressed) 14:25:36 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2983617414936008359.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2983617414936008359.key) 14:25:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:25:36 + git semver init 14:25:36 # -> Open(): unable to determine branch for HEAD 14:25:36 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 14:25:36 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 14:25:36 # $SEMVER_REMOTE_NAME = origin 14:25:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:25:36 # $SEMVER_USER_NAME = edgex-jenkins 14:25:36 # $SEMVER_BRANCH = master 14:25:36 # $SEMVER_TEMP = /tmp/semver-422360449 14:25:36 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 14:25:37 # '/tmp/semver-422360449' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 14:25:37 # -> Force: false 14:25:37 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 14:25:37 $ docker exec --env ******** --env ******** 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 ssh-agent -k 14:25:37 unset SSH_AUTH_SOCK; 14:25:37 unset SSH_AGENT_PID; 14:25:37 echo Agent pid 62 killed; 14:25:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:25:37 + git semver [Pipeline] } 14:25:37 $ docker stop --time=1 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 14:25:39 $ docker rm -f 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 [Pipeline] // withDockerContainer [Pipeline] sh 14:25:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:25:40 Stashed 1 file(s) [Pipeline] echo 14:25:40 [edgeXSemver]: initialized semver on version 1.2.2-dev.16 [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 14:25:55 Still waiting to schedule task 14:25:55 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:25:55 Still waiting to schedule task 14:25:55 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:27:29 Running on prd-centos7-docker-4c-2g-909 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 14:27:29 Running in /w/workspace/device-rest-go/49 [Pipeline] { [Pipeline] checkout 14:27:29 The recommended git tool is: git 14:27:32 using credential edgex-jenkins-ssh 14:27:32 Cloning the remote Git repository 14:27:32 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:27:32 > git init /w/workspace/device-rest-go/49 # timeout=10 14:27:32 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:27:32 > git --version # timeout=10 14:27:32 > git --version # 'git version 2.24.4' 14:27:32 using GIT_SSH to set credentials SSH Credentials for GitHub 14:27:32 [INFO] Currently running in a labeled security context 14:27:32 [INFO] Currently SELinux is 'enforcing' on the host 14:27:32 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/49@tmp/jenkins-gitclient-ssh3558632305021297867.key 14:27:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:27:33 Avoid second fetch 14:27:33 Checking out Revision a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 (master) 14:27:33 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:27:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:27:33 > git config core.sparsecheckout # timeout=10 14:27:33 > git checkout -f a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 # timeout=10 14:27:37 Commit message: "Merge pull request #110 from siggiskulason/fix-snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:27:38 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 14:27:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:27:38 + sudo service docker restart 14:27:38 + true 14:27:38 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:27:57 provisioning config files... 14:27:57 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/49@tmp/config1754616085074181060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:27:57 ---> docker-login.sh 14:27:57 nexus3.edgexfoundry.org:10001 14:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:57 Configure a credential helper to remove this warning. See 14:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:57 14:27:57 Login Succeeded 14:27:57 nexus3.edgexfoundry.org:10002 14:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:58 Configure a credential helper to remove this warning. See 14:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:58 14:27:58 Login Succeeded 14:27:58 nexus3.edgexfoundry.org:10003 14:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:58 Configure a credential helper to remove this warning. See 14:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:58 14:27:58 Login Succeeded 14:27:58 nexus3.edgexfoundry.org:10004 14:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:58 Configure a credential helper to remove this warning. See 14:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:58 14:27:58 Login Succeeded 14:27:58 docker.io 14:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:58 Configure a credential helper to remove this warning. See 14:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:58 14:27:58 Login Succeeded 14:27:58 ---> docker-login.sh ends [Pipeline] } 14:27:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:27:59 ========================================================= 14:27:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:27:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:27:59 + 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 . 14:27:59 Sending build context to Docker daemon 92.16kB 14:27:59 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 14:27:59 Step 2/10 : FROM ${BASE} 14:27:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 14:27:59 540db60ca938: Pulling fs layer 14:27:59 adcc1eea9eea: Pulling fs layer 14:27:59 4c4ab2625f07: Pulling fs layer 14:27:59 0510c868ecb4: Pulling fs layer 14:27:59 afea3b2eda06: Pulling fs layer 14:27:59 7809a108b3ef: Pulling fs layer 14:27:59 f706445af74f: Pulling fs layer 14:27:59 afea3b2eda06: Waiting 14:27:59 7809a108b3ef: Waiting 14:27:59 f706445af74f: Waiting 14:27:59 0510c868ecb4: Waiting 14:27:59 4c4ab2625f07: Verifying Checksum 14:27:59 4c4ab2625f07: Download complete 14:27:59 adcc1eea9eea: Verifying Checksum 14:27:59 adcc1eea9eea: Download complete 14:27:59 afea3b2eda06: Verifying Checksum 14:27:59 afea3b2eda06: Download complete 14:27:59 7809a108b3ef: Verifying Checksum 14:27:59 7809a108b3ef: Download complete 14:27:59 540db60ca938: Verifying Checksum 14:27:59 540db60ca938: Download complete 14:27:59 540db60ca938: Pull complete 14:28:00 adcc1eea9eea: Pull complete 14:28:00 4c4ab2625f07: Pull complete 14:28:01 f706445af74f: Verifying Checksum 14:28:01 f706445af74f: Download complete 14:28:02 0510c868ecb4: Verifying Checksum 14:28:02 0510c868ecb4: Download complete 14:28:07 0510c868ecb4: Pull complete 14:28:07 afea3b2eda06: Pull complete 14:28:07 7809a108b3ef: Pull complete 14:28:08 f706445af74f: Pull complete 14:28:08 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 14:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:28:08 ---> b068be0155e3 14:28:08 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:28:18 ---> Running in acb6adcdf6fe 14:28:18 Removing intermediate container acb6adcdf6fe 14:28:18 ---> a80741978153 14:28:18 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 14:28:18 ---> Running in 2f9615a3d9dd 14:28:18 Removing intermediate container 2f9615a3d9dd 14:28:18 ---> 76a532266953 14:28:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:28:18 ---> Running in 09eee36fa5df 14:28:18 Removing intermediate container 09eee36fa5df 14:28:18 ---> 664af6e45f30 14:28:18 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:28:18 ---> Running in 1a51c9c23d0f 14:28:19 Removing intermediate container 1a51c9c23d0f 14:28:19 ---> 653c4c61679e 14:28:19 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:28:19 ---> Running in ccd1818ec7f4 14:28:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 14:28:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 14:28:21 (1/9) Installing libc-dev (0.7.2-r3) 14:28:21 (2/9) Installing libsodium (1.0.18-r0) 14:28:21 (3/9) Installing pkgconf (1.7.3-r0) 14:28:21 (4/9) Installing libsodium-dev (1.0.18-r0) 14:28:21 (5/9) Installing openssh-keygen (8.4_p1-r3) 14:28:21 (6/9) Installing libedit (20191231.3.1-r1) 14:28:21 (7/9) Installing openssh-client (8.4_p1-r3) 14:28:21 (8/9) Installing libzmq (4.3.3-r1) 14:28:21 (9/9) Installing zeromq-dev (4.3.3-r1) 14:28:21 Executing busybox-1.32.1-r6.trigger 14:28:21 OK: 154 MiB in 49 packages 14:28:22 Removing intermediate container ccd1818ec7f4 14:28:22 ---> f07bce55b9d2 14:28:22 Step 8/10 : WORKDIR /device-rest-go 14:28:22 ---> Running in ad1f3a93797f 14:28:22 Removing intermediate container ad1f3a93797f 14:28:22 ---> 6d9ef81e49e4 14:28:22 Step 9/10 : COPY . . 14:28:23 ---> a1279e5a95cc 14:28:23 Step 10/10 : RUN go mod download 14:28:23 ---> Running in 253569f2f6b9 14:28:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-911 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 14:28:41 Running in /w/workspace/device-rest-go/49 [Pipeline] { [Pipeline] checkout 14:28:41 The recommended git tool is: git 14:28:45 Removing intermediate container 253569f2f6b9 14:28:45 ---> 111c5400b362 14:28:45 Successfully built 111c5400b362 14:28:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:28:45 + docker inspect -f . ci-base-image-x86_64 14:28:45 . [Pipeline] withDockerContainer 14:28:45 prd-centos7-docker-4c-2g-909 does not seem to be running inside a container 14:28:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/49 -v /w/workspace/device-rest-go/49:/w/workspace/device-rest-go/49:rw,z -v /w/workspace/device-rest-go/49@tmp:/w/workspace/device-rest-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:28:46 $ docker top 961aaec8c0976aff82e89a5491259aeb37ed26b900c3f97b30af025a37100d88 -eo pid,comm [Pipeline] { [Pipeline] sh 14:28:46 using credential edgex-jenkins-ssh 14:28:46 Cloning the remote Git repository 14:28:46 + go version 14:28:46 go version go1.16.3 linux/amd64 [Pipeline] } 14:28:46 $ docker stop --time=1 961aaec8c0976aff82e89a5491259aeb37ed26b900c3f97b30af025a37100d88 14:28:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:28:46 > git init /w/workspace/device-rest-go/49 # timeout=10 14:28:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:28:46 > git --version # timeout=10 14:28:46 > git --version # 'git version 2.17.1' 14:28:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:28:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:28:48 $ docker rm -f 961aaec8c0976aff82e89a5491259aeb37ed26b900c3f97b30af025a37100d88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:28:48 + docker inspect -f . ci-base-image-x86_64 14:28:48 . [Pipeline] withDockerContainer 14:28:48 prd-centos7-docker-4c-2g-909 does not seem to be running inside a container 14:28:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/49 -v /w/workspace/device-rest-go/49:/w/workspace/device-rest-go/49:rw,z -v /w/workspace/device-rest-go/49@tmp:/w/workspace/device-rest-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:28:48 Avoid second fetch 14:28:48 Checking out Revision a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 (master) 14:28:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:28:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:28:48 > git config core.sparsecheckout # timeout=10 14:28:48 > git checkout -f a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 # timeout=10 14:28:49 $ docker top e757e588133b500215a0ec263a8b2f4166a03931e8d203ad1d825173066d2e93 -eo pid,comm [Pipeline] { [Pipeline] sh 14:28:49 + go mod tidy [Pipeline] sh 14:28:50 + make test 14:28:50 go mod tidy 14:28:50 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:28:50 ? github.com/edgexfoundry/device-rest-go [no test files] 14:28:53 Commit message: "Merge pull request #110 from siggiskulason/fix-snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:28:54 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 14:28:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 14:28:55 + true 14:28:55 + sudo service docker restart 14:29:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:29:08 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 54.0% of statements 14:29:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:29:13 provisioning config files... 14:29:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/49@tmp/config5624909493547871811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:29:14 ---> docker-login.sh 14:29:14 nexus3.edgexfoundry.org:10001 14:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:15 Configure a credential helper to remove this warning. See 14:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:15 14:29:15 Login Succeeded 14:29:15 nexus3.edgexfoundry.org:10002 14:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:15 gofmt -l . 14:29:15 [ "`gofmt -l .`" = "" ] 14:29:15 ./bin/test-go-mod-tidy.sh 14:29:15 ./bin/test-attribution-txt.sh 14:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:15 Configure a credential helper to remove this warning. See 14:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:15 14:29:15 Login Succeeded 14:29:15 nexus3.edgexfoundry.org:10003 14:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:16 Configure a credential helper to remove this warning. See 14:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:16 14:29:16 Login Succeeded 14:29:16 nexus3.edgexfoundry.org:10004 [Pipeline] } 14:29:16 $ docker stop --time=1 e757e588133b500215a0ec263a8b2f4166a03931e8d203ad1d825173066d2e93 14:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:16 Configure a credential helper to remove this warning. See 14:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:16 14:29:16 Login Succeeded 14:29:16 docker.io 14:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:17 Configure a credential helper to remove this warning. See 14:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:17 14:29:17 Login Succeeded 14:29:17 ---> docker-login.sh ends 14:29:20 $ docker rm -f e757e588133b500215a0ec263a8b2f4166a03931e8d203ad1d825173066d2e93 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 14:29:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 14:29:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo 14:29:21 ========================================================= 14:29:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 14:29:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:29:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 14:29:21 + 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 . 14:29:21 Sending build context to Docker daemon 92.16kB 14:29:21 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 14:29:21 Step 2/10 : FROM ${BASE} [Pipeline] sh 14:29:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:29:22 595b0fe564bb: Pulling fs layer 14:29:22 7186ed65a4f7: Pulling fs layer 14:29:22 316046926c0a: Pulling fs layer 14:29:22 4ebd0625c992: Pulling fs layer 14:29:22 207e8628e3a3: Pulling fs layer 14:29:22 c791037a9be2: Pulling fs layer 14:29:22 ffd874e62e21: Pulling fs layer 14:29:22 4ebd0625c992: Waiting 14:29:22 207e8628e3a3: Waiting 14:29:22 ffd874e62e21: Waiting 14:29:22 c791037a9be2: Waiting 14:29:22 316046926c0a: Verifying Checksum 14:29:22 316046926c0a: Download complete 14:29:22 7186ed65a4f7: Verifying Checksum 14:29:22 7186ed65a4f7: Download complete 14:29:22 207e8628e3a3: Verifying Checksum 14:29:22 207e8628e3a3: Download complete 14:29:22 c791037a9be2: Download complete 14:29:22 595b0fe564bb: Verifying Checksum 14:29:22 595b0fe564bb: Download complete 14:29:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:29:22 + ls -al . 14:29:22 total 104 14:29:22 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 8 14:29 . 14:29:22 drwxrwxr-x. 4 jenkins jenkins 30 Jun 8 14:27 .. 14:29:22 -rw-rw-r--. 1 jenkins jenkins 6792 Jun 8 14:27 Attribution.txt 14:29:22 drwxrwxr-x. 2 jenkins jenkins 64 Jun 8 14:27 bin 14:29:22 drwxrwxr-x. 3 jenkins jenkins 32 Jun 8 14:27 cmd 14:29:22 -rw-r--r--. 1 jenkins jenkins 8513 Jun 8 14:29 coverage.out 14:29:22 -rw-rw-r--. 1 jenkins jenkins 1615 Jun 8 14:27 Dockerfile 14:29:22 -rw-rw-r--. 1 jenkins jenkins 1087 Jun 8 14:27 Dockerfile.build 14:29:22 -rw-rw-r--. 1 jenkins jenkins 151 Jun 8 14:27 .dockerignore 14:29:22 drwxrwxr-x. 2 jenkins jenkins 76 Jun 8 14:27 driver 14:29:22 drwxrwxr-x. 8 jenkins jenkins 162 Jun 8 14:27 .git 14:29:22 drwxrwxr-x. 2 jenkins jenkins 103 Jun 8 14:27 .github 14:29:22 -rw-rw-r--. 1 jenkins jenkins 336 Jun 8 14:27 .gitignore 14:29:22 -rw-r--r--. 1 jenkins jenkins 285 Jun 8 14:29 go.mod 14:29:22 -rw-r--r--. 1 jenkins jenkins 20755 Jun 8 14:28 go.sum 14:29:22 -rw-rw-r--. 1 jenkins jenkins 680 Jun 8 14:27 Jenkinsfile 14:29:22 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 8 14:27 LICENSE 14:29:22 -rw-rw-r--. 1 jenkins jenkins 996 Jun 8 14:27 Makefile 14:29:22 -rw-rw-r--. 1 jenkins jenkins 7667 Jun 8 14:27 README.md 14:29:22 drwxrwxr-x. 4 jenkins jenkins 71 Jun 8 14:27 snap 14:29:22 -rw-rw-r--. 1 jenkins jenkins 12 Jun 8 14:25 VERSION 14:29:22 -rw-rw-r--. 1 jenkins jenkins 713 Jun 8 14:27 version.go [Pipeline] isUnix [Pipeline] sh 14:29:23 + 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=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 --label arch=amd64 --label version=1.2.2-dev.16 . 14:29:23 Sending build context to Docker daemon 101.9kB 14:29:23 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 14:29:23 Step 2/25 : FROM ${BASE} AS builder 14:29:23 ---> 111c5400b362 14:29:23 Step 3/25 : ARG MAKE='make build' 14:29:23 ---> Running in 0f39fc08e069 14:29:23 595b0fe564bb: Pull complete 14:29:23 Removing intermediate container 0f39fc08e069 14:29:23 ---> 6e9fa29ae50c 14:29:23 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:29:23 ---> Running in be09020953fd 14:29:23 Removing intermediate container be09020953fd 14:29:23 ---> cef520a0d88a 14:29:23 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:29:23 ---> Running in 8682b221e67a 14:29:23 7186ed65a4f7: Pull complete 14:29:23 Removing intermediate container 8682b221e67a 14:29:23 ---> 90ccdaf5688e 14:29:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:29:23 ---> Running in 7694a1ddff36 14:29:23 Removing intermediate container 7694a1ddff36 14:29:23 ---> 5b65068eae84 14:29:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:29:24 316046926c0a: Pull complete 14:29:24 ---> Running in c1b0f772569c 14:29:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 14:29:24 ffd874e62e21: Verifying Checksum 14:29:24 ffd874e62e21: Download complete 14:29:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 14:29:25 4ebd0625c992: Verifying Checksum 14:29:25 4ebd0625c992: Download complete 14:29:26 OK: 154 MiB in 49 packages 14:29:26 Removing intermediate container c1b0f772569c 14:29:26 ---> a11f63db4d21 14:29:26 Step 8/25 : WORKDIR /device-rest-go 14:29:26 ---> Running in e09523cc68a8 14:29:26 Removing intermediate container e09523cc68a8 14:29:26 ---> 472640bf67d6 14:29:26 Step 9/25 : COPY . . 14:29:27 ---> 7366fa0555aa 14:29:27 Step 10/25 : RUN go mod tidy 14:29:27 ---> Running in 9bbeb8921785 14:29:28 Removing intermediate container 9bbeb8921785 14:29:28 ---> e5a9329b45a7 14:29:28 Step 11/25 : RUN make update 14:29:28 ---> Running in 41aa59c075fd 14:29:28 CGO_ENABLED=0 GO111MODULE=on go mod download 14:29:28 Removing intermediate container 41aa59c075fd 14:29:28 ---> 384162fd3940 14:29:28 Step 12/25 : RUN $MAKE 14:29:28 ---> Running in 02923ed94c7b 14:29:29 go mod tidy 14:29:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.16" -o cmd/device-rest ./cmd 14:29:35 4ebd0625c992: Pull complete 14:29:36 207e8628e3a3: Pull complete 14:29:36 c791037a9be2: Pull complete 14:29:40 ffd874e62e21: Pull complete 14:29:40 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 14:29:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:29:40 ---> cfc18b08335c 14:29:40 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:29:41 ---> Running in 9b07c380a96a 14:29:41 Removing intermediate container 02923ed94c7b 14:29:41 ---> 34c4c2d9f10e 14:29:41 Step 13/25 : FROM alpine:3.12 14:29:41 Removing intermediate container 9b07c380a96a 14:29:41 ---> 3fe551b38709 14:29:41 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 14:29:41 3.12: Pulling from library/alpine 14:29:41 ---> Running in c07217f569fe 14:29:41 339de151aab4: Pulling fs layer 14:29:42 Removing intermediate container c07217f569fe 14:29:42 ---> e75fbb054588 14:29:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:29:42 339de151aab4: Verifying Checksum 14:29:42 339de151aab4: Download complete 14:29:42 339de151aab4: Pull complete 14:29:42 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 14:29:42 Status: Downloaded newer image for alpine:3.12 14:29:42 ---> 13621d1b12d4 14:29:42 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:29:42 ---> Running in 32a8e81e47bd 14:29:42 ---> Running in b5bf2dc0c434 14:29:42 Removing intermediate container 32a8e81e47bd 14:29:42 ---> e2001edeab53 14:29:42 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:29:42 ---> Running in 795e838bbfac 14:29:42 Removing intermediate container 795e838bbfac 14:29:42 ---> f8255a3b0b87 14:29:42 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:29:42 ---> Running in 2afb9ced688a 14:29:42 Removing intermediate container b5bf2dc0c434 14:29:42 ---> 0e98713f9668 14:29:42 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:29:43 ---> Running in f48fa12ef84f 14:29:43 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:29:43 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:29:43 (1/6) Installing dumb-init (1.2.2-r1) 14:29:43 (2/6) Installing libgcc (9.3.0-r2) 14:29:43 (3/6) Installing libsodium (1.0.18-r0) 14:29:43 (4/6) Installing libstdc++ (9.3.0-r2) 14:29:43 (5/6) Installing libzmq (4.3.3-r0) 14:29:43 (6/6) Installing zeromq (4.3.3-r0) 14:29:43 Executing busybox-1.31.1-r20.trigger 14:29:43 OK: 8 MiB in 20 packages 14:29:43 Removing intermediate container 2afb9ced688a 14:29:43 ---> 501dfe6771ee 14:29:43 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:29:44 ---> 9f0f82e2057a 14:29:44 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:29:44 ---> 6ab7fca28633 14:29:44 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:29:44 ---> 218550e315bf 14:29:44 Step 20/25 : EXPOSE 59986 14:29:45 ---> Running in 01a056781313 14:29:45 Removing intermediate container 01a056781313 14:29:45 ---> a38219d6a4a8 14:29:45 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:29:45 ---> Running in cb74cf3f9884 14:29:45 Removing intermediate container cb74cf3f9884 14:29:45 ---> 4154eb5fb16e 14:29:45 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:29:45 ---> Running in 6592ea9fea46 14:29:45 Removing intermediate container f48fa12ef84f 14:29:45 ---> ab107e65f7ca 14:29:45 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:29:45 ---> Running in c5306bb97e0c 14:29:45 Removing intermediate container 6592ea9fea46 14:29:45 ---> 9247fe7a141f 14:29:45 Step 23/25 : LABEL arch=amd64 14:29:45 ---> Running in 2e065e8dc59c 14:29:46 Removing intermediate container 2e065e8dc59c 14:29:46 ---> 9f4b51bd2400 14:29:46 Step 24/25 : LABEL git_sha=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 14:29:46 ---> Running in 5cebd0ea4a3c 14:29:46 Removing intermediate container 5cebd0ea4a3c 14:29:46 ---> 8d6e8c101e9d 14:29:46 Step 25/25 : LABEL version=1.2.2-dev.16 14:29:46 ---> Running in c11a14be4577 14:29:46 Removing intermediate container c11a14be4577 14:29:46 ---> d99ac64d2e5c 14:29:46 [Warning] One or more build-args [ARCH] were not consumed 14:29:46 Successfully built d99ac64d2e5c 14:29:46 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { 14:29:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] configFileProvider 14:29:46 provisioning config files... 14:29:46 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/49@tmp/config6209906787965096094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:29:47 ---> docker-login.sh 14:29:47 nexus3.edgexfoundry.org:10001 14:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:47 Configure a credential helper to remove this warning. See 14:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:47 14:29:47 Login Succeeded 14:29:47 nexus3.edgexfoundry.org:10002 14:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:47 Configure a credential helper to remove this warning. See 14:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:47 14:29:47 Login Succeeded 14:29:47 nexus3.edgexfoundry.org:10003 14:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:47 Configure a credential helper to remove this warning. See 14:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:47 14:29:47 Login Succeeded 14:29:47 nexus3.edgexfoundry.org:10004 14:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:47 Configure a credential helper to remove this warning. See 14:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:47 14:29:47 Login Succeeded 14:29:47 docker.io 14:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 14:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:47 Configure a credential helper to remove this warning. See 14:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:47 14:29:47 Login Succeeded 14:29:47 ---> docker-login.sh ends [Pipeline] } 14:29:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:29:47 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 14:29:47 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 14:29:47 latest 14:29:47 1.2.2-dev.16 14:29:47 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 14:29:47 master 14:29:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:29:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] isUnix [Pipeline] sh 14:29:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 14:29:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:29:48 b5cfd2826a00: Preparing 14:29:48 18ddf2d465fe: Preparing 14:29:48 40c8b587de17: Preparing 14:29:48 c163477b1f0f: Preparing 14:29:48 32f366d666a5: Preparing 14:29:48 32f366d666a5: Layer already exists 14:29:48 (1/9) Installing libc-dev (0.7.2-r3) 14:29:48 (2/9) Installing libsodium (1.0.18-r0) 14:29:48 18ddf2d465fe: Pushed 14:29:48 b5cfd2826a00: Pushed 14:29:48 c163477b1f0f: Pushed 14:29:49 (3/9) Installing pkgconf (1.7.3-r0) 14:29:49 (4/9) Installing libsodium-dev (1.0.18-r0) 14:29:49 (5/9) Installing openssh-keygen (8.4_p1-r3) 14:29:49 (6/9) Installing libedit (20191231.3.1-r1) 14:29:49 40c8b587de17: Pushed 14:29:49 (7/9) Installing openssh-client (8.4_p1-r3) 14:29:50 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54: digest: sha256:f0f0aac37c5937eb8d28982592f13b30362ab9e2c70bf855e7a98dd7712701ba size: 1365 [Pipeline] isUnix [Pipeline] sh 14:29:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 14:29:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 14:29:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:29:50 b5cfd2826a00: Preparing 14:29:50 18ddf2d465fe: Preparing 14:29:50 40c8b587de17: Preparing 14:29:50 c163477b1f0f: Preparing 14:29:50 32f366d666a5: Preparing 14:29:50 32f366d666a5: Layer already exists 14:29:50 18ddf2d465fe: Layer already exists 14:29:50 b5cfd2826a00: Layer already exists 14:29:50 40c8b587de17: Layer already exists 14:29:50 c163477b1f0f: Layer already exists 14:29:50 latest: digest: sha256:f0f0aac37c5937eb8d28982592f13b30362ab9e2c70bf855e7a98dd7712701ba size: 1365 [Pipeline] isUnix [Pipeline] sh 14:29:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.16 [Pipeline] isUnix [Pipeline] sh 14:29:51 (8/9) Installing libzmq (4.3.3-r1) 14:29:51 (9/9) Installing zeromq-dev (4.3.3-r1) 14:29:51 Executing busybox-1.32.1-r6.trigger 14:29:51 OK: 144 MiB in 49 packages 14:29:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.16 14:29:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:29:51 b5cfd2826a00: Preparing 14:29:51 18ddf2d465fe: Preparing 14:29:51 40c8b587de17: Preparing 14:29:51 c163477b1f0f: Preparing 14:29:51 32f366d666a5: Preparing 14:29:51 b5cfd2826a00: Layer already exists 14:29:51 c163477b1f0f: Layer already exists 14:29:51 40c8b587de17: Layer already exists 14:29:51 32f366d666a5: Layer already exists 14:29:51 18ddf2d465fe: Layer already exists 14:29:51 1.2.2-dev.16: digest: sha256:f0f0aac37c5937eb8d28982592f13b30362ab9e2c70bf855e7a98dd7712701ba size: 1365 [Pipeline] isUnix [Pipeline] sh 14:29:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 [Pipeline] isUnix [Pipeline] sh 14:29:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 14:29:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:29:51 b5cfd2826a00: Preparing 14:29:51 18ddf2d465fe: Preparing 14:29:51 40c8b587de17: Preparing 14:29:51 c163477b1f0f: Preparing 14:29:51 32f366d666a5: Preparing 14:29:51 32f366d666a5: Layer already exists 14:29:51 b5cfd2826a00: Layer already exists 14:29:51 40c8b587de17: Layer already exists 14:29:51 c163477b1f0f: Layer already exists 14:29:51 18ddf2d465fe: Layer already exists 14:29:51 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16: digest: sha256:f0f0aac37c5937eb8d28982592f13b30362ab9e2c70bf855e7a98dd7712701ba size: 1365 [Pipeline] isUnix [Pipeline] sh 14:29:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 14:29:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 14:29:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:29:52 b5cfd2826a00: Preparing 14:29:52 18ddf2d465fe: Preparing 14:29:52 40c8b587de17: Preparing 14:29:52 c163477b1f0f: Preparing 14:29:52 32f366d666a5: Preparing 14:29:52 40c8b587de17: Layer already exists 14:29:52 b5cfd2826a00: Layer already exists 14:29:52 32f366d666a5: Layer already exists 14:29:52 18ddf2d465fe: Layer already exists 14:29:52 c163477b1f0f: Layer already exists 14:29:52 master: digest: sha256:f0f0aac37c5937eb8d28982592f13b30362ab9e2c70bf855e7a98dd7712701ba size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:29:52 ===================================================== [Pipeline] echo 14:29:52 taggedImages: 14:29:52 - nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 14:29:52 - nexus3.edgexfoundry.org:10004/device-rest:latest 14:29:52 - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.16 14:29:52 - nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 14:29:52 - nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 14:29:52 Removing intermediate container c5306bb97e0c 14:29:52 ---> 375fa30b8c3e 14:29:52 Step 8/10 : WORKDIR /device-rest-go 14:29:52 ---> Running in 055ffd34b9db Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 14:29:53 ---> job-cost.sh 14:29:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UKVO 14:29:53 Removing intermediate container 055ffd34b9db 14:29:53 ---> 179f8b6a3260 14:29:53 Step 9/10 : COPY . . 14:29:54 ---> e574476935af 14:29:54 Step 10/10 : RUN go mod download 14:29:54 ---> Running in b7425f1ccb64 14:30:03 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 14:30:18 lf-activate-venv(): INFO: Adding /tmp/venv-UKVO/bin to PATH 14:30:18 INFO: No Stack... 14:30:19 INFO: Retrieving Pricing Info for: v3-standard-2 14:30:19 INFO: Archiving Costs [Pipeline] sh 14:30:19 + cat /w/workspace/device-rest-go/49/archives/cost.csv 14:30:19 + cut -d, -f6 [Pipeline] lock 14:30:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] 14:30:19 Resource [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] did not exist. Created. 14:30:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:30:19 + echo total: 0.05999999865889549 [Pipeline] stash 14:30:20 Stashed 1 file(s) [Pipeline] } 14:30:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:30:21 Removing intermediate container b7425f1ccb64 14:30:21 ---> b6a0988645c4 14:30:21 Successfully built b6a0988645c4 14:30:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:30:21 + docker inspect -f . ci-base-image-arm64 14:30:21 . [Pipeline] withDockerContainer 14:30:21 prd-ubuntu18.04-docker-arm64-4c-16g-911 does not seem to be running inside a container 14:30:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/49 -v /w/workspace/device-rest-go/49:/w/workspace/device-rest-go/49:rw,z -v /w/workspace/device-rest-go/49@tmp:/w/workspace/device-rest-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:30:23 $ docker top 588c20a9ec4b27c17a50dbd3fc109e1fa3b55400b565d80e489e7f9e1b79a780 -eo pid,comm [Pipeline] { [Pipeline] sh 14:30:24 + go version 14:30:24 go version go1.16.3 linux/arm64 [Pipeline] } 14:30:24 $ docker stop --time=1 588c20a9ec4b27c17a50dbd3fc109e1fa3b55400b565d80e489e7f9e1b79a780 14:30:26 $ docker rm -f 588c20a9ec4b27c17a50dbd3fc109e1fa3b55400b565d80e489e7f9e1b79a780 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:30:26 + docker inspect -f . ci-base-image-arm64 14:30:26 . [Pipeline] withDockerContainer 14:30:26 prd-ubuntu18.04-docker-arm64-4c-16g-911 does not seem to be running inside a container 14:30:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/49 -v /w/workspace/device-rest-go/49:/w/workspace/device-rest-go/49:rw,z -v /w/workspace/device-rest-go/49@tmp:/w/workspace/device-rest-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:30:28 $ docker top 9c97540bc9a3aee892601d5b01d6a16a08365acaff083ae8ea122fbd2af5803e -eo pid,comm [Pipeline] { [Pipeline] sh 14:30:29 + go mod tidy [Pipeline] sh 14:30:30 + make test 14:30:30 go mod tidy 14:30:31 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:30:32 ? github.com/edgexfoundry/device-rest-go [no test files] 14:31:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:31:29 ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 54.0% of statements 14:31:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:31:51 gofmt -l . 14:31:51 [ "`gofmt -l .`" = "" ] 14:31:51 ./bin/test-go-mod-tidy.sh 14:31:51 ./bin/test-attribution-txt.sh [Pipeline] } 14:31:51 $ docker stop --time=1 9c97540bc9a3aee892601d5b01d6a16a08365acaff083ae8ea122fbd2af5803e 14:31:53 $ docker rm -f 9c97540bc9a3aee892601d5b01d6a16a08365acaff083ae8ea122fbd2af5803e [Pipeline] // withDockerContainer [Pipeline] sh 14:31:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:31:54 Warning: overwriting stash ‘coverage-report’ 14:31:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:31:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:31:55 + ls -al . 14:31:55 total 132 14:31:55 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 14:31 . 14:31:55 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:28 .. 14:31:55 -rw-rw-r-- 1 jenkins jenkins 151 Jun 8 14:28 .dockerignore 14:31:55 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 14:28 .git 14:31:55 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:28 .github 14:31:55 -rw-rw-r-- 1 jenkins jenkins 336 Jun 8 14:28 .gitignore 14:31:55 -rw-rw-r-- 1 jenkins jenkins 6792 Jun 8 14:28 Attribution.txt 14:31:55 -rw-rw-r-- 1 jenkins jenkins 1615 Jun 8 14:28 Dockerfile 14:31:55 -rw-rw-r-- 1 jenkins jenkins 1087 Jun 8 14:28 Dockerfile.build 14:31:55 -rw-rw-r-- 1 jenkins jenkins 680 Jun 8 14:28 Jenkinsfile 14:31:55 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 14:28 LICENSE 14:31:55 -rw-rw-r-- 1 jenkins jenkins 996 Jun 8 14:28 Makefile 14:31:55 -rw-rw-r-- 1 jenkins jenkins 7667 Jun 8 14:28 README.md 14:31:55 -rw-rw-r-- 1 jenkins jenkins 12 Jun 8 14:25 VERSION 14:31:55 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:28 bin 14:31:55 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 14:28 cmd 14:31:55 -rw-r--r-- 1 jenkins jenkins 8513 Jun 8 14:31 coverage.out 14:31:55 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:28 driver 14:31:55 -rw-r--r-- 1 jenkins jenkins 285 Jun 8 14:31 go.mod 14:31:55 -rw-r--r-- 1 jenkins jenkins 20755 Jun 8 14:30 go.sum 14:31:55 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:28 snap 14:31:55 -rw-rw-r-- 1 jenkins jenkins 713 Jun 8 14:28 version.go [Pipeline] isUnix [Pipeline] sh 14:31:55 + 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=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 --label arch=arm64 --label version=1.2.2-dev.16 . 14:31:55 Sending build context to Docker daemon 101.9kB 14:31:56 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 14:31:56 Step 2/25 : FROM ${BASE} AS builder 14:31:56 ---> b6a0988645c4 14:31:56 Step 3/25 : ARG MAKE='make build' 14:31:56 ---> Running in b07258a39f80 14:31:57 Removing intermediate container b07258a39f80 14:31:57 ---> 895ab19bed22 14:31:57 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:31:57 ---> Running in 28d3023ccbea 14:31:57 Removing intermediate container 28d3023ccbea 14:31:57 ---> 80b512decfd3 14:31:57 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:31:57 ---> Running in 240449b94d41 14:31:58 Removing intermediate container 240449b94d41 14:31:58 ---> 6f598bc7664e 14:31:58 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:31:58 ---> Running in aee821caa46d 14:32:00 Removing intermediate container aee821caa46d 14:32:00 ---> 91dcb5f467fe 14:32:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:32:00 ---> Running in 9dcd049a82e6 14:32:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 14:32:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 14:32:03 OK: 144 MiB in 49 packages 14:32:04 Removing intermediate container 9dcd049a82e6 14:32:04 ---> 1beaf12e0e42 14:32:04 Step 8/25 : WORKDIR /device-rest-go 14:32:04 ---> Running in 5f7bc17adefb 14:32:05 Removing intermediate container 5f7bc17adefb 14:32:05 ---> 66a7112673e9 14:32:05 Step 9/25 : COPY . . 14:32:06 ---> 3d24df3f4b9b 14:32:06 Step 10/25 : RUN go mod tidy 14:32:06 ---> Running in 9a3cee81e271 14:32:08 Removing intermediate container 9a3cee81e271 14:32:08 ---> 54bd2700d5c9 14:32:08 Step 11/25 : RUN make update 14:32:09 ---> Running in ee92b53652e2 14:32:10 CGO_ENABLED=0 GO111MODULE=on go mod download 14:32:11 Removing intermediate container ee92b53652e2 14:32:11 ---> a16e58a45a16 14:32:11 Step 12/25 : RUN $MAKE 14:32:11 ---> Running in e8e0acaaa879 14:32:12 go mod tidy 14:32:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.16" -o cmd/device-rest ./cmd 14:32:52 Removing intermediate container e8e0acaaa879 14:32:52 ---> 0a13dfb09883 14:32:52 Step 13/25 : FROM alpine:3.12 14:32:52 3.12: Pulling from library/alpine 14:32:52 d2f70382dc9a: Pulling fs layer 14:32:52 d2f70382dc9a: Verifying Checksum 14:32:52 d2f70382dc9a: Download complete 14:32:52 d2f70382dc9a: Pull complete 14:32:52 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 14:32:52 Status: Downloaded newer image for alpine:3.12 14:32:52 ---> 9852663dfa18 14:32:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:32:52 ---> Running in d1218ec184a0 14:32:52 Removing intermediate container d1218ec184a0 14:32:52 ---> a374fb4c263d 14:32:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:32:52 ---> Running in 591c18b8f1b8 14:32:52 Removing intermediate container 591c18b8f1b8 14:32:52 ---> 710a9c39f325 14:32:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:32:52 ---> Running in 82c92559019c 14:32:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:32:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:32:52 (1/6) Installing dumb-init (1.2.2-r1) 14:32:52 (2/6) Installing libgcc (9.3.0-r2) 14:32:52 (3/6) Installing libsodium (1.0.18-r0) 14:32:52 (4/6) Installing libstdc++ (9.3.0-r2) 14:32:52 (5/6) Installing libzmq (4.3.3-r0) 14:32:52 (6/6) Installing zeromq (4.3.3-r0) 14:32:52 Executing busybox-1.31.1-r20.trigger 14:32:52 OK: 8 MiB in 20 packages 14:32:53 Removing intermediate container 82c92559019c 14:32:53 ---> 1b87fd43a98e 14:32:53 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:32:54 ---> e452c3fff6aa 14:32:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:32:55 ---> a5d7dace367f 14:32:55 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:32:56 ---> b2cdb50c8de0 14:32:56 Step 20/25 : EXPOSE 59986 14:32:56 ---> Running in b33e805a3af0 14:32:56 Removing intermediate container b33e805a3af0 14:32:56 ---> 0c648a2fd9ce 14:32:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:32:56 ---> Running in e07a6fbed9b0 14:32:57 Removing intermediate container e07a6fbed9b0 14:32:57 ---> 47c1d43edb1c 14:32:57 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:32:57 ---> Running in 592a464bb425 14:32:57 Removing intermediate container 592a464bb425 14:32:57 ---> f5860c66d28e 14:32:57 Step 23/25 : LABEL arch=arm64 14:32:57 ---> Running in ebf5f7033409 14:32:58 Removing intermediate container ebf5f7033409 14:32:58 ---> 578eaa8b4397 14:32:58 Step 24/25 : LABEL git_sha=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 14:32:58 ---> Running in b6980b628b6a 14:32:59 Removing intermediate container b6980b628b6a 14:32:59 ---> 7c7774b10548 14:32:59 Step 25/25 : LABEL version=1.2.2-dev.16 14:32:59 ---> Running in 59265899a3fe 14:32:59 Removing intermediate container 59265899a3fe 14:32:59 ---> 465e36aa0384 14:32:59 [Warning] One or more build-args [ARCH] were not consumed 14:32:59 Successfully built 465e36aa0384 14:32:59 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 14:33:00 provisioning config files... 14:33:00 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/49@tmp/config4958052108505955159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:33:00 ---> docker-login.sh 14:33:00 nexus3.edgexfoundry.org:10001 14:33:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:33:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:33:00 Configure a credential helper to remove this warning. See 14:33:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:33:00 14:33:00 Login Succeeded 14:33:00 nexus3.edgexfoundry.org:10002 14:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:33:01 Configure a credential helper to remove this warning. See 14:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:33:01 14:33:01 Login Succeeded 14:33:01 nexus3.edgexfoundry.org:10003 14:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:33:01 Configure a credential helper to remove this warning. See 14:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:33:01 14:33:01 Login Succeeded 14:33:01 nexus3.edgexfoundry.org:10004 14:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:33:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:33:02 Configure a credential helper to remove this warning. See 14:33:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:33:02 14:33:02 Login Succeeded 14:33:02 docker.io 14:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:33:03 Configure a credential helper to remove this warning. See 14:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:33:03 14:33:03 Login Succeeded 14:33:03 ---> docker-login.sh ends [Pipeline] } 14:33:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:33:03 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 14:33:03 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 14:33:03 latest 14:33:03 1.2.2-dev.16 14:33:03 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 14:33:03 master 14:33:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:33:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] isUnix [Pipeline] sh 14:33:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 14:33:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:33:04 d640df09f22b: Preparing 14:33:04 86b5815abe07: Preparing 14:33:04 00265a1ca081: Preparing 14:33:04 9b7336ab76b8: Preparing 14:33:04 3fbe34a1663b: Preparing 14:33:04 3fbe34a1663b: Layer already exists 14:33:04 d640df09f22b: Pushed 14:33:04 86b5815abe07: Pushed 14:33:05 9b7336ab76b8: Pushed 14:33:07 00265a1ca081: Pushed 14:33:07 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54: digest: sha256:680b0b44837511136949b251129c1c70c4c2331295dfd2d8c9ec6f0ff8f9c501 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:33:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:33:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:33:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:33:08 d640df09f22b: Preparing 14:33:08 86b5815abe07: Preparing 14:33:08 00265a1ca081: Preparing 14:33:08 9b7336ab76b8: Preparing 14:33:08 3fbe34a1663b: Preparing 14:33:08 86b5815abe07: Layer already exists 14:33:08 d640df09f22b: Layer already exists 14:33:08 3fbe34a1663b: Layer already exists 14:33:08 00265a1ca081: Layer already exists 14:33:08 9b7336ab76b8: Layer already exists 14:33:08 latest: digest: sha256:680b0b44837511136949b251129c1c70c4c2331295dfd2d8c9ec6f0ff8f9c501 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:33:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.16 [Pipeline] isUnix [Pipeline] sh 14:33:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.16 14:33:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:33:09 d640df09f22b: Preparing 14:33:09 86b5815abe07: Preparing 14:33:09 00265a1ca081: Preparing 14:33:09 9b7336ab76b8: Preparing 14:33:09 3fbe34a1663b: Preparing 14:33:09 9b7336ab76b8: Layer already exists 14:33:09 00265a1ca081: Layer already exists 14:33:09 d640df09f22b: Layer already exists 14:33:09 3fbe34a1663b: Layer already exists 14:33:09 86b5815abe07: Layer already exists 14:33:09 1.2.2-dev.16: digest: sha256:680b0b44837511136949b251129c1c70c4c2331295dfd2d8c9ec6f0ff8f9c501 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:33:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 [Pipeline] isUnix [Pipeline] sh 14:33:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 14:33:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:33:10 d640df09f22b: Preparing 14:33:10 86b5815abe07: Preparing 14:33:10 00265a1ca081: Preparing 14:33:10 9b7336ab76b8: Preparing 14:33:10 3fbe34a1663b: Preparing 14:33:10 9b7336ab76b8: Layer already exists 14:33:10 d640df09f22b: Layer already exists 14:33:10 00265a1ca081: Layer already exists 14:33:10 3fbe34a1663b: Layer already exists 14:33:10 86b5815abe07: Layer already exists 14:33:10 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16: digest: sha256:680b0b44837511136949b251129c1c70c4c2331295dfd2d8c9ec6f0ff8f9c501 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:33:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 14:33:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 14:33:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:33:11 d640df09f22b: Preparing 14:33:11 86b5815abe07: Preparing 14:33:11 00265a1ca081: Preparing 14:33:11 9b7336ab76b8: Preparing 14:33:11 3fbe34a1663b: Preparing 14:33:11 9b7336ab76b8: Layer already exists 14:33:11 d640df09f22b: Layer already exists 14:33:11 3fbe34a1663b: Layer already exists 14:33:11 00265a1ca081: Layer already exists 14:33:11 86b5815abe07: Layer already exists 14:33:11 master: digest: sha256:680b0b44837511136949b251129c1c70c4c2331295dfd2d8c9ec6f0ff8f9c501 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:33:11 ===================================================== [Pipeline] echo 14:33:11 taggedImages: 14:33:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 14:33:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:33:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.16 14:33:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 14:33:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 14:33:12 ---> job-cost.sh 14:33:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o9Tb 14:33:51 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 14:35:12 lf-activate-venv(): INFO: Adding /tmp/venv-o9Tb/bin to PATH 14:35:12 INFO: No Stack... 14:35:12 INFO: Retrieving Pricing Info for: v2-standard-4 14:35:12 INFO: Archiving Costs [Pipeline] sh 14:35:13 + + catcut /w/workspace/device-rest-go/49/archives/cost.csv -d, 14:35:13 -f6 [Pipeline] lock 14:35:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] 14:35:13 Resource [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] did not exist. Created. 14:35:13 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:35:13 /w/workspace/device-rest-go/49@tmp/durable-b94891cd/script.sh: 1: /w/workspace/device-rest-go/49@tmp/durable-b94891cd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:35:14 + echo total: 0.18000000715255737 [Pipeline] stash 14:35:14 Warning: overwriting stash ‘stack-cost’ 14:35:14 Stashed 1 file(s) [Pipeline] } 14:35:14 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-49-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 14:35:14 provisioning config files... 14:35:14 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7142671721707671623tmp [Pipeline] { [Pipeline] sh 14:35:15 + set +x 14:35:15 + bash -s -- 14:35:15 + curl -s https://codecov.io/bash 14:35:15 14:35:15 _____ _ 14:35:15 / ____| | | 14:35:15 | | ___ __| | ___ ___ _____ __ 14:35:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:35:15 | |___| (_) | (_| | __/ (_| (_) \ V / 14:35:15 \_____\___/ \__,_|\___|\___\___/ \_/ 14:35:15 Bash-1.0.3 14:35:15 14:35:15 14:35:15 ==> git version 2.24.4 found 14:35:15 ==> 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 14:35:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 14:35:15 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 14:35:15 ==> Jenkins CI detected. 14:35:15 project root: . 14:35:15 --> token set from env 14:35:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:35:15 ==> Running gcov in . (disable via -X gcov) 14:35:15 ==> Python coveragepy not found 14:35:15 ==> Searching for coverage reports in: 14:35:15 + . 14:35:15 -> Found 1 reports 14:35:15 ==> Detecting git/mercurial file structure 14:35:15 ==> Reading reports 14:35:15 + ./coverage.out bytes=8513 14:35:15 ==> Appending adjustments 14:35:15 https://docs.codecov.io/docs/fixing-reports 14:35:15 + Found adjustments 14:35:15 ==> Gzipping contents 14:35:15 4.0K /tmp/codecov.dGdcif.gz 14:35:15 ==> Uploading reports 14:35:15 url: https://codecov.io 14:35:15 query: branch=master&commit=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:35:15 -> Pinging Codecov 14:35:15 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:35:16 -> Uploading to 14:35:16 https://storage.googleapis.com/codecov/v4/raw/2021-06-08/4E5D53B4F1F92C436F7061BF334D961C/a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54/9410fe2f-674d-4e46-91cd-a9d67ccddc58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210608T143515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b90d6254e4407eda33d38a42248b62862d6ccb9dc0cd9ebee9c1c348a0d5851c 14:35:16 % Total % Received % Xferd Average Speed Time Time Time Current 14:35:16 Dload Upload Total Spent Left Speed 14:35:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 5142 --:--:-- --:--:-- --:--:-- 5146 14:35:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] } 14:35:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:35:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:35:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:35:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:35:16 14:35:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:35:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:35:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:35:17 188c0c94c7c5: Pulling fs layer 14:35:17 0ef7d3d256c8: Pulling fs layer 14:35:17 de9db76c5a1d: Pulling fs layer 14:35:17 0eba1c9be4d2: Pulling fs layer 14:35:17 0d57e429df01: Pulling fs layer 14:35:17 4e4be7b47b0d: Pulling fs layer 14:35:17 e1f770b5df2f: Pulling fs layer 14:35:17 85a0685a4137: Pulling fs layer 14:35:17 0d57e429df01: Waiting 14:35:17 4e4be7b47b0d: Waiting 14:35:17 e1f770b5df2f: Waiting 14:35:17 85a0685a4137: Waiting 14:35:17 0eba1c9be4d2: Waiting 14:35:17 de9db76c5a1d: Verifying Checksum 14:35:17 de9db76c5a1d: Download complete 14:35:17 0ef7d3d256c8: Verifying Checksum 14:35:17 0ef7d3d256c8: Download complete 14:35:17 0d57e429df01: Verifying Checksum 14:35:17 0d57e429df01: Download complete 14:35:17 4e4be7b47b0d: Verifying Checksum 14:35:17 4e4be7b47b0d: Download complete 14:35:17 188c0c94c7c5: Verifying Checksum 14:35:17 188c0c94c7c5: Download complete 14:35:17 188c0c94c7c5: Pull complete 14:35:17 0ef7d3d256c8: Pull complete 14:35:17 de9db76c5a1d: Pull complete 14:35:18 e1f770b5df2f: Verifying Checksum 14:35:18 e1f770b5df2f: Download complete 14:35:20 0eba1c9be4d2: Verifying Checksum 14:35:20 0eba1c9be4d2: Download complete 14:35:20 85a0685a4137: Verifying Checksum 14:35:20 85a0685a4137: Download complete 14:35:22 0eba1c9be4d2: Pull complete 14:35:23 0d57e429df01: Pull complete 14:35:23 4e4be7b47b0d: Pull complete 14:35:23 e1f770b5df2f: Pull complete 14:35:27 85a0685a4137: Pull complete 14:35:27 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:35:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:35:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:35:27 prd-centos7-docker-4c-2g-905 does not seem to be running inside a container 14:35:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:35:31 $ docker top 7769e464e0e841c7de6d48e086d69207b3c4c26bee4a77adf66e0ec7de0a8afa -eo pid,comm [Pipeline] { [Pipeline] echo 14:35:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:35:31 + set -o pipefail 14:35:31 + snyk monitor '--org=edgex-jenkins' 14:35:39 14:35:39 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 14:35:39 14:35:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/6c87a580-e5b6-43b7-9a24-aae877f5c6b0 14:35:39 14:35:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:35:39 14:35:39 [Pipeline] } 14:35:39 $ docker stop --time=1 7769e464e0e841c7de6d48e086d69207b3c4c26bee4a77adf66e0ec7de0a8afa 14:35:42 $ docker rm -f 7769e464e0e841c7de6d48e086d69207b3c4c26bee4a77adf66e0ec7de0a8afa [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 14:35:44 + git log --format=format:%s -1 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] isUnix [Pipeline] sh 14:35:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:35:44 . [Pipeline] withDockerContainer 14:35:44 prd-centos7-docker-4c-2g-905 does not seem to be running inside a container 14:35:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:35:44 $ docker top d1acf7369c1373ef04eaa76c7c2f8cfc0f41ab50fa7e313ad05f6b3da4fcae15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:35:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:35:44 [ssh-agent] Looking for ssh-agent implementation... 14:35:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:35:45 $ docker exec d1acf7369c1373ef04eaa76c7c2f8cfc0f41ab50fa7e313ad05f6b3da4fcae15 ssh-agent 14:35:45 SSH_AUTH_SOCK=/tmp/ssh-UDgpZk71Fkz5/agent.14 14:35:45 SSH_AGENT_PID=21 14:35:45 Running ssh-add (command line suppressed) 14:35:45 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4520627807581354793.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4520627807581354793.key) 14:35:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:35:45 + git semver tag 14:35:45 # -> Open(): unable to determine branch for HEAD 14:35:45 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 14:35:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 14:35:45 # $SEMVER_REMOTE_NAME = origin 14:35:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:35:45 # $SEMVER_USER_NAME = edgex-jenkins 14:35:45 # $SEMVER_BRANCH = master 14:35:45 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 14:35:45 # a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 HEAD 14:35:45 # -> Force: false 14:35:45 # 19466a2ce71e3c642007e9c2803be9bbf2666ecb refs/tags/v1.2.2-dev.16 [Pipeline] } 14:35:45 $ docker exec --env ******** --env ******** d1acf7369c1373ef04eaa76c7c2f8cfc0f41ab50fa7e313ad05f6b3da4fcae15 ssh-agent -k 14:35:45 unset SSH_AUTH_SOCK; 14:35:45 unset SSH_AGENT_PID; 14:35:45 echo Agent pid 21 killed; 14:35:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:35:46 + git semver [Pipeline] } 14:35:46 $ docker stop --time=1 d1acf7369c1373ef04eaa76c7c2f8cfc0f41ab50fa7e313ad05f6b3da4fcae15 14:35:47 $ docker rm -f d1acf7369c1373ef04eaa76c7c2f8cfc0f41ab50fa7e313ad05f6b3da4fcae15 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:35:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:35:47 14:35:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:35:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:35:48 0.23.1-centos7: Pulling from edgex-lftools 14:35:48 ab5ef0e58194: Pulling fs layer 14:35:48 9712f1f96733: Pulling fs layer 14:35:48 63f879dbbcfc: Pulling fs layer 14:35:48 0d9ebad4ef96: Pulling fs layer 14:35:48 e9a5061849ea: Pulling fs layer 14:35:48 d747dcd14b5f: Pulling fs layer 14:35:48 2de7ff778b66: Pulling fs layer 14:35:48 0d9ebad4ef96: Waiting 14:35:48 e9a5061849ea: Waiting 14:35:48 d747dcd14b5f: Waiting 14:35:48 2de7ff778b66: Waiting 14:35:48 9712f1f96733: Verifying Checksum 14:35:48 9712f1f96733: Download complete 14:35:49 63f879dbbcfc: Verifying Checksum 14:35:49 63f879dbbcfc: Download complete 14:35:49 e9a5061849ea: Verifying Checksum 14:35:49 e9a5061849ea: Download complete 14:35:49 d747dcd14b5f: Verifying Checksum 14:35:49 d747dcd14b5f: Download complete 14:35:49 2de7ff778b66: Verifying Checksum 14:35:49 2de7ff778b66: Download complete 14:35:49 0d9ebad4ef96: Verifying Checksum 14:35:49 0d9ebad4ef96: Download complete 14:35:50 ab5ef0e58194: Verifying Checksum 14:35:50 ab5ef0e58194: Download complete 14:35:52 ab5ef0e58194: Pull complete 14:35:53 9712f1f96733: Pull complete 14:35:53 63f879dbbcfc: Pull complete 14:35:57 0d9ebad4ef96: Pull complete 14:35:57 e9a5061849ea: Pull complete 14:35:57 d747dcd14b5f: Pull complete 14:35:58 2de7ff778b66: Pull complete 14:35:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:35:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:35:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:35:58 prd-centos7-docker-4c-2g-905 does not seem to be running inside a container 14:35:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:36:04 $ docker top 58e8a9d7b5fa7463aa6c7dab6f80f8aae0bd58b5d8258a8bba4cae2594bdf579 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:36:04 provisioning config files... 14:36:04 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5730515448767346916tmp 14:36:04 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4238940465331854340tmp 14:36:04 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6454499646850352322tmp [Pipeline] { [Pipeline] echo 14:36:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:36:05 ---> sigul-configuration.sh 14:36:05 gpg: directory `/root/.gnupg' created 14:36:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:36:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:36:05 gpg: keyring `/root/.gnupg/secring.gpg' created 14:36:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:36:05 gpg: CAST5 encrypted data 14:36:05 gpg: encrypted with 1 passphrase 14:36:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:36:05 + mkdir /home/jenkins 14:36:05 + mkdir /home/jenkins/sigul [Pipeline] sh 14:36:05 + 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 14:36:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:36:06 ---> sigul-install.sh 14:36:10 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 14:36:10 + git tag --list 14:36:10 v1.0.0 14:36:10 v1.1.0 14:36:10 v1.1.1 14:36:10 v1.1.2 14:36:10 v1.2.0 14:36:10 v1.2.1 14:36:10 v1.2.1-dev.1 14:36:10 v1.2.1-dev.2 14:36:10 v1.2.1-dev.3 14:36:10 v1.2.1-dev.4 14:36:10 v1.2.2-dev.1 14:36:10 v1.2.2-dev.10 14:36:10 v1.2.2-dev.11 14:36:10 v1.2.2-dev.12 14:36:10 v1.2.2-dev.13 14:36:10 v1.2.2-dev.14 14:36:10 v1.2.2-dev.15 14:36:10 v1.2.2-dev.16 14:36:10 v1.2.2-dev.2 14:36:10 v1.2.2-dev.3 14:36:10 v1.2.2-dev.4 14:36:10 v1.2.2-dev.5 14:36:10 v1.2.2-dev.6 14:36:10 v1.2.2-dev.7 14:36:10 v1.2.2-dev.8 14:36:10 v1.2.2-dev.9 [Pipeline] sh 14:36:10 + lftools sign git-tag v1.2.2-dev.16 14:36:11 Signing Git tag with Sigul... 14:36:11 Signing v1.2.2-dev.16 [Pipeline] echo 14:36:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:36:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:36:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:36:12 $ docker stop --time=1 58e8a9d7b5fa7463aa6c7dab6f80f8aae0bd58b5d8258a8bba4cae2594bdf579 14:36:14 $ docker rm -f 58e8a9d7b5fa7463aa6c7dab6f80f8aae0bd58b5d8258a8bba4cae2594bdf579 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 14:36:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:36:15 . [Pipeline] withDockerContainer 14:36:15 prd-centos7-docker-4c-2g-905 does not seem to be running inside a container 14:36:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:36:15 $ docker top 20ec2def4e710a3b54a0726bd9b97c78a945602986bb3140b00452d048c597e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:36:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:36:15 [ssh-agent] Looking for ssh-agent implementation... 14:36:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:36:16 $ docker exec 20ec2def4e710a3b54a0726bd9b97c78a945602986bb3140b00452d048c597e6 ssh-agent 14:36:16 SSH_AUTH_SOCK=/tmp/ssh-9mOEkNvVvfwS/agent.13 14:36:16 SSH_AGENT_PID=19 14:36:16 Running ssh-add (command line suppressed) 14:36:16 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6240784881303622155.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6240784881303622155.key) 14:36:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:36:16 + git semver bump pre 14:36:16 # -> Open(): unable to determine branch for HEAD 14:36:16 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 14:36:16 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 14:36:16 # $SEMVER_REMOTE_NAME = origin 14:36:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:36:16 # $SEMVER_USER_NAME = edgex-jenkins 14:36:16 # $SEMVER_BRANCH = master 14:36:16 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 14:36:16 1.2.2-dev.17 [Pipeline] } 14:36:16 $ docker exec --env ******** --env ******** 20ec2def4e710a3b54a0726bd9b97c78a945602986bb3140b00452d048c597e6 ssh-agent -k 14:36:16 unset SSH_AUTH_SOCK; 14:36:16 unset SSH_AGENT_PID; 14:36:16 echo Agent pid 19 killed; 14:36:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:36:17 + git semver [Pipeline] } 14:36:17 $ docker stop --time=1 20ec2def4e710a3b54a0726bd9b97c78a945602986bb3140b00452d048c597e6 14:36:18 $ docker rm -f 20ec2def4e710a3b54a0726bd9b97c78a945602986bb3140b00452d048c597e6 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 14:36:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:36:18 . [Pipeline] withDockerContainer 14:36:18 prd-centos7-docker-4c-2g-905 does not seem to be running inside a container 14:36:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:36:19 $ docker top 5f6f951a908531b1264afd8b8120d8503a946aa6fe684210e11c4d6f96b006e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:36:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:36:19 [ssh-agent] Looking for ssh-agent implementation... 14:36:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:36:19 $ docker exec 5f6f951a908531b1264afd8b8120d8503a946aa6fe684210e11c4d6f96b006e5 ssh-agent 14:36:19 SSH_AUTH_SOCK=/tmp/ssh-lv3YbO1QZaz3/agent.13 14:36:19 SSH_AGENT_PID=19 14:36:19 Running ssh-add (command line suppressed) 14:36:19 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1851495340926470090.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1851495340926470090.key) 14:36:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:36:20 + git semver push 14:36:20 # -> Open(): unable to determine branch for HEAD 14:36:20 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 14:36:20 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 14:36:20 # $SEMVER_REMOTE_NAME = origin 14:36:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:36:20 # $SEMVER_USER_NAME = edgex-jenkins 14:36:20 # $SEMVER_BRANCH = master 14:36:20 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 14:36:25 $ docker exec --env ******** --env ******** 5f6f951a908531b1264afd8b8120d8503a946aa6fe684210e11c4d6f96b006e5 ssh-agent -k 14:36:25 unset SSH_AUTH_SOCK; 14:36:25 unset SSH_AGENT_PID; 14:36:25 echo Agent pid 19 killed; 14:36:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:36:25 + git semver [Pipeline] } 14:36:25 $ docker stop --time=1 5f6f951a908531b1264afd8b8120d8503a946aa6fe684210e11c4d6f96b006e5 14:36:27 $ docker rm -f 5f6f951a908531b1264afd8b8120d8503a946aa6fe684210e11c4d6f96b006e5 [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 14:36:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:36:28 ---> package-listing.sh 14:36:28 ++ facter osfamily 14:36:28 ++ tr '[:upper:]' '[:lower:]' 14:36:28 + OS_FAMILY=redhat 14:36:28 + workspace=/w/workspace/gexfoundry_device-rest-go_master 14:36:28 + START_PACKAGES=/tmp/packages_start.txt 14:36:28 + END_PACKAGES=/tmp/packages_end.txt 14:36:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:36:28 + PACKAGES=/tmp/packages_start.txt 14:36:28 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 14:36:28 + PACKAGES=/tmp/packages_end.txt 14:36:28 + case "${OS_FAMILY}" in 14:36:28 + rpm -qa 14:36:28 + sort 14:36:29 + '[' -f /tmp/packages_start.txt ']' 14:36:29 + '[' -f /tmp/packages_end.txt ']' 14:36:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:36:29 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 14:36:29 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 14:36:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 14:36:29 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 14:36:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:36:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:36:30 14:36:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:36:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:36:30 alpine: Pulling from edgex-lftools-log-publisher 14:36:30 df20fa9351a1: Pulling fs layer 14:36:30 36b3adc4ff6f: Pulling fs layer 14:36:30 8ad3a11d3b57: Pulling fs layer 14:36:30 46f8f816bc3b: Pulling fs layer 14:36:30 93b61091891f: Pulling fs layer 14:36:30 93b9cdb0e59b: Pulling fs layer 14:36:30 5e14af77c1be: Pulling fs layer 14:36:30 01666e4c0597: Pulling fs layer 14:36:30 aa168da1d23b: Pulling fs layer 14:36:30 93b9cdb0e59b: Waiting 14:36:30 5e14af77c1be: Waiting 14:36:30 01666e4c0597: Waiting 14:36:30 aa168da1d23b: Waiting 14:36:30 46f8f816bc3b: Waiting 14:36:30 93b61091891f: Waiting 14:36:30 36b3adc4ff6f: Verifying Checksum 14:36:30 36b3adc4ff6f: Download complete 14:36:30 46f8f816bc3b: Verifying Checksum 14:36:30 46f8f816bc3b: Download complete 14:36:30 df20fa9351a1: Verifying Checksum 14:36:30 df20fa9351a1: Download complete 14:36:30 93b9cdb0e59b: Verifying Checksum 14:36:30 93b9cdb0e59b: Download complete 14:36:30 5e14af77c1be: Verifying Checksum 14:36:30 5e14af77c1be: Download complete 14:36:30 93b61091891f: Verifying Checksum 14:36:30 93b61091891f: Download complete 14:36:30 01666e4c0597: Verifying Checksum 14:36:30 01666e4c0597: Download complete 14:36:30 df20fa9351a1: Pull complete 14:36:31 36b3adc4ff6f: Pull complete 14:36:31 8ad3a11d3b57: Verifying Checksum 14:36:31 8ad3a11d3b57: Download complete 14:36:31 8ad3a11d3b57: Pull complete 14:36:31 46f8f816bc3b: Pull complete 14:36:32 93b61091891f: Pull complete 14:36:32 93b9cdb0e59b: Pull complete 14:36:32 5e14af77c1be: Pull complete 14:36:32 01666e4c0597: Pull complete 14:36:32 aa168da1d23b: Verifying Checksum 14:36:32 aa168da1d23b: Download complete 14:36:36 aa168da1d23b: Pull complete 14:36:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 14:36:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:36:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:36:36 prd-centos7-docker-4c-2g-905 does not seem to be running inside a container 14:36:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:36:40 $ docker top e2a3a10fb7e32d046a7e4ae87e18fb215d1512eada8ac06a41bbdf2f41c15eb2 -eo pid,comm [Pipeline] { [Pipeline] sh 14:36:41 + touch /tmp/pre-build-complete [Pipeline] sh 14:36:41 + mkdir -p /var/log/sa [Pipeline] sh 14:36:41 + ls /var/log/sa-host 14:36:41 + sadf -c /var/log/sa-host/sa05 14:36:41 file_magic: OK 14:36:41 HZ: Using current value: 100 14:36:41 file_header: OK 14:36:41 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 14:36:41 Statistics: 14:36:41 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:36:41 File successfully converted to sysstat format version 12.2.1 14:36:41 + sadf -c /var/log/sa-host/sa08 14:36:41 file_magic: OK 14:36:41 HZ: Using current value: 100 14:36:41 file_header: OK 14:36:41 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 14:36:41 Statistics: 14:36:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:36:41 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:36:42 provisioning config files... 14:36:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7916737719185001615tmp [Pipeline] { [Pipeline] echo 14:36:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:36:42 ---> create-netrc.sh [Pipeline] } 14:36:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:36:42 ---> python-tools-install.sh [Pipeline] echo 14:36:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:36:43 ---> sudo-logs.sh 14:36:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:36:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:36:43 ---> job-cost.sh 14:36:43 lf-activate-venv: SKIPPING 14:36:43 DEBUG: total: 0.18000000715255737 14:36:43 INFO: Retrieving Stack Cost... 14:36:43 INFO: Retrieving Pricing Info for: v3-standard-2 14:36:44 INFO: Archiving Costs [Pipeline] echo 14:36:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:36:44 ---> logs-deploy.sh 14:36:44 lf-activate-venv: SKIPPING 14:36:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/49 14:36:44 INFO: archiving workspace using pattern(s): 14:36:45 Archives upload complete. 14:36:45 INFO: archiving logs to Nexus 14:36:46 ---> uname -a: 14:36:46 Linux prd-centos7-docker-4c-2g-905.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 14:36:46 14:36:46 14:36:46 ---> lscpu: 14:36:46 Architecture: x86_64 14:36:46 CPU op-mode(s): 32-bit, 64-bit 14:36:46 Byte Order: Little Endian 14:36:46 Address sizes: 40 bits physical, 48 bits virtual 14:36:46 CPU(s): 2 14:36:46 On-line CPU(s) list: 0,1 14:36:46 Thread(s) per core: 1 14:36:46 Core(s) per socket: 1 14:36:46 Socket(s): 2 14:36:46 NUMA node(s): 1 14:36:46 Vendor ID: AuthenticAMD 14:36:46 CPU family: 23 14:36:46 Model: 49 14:36:46 Model name: AMD EPYC-Rome Processor 14:36:46 Stepping: 0 14:36:46 CPU MHz: 2799.998 14:36:46 BogoMIPS: 5599.99 14:36:46 Virtualization: AMD-V 14:36:46 Hypervisor vendor: KVM 14:36:46 Virtualization type: full 14:36:46 L1d cache: 64 KiB 14:36:46 L1i cache: 64 KiB 14:36:46 L2 cache: 1 MiB 14:36:46 L3 cache: 32 MiB 14:36:46 NUMA node0 CPU(s): 0,1 14:36:46 Vulnerability Itlb multihit: Not affected 14:36:46 Vulnerability L1tf: Not affected 14:36:46 Vulnerability Mds: Not affected 14:36:46 Vulnerability Meltdown: Not affected 14:36:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:36:46 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 14:36:46 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 14:36:46 Vulnerability Srbds: Not affected 14:36:46 Vulnerability Tsx async abort: Not affected 14:36:46 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 14:36:46 14:36:46 14:36:46 ---> nproc: 14:36:46 2 14:36:46 14:36:46 14:36:46 ---> df -h: 14:36:46 Filesystem Size Used Available Use% Mounted on 14:36:46 overlay 40.0G 8.9G 31.1G 22% / 14:36:46 tmpfs 64.0M 0 64.0M 0% /dev 14:36:46 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 14:36:46 shm 64.0M 0 64.0M 0% /dev/shm 14:36:46 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 14:36:46 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 14:36:46 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 14:36:46 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 14:36:46 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 14:36:46 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 14:36:46 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 14:36:46 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 14:36:46 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master 14:36:46 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master@tmp 14:36:46 14:36:46 14:36:46 ---> free -m: 14:36:46 total used free shared buff/cache available 14:36:46 Mem: 7821 1276 3148 0 3396 6463 14:36:46 Swap: 1023 0 1023 14:36:46 14:36:46 14:36:46 ---> ip addr: 14:36:46 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:36:46 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:36:46 inet 127.0.0.1/8 scope host lo 14:36:46 valid_lft forever preferred_lft forever 14:36:46 inet6 ::1/128 scope host 14:36:46 valid_lft forever preferred_lft forever 14:36:46 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 14:36:46 link/ether fa:16:3e:6c:8e:d4 brd ff:ff:ff:ff:ff:ff 14:36:46 inet 10.30.123.190/23 brd 10.30.123.255 scope global dynamic eth0 14:36:46 valid_lft 85686sec preferred_lft 85686sec 14:36:46 inet6 fe80::f816:3eff:fe6c:8ed4/64 scope link 14:36:46 valid_lft forever preferred_lft forever 14:36:46 3: docker0: mtu 1500 qdisc noqueue state DOWN 14:36:46 link/ether 02:42:4b:75:e9:ec brd ff:ff:ff:ff:ff:ff 14:36:46 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 14:36:46 valid_lft forever preferred_lft forever 14:36:46 inet6 fe80::42:4bff:fe75:e9ec/64 scope link 14:36:46 valid_lft forever preferred_lft forever 14:36:46 14:36:46 14:36:46 ---> sar -b -r -n DEV: 14:36:46 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/08/21 _x86_64_ (2 CPU) 14:36:46 14:36:46 14:24:41 LINUX RESTART (2 CPU) 14:36:46 14:36:46 14:25:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:36:46 14:26:02 108.26 19.63 88.64 0.00 5943.44 6463.84 0.00 14:36:46 14:27:01 0.64 0.00 0.64 0.00 0.00 13.41 0.00 14:36:46 14:28:01 0.42 0.00 0.42 0.00 0.00 5.81 0.00 14:36:46 14:29:01 0.27 0.00 0.27 0.00 0.00 3.10 0.00 14:36:46 14:30:01 0.23 0.00 0.23 0.00 0.00 2.98 0.00 14:36:46 14:31:01 0.32 0.00 0.32 0.00 0.00 4.76 0.00 14:36:46 14:32:01 0.28 0.00 0.28 0.00 0.00 3.07 0.00 14:36:46 14:33:01 0.22 0.00 0.22 0.00 0.00 3.13 0.00 14:36:46 14:34:01 0.28 0.00 0.28 0.00 0.00 3.10 0.00 14:36:46 14:35:01 0.20 0.00 0.20 0.00 0.00 2.45 0.00 14:36:46 14:36:01 158.96 0.03 158.93 0.00 3.72 48151.88 0.00 14:36:46 Average: 24.49 1.76 22.72 0.00 533.35 4981.46 0.00 14:36:46 14:36:46 14:25:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:36:46 14:26:02 5456992 0 800876 10.00 2620 1748444 1288516 14.23 574972 1576920 132 14:36:46 14:27:01 5461552 0 796308 9.94 2620 1748452 1257256 13.88 571448 1576888 16 14:36:46 14:28:01 5463692 0 794168 9.92 2620 1748452 1237700 13.66 567284 1578980 12 14:36:46 14:29:01 5465016 0 792840 9.90 2620 1748456 1203764 13.29 566664 1578980 20 14:36:46 14:30:01 5466556 0 791292 9.88 2620 1748464 1203560 13.29 562004 1582508 16 14:36:46 14:31:01 5463728 0 794116 9.92 2620 1748468 1203764 13.29 565008 1582508 8 14:36:46 14:32:01 5464744 0 793092 9.90 2620 1748476 1203560 13.29 563660 1582508 20 14:36:46 14:33:01 5452888 0 804944 10.05 2620 1748480 1203560 13.29 575792 1582508 8 14:36:46 14:34:01 5452500 0 805328 10.06 2620 1748484 1203560 13.29 576204 1582512 8 14:36:46 14:35:01 5452332 0 805492 10.06 2620 1748488 1203560 13.29 578128 1580676 8 14:36:46 14:36:01 3791188 0 1144792 14.29 2620 3070332 1393876 15.39 861784 2737396 150148 14:36:46 Average: 5308290 0 829386 10.36 2620 1868636 1236607 13.65 596632 1685671 13672 14:36:46 14:36:46 14:25:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:36:46 14:26:02 eth0 286.18 263.71 1321.70 78.35 0.00 0.00 0.00 0.00 14:36:46 14:26:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:26:02 docker0 54.61 43.66 4.61 136.17 0.00 0.00 0.00 0.00 14:36:46 14:27:01 eth0 6.00 2.68 4.90 0.68 0.00 0.00 0.00 0.00 14:36:46 14:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:28:01 eth0 1.40 0.33 0.35 0.29 0.00 0.00 0.00 0.00 14:36:46 14:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:29:01 eth0 1.27 0.33 0.33 0.17 0.00 0.00 0.00 0.00 14:36:46 14:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:30:01 eth0 0.17 0.08 0.01 0.04 0.00 0.00 0.00 0.00 14:36:46 14:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:31:01 eth0 0.82 0.50 0.44 0.27 0.00 0.00 0.00 0.00 14:36:46 14:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:32:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:36:46 14:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:33:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:36:46 14:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:34:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:36:46 14:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:35:01 eth0 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:36:01 eth0 828.17 761.74 7666.86 69.19 0.00 0.00 0.00 0.00 14:36:46 14:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 14:36:01 docker0 64.43 66.79 5.37 387.50 0.00 0.00 0.00 0.00 14:36:46 Average: eth0 102.21 93.60 819.33 13.48 0.00 0.00 0.00 0.00 14:36:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:46 Average: docker0 10.78 10.02 0.90 47.60 0.00 0.00 0.00 0.00 14:36:46 14:36:46 14:36:46 ---> sar -P ALL: 14:36:46 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/08/21 _x86_64_ (2 CPU) 14:36:46 14:36:46 14:24:41 LINUX RESTART (2 CPU) 14:36:46 14:36:46 14:25:02 CPU %user %nice %system %iowait %steal %idle 14:36:46 14:26:02 all 17.03 0.00 4.38 3.70 0.09 74.80 14:36:46 14:26:02 0 16.20 0.00 5.33 4.64 0.11 73.72 14:36:46 14:26:02 1 17.85 0.00 3.43 2.76 0.07 75.89 14:36:46 14:27:01 all 0.18 0.00 0.05 0.00 0.03 99.74 14:36:46 14:27:01 0 0.27 0.00 0.07 0.00 0.03 99.63 14:36:46 14:27:01 1 0.08 0.00 0.03 0.00 0.03 99.85 14:36:46 14:28:01 all 0.10 0.00 0.04 0.00 0.04 99.82 14:36:46 14:28:01 0 0.17 0.00 0.03 0.00 0.03 99.77 14:36:46 14:28:01 1 0.03 0.00 0.05 0.00 0.05 99.87 14:36:46 14:29:01 all 0.12 0.00 0.02 0.00 0.03 99.83 14:36:46 14:29:01 0 0.20 0.00 0.02 0.00 0.03 99.75 14:36:46 14:29:01 1 0.03 0.00 0.02 0.00 0.03 99.92 14:36:46 14:30:01 all 0.08 0.00 0.03 0.00 0.04 99.86 14:36:46 14:30:01 0 0.05 0.00 0.03 0.00 0.05 99.87 14:36:46 14:30:01 1 0.10 0.00 0.02 0.00 0.03 99.85 14:36:46 14:31:01 all 0.08 0.00 0.02 0.00 0.04 99.87 14:36:46 14:31:01 0 0.03 0.00 0.03 0.00 0.05 99.88 14:36:46 14:31:01 1 0.12 0.00 0.00 0.00 0.03 99.85 14:36:46 14:32:01 all 0.08 0.00 0.03 0.00 0.04 99.84 14:36:46 14:32:01 0 0.03 0.00 0.03 0.00 0.05 99.88 14:36:46 14:32:01 1 0.13 0.00 0.03 0.00 0.03 99.80 14:36:46 14:33:01 all 0.09 0.00 0.04 0.00 0.03 99.83 14:36:46 14:33:01 0 0.03 0.00 0.07 0.00 0.05 99.85 14:36:46 14:33:01 1 0.15 0.00 0.02 0.00 0.02 99.82 14:36:46 14:34:01 all 0.10 0.00 0.02 0.00 0.05 99.83 14:36:46 14:34:01 0 0.13 0.00 0.02 0.00 0.07 99.78 14:36:46 14:34:01 1 0.07 0.00 0.02 0.00 0.03 99.88 14:36:46 14:35:01 all 0.09 0.00 0.02 0.00 0.03 99.87 14:36:46 14:35:01 0 0.15 0.00 0.02 0.00 0.02 99.82 14:36:46 14:35:01 1 0.03 0.00 0.02 0.00 0.03 99.92 14:36:46 14:36:01 all 19.57 0.00 8.46 4.95 0.07 66.95 14:36:46 14:36:01 0 19.74 0.00 8.73 3.97 0.07 67.48 14:36:46 14:36:01 1 19.41 0.00 8.18 5.92 0.07 66.42 14:36:46 14:36:46 Average: CPU %user %nice %system %iowait %steal %idle 14:36:46 Average: all 3.28 0.00 1.15 0.76 0.05 94.77 14:36:46 Average: 0 3.23 0.00 1.25 0.75 0.05 94.71 14:36:46 Average: 1 3.33 0.00 1.04 0.76 0.04 94.83 14:36:46 14:36:46 14:36:46