Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 597d67ccc6e047abbec756f631c33e19ce59cb1b 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-ssh1428788169041870771.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh2186210608615898673.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh2233232410250548222.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh5429958496582504941.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-ssh8800887284363095875.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1417 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 Avoid second fetch Checking out Revision 597d67ccc6e047abbec756f631c33e19ce59cb1b (master) > 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-ssh1093542531473722856.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 597d67ccc6e047abbec756f631c33e19ce59cb1b # timeout=10 Commit message: "Merge pull request #116 from hahattan/sdk-issue-967" > git rev-list --no-walk b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:59:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:59:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:59:35 ========================================================= 04:59:35 EdgeX Global Pipelines Version Info 04:59:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:59:37 ------------------- 04:59:37 stable info: 04:59:37 ------------------- 04:59:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:59:37 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 04:59:37 Message: update stable to v1.0.194 04:59:38 ------------------- 04:59:38 experimental info: 04:59:38 ------------------- 04:59:38 Commited By: **** collab-it+edgex@linuxfoundation.org 04:59:38 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 04:59:38 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 04:59:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 597d67ccc6e047abbec756f631c33e19ce59cb1b [Pipeline] echo 04:59:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 597d67c [Pipeline] echo 04:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:59:39 provisioning config files... 04:59:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5651663681385830052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:39 ---> docker-login.sh 04:59:39 nexus3.edgexfoundry.org:10001 04:59:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:40 Configure a credential helper to remove this warning. See 04:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:40 04:59:40 Login Succeeded 04:59:40 nexus3.edgexfoundry.org:10002 04:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:40 Configure a credential helper to remove this warning. See 04:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:40 04:59:40 Login Succeeded 04:59:40 nexus3.edgexfoundry.org:10003 04:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:41 Configure a credential helper to remove this warning. See 04:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:41 04:59:41 Login Succeeded 04:59:41 nexus3.edgexfoundry.org:10004 04:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:41 Configure a credential helper to remove this warning. See 04:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:41 04:59:41 Login Succeeded 04:59:41 docker.io 04:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:41 Configure a credential helper to remove this warning. See 04:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:41 04:59:41 Login Succeeded 04:59:41 ---> docker-login.sh ends [Pipeline] } 04:59:41 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 04:59:42 + git log --format=format:%s -1 597d67ccc6e047abbec756f631c33e19ce59cb1b [Pipeline] echo 04:59:42 GIT_COMMIT: 597d67ccc6e047abbec756f631c33e19ce59cb1b, Commit Message: Merge pull request #116 from hahattan/sdk-issue-967 [Pipeline] echo 04:59:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:59:43 04:59:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:59:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:59:43 latest: Pulling from edgex-devops/git-semver 04:59:43 31603596830f: Pulling fs layer 04:59:43 54011a49482f: Pulling fs layer 04:59:43 a6820b24f6d8: Pulling fs layer 04:59:43 f581987b2513: Pulling fs layer 04:59:43 f581987b2513: Waiting 04:59:43 54011a49482f: Verifying Checksum 04:59:43 54011a49482f: Download complete 04:59:43 31603596830f: Verifying Checksum 04:59:43 31603596830f: Download complete 04:59:43 f581987b2513: Verifying Checksum 04:59:43 f581987b2513: Download complete 04:59:43 a6820b24f6d8: Verifying Checksum 04:59:43 a6820b24f6d8: Download complete 04:59:43 31603596830f: Pull complete 04:59:44 54011a49482f: Pull complete 04:59:44 a6820b24f6d8: Pull complete 04:59:44 f581987b2513: Pull complete 04:59:44 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 04:59:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:59:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:59:44 prd-centos7-docker-4c-2g-1417 does not seem to be running inside a container 04:59: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:59:46 $ docker top 8bd10db2e92ef0b396bc37ea72e201ec1a8e72febd9090c3aada7b5d21956c0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:59:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:59:46 [ssh-agent] Looking for ssh-agent implementation... 04:59:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:59:46 $ docker exec 8bd10db2e92ef0b396bc37ea72e201ec1a8e72febd9090c3aada7b5d21956c0c ssh-agent 04:59:46 SSH_AUTH_SOCK=/tmp/ssh-egOGJBWt51V9/agent.14 04:59:46 SSH_AGENT_PID=20 04:59:46 Running ssh-add (command line suppressed) 04:59:46 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1015406638365805192.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1015406638365805192.key) 04:59:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:59:47 + git tag --points-at HEAD [Pipeline] } 04:59:47 $ docker exec --env ******** --env ******** 8bd10db2e92ef0b396bc37ea72e201ec1a8e72febd9090c3aada7b5d21956c0c ssh-agent -k 04:59:47 unset SSH_AUTH_SOCK; 04:59:47 unset SSH_AGENT_PID; 04:59:47 echo Agent pid 20 killed; 04:59:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:59:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:59:47 [ssh-agent] Looking for ssh-agent implementation... 04:59:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:59:47 $ docker exec 8bd10db2e92ef0b396bc37ea72e201ec1a8e72febd9090c3aada7b5d21956c0c ssh-agent 04:59:47 SSH_AUTH_SOCK=/tmp/ssh-FeuLA15DNqR9/agent.55 04:59:47 SSH_AGENT_PID=62 04:59:47 Running ssh-add (command line suppressed) 04:59:47 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1113458768690121315.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1113458768690121315.key) 04:59:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:59:47 + git semver init 04:59:47 # -> Open(): unable to determine branch for HEAD 04:59:47 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 04:59:47 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 04:59:47 # $SEMVER_REMOTE_NAME = origin 04:59:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:59:47 # $SEMVER_USER_NAME = edgex-jenkins 04:59:47 # $SEMVER_BRANCH = master 04:59:47 # $SEMVER_TEMP = /tmp/semver-226021565 04:59:47 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 04:59:48 # '/tmp/semver-226021565' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 04:59:48 # -> Force: false 04:59:48 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 04:59:48 $ docker exec --env ******** --env ******** 8bd10db2e92ef0b396bc37ea72e201ec1a8e72febd9090c3aada7b5d21956c0c ssh-agent -k 04:59:48 unset SSH_AUTH_SOCK; 04:59:48 unset SSH_AGENT_PID; 04:59:48 echo Agent pid 62 killed; 04:59:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:59:49 + git semver [Pipeline] } 04:59:49 $ docker stop --time=1 8bd10db2e92ef0b396bc37ea72e201ec1a8e72febd9090c3aada7b5d21956c0c 04:59:50 $ docker rm -f 8bd10db2e92ef0b396bc37ea72e201ec1a8e72febd9090c3aada7b5d21956c0c [Pipeline] // withDockerContainer [Pipeline] sh 04:59:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:59:51 Stashed 1 file(s) [Pipeline] echo 04:59:51 [edgeXSemver]: initialized semver on version 1.2.2-dev.18 [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 05:00:06 Still waiting to schedule task 05:00:06 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1417’ 05:00:06 Still waiting to schedule task 05:00:06 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:02:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1418 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 05:02:01 Running in /w/workspace/device-rest-go/52 [Pipeline] { [Pipeline] checkout 05:02:01 The recommended git tool is: git 05:02:03 Running on prd-centos7-docker-4c-2g-1420 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 05:02:03 Running in /w/workspace/device-rest-go/52 [Pipeline] { [Pipeline] checkout 05:02:04 The recommended git tool is: git 05:02:06 using credential edgex-jenkins-ssh 05:02:06 Cloning the remote Git repository 05:02:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:02:07 using credential edgex-jenkins-ssh 05:02:07 Cloning the remote Git repository 05:02:07 Avoid second fetch 05:02:07 Checking out Revision 597d67ccc6e047abbec756f631c33e19ce59cb1b (master) 05:02:06 > git init /w/workspace/device-rest-go/52 # timeout=10 05:02:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:02:06 > git --version # timeout=10 05:02:06 > git --version # 'git version 2.24.4' 05:02:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:02:06 [INFO] Currently running in a labeled security context 05:02:06 [INFO] Currently SELinux is 'enforcing' on the host 05:02:06 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/52@tmp/jenkins-gitclient-ssh7028581230491099903.key 05:02:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:02:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:02:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:02:07 > git config core.sparsecheckout # timeout=10 05:02:07 > git checkout -f 597d67ccc6e047abbec756f631c33e19ce59cb1b # timeout=10 05:02:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:02:07 > git init /w/workspace/device-rest-go/52 # timeout=10 05:02:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:02:07 > git --version # timeout=10 05:02:07 > git --version # 'git version 2.17.1' 05:02:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:02:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:02:09 Avoid second fetch 05:02:09 Checking out Revision 597d67ccc6e047abbec756f631c33e19ce59cb1b (master) 05:02:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:02:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:02:09 > git config core.sparsecheckout # timeout=10 05:02:09 > git checkout -f 597d67ccc6e047abbec756f631c33e19ce59cb1b # timeout=10 05:02:10 Commit message: "Merge pull request #116 from hahattan/sdk-issue-967" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:12 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:02:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:02:12 + sudo service docker restart 05:02:12 + true 05:02:12 Redirecting to /bin/systemctl restart docker.service 05:02:13 Commit message: "Merge pull request #116 from hahattan/sdk-issue-967" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:02:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:02:15 + sudo service docker restart 05:02:15 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:31 provisioning config files... 05:02:31 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/52@tmp/config7277283543990436882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:31 ---> docker-login.sh 05:02:31 nexus3.edgexfoundry.org:10001 05:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:31 Configure a credential helper to remove this warning. See 05:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:31 05:02:31 Login Succeeded 05:02:31 nexus3.edgexfoundry.org:10002 05:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:31 Configure a credential helper to remove this warning. See 05:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:31 05:02:31 Login Succeeded 05:02:31 nexus3.edgexfoundry.org:10003 05:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:31 Configure a credential helper to remove this warning. See 05:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:31 05:02:31 Login Succeeded 05:02:31 nexus3.edgexfoundry.org:10004 05:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:31 Configure a credential helper to remove this warning. See 05:02:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:31 05:02:31 Login Succeeded 05:02:31 docker.io 05:02:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:32 Configure a credential helper to remove this warning. See 05:02:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:32 05:02:32 Login Succeeded 05:02:32 ---> docker-login.sh ends [Pipeline] } 05:02:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:02:32 ========================================================= 05:02:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:02:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:02:33 + 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 . 05:02:33 Sending build context to Docker daemon 92.16kB 05:02:33 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 05:02:33 Step 2/10 : FROM ${BASE} 05:02:33 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:02:33 540db60ca938: Pulling fs layer 05:02:33 adcc1eea9eea: Pulling fs layer 05:02:33 4c4ab2625f07: Pulling fs layer 05:02:33 0510c868ecb4: Pulling fs layer 05:02:33 afea3b2eda06: Pulling fs layer 05:02:33 7809a108b3ef: Pulling fs layer 05:02:33 f706445af74f: Pulling fs layer 05:02:33 afea3b2eda06: Waiting 05:02:33 7809a108b3ef: Waiting 05:02:33 f706445af74f: Waiting 05:02:33 0510c868ecb4: Waiting 05:02:33 4c4ab2625f07: Verifying Checksum 05:02:33 4c4ab2625f07: Download complete 05:02:33 adcc1eea9eea: Verifying Checksum 05:02:33 adcc1eea9eea: Download complete 05:02:33 afea3b2eda06: Verifying Checksum 05:02:33 afea3b2eda06: Download complete 05:02:33 540db60ca938: Verifying Checksum 05:02:33 540db60ca938: Download complete 05:02:33 7809a108b3ef: Verifying Checksum 05:02:33 7809a108b3ef: Download complete 05:02:33 540db60ca938: Pull complete 05:02:33 adcc1eea9eea: Pull complete 05:02:33 4c4ab2625f07: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:34 provisioning config files... 05:02:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/52@tmp/config6232423993610672568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:34 ---> docker-login.sh 05:02:34 nexus3.edgexfoundry.org:10001 05:02:34 f706445af74f: Verifying Checksum 05:02:34 f706445af74f: Download complete 05:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:35 0510c868ecb4: Verifying Checksum 05:02:35 0510c868ecb4: Download complete 05:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:35 Configure a credential helper to remove this warning. See 05:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:35 05:02:35 Login Succeeded 05:02:35 nexus3.edgexfoundry.org:10002 05:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:36 Configure a credential helper to remove this warning. See 05:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:36 05:02:36 Login Succeeded 05:02:36 nexus3.edgexfoundry.org:10003 05:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:36 Configure a credential helper to remove this warning. See 05:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:36 05:02:36 Login Succeeded 05:02:36 nexus3.edgexfoundry.org:10004 05:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:37 Configure a credential helper to remove this warning. See 05:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:37 05:02:37 Login Succeeded 05:02:37 docker.io 05:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:38 Configure a credential helper to remove this warning. See 05:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:38 05:02:38 Login Succeeded 05:02:38 ---> docker-login.sh ends [Pipeline] } 05:02:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:02:38 ========================================================= 05:02:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:02:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:02:38 0510c868ecb4: Pull complete 05:02:38 afea3b2eda06: Pull complete 05:02:38 7809a108b3ef: Pull complete 05:02:39 + 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 . 05:02:39 Sending build context to Docker daemon 92.16kB 05:02:39 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 05:02:39 Step 2/10 : FROM ${BASE} 05:02:39 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:02:39 595b0fe564bb: Pulling fs layer 05:02:39 3088b5b3c5c0: Pulling fs layer 05:02:39 5b7225fbf94c: Pulling fs layer 05:02:39 ba82ee9f976e: Pulling fs layer 05:02:39 506bd15cee9f: Pulling fs layer 05:02:39 75a0a4a0db45: Pulling fs layer 05:02:39 ba82ee9f976e: Waiting 05:02:39 618dc40b7e24: Pulling fs layer 05:02:39 506bd15cee9f: Waiting 05:02:39 75a0a4a0db45: Waiting 05:02:39 618dc40b7e24: Waiting 05:02:39 5b7225fbf94c: Download complete 05:02:39 3088b5b3c5c0: Download complete 05:02:39 506bd15cee9f: Verifying Checksum 05:02:39 506bd15cee9f: Download complete 05:02:39 75a0a4a0db45: Verifying Checksum 05:02:39 75a0a4a0db45: Download complete 05:02:39 595b0fe564bb: Verifying Checksum 05:02:39 595b0fe564bb: Download complete 05:02:40 f706445af74f: Pull complete 05:02:40 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:02:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:02:40 ---> b068be0155e3 05:02:40 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:02:40 595b0fe564bb: Pull complete 05:02:41 3088b5b3c5c0: Pull complete 05:02:41 5b7225fbf94c: Pull complete 05:02:41 618dc40b7e24: Download complete 05:02:42 ba82ee9f976e: Verifying Checksum 05:02:42 ba82ee9f976e: Download complete 05:02:44 ---> Running in 2fb58dcba7d6 05:02:44 Removing intermediate container 2fb58dcba7d6 05:02:44 ---> 36f9d51ccafe 05:02:44 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:02:44 ---> Running in 807d47cbee66 05:02:44 Removing intermediate container 807d47cbee66 05:02:44 ---> 5b6a5c035c79 05:02:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:02:44 ---> Running in 504b856f760c 05:02:44 Removing intermediate container 504b856f760c 05:02:44 ---> 61ab2b4747f0 05:02:44 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:02:44 ---> Running in 967ba9e4862b 05:02:44 Removing intermediate container 967ba9e4862b 05:02:44 ---> 2354cb1b79fa 05:02:44 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:02:44 ---> Running in 27a40c80c1cb 05:02:45 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:02:46 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:02:46 (1/9) Installing libc-dev (0.7.2-r3) 05:02:46 (2/9) Installing libsodium (1.0.18-r0) 05:02:46 (3/9) Installing pkgconf (1.7.3-r0) 05:02:46 (4/9) Installing libsodium-dev (1.0.18-r0) 05:02:46 (5/9) Installing openssh-keygen (8.4_p1-r3) 05:02:46 (6/9) Installing libedit (20191231.3.1-r1) 05:02:46 (7/9) Installing openssh-client (8.4_p1-r3) 05:02:47 (8/9) Installing libzmq (4.3.3-r1) 05:02:47 (9/9) Installing zeromq-dev (4.3.3-r1) 05:02:47 Executing busybox-1.32.1-r6.trigger 05:02:47 OK: 154 MiB in 49 packages 05:02:47 Removing intermediate container 27a40c80c1cb 05:02:47 ---> 70646109c479 05:02:47 Step 8/10 : WORKDIR /device-rest-go 05:02:47 ---> Running in 2881279e4024 05:02:47 Removing intermediate container 2881279e4024 05:02:47 ---> da0b82879581 05:02:47 Step 9/10 : COPY . . 05:02:47 ---> 35cdf1b8e35f 05:02:47 Step 10/10 : RUN go mod download 05:02:47 ---> Running in 25f03588d304 05:02:55 ba82ee9f976e: Pull complete 05:02:55 506bd15cee9f: Pull complete 05:02:55 75a0a4a0db45: Pull complete 05:02:57 618dc40b7e24: Pull complete 05:02:57 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 05:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:02:57 ---> a36622ca3599 05:02:57 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:02:59 ---> Running in 324b72f31188 05:02:59 Removing intermediate container 324b72f31188 05:02:59 ---> 7bd2b64ad3b7 05:02:59 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:03:00 Removing intermediate container 25f03588d304 05:03:00 ---> b7f64f454842 05:03:00 Successfully built b7f64f454842 05:03:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:03:00 ---> Running in 8c04e0c2b96e 05:03:00 + docker inspect -f . ci-base-image-x86_64 05:03:00 . [Pipeline] withDockerContainer 05:03:00 prd-centos7-docker-4c-2g-1420 does not seem to be running inside a container 05:03:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/52 -v /w/workspace/device-rest-go/52:/w/workspace/device-rest-go/52:rw,z -v /w/workspace/device-rest-go/52@tmp:/w/workspace/device-rest-go/52@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 05:03:00 Removing intermediate container 8c04e0c2b96e 05:03:00 ---> 521f8a061f14 05:03:00 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:03:00 ---> Running in 641b0d201209 05:03:00 $ docker top a36ce3a617d1f6f9878cf5940706c2e5aeec1dfab0aa672e60d129aa7c60b5d9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:01 + go version 05:03:01 go version go1.16.3 linux/amd64 [Pipeline] } 05:03:01 $ docker stop --time=1 a36ce3a617d1f6f9878cf5940706c2e5aeec1dfab0aa672e60d129aa7c60b5d9 05:03:01 Removing intermediate container 641b0d201209 05:03:01 ---> bc1692fc8006 05:03:01 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:01 ---> Running in e2e73d20f849 05:03:02 $ docker rm -f a36ce3a617d1f6f9878cf5940706c2e5aeec1dfab0aa672e60d129aa7c60b5d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:03:03 + docker inspect -f . ci-base-image-x86_64 05:03:03 . [Pipeline] withDockerContainer 05:03:03 prd-centos7-docker-4c-2g-1420 does not seem to be running inside a container 05:03:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/52 -v /w/workspace/device-rest-go/52:/w/workspace/device-rest-go/52:rw,z -v /w/workspace/device-rest-go/52@tmp:/w/workspace/device-rest-go/52@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 05:03:03 $ docker top 2a2b72f6d67a244c106f9c4d15cf602e33994047d1f89217f62de2996d081b75 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:03 + go mod tidy 05:03:04 Removing intermediate container e2e73d20f849 05:03:04 ---> 2b5823c42596 05:03:04 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:03:04 ---> Running in ef2b1669c186 [Pipeline] sh 05:03:04 + make test 05:03:04 go mod tidy 05:03:04 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:03:05 ? github.com/edgexfoundry/device-rest-go [no test files] 05:03:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:03:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:03:07 (1/9) Installing libc-dev (0.7.2-r3) 05:03:07 (2/9) Installing libsodium (1.0.18-r0) 05:03:07 (3/9) Installing pkgconf (1.7.3-r0) 05:03:07 (4/9) Installing libsodium-dev (1.0.18-r0) 05:03:07 (5/9) Installing openssh-keygen (8.4_p1-r3) 05:03:07 (6/9) Installing libedit (20191231.3.1-r1) 05:03:07 (7/9) Installing openssh-client (8.4_p1-r3) 05:03:07 (8/9) Installing libzmq (4.3.3-r1) 05:03:08 (9/9) Installing zeromq-dev (4.3.3-r1) 05:03:08 Executing busybox-1.32.1-r6.trigger 05:03:08 OK: 144 MiB in 49 packages 05:03:09 Removing intermediate container ef2b1669c186 05:03:09 ---> 075755bea45e 05:03:09 Step 8/10 : WORKDIR /device-rest-go 05:03:09 ---> Running in b52751ba77ee 05:03:10 Removing intermediate container b52751ba77ee 05:03:10 ---> 63b164f28052 05:03:10 Step 9/10 : COPY . . 05:03:10 ---> 9ba54320ef68 05:03:10 Step 10/10 : RUN go mod download 05:03:11 ---> Running in b9784af72644 05:03:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:03:20 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements 05:03:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:03:27 gofmt -l . 05:03:27 [ "`gofmt -l .`" = "" ] 05:03:27 ./bin/test-go-mod-tidy.sh 05:03:27 ./bin/test-attribution-txt.sh [Pipeline] } 05:03:27 $ docker stop --time=1 2a2b72f6d67a244c106f9c4d15cf602e33994047d1f89217f62de2996d081b75 05:03:28 $ docker rm -f 2a2b72f6d67a244c106f9c4d15cf602e33994047d1f89217f62de2996d081b75 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:03:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:03:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:03:32 + ls -al . 05:03:32 total 104 05:03:32 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 15 05:03 . 05:03:32 drwxrwxr-x. 4 jenkins jenkins 30 Jun 15 05:02 .. 05:03:32 -rw-rw-r--. 1 jenkins jenkins 6792 Jun 15 05:02 Attribution.txt 05:03:32 drwxrwxr-x. 2 jenkins jenkins 64 Jun 15 05:02 bin 05:03:32 drwxrwxr-x. 3 jenkins jenkins 32 Jun 15 05:02 cmd 05:03:32 -rw-r--r--. 1 jenkins jenkins 8513 Jun 15 05:03 coverage.out 05:03:32 -rw-rw-r--. 1 jenkins jenkins 1615 Jun 15 05:02 Dockerfile 05:03:32 -rw-rw-r--. 1 jenkins jenkins 1087 Jun 15 05:02 Dockerfile.build 05:03:32 -rw-rw-r--. 1 jenkins jenkins 151 Jun 15 05:02 .dockerignore 05:03:32 drwxrwxr-x. 2 jenkins jenkins 76 Jun 15 05:02 driver 05:03:32 drwxrwxr-x. 8 jenkins jenkins 162 Jun 15 05:02 .git 05:03:32 drwxrwxr-x. 2 jenkins jenkins 103 Jun 15 05:02 .github 05:03:32 -rw-rw-r--. 1 jenkins jenkins 336 Jun 15 05:02 .gitignore 05:03:32 -rw-r--r--. 1 jenkins jenkins 286 Jun 15 05:03 go.mod 05:03:32 -rw-r--r--. 1 jenkins jenkins 20777 Jun 15 05:03 go.sum 05:03:32 -rw-rw-r--. 1 jenkins jenkins 680 Jun 15 05:02 Jenkinsfile 05:03:32 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 15 05:02 LICENSE 05:03:32 -rw-rw-r--. 1 jenkins jenkins 996 Jun 15 05:02 Makefile 05:03:32 -rw-rw-r--. 1 jenkins jenkins 7667 Jun 15 05:02 README.md 05:03:32 drwxrwxr-x. 4 jenkins jenkins 71 Jun 15 05:02 snap 05:03:32 -rw-rw-r--. 1 jenkins jenkins 12 Jun 15 04:59 VERSION 05:03:32 -rw-rw-r--. 1 jenkins jenkins 713 Jun 15 05:02 version.go [Pipeline] isUnix [Pipeline] sh 05:03:32 + 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=597d67ccc6e047abbec756f631c33e19ce59cb1b --label arch=amd64 --label version=1.2.2-dev.18 . 05:03:32 Sending build context to Docker daemon 101.9kB 05:03:32 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 05:03:32 Step 2/25 : FROM ${BASE} AS builder 05:03:32 ---> b7f64f454842 05:03:32 Step 3/25 : ARG MAKE='make build' 05:03:32 ---> Running in 50442d35d42b 05:03:32 Removing intermediate container 50442d35d42b 05:03:32 ---> 58c59cecaf04 05:03:32 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:03:32 ---> Running in 3edd39ad5580 05:03:33 Removing intermediate container 3edd39ad5580 05:03:33 ---> 6bd6abdb609f 05:03:33 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 05:03:33 ---> Running in 928a933c2fb4 05:03:33 Removing intermediate container 928a933c2fb4 05:03:33 ---> 7d7e7dccf870 05:03:33 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:33 ---> Running in ca3d4df3b1b2 05:03:34 Removing intermediate container ca3d4df3b1b2 05:03:34 ---> 46be6fb6966d 05:03:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:03:34 ---> Running in 49ab5325a99d 05:03:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:03:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:03:37 OK: 154 MiB in 49 packages 05:03:37 Removing intermediate container b9784af72644 05:03:37 ---> b919bf79c0c0 05:03:37 Successfully built b919bf79c0c0 05:03:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:03:38 Removing intermediate container 49ab5325a99d 05:03:38 ---> a26c056d8df5 05:03:38 Step 8/25 : WORKDIR /device-rest-go 05:03:38 ---> Running in 1876f6d64703 05:03:38 + docker inspect -f . ci-base-image-arm64 05:03:38 . [Pipeline] withDockerContainer 05:03:38 Removing intermediate container 1876f6d64703 05:03:38 ---> aad8990cbd6a 05:03:38 Step 9/25 : COPY . . 05:03:38 ---> e252462dc020 05:03:38 Step 10/25 : RUN go mod tidy 05:03:38 ---> Running in 1453fa4ea53b 05:03:38 prd-ubuntu18.04-docker-arm64-4c-16g-1418 does not seem to be running inside a container 05:03:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/52 -v /w/workspace/device-rest-go/52:/w/workspace/device-rest-go/52:rw,z -v /w/workspace/device-rest-go/52@tmp:/w/workspace/device-rest-go/52@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 05:03:39 Removing intermediate container 1453fa4ea53b 05:03:39 ---> f6a85a22ca5f 05:03:39 Step 11/25 : RUN make update 05:03:39 ---> Running in e642a3ad252e 05:03:39 CGO_ENABLED=0 GO111MODULE=on go mod download 05:03:39 Removing intermediate container e642a3ad252e 05:03:39 ---> 90000f11bb9d 05:03:39 Step 12/25 : RUN $MAKE 05:03:39 ---> Running in 7320133dcc6b 05:03:40 go mod tidy 05:03:40 $ docker top 5acb166833e3d0051d5f77bc587ccce1c6b1884451d9b6f6751cbe4d61ff9f13 -eo pid,comm 05:03:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.18" -o cmd/device-rest ./cmd [Pipeline] { [Pipeline] sh 05:03:41 + go version 05:03:41 go version go1.16.5 linux/arm64 [Pipeline] } 05:03:41 $ docker stop --time=1 5acb166833e3d0051d5f77bc587ccce1c6b1884451d9b6f6751cbe4d61ff9f13 05:03:43 $ docker rm -f 5acb166833e3d0051d5f77bc587ccce1c6b1884451d9b6f6751cbe4d61ff9f13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:03:43 + docker inspect -f . ci-base-image-arm64 05:03:43 . [Pipeline] withDockerContainer 05:03:44 prd-ubuntu18.04-docker-arm64-4c-16g-1418 does not seem to be running inside a container 05:03:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/52 -v /w/workspace/device-rest-go/52:/w/workspace/device-rest-go/52:rw,z -v /w/workspace/device-rest-go/52@tmp:/w/workspace/device-rest-go/52@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 05:03:45 $ docker top e71a8b372f1513d31a12a05bfd7847a458a52f9a0ccda142731c144fac359cb1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:46 + go mod tidy [Pipeline] sh 05:03:47 + make test 05:03:47 go mod tidy 05:03:48 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:03:49 ? github.com/edgexfoundry/device-rest-go [no test files] 05:03:52 Removing intermediate container 7320133dcc6b 05:03:52 ---> 9bb0a4e0ef1c 05:03:52 Step 13/25 : FROM alpine:3.12 05:03:52 3.12: Pulling from library/alpine 05:03:52 339de151aab4: Pulling fs layer 05:03:52 339de151aab4: Verifying Checksum 05:03:52 339de151aab4: Download complete 05:03:52 339de151aab4: Pull complete 05:03:52 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:03:52 Status: Downloaded newer image for alpine:3.12 05:03:52 ---> 13621d1b12d4 05:03:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:03:52 ---> Running in e1f3ced63492 05:03:52 Removing intermediate container e1f3ced63492 05:03:52 ---> bce27803655f 05:03:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 05:03:52 ---> Running in 755d20d8bc91 05:03:52 Removing intermediate container 755d20d8bc91 05:03:52 ---> 03dabc6c9dfa 05:03:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 05:03:52 ---> Running in f6475c6c9bf3 05:03:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:03:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:03:53 (1/6) Installing dumb-init (1.2.2-r1) 05:03:53 (2/6) Installing libgcc (9.3.0-r2) 05:03:53 (3/6) Installing libsodium (1.0.18-r0) 05:03:53 (4/6) Installing libstdc++ (9.3.0-r2) 05:03:53 (5/6) Installing libzmq (4.3.3-r0) 05:03:53 (6/6) Installing zeromq (4.3.3-r0) 05:03:53 Executing busybox-1.31.1-r20.trigger 05:03:53 OK: 8 MiB in 20 packages 05:03:53 Removing intermediate container f6475c6c9bf3 05:03:53 ---> 9d9f6d179d63 05:03:53 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 05:03:53 ---> cbfc0fbfc9ea 05:03:53 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 05:03:53 ---> 61a5e31d2335 05:03:53 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 05:03:54 ---> 0910a5b0ba4d 05:03:54 Step 20/25 : EXPOSE 59986 05:03:54 ---> Running in 7ccd6204bb77 05:03:54 Removing intermediate container 7ccd6204bb77 05:03:54 ---> 611a4cabcfb3 05:03:54 Step 21/25 : ENTRYPOINT ["/device-rest"] 05:03:54 ---> Running in 194e08fcdbee 05:03:54 Removing intermediate container 194e08fcdbee 05:03:54 ---> 9f71360a7902 05:03:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:03:54 ---> Running in 2b79ce7e64d5 05:03:54 Removing intermediate container 2b79ce7e64d5 05:03:54 ---> 0c6403826fe1 05:03:54 Step 23/25 : LABEL arch=amd64 05:03:54 ---> Running in 09e2e1cd8993 05:03:54 Removing intermediate container 09e2e1cd8993 05:03:54 ---> d7c5dac8bdcd 05:03:54 Step 24/25 : LABEL git_sha=597d67ccc6e047abbec756f631c33e19ce59cb1b 05:03:55 ---> Running in f7859d4db6f4 05:03:55 Removing intermediate container f7859d4db6f4 05:03:55 ---> 667562ab8f4e 05:03:55 Step 25/25 : LABEL version=1.2.2-dev.18 05:03:55 ---> Running in b379e56bb8cb 05:03:55 Removing intermediate container b379e56bb8cb 05:03:55 ---> 787bbec29930 05:03:55 [Warning] One or more build-args [ARCH] were not consumed 05:03:55 Successfully built 787bbec29930 05:03:55 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:55 provisioning config files... 05:03:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/52@tmp/config3550504712194871292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:55 ---> docker-login.sh 05:03:55 nexus3.edgexfoundry.org:10001 05:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:55 Configure a credential helper to remove this warning. See 05:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:55 05:03:55 Login Succeeded 05:03:55 nexus3.edgexfoundry.org:10002 05:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:56 Configure a credential helper to remove this warning. See 05:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:56 05:03:56 Login Succeeded 05:03:56 nexus3.edgexfoundry.org:10003 05:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:56 Configure a credential helper to remove this warning. See 05:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:56 05:03:56 Login Succeeded 05:03:56 nexus3.edgexfoundry.org:10004 05:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:56 Configure a credential helper to remove this warning. See 05:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:56 05:03:56 Login Succeeded 05:03:56 docker.io 05:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:56 Configure a credential helper to remove this warning. See 05:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:56 05:03:56 Login Succeeded 05:03:56 ---> docker-login.sh ends [Pipeline] } 05:03:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:03:56 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 05:03:56 597d67ccc6e047abbec756f631c33e19ce59cb1b 05:03:56 latest 05:03:56 1.2.2-dev.18 05:03:56 597d67ccc6e047abbec756f631c33e19ce59cb1b-1.2.2-dev.18 05:03:56 master 05:03:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:03:57 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:597d67ccc6e047abbec756f631c33e19ce59cb1b [Pipeline] isUnix [Pipeline] sh 05:03:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:597d67ccc6e047abbec756f631c33e19ce59cb1b 05:03:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:03:57 84ae9fcef9a1: Preparing 05:03:57 a1d73b1c1895: Preparing 05:03:57 eb2b9b276208: Preparing 05:03:57 3e51b702bc24: Preparing 05:03:57 32f366d666a5: Preparing 05:03:57 32f366d666a5: Layer already exists 05:03:57 a1d73b1c1895: Pushed 05:03:57 84ae9fcef9a1: Pushed 05:03:57 3e51b702bc24: Pushed 05:03:58 eb2b9b276208: Pushed 05:03:59 597d67ccc6e047abbec756f631c33e19ce59cb1b: digest: sha256:c47552723d7e7115d15b6a6fd5082524092382a53ce2cbe250b096a68c7e4201 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:03:59 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 05:03:59 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 05:03:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:03:59 84ae9fcef9a1: Preparing 05:03:59 a1d73b1c1895: Preparing 05:03:59 eb2b9b276208: Preparing 05:03:59 3e51b702bc24: Preparing 05:03:59 32f366d666a5: Preparing 05:03:59 32f366d666a5: Layer already exists 05:03:59 eb2b9b276208: Layer already exists 05:03:59 84ae9fcef9a1: Layer already exists 05:03:59 3e51b702bc24: Layer already exists 05:03:59 a1d73b1c1895: Layer already exists 05:03:59 latest: digest: sha256:c47552723d7e7115d15b6a6fd5082524092382a53ce2cbe250b096a68c7e4201 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:04:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.18 [Pipeline] isUnix [Pipeline] sh 05:04:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.18 05:04:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:04:00 84ae9fcef9a1: Preparing 05:04:00 a1d73b1c1895: Preparing 05:04:00 eb2b9b276208: Preparing 05:04:00 3e51b702bc24: Preparing 05:04:00 32f366d666a5: Preparing 05:04:00 eb2b9b276208: Layer already exists 05:04:00 32f366d666a5: Layer already exists 05:04:00 3e51b702bc24: Layer already exists 05:04:00 a1d73b1c1895: Layer already exists 05:04:00 84ae9fcef9a1: Layer already exists 05:04:00 1.2.2-dev.18: digest: sha256:c47552723d7e7115d15b6a6fd5082524092382a53ce2cbe250b096a68c7e4201 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:04:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:597d67ccc6e047abbec756f631c33e19ce59cb1b-1.2.2-dev.18 [Pipeline] isUnix [Pipeline] sh 05:04:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:597d67ccc6e047abbec756f631c33e19ce59cb1b-1.2.2-dev.18 05:04:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:04:00 84ae9fcef9a1: Preparing 05:04:00 a1d73b1c1895: Preparing 05:04:00 eb2b9b276208: Preparing 05:04:00 3e51b702bc24: Preparing 05:04:00 32f366d666a5: Preparing 05:04:00 32f366d666a5: Layer already exists 05:04:00 84ae9fcef9a1: Layer already exists 05:04:00 3e51b702bc24: Layer already exists 05:04:00 a1d73b1c1895: Layer already exists 05:04:00 eb2b9b276208: Layer already exists 05:04:00 597d67ccc6e047abbec756f631c33e19ce59cb1b-1.2.2-dev.18: digest: sha256:c47552723d7e7115d15b6a6fd5082524092382a53ce2cbe250b096a68c7e4201 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:04:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh 05:04:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:master 05:04:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:04:01 84ae9fcef9a1: Preparing 05:04:01 a1d73b1c1895: Preparing 05:04:01 eb2b9b276208: Preparing 05:04:01 3e51b702bc24: Preparing 05:04:01 32f366d666a5: Preparing 05:04:01 84ae9fcef9a1: Layer already exists 05:04:01 a1d73b1c1895: Layer already exists 05:04:01 3e51b702bc24: Layer already exists 05:04:01 eb2b9b276208: Layer already exists 05:04:01 32f366d666a5: Layer already exists 05:04:01 master: digest: sha256:c47552723d7e7115d15b6a6fd5082524092382a53ce2cbe250b096a68c7e4201 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:04:01 ===================================================== [Pipeline] echo 05:04:01 taggedImages: 05:04:01 - nexus3.edgexfoundry.org:10004/device-rest:597d67ccc6e047abbec756f631c33e19ce59cb1b 05:04:01 - nexus3.edgexfoundry.org:10004/device-rest:latest 05:04:01 - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.18 05:04:01 - nexus3.edgexfoundry.org:10004/device-rest:597d67ccc6e047abbec756f631c33e19ce59cb1b-1.2.2-dev.18 05:04:01 - nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:04:02 ---> job-cost.sh 05:04:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wqG0 05:04:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:04:26 lf-activate-venv(): INFO: Adding /tmp/venv-wqG0/bin to PATH 05:04:26 INFO: No Stack... 05:04:27 INFO: Retrieving Pricing Info for: v3-standard-2 05:04:27 INFO: Archiving Costs [Pipeline] sh 05:04:28 + cut -d, -f6 05:04:28 + cat /w/workspace/device-rest-go/52/archives/cost.csv [Pipeline] lock 05:04:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-52-stack-cost] 05:04:28 Resource [jenkins-edgexfoundry-device-rest-go-master-52-stack-cost] did not exist. Created. 05:04:28 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:28 + echo total: 0.05999999865889549 [Pipeline] stash 05:04:28 Stashed 1 file(s) [Pipeline] } 05:04:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-52-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:04:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:04:46 ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 54.0% of statements 05:04:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:08 gofmt -l . 05:05:08 [ "`gofmt -l .`" = "" ] 05:05:08 ./bin/test-go-mod-tidy.sh 05:05:09 ./bin/test-attribution-txt.sh [Pipeline] } 05:05:11 $ docker stop --time=1 e71a8b372f1513d31a12a05bfd7847a458a52f9a0ccda142731c144fac359cb1 05:05:13 $ docker rm -f e71a8b372f1513d31a12a05bfd7847a458a52f9a0ccda142731c144fac359cb1 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:14 Warning: overwriting stash ‘coverage-report’ 05:05:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:15 + ls -al . 05:05:15 total 132 05:05:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 05:05 . 05:05:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 05:02 .. 05:05:15 -rw-rw-r-- 1 jenkins jenkins 151 Jun 15 05:02 .dockerignore 05:05:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 05:02 .git 05:05:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:02 .github 05:05:15 -rw-rw-r-- 1 jenkins jenkins 336 Jun 15 05:02 .gitignore 05:05:15 -rw-rw-r-- 1 jenkins jenkins 6792 Jun 15 05:02 Attribution.txt 05:05:15 -rw-rw-r-- 1 jenkins jenkins 1615 Jun 15 05:02 Dockerfile 05:05:15 -rw-rw-r-- 1 jenkins jenkins 1087 Jun 15 05:02 Dockerfile.build 05:05:15 -rw-rw-r-- 1 jenkins jenkins 680 Jun 15 05:02 Jenkinsfile 05:05:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 15 05:02 LICENSE 05:05:15 -rw-rw-r-- 1 jenkins jenkins 996 Jun 15 05:02 Makefile 05:05:15 -rw-rw-r-- 1 jenkins jenkins 7667 Jun 15 05:02 README.md 05:05:15 -rw-rw-r-- 1 jenkins jenkins 12 Jun 15 04:59 VERSION 05:05:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:02 bin 05:05:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 05:02 cmd 05:05:15 -rw-r--r-- 1 jenkins jenkins 8513 Jun 15 05:04 coverage.out 05:05:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 05:02 driver 05:05:15 -rw-r--r-- 1 jenkins jenkins 286 Jun 15 05:05 go.mod 05:05:15 -rw-r--r-- 1 jenkins jenkins 20777 Jun 15 05:03 go.sum 05:05:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 05:02 snap 05:05:15 -rw-rw-r-- 1 jenkins jenkins 713 Jun 15 05:02 version.go [Pipeline] isUnix [Pipeline] sh 05:05:16 + 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=597d67ccc6e047abbec756f631c33e19ce59cb1b --label arch=arm64 --label version=1.2.2-dev.18 . 05:05:16 Sending build context to Docker daemon 101.9kB 05:05:16 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 05:05:16 Step 2/25 : FROM ${BASE} AS builder 05:05:16 ---> b919bf79c0c0 05:05:16 Step 3/25 : ARG MAKE='make build' 05:05:16 ---> Running in 1e55386b92a9 05:05:17 Removing intermediate container 1e55386b92a9 05:05:17 ---> 203c95c1bbfc 05:05:17 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:17 ---> Running in c598c08f0ad5 05:05:17 Removing intermediate container c598c08f0ad5 05:05:17 ---> 2d0b51afd895 05:05:17 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 05:05:17 ---> Running in c021ca354604 05:05:18 Removing intermediate container c021ca354604 05:05:18 ---> b325a7883bfa 05:05:18 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:18 ---> Running in 5934b8d46aff 05:05:21 Removing intermediate container 5934b8d46aff 05:05:21 ---> 555bbdd46eaf 05:05:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:21 ---> Running in 0cdd0c579d50 05:05:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:05:22 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:05:23 OK: 144 MiB in 49 packages 05:05:24 Removing intermediate container 0cdd0c579d50 05:05:24 ---> 6c1364e2bef2 05:05:24 Step 8/25 : WORKDIR /device-rest-go 05:05:24 ---> Running in fc8105ced7e3 05:05:25 Removing intermediate container fc8105ced7e3 05:05:25 ---> 976747a4acfc 05:05:25 Step 9/25 : COPY . . 05:05:26 ---> 1a2fddb39f76 05:05:26 Step 10/25 : RUN go mod tidy 05:05:26 ---> Running in 4371e3298502 05:05:29 Removing intermediate container 4371e3298502 05:05:29 ---> bd588c17bc9c 05:05:29 Step 11/25 : RUN make update 05:05:29 ---> Running in 910e8caacba3 05:05:30 CGO_ENABLED=0 GO111MODULE=on go mod download 05:05:31 Removing intermediate container 910e8caacba3 05:05:31 ---> 470232376ae7 05:05:31 Step 12/25 : RUN $MAKE 05:05:31 ---> Running in 76485c3113cd 05:05:32 go mod tidy 05:05:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.18" -o cmd/device-rest ./cmd 05:06:12 Removing intermediate container 76485c3113cd 05:06:12 ---> ae783766fa02 05:06:12 Step 13/25 : FROM alpine:3.12 05:06:12 3.12: Pulling from library/alpine 05:06:12 d2f70382dc9a: Pulling fs layer 05:06:12 d2f70382dc9a: Verifying Checksum 05:06:12 d2f70382dc9a: Download complete 05:06:12 d2f70382dc9a: Pull complete 05:06:12 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:06:12 Status: Downloaded newer image for alpine:3.12 05:06:12 ---> 9852663dfa18 05:06:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:06:12 ---> Running in 750a33fc71fd 05:06:12 Removing intermediate container 750a33fc71fd 05:06:12 ---> 3e4b6a55d985 05:06:12 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 05:06:12 ---> Running in 41848a1956f6 05:06:12 Removing intermediate container 41848a1956f6 05:06:12 ---> 50700ef96536 05:06:12 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 05:06:12 ---> Running in fd9a46049035 05:06:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:06:12 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:06:12 (1/6) Installing dumb-init (1.2.2-r1) 05:06:12 (2/6) Installing libgcc (9.3.0-r2) 05:06:12 (3/6) Installing libsodium (1.0.18-r0) 05:06:12 (4/6) Installing libstdc++ (9.3.0-r2) 05:06:12 (5/6) Installing libzmq (4.3.3-r0) 05:06:12 (6/6) Installing zeromq (4.3.3-r0) 05:06:12 Executing busybox-1.31.1-r20.trigger 05:06:12 OK: 8 MiB in 20 packages 05:06:14 Removing intermediate container fd9a46049035 05:06:14 ---> 7ee2d1c79b3f 05:06:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 05:06:15 ---> 9851cd494733 05:06:15 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 05:06:16 ---> 676e956f53d3 05:06:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 05:06:17 ---> 7cd52137b08b 05:06:17 Step 20/25 : EXPOSE 59986 05:06:17 ---> Running in c512717b1042 05:06:17 Removing intermediate container c512717b1042 05:06:17 ---> b61157f4678d 05:06:17 Step 21/25 : ENTRYPOINT ["/device-rest"] 05:06:17 ---> Running in 2932a28979ac 05:06:17 Removing intermediate container 2932a28979ac 05:06:17 ---> a9bdacc0637c 05:06:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:06:18 ---> Running in 07cc1f0c253d 05:06:18 Removing intermediate container 07cc1f0c253d 05:06:18 ---> 20b56d213fcb 05:06:18 Step 23/25 : LABEL arch=arm64 05:06:18 ---> Running in 206ded672aac 05:06:19 Removing intermediate container 206ded672aac 05:06:19 ---> 6812303928eb 05:06:19 Step 24/25 : LABEL git_sha=597d67ccc6e047abbec756f631c33e19ce59cb1b 05:06:19 ---> Running in 2e4a37a44867 05:06:19 Removing intermediate container 2e4a37a44867 05:06:19 ---> 6dc44c6589ed 05:06:19 Step 25/25 : LABEL version=1.2.2-dev.18 05:06:19 ---> Running in 892a7e275af2 05:06:20 Removing intermediate container 892a7e275af2 05:06:20 ---> 627d939401bb 05:06:20 [Warning] One or more build-args [ARCH] were not consumed 05:06:20 Successfully built 627d939401bb 05:06:20 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 05:06:20 provisioning config files... 05:06:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/52@tmp/config5864605129290113750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:21 ---> docker-login.sh 05:06:21 nexus3.edgexfoundry.org:10001 05:06:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:21 Configure a credential helper to remove this warning. See 05:06:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:21 05:06:21 Login Succeeded 05:06:21 nexus3.edgexfoundry.org:10002 05:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:22 Configure a credential helper to remove this warning. See 05:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:22 05:06:22 Login Succeeded 05:06:22 nexus3.edgexfoundry.org:10003 05:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:22 Configure a credential helper to remove this warning. See 05:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:22 05:06:22 Login Succeeded 05:06:22 nexus3.edgexfoundry.org:10004 05:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:23 Configure a credential helper to remove this warning. See 05:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:23 05:06:23 Login Succeeded 05:06:23 docker.io 05:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:24 Configure a credential helper to remove this warning. See 05:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:24 05:06:24 Login Succeeded 05:06:24 ---> docker-login.sh ends [Pipeline] } 05:06:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:06:24 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 05:06:24 597d67ccc6e047abbec756f631c33e19ce59cb1b 05:06:24 latest 05:06:24 1.2.2-dev.18 05:06:24 597d67ccc6e047abbec756f631c33e19ce59cb1b-1.2.2-dev.18 05:06:24 master 05:06:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:06:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:597d67ccc6e047abbec756f631c33e19ce59cb1b [Pipeline] isUnix [Pipeline] sh 05:06:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:597d67ccc6e047abbec756f631c33e19ce59cb1b 05:06:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:06:25 cd3632800577: Preparing 05:06:25 9334c9dbba72: Preparing 05:06:25 7b58525a1f12: Preparing 05:06:25 bd967c7d0471: Preparing 05:06:25 3fbe34a1663b: Preparing 05:06:25 3fbe34a1663b: Layer already exists 05:06:25 cd3632800577: Pushed 05:06:25 9334c9dbba72: Pushed 05:06:25 bd967c7d0471: Pushed 05:06:28 7b58525a1f12: Pushed 05:06:28 597d67ccc6e047abbec756f631c33e19ce59cb1b: digest: sha256:bf192ed51d1a529af02261932a507ba6d3b403045846332eab5708dee52c407f size: 1365 [Pipeline] isUnix [Pipeline] sh 05:06:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:06:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:06:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:06:29 cd3632800577: Preparing 05:06:29 9334c9dbba72: Preparing 05:06:29 7b58525a1f12: Preparing 05:06:29 bd967c7d0471: Preparing 05:06:29 3fbe34a1663b: Preparing 05:06:29 7b58525a1f12: Layer already exists 05:06:29 3fbe34a1663b: Layer already exists 05:06:29 cd3632800577: Layer already exists 05:06:29 bd967c7d0471: Layer already exists 05:06:29 9334c9dbba72: Layer already exists 05:06:29 latest: digest: sha256:bf192ed51d1a529af02261932a507ba6d3b403045846332eab5708dee52c407f size: 1365 [Pipeline] isUnix [Pipeline] sh 05:06:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.18 [Pipeline] isUnix [Pipeline] sh 05:06:30 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.18 05:06:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:06:30 cd3632800577: Preparing 05:06:30 9334c9dbba72: Preparing 05:06:30 7b58525a1f12: Preparing 05:06:30 bd967c7d0471: Preparing 05:06:30 3fbe34a1663b: Preparing 05:06:30 9334c9dbba72: Layer already exists 05:06:30 cd3632800577: Layer already exists 05:06:30 bd967c7d0471: Layer already exists 05:06:30 3fbe34a1663b: Layer already exists 05:06:30 7b58525a1f12: Layer already exists 05:06:30 1.2.2-dev.18: digest: sha256:bf192ed51d1a529af02261932a507ba6d3b403045846332eab5708dee52c407f size: 1365 [Pipeline] isUnix [Pipeline] sh 05:06:30 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:597d67ccc6e047abbec756f631c33e19ce59cb1b-1.2.2-dev.18 [Pipeline] isUnix [Pipeline] sh 05:06:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:597d67ccc6e047abbec756f631c33e19ce59cb1b-1.2.2-dev.18 05:06:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:06:31 cd3632800577: Preparing 05:06:31 9334c9dbba72: Preparing 05:06:31 7b58525a1f12: Preparing 05:06:31 bd967c7d0471: Preparing 05:06:31 3fbe34a1663b: Preparing 05:06:31 3fbe34a1663b: Layer already exists 05:06:31 bd967c7d0471: Layer already exists 05:06:31 cd3632800577: Layer already exists 05:06:31 7b58525a1f12: Layer already exists 05:06:31 9334c9dbba72: Layer already exists 05:06:31 597d67ccc6e047abbec756f631c33e19ce59cb1b-1.2.2-dev.18: digest: sha256:bf192ed51d1a529af02261932a507ba6d3b403045846332eab5708dee52c407f size: 1365 [Pipeline] isUnix [Pipeline] sh 05:06:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh 05:06:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master 05:06:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:06:32 cd3632800577: Preparing 05:06:32 9334c9dbba72: Preparing 05:06:32 7b58525a1f12: Preparing 05:06:32 bd967c7d0471: Preparing 05:06:32 3fbe34a1663b: Preparing 05:06:32 9334c9dbba72: Layer already exists 05:06:32 bd967c7d0471: Layer already exists 05:06:32 3fbe34a1663b: Layer already exists 05:06:32 7b58525a1f12: Layer already exists 05:06:32 cd3632800577: Layer already exists 05:06:32 master: digest: sha256:bf192ed51d1a529af02261932a507ba6d3b403045846332eab5708dee52c407f size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:06:32 ===================================================== [Pipeline] echo 05:06:32 taggedImages: 05:06:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:597d67ccc6e047abbec756f631c33e19ce59cb1b 05:06:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:06:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.18 05:06:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:597d67ccc6e047abbec756f631c33e19ce59cb1b-1.2.2-dev.18 05:06:32 - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:06:33 ---> job-cost.sh 05:06:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fiKx 05:07:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:08:33 lf-activate-venv(): INFO: Adding /tmp/venv-fiKx/bin to PATH 05:08:33 INFO: No Stack... 05:08:34 INFO: Retrieving Pricing Info for: v2-standard-4 05:08:34 INFO: Archiving Costs [Pipeline] sh 05:08:34 + cat /w/workspace/device-rest-go/52/archives/cost.csv 05:08:34 + cut -d, -f6 [Pipeline] lock 05:08:35 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-52-stack-cost] 05:08:35 Resource [jenkins-edgexfoundry-device-rest-go-master-52-stack-cost] did not exist. Created. 05:08:35 Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:08:35 /w/workspace/device-rest-go/52@tmp/durable-384f768e/script.sh: 1: /w/workspace/device-rest-go/52@tmp/durable-384f768e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:08:35 + echo total: 0.18000000715255737 [Pipeline] stash 05:08:35 Warning: overwriting stash ‘stack-cost’ 05:08:35 Stashed 1 file(s) [Pipeline] } 05:08:35 Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-52-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 05:08:36 provisioning config files... 05:08:36 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4504577912190515098tmp [Pipeline] { [Pipeline] sh 05:08:37 + set +x 05:08:37 + bash -s -- 05:08:37 + curl -s https://codecov.io/bash 05:08:37 05:08:37 _____ _ 05:08:37 / ____| | | 05:08:37 | | ___ __| | ___ ___ _____ __ 05:08:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:08:37 | |___| (_) | (_| | __/ (_| (_) \ V / 05:08:37 \_____\___/ \__,_|\___|\___\___/ \_/ 05:08:37 Bash-1.0.3 05:08:37 05:08:37 05:08:37 ==> git version 2.24.4 found 05:08:37 ==> 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 05:08:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:08:37 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:08:37 ==> Jenkins CI detected. 05:08:37 project root: . 05:08:37 --> token set from env 05:08:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:08:37 ==> Running gcov in . (disable via -X gcov) 05:08:37 ==> Python coveragepy not found 05:08:37 ==> Searching for coverage reports in: 05:08:37 + . 05:08:37 -> Found 1 reports 05:08:37 ==> Detecting git/mercurial file structure 05:08:37 ==> Reading reports 05:08:37 + ./coverage.out bytes=8513 05:08:37 ==> Appending adjustments 05:08:37 https://docs.codecov.io/docs/fixing-reports 05:08:37 + Found adjustments 05:08:37 ==> Gzipping contents 05:08:37 4.0K /tmp/codecov.yDFoJJ.gz 05:08:37 ==> Uploading reports 05:08:37 url: https://codecov.io 05:08:37 query: branch=master&commit=597d67ccc6e047abbec756f631c33e19ce59cb1b&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:08:37 -> Pinging Codecov 05:08:37 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=597d67ccc6e047abbec756f631c33e19ce59cb1b&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:08:37 -> Uploading to 05:08:37 https://storage.googleapis.com/codecov/v4/raw/2021-06-15/4E5D53B4F1F92C436F7061BF334D961C/597d67ccc6e047abbec756f631c33e19ce59cb1b/63c03b11-65f5-4486-ad92-b8270ab8ac9f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210615%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210615T050837Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=558663cf263abf01af00db3e33f6f22c9a7a857e9dc21077c51a44b4cca3db34 05:08:37 % Total % Received % Xferd Average Speed Time Time Time Current 05:08:37 Dload Upload Total Spent Left Speed 05:08:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1618 0 0 100 1618 0 4755 --:--:-- --:--:-- --:--:-- 4758 05:08:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/597d67ccc6e047abbec756f631c33e19ce59cb1b [Pipeline] } 05:08:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:08:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:08:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:08:39 05:08:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:08:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:08:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:08:39 188c0c94c7c5: Pulling fs layer 05:08:39 0ef7d3d256c8: Pulling fs layer 05:08:39 de9db76c5a1d: Pulling fs layer 05:08:39 0eba1c9be4d2: Pulling fs layer 05:08:39 0d57e429df01: Pulling fs layer 05:08:39 4e4be7b47b0d: Pulling fs layer 05:08:39 e1f770b5df2f: Pulling fs layer 05:08:39 85a0685a4137: Pulling fs layer 05:08:39 0d57e429df01: Waiting 05:08:39 4e4be7b47b0d: Waiting 05:08:39 e1f770b5df2f: Waiting 05:08:39 85a0685a4137: Waiting 05:08:39 0eba1c9be4d2: Waiting 05:08:39 de9db76c5a1d: Verifying Checksum 05:08:39 de9db76c5a1d: Download complete 05:08:39 0ef7d3d256c8: Verifying Checksum 05:08:39 0ef7d3d256c8: Download complete 05:08:39 0d57e429df01: Verifying Checksum 05:08:39 0d57e429df01: Download complete 05:08:39 4e4be7b47b0d: Verifying Checksum 05:08:39 4e4be7b47b0d: Download complete 05:08:39 188c0c94c7c5: Verifying Checksum 05:08:39 188c0c94c7c5: Download complete 05:08:39 188c0c94c7c5: Pull complete 05:08:40 0ef7d3d256c8: Pull complete 05:08:40 de9db76c5a1d: Pull complete 05:08:41 e1f770b5df2f: Verifying Checksum 05:08:41 e1f770b5df2f: Download complete 05:08:42 0eba1c9be4d2: Verifying Checksum 05:08:42 0eba1c9be4d2: Download complete 05:08:43 85a0685a4137: Verifying Checksum 05:08:43 85a0685a4137: Download complete 05:08:45 0eba1c9be4d2: Pull complete 05:08:45 0d57e429df01: Pull complete 05:08:46 4e4be7b47b0d: Pull complete 05:08:46 e1f770b5df2f: Pull complete 05:08:49 85a0685a4137: Pull complete 05:08:49 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:08:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:08:49 prd-centos7-docker-4c-2g-1417 does not seem to be running inside a container 05:08:49 $ 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 05:08:52 $ docker top b95361800ca0a73db703b9d73f92a9cd99d1987661c7b43be40f9a96e61682d2 -eo pid,comm [Pipeline] { [Pipeline] echo 05:08:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:08:52 + set -o pipefail 05:08:52 + snyk monitor '--org=edgex-jenkins' 05:08:59 05:08:59 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 05:08:59 05:08:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/ba65ba1a-2e5d-4424-bb85-5f96b0b5b46d 05:08:59 05:08:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:08:59 05:08:59 [Pipeline] } 05:08:59 $ docker stop --time=1 b95361800ca0a73db703b9d73f92a9cd99d1987661c7b43be40f9a96e61682d2 05:09:01 $ docker rm -f b95361800ca0a73db703b9d73f92a9cd99d1987661c7b43be40f9a96e61682d2 [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 05:09:01 + git log --format=format:%s -1 597d67ccc6e047abbec756f631c33e19ce59cb1b [Pipeline] isUnix [Pipeline] sh 05:09:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:09:02 . [Pipeline] withDockerContainer 05:09:02 prd-centos7-docker-4c-2g-1417 does not seem to be running inside a container 05:09:02 $ 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 05:09:02 $ docker top 9bf0606b0c6f282a1a72986fb733f58254d6ba900f810c5f869f0195841f258c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:02 [ssh-agent] Looking for ssh-agent implementation... 05:09:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:03 $ docker exec 9bf0606b0c6f282a1a72986fb733f58254d6ba900f810c5f869f0195841f258c ssh-agent 05:09:03 SSH_AUTH_SOCK=/tmp/ssh-j2P86M0x0FGj/agent.13 05:09:03 SSH_AGENT_PID=20 05:09:03 Running ssh-add (command line suppressed) 05:09:03 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4033362575600415744.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4033362575600415744.key) 05:09:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:03 + git semver tag 05:09:03 # -> Open(): unable to determine branch for HEAD 05:09:03 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 05:09:03 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 05:09:03 # $SEMVER_REMOTE_NAME = origin 05:09:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:09:03 # $SEMVER_USER_NAME = edgex-jenkins 05:09:03 # $SEMVER_BRANCH = master 05:09:03 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 05:09:03 # 597d67ccc6e047abbec756f631c33e19ce59cb1b HEAD 05:09:03 # -> Force: false 05:09:03 # 150fcf8edc3077803c0d48d2d14719b66f5f510b refs/tags/v1.2.2-dev.18 [Pipeline] } 05:09:03 $ docker exec --env ******** --env ******** 9bf0606b0c6f282a1a72986fb733f58254d6ba900f810c5f869f0195841f258c ssh-agent -k 05:09:03 unset SSH_AUTH_SOCK; 05:09:03 unset SSH_AGENT_PID; 05:09:03 echo Agent pid 20 killed; 05:09:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:04 + git semver [Pipeline] } 05:09:04 $ docker stop --time=1 9bf0606b0c6f282a1a72986fb733f58254d6ba900f810c5f869f0195841f258c 05:09:05 $ docker rm -f 9bf0606b0c6f282a1a72986fb733f58254d6ba900f810c5f869f0195841f258c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:09:05 05:09:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:09:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:09:06 0.23.1-centos7: Pulling from edgex-lftools 05:09:06 ab5ef0e58194: Pulling fs layer 05:09:06 9712f1f96733: Pulling fs layer 05:09:06 63f879dbbcfc: Pulling fs layer 05:09:06 0d9ebad4ef96: Pulling fs layer 05:09:06 e9a5061849ea: Pulling fs layer 05:09:06 d747dcd14b5f: Pulling fs layer 05:09:06 2de7ff778b66: Pulling fs layer 05:09:06 0d9ebad4ef96: Waiting 05:09:06 e9a5061849ea: Waiting 05:09:06 2de7ff778b66: Waiting 05:09:06 d747dcd14b5f: Waiting 05:09:06 9712f1f96733: Verifying Checksum 05:09:06 9712f1f96733: Download complete 05:09:07 63f879dbbcfc: Verifying Checksum 05:09:07 63f879dbbcfc: Download complete 05:09:07 e9a5061849ea: Verifying Checksum 05:09:07 e9a5061849ea: Download complete 05:09:07 d747dcd14b5f: Verifying Checksum 05:09:07 d747dcd14b5f: Download complete 05:09:08 2de7ff778b66: Verifying Checksum 05:09:08 2de7ff778b66: Download complete 05:09:08 0d9ebad4ef96: Verifying Checksum 05:09:08 0d9ebad4ef96: Download complete 05:09:08 ab5ef0e58194: Verifying Checksum 05:09:08 ab5ef0e58194: Download complete 05:09:11 ab5ef0e58194: Pull complete 05:09:11 9712f1f96733: Pull complete 05:09:11 63f879dbbcfc: Pull complete 05:09:15 0d9ebad4ef96: Pull complete 05:09:15 e9a5061849ea: Pull complete 05:09:15 d747dcd14b5f: Pull complete 05:09:16 2de7ff778b66: Pull complete 05:09:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:09:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:09:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:09:16 prd-centos7-docker-4c-2g-1417 does not seem to be running inside a container 05:09:16 $ 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 05:09:19 $ docker top dda1f0794e0af5209c729016a9d066f283b111b43ccc525d83135939dfbdc97c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:09:19 provisioning config files... 05:09:19 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5051271293303148765tmp 05:09:19 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6393501025856185666tmp 05:09:19 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4664900696819584534tmp [Pipeline] { [Pipeline] echo 05:09:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:09:20 ---> sigul-configuration.sh 05:09:20 gpg: directory `/root/.gnupg' created 05:09:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:09:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:09:20 gpg: keyring `/root/.gnupg/secring.gpg' created 05:09:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:09:20 gpg: CAST5 encrypted data 05:09:20 gpg: encrypted with 1 passphrase 05:09:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:09:20 + mkdir /home/jenkins 05:09:20 + mkdir /home/jenkins/sigul [Pipeline] sh 05:09:20 + 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 05:09:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:09:21 ---> sigul-install.sh 05:09:25 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:09:25 + git tag --list 05:09:25 v1.0.0 05:09:25 v1.1.0 05:09:25 v1.1.1 05:09:25 v1.1.2 05:09:25 v1.2.0 05:09:25 v1.2.1 05:09:25 v1.2.1-dev.1 05:09:25 v1.2.1-dev.2 05:09:25 v1.2.1-dev.3 05:09:25 v1.2.1-dev.4 05:09:25 v1.2.2-dev.1 05:09:25 v1.2.2-dev.10 05:09:25 v1.2.2-dev.11 05:09:25 v1.2.2-dev.12 05:09:25 v1.2.2-dev.13 05:09:25 v1.2.2-dev.14 05:09:25 v1.2.2-dev.15 05:09:25 v1.2.2-dev.16 05:09:25 v1.2.2-dev.17 05:09:25 v1.2.2-dev.18 05:09:25 v1.2.2-dev.2 05:09:25 v1.2.2-dev.3 05:09:25 v1.2.2-dev.4 05:09:25 v1.2.2-dev.5 05:09:25 v1.2.2-dev.6 05:09:25 v1.2.2-dev.7 05:09:25 v1.2.2-dev.8 05:09:25 v1.2.2-dev.9 [Pipeline] sh 05:09:26 + lftools sign git-tag v1.2.2-dev.18 05:09:26 Signing Git tag with Sigul... 05:09:26 Signing v1.2.2-dev.18 [Pipeline] echo 05:09:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:09:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:09:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:09:27 $ docker stop --time=1 dda1f0794e0af5209c729016a9d066f283b111b43ccc525d83135939dfbdc97c 05:09:29 $ docker rm -f dda1f0794e0af5209c729016a9d066f283b111b43ccc525d83135939dfbdc97c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:09:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:09:29 . [Pipeline] withDockerContainer 05:09:29 prd-centos7-docker-4c-2g-1417 does not seem to be running inside a container 05:09:29 $ 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 05:09:30 $ docker top 0c6bd91bb48f7b9fe1c9d67964c9086c70a7b62b3511edb03047dd23327f1b3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:30 [ssh-agent] Looking for ssh-agent implementation... 05:09:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:30 $ docker exec 0c6bd91bb48f7b9fe1c9d67964c9086c70a7b62b3511edb03047dd23327f1b3c ssh-agent 05:09:30 SSH_AUTH_SOCK=/tmp/ssh-SRES6X3iiS5p/agent.14 05:09:30 SSH_AGENT_PID=20 05:09:30 Running ssh-add (command line suppressed) 05:09:30 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7378513388385759129.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7378513388385759129.key) 05:09:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:31 + git semver bump pre 05:09:31 # -> Open(): unable to determine branch for HEAD 05:09:31 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 05:09:31 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 05:09:31 # $SEMVER_REMOTE_NAME = origin 05:09:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:09:31 # $SEMVER_USER_NAME = edgex-jenkins 05:09:31 # $SEMVER_BRANCH = master 05:09:31 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 05:09:31 1.2.2-dev.19 [Pipeline] } 05:09:31 $ docker exec --env ******** --env ******** 0c6bd91bb48f7b9fe1c9d67964c9086c70a7b62b3511edb03047dd23327f1b3c ssh-agent -k 05:09:31 unset SSH_AUTH_SOCK; 05:09:31 unset SSH_AGENT_PID; 05:09:31 echo Agent pid 20 killed; 05:09:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:31 + git semver [Pipeline] } 05:09:31 $ docker stop --time=1 0c6bd91bb48f7b9fe1c9d67964c9086c70a7b62b3511edb03047dd23327f1b3c 05:09:32 $ docker rm -f 0c6bd91bb48f7b9fe1c9d67964c9086c70a7b62b3511edb03047dd23327f1b3c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:09:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:09:33 . [Pipeline] withDockerContainer 05:09:33 prd-centos7-docker-4c-2g-1417 does not seem to be running inside a container 05:09: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:09:33 $ docker top d45f4c1a02fd42a005bb52bcafe26239ef30380e15b4165b1f115369697e30fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:33 [ssh-agent] Looking for ssh-agent implementation... 05:09:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:33 $ docker exec d45f4c1a02fd42a005bb52bcafe26239ef30380e15b4165b1f115369697e30fd ssh-agent 05:09:33 SSH_AUTH_SOCK=/tmp/ssh-0XUSRcOHVOu1/agent.13 05:09:33 SSH_AGENT_PID=19 05:09:33 Running ssh-add (command line suppressed) 05:09:34 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4000866675925211853.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4000866675925211853.key) 05:09:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:34 + git semver push 05:09:34 # -> Open(): unable to determine branch for HEAD 05:09:34 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 05:09:34 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 05:09:34 # $SEMVER_REMOTE_NAME = origin 05:09:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:09:34 # $SEMVER_USER_NAME = edgex-jenkins 05:09:34 # $SEMVER_BRANCH = master 05:09:34 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 05:09:38 $ docker exec --env ******** --env ******** d45f4c1a02fd42a005bb52bcafe26239ef30380e15b4165b1f115369697e30fd ssh-agent -k 05:09:38 unset SSH_AUTH_SOCK; 05:09:38 unset SSH_AGENT_PID; 05:09:38 echo Agent pid 19 killed; 05:09:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:39 + git semver [Pipeline] } 05:09:39 $ docker stop --time=1 d45f4c1a02fd42a005bb52bcafe26239ef30380e15b4165b1f115369697e30fd 05:09:40 $ docker rm -f d45f4c1a02fd42a005bb52bcafe26239ef30380e15b4165b1f115369697e30fd [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 05:09:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:09:41 ---> package-listing.sh 05:09:41 ++ tr '[:upper:]' '[:lower:]' 05:09:41 ++ facter osfamily 05:09:42 + OS_FAMILY=redhat 05:09:42 + workspace=/w/workspace/gexfoundry_device-rest-go_master 05:09:42 + START_PACKAGES=/tmp/packages_start.txt 05:09:42 + END_PACKAGES=/tmp/packages_end.txt 05:09:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:09:42 + PACKAGES=/tmp/packages_start.txt 05:09:42 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 05:09:42 + PACKAGES=/tmp/packages_end.txt 05:09:42 + case "${OS_FAMILY}" in 05:09:42 + sort 05:09:42 + rpm -qa 05:09:42 + '[' -f /tmp/packages_start.txt ']' 05:09:42 + '[' -f /tmp/packages_end.txt ']' 05:09:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:09:42 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 05:09:42 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 05:09:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 05:09:42 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 05:09:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:09:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:09:43 05:09:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:09:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:09:44 alpine: Pulling from edgex-lftools-log-publisher 05:09:44 df20fa9351a1: Pulling fs layer 05:09:44 36b3adc4ff6f: Pulling fs layer 05:09:44 8ad3a11d3b57: Pulling fs layer 05:09:44 46f8f816bc3b: Pulling fs layer 05:09:44 93b61091891f: Pulling fs layer 05:09:44 93b9cdb0e59b: Pulling fs layer 05:09:44 5e14af77c1be: Pulling fs layer 05:09:44 01666e4c0597: Pulling fs layer 05:09:44 aa168da1d23b: Pulling fs layer 05:09:44 46f8f816bc3b: Waiting 05:09:44 93b61091891f: Waiting 05:09:44 93b9cdb0e59b: Waiting 05:09:44 5e14af77c1be: Waiting 05:09:44 01666e4c0597: Waiting 05:09:44 aa168da1d23b: Waiting 05:09:44 36b3adc4ff6f: Verifying Checksum 05:09:44 36b3adc4ff6f: Download complete 05:09:44 46f8f816bc3b: Verifying Checksum 05:09:44 46f8f816bc3b: Download complete 05:09:44 df20fa9351a1: Verifying Checksum 05:09:44 df20fa9351a1: Download complete 05:09:44 93b9cdb0e59b: Verifying Checksum 05:09:44 93b9cdb0e59b: Download complete 05:09:44 5e14af77c1be: Verifying Checksum 05:09:44 5e14af77c1be: Download complete 05:09:44 93b61091891f: Verifying Checksum 05:09:44 93b61091891f: Download complete 05:09:44 01666e4c0597: Verifying Checksum 05:09:44 01666e4c0597: Download complete 05:09:44 8ad3a11d3b57: Verifying Checksum 05:09:44 8ad3a11d3b57: Download complete 05:09:44 df20fa9351a1: Pull complete 05:09:44 36b3adc4ff6f: Pull complete 05:09:44 8ad3a11d3b57: Pull complete 05:09:44 46f8f816bc3b: Pull complete 05:09:45 93b61091891f: Pull complete 05:09:45 93b9cdb0e59b: Pull complete 05:09:45 5e14af77c1be: Pull complete 05:09:45 01666e4c0597: Pull complete 05:09:46 aa168da1d23b: Verifying Checksum 05:09:46 aa168da1d23b: Download complete 05:09:50 aa168da1d23b: Pull complete 05:09:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:09:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:09:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:09:50 prd-centos7-docker-4c-2g-1417 does not seem to be running inside a container 05:09:50 $ 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 05:09:52 $ docker top dad5a04b7bf149ceb0908a203fda6e8960e722eaabfe92fc58ea8dc6efffef6b -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:53 + touch /tmp/pre-build-complete [Pipeline] sh 05:09:53 + mkdir -p /var/log/sa [Pipeline] sh 05:09:53 + ls /var/log/sa-host 05:09:53 + sadf -c /var/log/sa-host/sa05 05:09:53 file_magic: OK 05:09:53 HZ: Using current value: 100 05:09:53 file_header: OK 05:09:53 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 05:09:53 Statistics: 05:09:53 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:09:53 File successfully converted to sysstat format version 12.2.1 05:09:53 + sadf -c /var/log/sa-host/sa15 05:09:53 file_magic: OK 05:09:53 HZ: Using current value: 100 05:09:53 file_header: OK 05:09:53 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 05:09:53 Statistics: 05:09:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:09:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:53 provisioning config files... 05:09:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config218646997866919016tmp [Pipeline] { [Pipeline] echo 05:09:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:09:54 ---> create-netrc.sh [Pipeline] } 05:09:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:09:54 ---> python-tools-install.sh [Pipeline] echo 05:09:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:09:54 ---> sudo-logs.sh 05:09:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:09:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:09:55 ---> job-cost.sh 05:09:55 lf-activate-venv: SKIPPING 05:09:55 DEBUG: total: 0.18000000715255737 05:09:55 INFO: Retrieving Stack Cost... 05:09:56 INFO: Retrieving Pricing Info for: v3-standard-2 05:09:56 INFO: Archiving Costs [Pipeline] echo 05:09:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:09:56 ---> logs-deploy.sh 05:09:56 lf-activate-venv: SKIPPING 05:09:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/52 05:09:56 INFO: archiving workspace using pattern(s): 05:09:57 Archives upload complete. 05:09:57 INFO: archiving logs to Nexus 05:09:58 ---> uname -a: 05:09:58 Linux prd-centos7-docker-4c-2g-1417.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 05:09:58 05:09:58 05:09:58 ---> lscpu: 05:09:58 Architecture: x86_64 05:09:58 CPU op-mode(s): 32-bit, 64-bit 05:09:58 Byte Order: Little Endian 05:09:58 Address sizes: 40 bits physical, 48 bits virtual 05:09:58 CPU(s): 2 05:09:58 On-line CPU(s) list: 0,1 05:09:58 Thread(s) per core: 1 05:09:58 Core(s) per socket: 1 05:09:58 Socket(s): 2 05:09:58 NUMA node(s): 1 05:09:58 Vendor ID: AuthenticAMD 05:09:58 CPU family: 23 05:09:58 Model: 49 05:09:58 Model name: AMD EPYC-Rome Processor 05:09:58 Stepping: 0 05:09:58 CPU MHz: 2799.998 05:09:58 BogoMIPS: 5599.99 05:09:58 Virtualization: AMD-V 05:09:58 Hypervisor vendor: KVM 05:09:58 Virtualization type: full 05:09:58 L1d cache: 64 KiB 05:09:58 L1i cache: 64 KiB 05:09:58 L2 cache: 1 MiB 05:09:58 L3 cache: 32 MiB 05:09:58 NUMA node0 CPU(s): 0,1 05:09:58 Vulnerability Itlb multihit: Not affected 05:09:58 Vulnerability L1tf: Not affected 05:09:58 Vulnerability Mds: Not affected 05:09:58 Vulnerability Meltdown: Not affected 05:09:58 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:09:58 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:09:58 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:09:58 Vulnerability Srbds: Not affected 05:09:58 Vulnerability Tsx async abort: Not affected 05:09:58 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 05:09:58 05:09:58 05:09:58 ---> nproc: 05:09:58 2 05:09:58 05:09:58 05:09:58 ---> df -h: 05:09:58 Filesystem Size Used Available Use% Mounted on 05:09:58 overlay 40.0G 8.9G 31.1G 22% / 05:09:58 tmpfs 64.0M 0 64.0M 0% /dev 05:09:58 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 05:09:58 shm 64.0M 0 64.0M 0% /dev/shm 05:09:58 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 05:09:58 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 05:09:58 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 05:09:58 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 05:09:58 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master@tmp 05:09:58 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 05:09:58 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 05:09:58 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 05:09:58 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 05:09:58 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-rest-go_master 05:09:58 05:09:58 05:09:58 ---> free -m: 05:09:58 total used free shared buff/cache available 05:09:58 Mem: 7821 1181 3239 0 3399 6557 05:09:58 Swap: 1023 0 1023 05:09:58 05:09:58 05:09:58 ---> ip addr: 05:09:58 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:09:58 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:09:58 inet 127.0.0.1/8 scope host lo 05:09:58 valid_lft forever preferred_lft forever 05:09:58 inet6 ::1/128 scope host 05:09:58 valid_lft forever preferred_lft forever 05:09:58 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 05:09:58 link/ether fa:16:3e:85:7b:74 brd ff:ff:ff:ff:ff:ff 05:09:58 inet 10.30.122.240/23 brd 10.30.123.255 scope global dynamic eth0 05:09:58 valid_lft 85749sec preferred_lft 85749sec 05:09:58 inet6 fe80::f816:3eff:fe85:7b74/64 scope link 05:09:58 valid_lft forever preferred_lft forever 05:09:58 3: docker0: mtu 1500 qdisc noqueue state DOWN 05:09:58 link/ether 02:42:55:29:43:74 brd ff:ff:ff:ff:ff:ff 05:09:58 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 05:09:58 valid_lft forever preferred_lft forever 05:09:58 inet6 fe80::42:55ff:fe29:4374/64 scope link 05:09:58 valid_lft forever preferred_lft forever 05:09:58 05:09:58 05:09:58 ---> sar -b -r -n DEV: 05:09:58 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/15/21 _x86_64_ (2 CPU) 05:09:58 05:09:58 04:58:57 LINUX RESTART (2 CPU) 05:09:58 05:09:58 05:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:09:58 05:01:01 1.83 0.03 1.80 0.00 0.27 33.61 0.00 05:09:58 05:02:01 0.40 0.08 0.32 0.00 1.60 5.58 0.00 05:09:58 05:03:01 0.25 0.00 0.25 0.00 0.00 2.43 0.00 05:09:58 05:04:01 0.17 0.00 0.17 0.00 0.00 2.43 0.00 05:09:58 05:05:01 0.25 0.00 0.25 0.00 0.00 3.45 0.00 05:09:58 05:06:01 0.28 0.00 0.28 0.00 0.00 3.35 0.00 05:09:58 05:07:01 0.22 0.00 0.22 0.00 0.00 3.12 0.00 05:09:58 05:08:01 0.23 0.00 0.23 0.00 0.00 2.20 0.00 05:09:58 05:09:01 99.37 0.03 99.33 0.00 3.73 31440.82 0.00 05:09:58 Average: 11.45 0.02 11.43 0.00 0.62 3500.25 0.00 05:09:58 05:09:58 05:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:09:58 05:01:01 5449812 0 805024 10.05 2620 1751484 1235752 13.64 579772 1580216 20 05:09:58 05:02:01 5448876 0 805832 10.06 2620 1751612 1233108 13.61 584560 1577000 8 05:09:58 05:03:01 5447192 0 807516 10.08 2620 1751612 1233084 13.61 585980 1577000 12 05:09:58 05:04:01 5450656 0 804044 10.04 2620 1751620 1207360 13.33 582500 1577832 8 05:09:58 05:05:01 5450144 0 804552 10.05 2620 1751624 1207564 13.33 580644 1580680 8 05:09:58 05:06:01 5449676 0 805016 10.05 2620 1751628 1207396 13.33 581036 1580680 20 05:09:58 05:07:01 5444004 0 810684 10.12 2620 1751632 1207540 13.33 586416 1580680 16 05:09:58 05:08:01 5439268 0 815412 10.18 2620 1751640 1207360 13.33 591148 1580684 16 05:09:58 05:09:01 4586104 0 950436 11.87 2620 2469780 1279304 14.12 726388 2187076 20 05:09:58 Average: 5351748 0 823168 10.28 2620 1831404 1224274 13.52 599827 1646872 14 05:09:58 05:09:58 05:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:09:58 05:01:01 eth0 5.31 2.07 3.88 0.15 0.00 0.00 0.00 0.00 05:09:58 05:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:02:01 eth0 0.98 0.25 0.32 0.19 0.00 0.00 0.00 0.00 05:09:58 05:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:03:01 eth0 0.53 0.30 0.27 0.20 0.00 0.00 0.00 0.00 05:09:58 05:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:04:01 eth0 0.62 0.08 0.06 0.01 0.00 0.00 0.00 0.00 05:09:58 05:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:05:01 eth0 0.65 0.47 0.35 0.27 0.00 0.00 0.00 0.00 05:09:58 05:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:06:01 eth0 0.63 0.10 0.11 0.01 0.00 0.00 0.00 0.00 05:09:58 05:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:07:01 eth0 1.37 0.52 0.58 0.39 0.00 0.00 0.00 0.00 05:09:58 05:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:08:01 eth0 0.48 0.08 0.05 0.01 0.00 0.00 0.00 0.00 05:09:58 05:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:09:01 eth0 479.46 440.07 4470.70 62.70 0.00 0.00 0.00 0.00 05:09:58 05:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 05:09:01 docker0 80.01 85.28 6.21 386.01 0.00 0.00 0.00 0.00 05:09:58 Average: eth0 54.46 49.33 497.45 7.10 0.00 0.00 0.00 0.00 05:09:58 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:09:58 Average: docker0 8.89 9.48 0.69 42.90 0.00 0.00 0.00 0.00 05:09:58 05:09:58 05:09:58 ---> sar -P ALL: 05:09:58 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/15/21 _x86_64_ (2 CPU) 05:09:58 05:09:58 04:58:57 LINUX RESTART (2 CPU) 05:09:58 05:09:58 05:00:01 CPU %user %nice %system %iowait %steal %idle 05:09:58 05:01:01 all 0.21 0.00 0.07 0.00 0.03 99.70 05:09:58 05:01:01 0 0.22 0.00 0.08 0.00 0.03 99.67 05:09:58 05:01:01 1 0.20 0.00 0.05 0.00 0.02 99.73 05:09:58 05:02:01 all 0.17 0.00 0.03 0.00 0.03 99.78 05:09:58 05:02:01 0 0.28 0.00 0.03 0.00 0.03 99.65 05:09:58 05:02:01 1 0.05 0.00 0.02 0.00 0.02 99.92 05:09:58 05:03:01 all 0.13 0.00 0.04 0.00 0.03 99.81 05:09:58 05:03:01 0 0.17 0.00 0.05 0.00 0.03 99.75 05:09:58 05:03:01 1 0.08 0.00 0.03 0.00 0.02 99.87 05:09:58 05:04:01 all 0.04 0.00 0.02 0.00 0.02 99.92 05:09:58 05:04:01 0 0.03 0.00 0.02 0.00 0.03 99.92 05:09:58 05:04:01 1 0.05 0.00 0.02 0.00 0.00 99.93 05:09:58 05:05:01 all 0.08 0.00 0.03 0.00 0.03 99.87 05:09:58 05:05:01 0 0.03 0.00 0.03 0.00 0.02 99.92 05:09:58 05:05:01 1 0.13 0.00 0.02 0.00 0.03 99.82 05:09:58 05:06:01 all 0.11 0.00 0.03 0.00 0.02 99.85 05:09:58 05:06:01 0 0.02 0.00 0.02 0.00 0.02 99.95 05:09:58 05:06:01 1 0.20 0.00 0.03 0.00 0.02 99.75 05:09:58 05:07:01 all 0.15 0.00 0.03 0.00 0.02 99.80 05:09:58 05:07:01 0 0.07 0.00 0.05 0.00 0.02 99.87 05:09:58 05:07:01 1 0.23 0.00 0.02 0.00 0.02 99.73 05:09:58 05:08:01 all 0.10 0.00 0.03 0.00 0.03 99.84 05:09:58 05:08:01 0 0.02 0.00 0.03 0.00 0.03 99.92 05:09:58 05:08:01 1 0.18 0.00 0.02 0.00 0.03 99.77 05:09:58 05:09:01 all 11.14 0.00 4.48 1.71 0.05 82.61 05:09:58 05:09:01 0 11.35 0.00 4.65 1.29 0.05 82.65 05:09:58 05:09:01 1 10.93 0.00 4.31 2.13 0.05 82.57 05:09:58 Average: all 1.32 0.00 0.51 0.19 0.03 97.96 05:09:58 Average: 0 1.32 0.00 0.54 0.14 0.03 97.97 05:09:58 Average: 1 1.31 0.00 0.49 0.23 0.02 97.94 05:09:58 05:09:58 05:09:58