Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 394630684c4f2c5fa0b05acfafc8d275cc2ae64c 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8945438815489703359.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3134060000460612501.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8891790619931145330.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6449533583255807737.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5138239001979998373.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1054 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh8552345834243961070.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 394630684c4f2c5fa0b05acfafc8d275cc2ae64c (main) > 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 394630684c4f2c5fa0b05acfafc8d275cc2ae64c # timeout=10 Commit message: "Merge pull request #134 from jpwhitemn/upgrade-alpine-314" > git rev-list --no-walk 698204f0a88b97aa3c1ba8a5f1bf9a5c409c66ed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:30:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:30:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:30:29 ========================================================= 23:30:29 EdgeX Global Pipelines Version Info 23:30:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:30:30 ------------------- 23:30:30 stable info: 23:30:30 ------------------- 23:30:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:30:30 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:30:30 Message: update stable to v1.0.205 23:30:31 ------------------- 23:30:31 experimental info: 23:30:31 ------------------- 23:30:31 Commited By: **** collab-it+edgex@linuxfoundation.org 23:30:31 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:30:31 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:30:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 394630684c4f2c5fa0b05acfafc8d275cc2ae64c [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3946306 [Pipeline] echo 23:30:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:30:32 provisioning config files... 23:30:32 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3329221885803788430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:32 ---> docker-login.sh 23:30:32 nexus3.edgexfoundry.org:10001 23:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:32 Configure a credential helper to remove this warning. See 23:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:32 23:30:32 Login Succeeded 23:30:32 nexus3.edgexfoundry.org:10002 23:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:32 Configure a credential helper to remove this warning. See 23:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:32 23:30:32 Login Succeeded 23:30:32 nexus3.edgexfoundry.org:10003 23:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:33 Configure a credential helper to remove this warning. See 23:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:33 23:30:33 Login Succeeded 23:30:33 nexus3.edgexfoundry.org:10004 23:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:33 Configure a credential helper to remove this warning. See 23:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:33 23:30:33 Login Succeeded 23:30:33 docker.io 23:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:33 Configure a credential helper to remove this warning. See 23:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:33 23:30:33 Login Succeeded 23:30:33 ---> docker-login.sh ends [Pipeline] } 23:30:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:34 + git log --format=format:%s -1 394630684c4f2c5fa0b05acfafc8d275cc2ae64c [Pipeline] echo 23:30:34 GIT_COMMIT: 394630684c4f2c5fa0b05acfafc8d275cc2ae64c, Commit Message: Merge pull request #134 from jpwhitemn/upgrade-alpine-314 [Pipeline] echo 23:30:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:30:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:30:35 23:30:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:30:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:30:35 latest: Pulling from edgex-devops/git-semver 23:30:35 31603596830f: Pulling fs layer 23:30:35 04fac38145f0: Pulling fs layer 23:30:35 701f6daf10bf: Pulling fs layer 23:30:35 24f72da36158: Pulling fs layer 23:30:35 24f72da36158: Waiting 23:30:35 04fac38145f0: Verifying Checksum 23:30:35 04fac38145f0: Download complete 23:30:35 31603596830f: Verifying Checksum 23:30:35 31603596830f: Download complete 23:30:35 31603596830f: Pull complete 23:30:35 24f72da36158: Verifying Checksum 23:30:35 24f72da36158: Download complete 23:30:35 04fac38145f0: Pull complete 23:30:35 701f6daf10bf: Verifying Checksum 23:30:35 701f6daf10bf: Download complete 23:30:36 701f6daf10bf: Pull complete 23:30:36 24f72da36158: Pull complete 23:30:36 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 23:30:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:30:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:30:36 prd-centos7-docker-4c-2g-1054 does not seem to be running inside a container 23:30:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:30:37 $ docker top bc90a7b4c15e0fff963a096c1bb5497a8bb8681dd316e900793e65e891c0cb89 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:30:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:37 [ssh-agent] Looking for ssh-agent implementation... 23:30:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:37 $ docker exec bc90a7b4c15e0fff963a096c1bb5497a8bb8681dd316e900793e65e891c0cb89 ssh-agent 23:30:37 SSH_AUTH_SOCK=/tmp/ssh-8fjDrDax0aqk/agent.15 23:30:37 SSH_AGENT_PID=21 23:30:37 Running ssh-add (command line suppressed) 23:30:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_385060798086230762.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_385060798086230762.key) 23:30:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:38 + git tag --points-at HEAD [Pipeline] } 23:30:38 $ docker exec --env ******** --env ******** bc90a7b4c15e0fff963a096c1bb5497a8bb8681dd316e900793e65e891c0cb89 ssh-agent -k 23:30:38 unset SSH_AUTH_SOCK; 23:30:38 unset SSH_AGENT_PID; 23:30:38 echo Agent pid 21 killed; 23:30:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:30:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:38 [ssh-agent] Looking for ssh-agent implementation... 23:30:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:38 $ docker exec bc90a7b4c15e0fff963a096c1bb5497a8bb8681dd316e900793e65e891c0cb89 ssh-agent 23:30:38 SSH_AUTH_SOCK=/tmp/ssh-EBUKXJ4TimOS/agent.56 23:30:38 SSH_AGENT_PID=62 23:30:38 Running ssh-add (command line suppressed) 23:30:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4880551895786228618.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4880551895786228618.key) 23:30:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:39 + git semver init 23:30:39 # -> Open(): unable to determine branch for HEAD 23:30:39 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 23:30:39 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 23:30:39 # $SEMVER_REMOTE_NAME = origin 23:30:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:30:39 # $SEMVER_USER_NAME = edgex-jenkins 23:30:39 # $SEMVER_BRANCH = main 23:30:39 # $SEMVER_TEMP = /tmp/semver-203960905 23:30:39 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 23:30:40 # '/tmp/semver-203960905' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 23:30:40 # -> Force: false 23:30:40 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 23:30:40 $ docker exec --env ******** --env ******** bc90a7b4c15e0fff963a096c1bb5497a8bb8681dd316e900793e65e891c0cb89 ssh-agent -k 23:30:40 unset SSH_AUTH_SOCK; 23:30:40 unset SSH_AGENT_PID; 23:30:40 echo Agent pid 62 killed; 23:30:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:30:40 + git semver [Pipeline] } 23:30:40 $ docker stop --time=1 bc90a7b4c15e0fff963a096c1bb5497a8bb8681dd316e900793e65e891c0cb89 23:30:42 $ docker rm -f bc90a7b4c15e0fff963a096c1bb5497a8bb8681dd316e900793e65e891c0cb89 [Pipeline] // withDockerContainer [Pipeline] sh 23:30:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:30:42 Stashed 1 file(s) [Pipeline] echo 23:30:42 [edgeXSemver]: initialized semver on version 2.0.1-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 23:30:58 Still waiting to schedule task 23:30:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:30:58 Still waiting to schedule task 23:30:58 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:32:03 Running on prd-centos7-docker-4c-2g-1061 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:32:03 Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout 23:32:03 The recommended git tool is: git 23:32:06 using credential edgex-jenkins-ssh 23:32:06 Cloning the remote Git repository 23:32:05 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:32:05 > git init /w/workspace/device-rest-go/8 # timeout=10 23:32:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:32:05 > git --version # timeout=10 23:32:05 > git --version # 'git version 2.24.4' 23:32:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:05 [INFO] Currently running in a labeled security context 23:32:05 [INFO] Currently SELinux is 'enforcing' on the host 23:32:05 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/8@tmp/jenkins-gitclient-ssh6634589633176811522.key 23:32:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:11 Avoid second fetch 23:32:11 Checking out Revision 394630684c4f2c5fa0b05acfafc8d275cc2ae64c (main) 23:32:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:32:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:11 > git config core.sparsecheckout # timeout=10 23:32:11 > git checkout -f 394630684c4f2c5fa0b05acfafc8d275cc2ae64c # timeout=10 23:32:15 Commit message: "Merge pull request #134 from jpwhitemn/upgrade-alpine-314" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:16 provisioning config files... 23:32:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config5656632507018099848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:16 ---> docker-login.sh 23:32:16 nexus3.edgexfoundry.org:10001 23:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:16 Configure a credential helper to remove this warning. See 23:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:16 23:32:16 Login Succeeded 23:32:16 nexus3.edgexfoundry.org:10002 23:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:16 Configure a credential helper to remove this warning. See 23:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:16 23:32:16 Login Succeeded 23:32:16 nexus3.edgexfoundry.org:10003 23:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:17 Configure a credential helper to remove this warning. See 23:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:17 23:32:17 Login Succeeded 23:32:17 nexus3.edgexfoundry.org:10004 23:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:17 Configure a credential helper to remove this warning. See 23:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:17 23:32:17 Login Succeeded 23:32:17 docker.io 23:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:17 Configure a credential helper to remove this warning. See 23:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:17 23:32:17 Login Succeeded 23:32:17 ---> docker-login.sh ends [Pipeline] } 23:32:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:32:17 ========================================================= 23:32:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:32:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:32:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 23:32:18 Sending build context to Docker daemon 119.8kB 23:32:18 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 23:32:18 Step 2/12 : FROM ${BASE} AS builder 23:32:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:32:18 540db60ca938: Pulling fs layer 23:32:18 adcc1eea9eea: Pulling fs layer 23:32:18 4c4ab2625f07: Pulling fs layer 23:32:18 db62176df00c: Pulling fs layer 23:32:18 3b30891b0d05: Pulling fs layer 23:32:18 06b49ca38bd5: Pulling fs layer 23:32:18 c788192a36de: Pulling fs layer 23:32:18 a77e37c0d609: Pulling fs layer 23:32:18 c3185cebc471: Pulling fs layer 23:32:18 3b30891b0d05: Waiting 23:32:18 06b49ca38bd5: Waiting 23:32:18 c788192a36de: Waiting 23:32:18 a77e37c0d609: Waiting 23:32:18 c3185cebc471: Waiting 23:32:18 db62176df00c: Waiting 23:32:18 4c4ab2625f07: Verifying Checksum 23:32:18 4c4ab2625f07: Download complete 23:32:18 adcc1eea9eea: Verifying Checksum 23:32:18 adcc1eea9eea: Download complete 23:32:18 3b30891b0d05: Verifying Checksum 23:32:18 3b30891b0d05: Download complete 23:32:18 06b49ca38bd5: Download complete 23:32:18 c788192a36de: Verifying Checksum 23:32:18 c788192a36de: Download complete 23:32:18 540db60ca938: Verifying Checksum 23:32:18 540db60ca938: Download complete 23:32:18 540db60ca938: Pull complete 23:32:18 adcc1eea9eea: Pull complete 23:32:18 4c4ab2625f07: Pull complete 23:32:19 a77e37c0d609: Verifying Checksum 23:32:19 a77e37c0d609: Download complete 23:32:22 c3185cebc471: Verifying Checksum 23:32:22 c3185cebc471: Download complete 23:32:23 db62176df00c: Download complete 23:32:26 db62176df00c: Pull complete 23:32:26 3b30891b0d05: Pull complete 23:32:26 06b49ca38bd5: Pull complete 23:32:26 c788192a36de: Pull complete 23:32:26 a77e37c0d609: Pull complete 23:32:28 c3185cebc471: Pull complete 23:32:28 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:32:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:32:28 ---> 031687cdd783 23:32:28 Step 3/12 : ARG MAKE='make build' 23:32:30 ---> Running in 69b02a9252c2 23:32:30 Removing intermediate container 69b02a9252c2 23:32:30 ---> a7a52dc4a33e 23:32:30 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:32:30 ---> Running in 9e9960b47d0d 23:32:30 Removing intermediate container 9e9960b47d0d 23:32:30 ---> d617bb663b16 23:32:30 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:32:30 ---> Running in a7b2f58a7a41 23:32:30 Removing intermediate container a7b2f58a7a41 23:32:30 ---> edc2113b59a5 23:32:30 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:32:30 ---> Running in fe6b7b2b1918 23:32:30 Removing intermediate container fe6b7b2b1918 23:32:30 ---> 2616b78168c2 23:32:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:32:30 ---> Running in ce08d776753f 23:32:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:32:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:32:32 (1/3) Installing openssh-keygen (8.4_p1-r3) 23:32:32 (2/3) Installing libedit (20191231.3.1-r1) 23:32:33 (3/3) Installing openssh-client (8.4_p1-r3) 23:32:33 Executing busybox-1.32.1-r6.trigger 23:32:33 OK: 223 MiB in 55 packages 23:32:33 Removing intermediate container ce08d776753f 23:32:33 ---> 9fb10e5edb2e 23:32:33 Step 8/12 : WORKDIR /device-rest-go 23:32:33 ---> Running in 74d74151d76a 23:32:33 Removing intermediate container 74d74151d76a 23:32:33 ---> 2317d82bec96 23:32:33 Step 9/12 : COPY . . 23:32:34 ---> 74c5bbdb422f 23:32:34 Step 10/12 : RUN go mod tidy 23:32:34 ---> Running in 03b00921cc71 23:32:39 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 23:32:39 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:32:39 go: downloading github.com/gorilla/mux v1.8.0 23:32:39 go: downloading github.com/spf13/cast v1.4.1 23:32:39 go: downloading github.com/stretchr/testify v1.7.0 23:32:39 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:32:39 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:32:39 go: downloading github.com/google/uuid v1.2.0 23:32:40 go: downloading github.com/go-kit/kit v0.9.0 23:32:40 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:32:40 go: downloading github.com/davecgh/go-spew v1.1.1 23:32:40 go: downloading github.com/pmezard/go-difflib v1.0.0 23:32:40 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:32:40 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:32:40 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:32:40 go: downloading github.com/pelletier/go-toml v1.9.2 23:32:40 go: downloading gopkg.in/yaml.v2 v2.4.0 23:32:40 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:32:40 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:32:40 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 23:32:40 go: downloading github.com/go-playground/universal-translator v0.17.0 23:32:40 go: downloading github.com/leodido/go-urn v1.2.0 23:32:40 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:32:41 go: downloading golang.org/x/text v0.3.2 23:32:41 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:32:42 go: downloading github.com/go-playground/locales v0.13.0 23:32:43 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:32:43 go: downloading github.com/go-stack/stack v1.8.0 23:32:43 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:32:43 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:32:43 go: downloading github.com/hashicorp/consul/api v1.8.1 23:32:43 go: downloading github.com/x448/float16 v0.8.4 23:32:43 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:32:43 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:32:43 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:32:43 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:32:43 go: downloading github.com/pebbe/zmq4 v1.2.7 23:32:43 go: downloading github.com/kr/pretty v0.2.0 23:32:43 go: downloading github.com/stretchr/objx v0.1.0 23:32:44 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:32:44 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:32:44 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:32:44 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:32:44 go: downloading github.com/hashicorp/serf v0.9.5 23:32:44 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:32:44 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:32:44 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:32:44 go: downloading github.com/gorilla/websocket v1.4.2 23:32:44 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:32:44 go: downloading github.com/onsi/ginkgo v1.10.1 23:32:44 go: downloading github.com/onsi/gomega v1.7.0 23:32:44 go: downloading github.com/kr/text v0.1.0 23:32:45 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:32:45 go: downloading github.com/mitchellh/copystructure v1.0.0 23:32:45 go: downloading github.com/fatih/color v1.9.0 23:32:45 go: downloading github.com/mattn/go-colorable v0.1.6 23:32:45 go: downloading github.com/mattn/go-isatty v0.0.12 23:32:45 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:32:45 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:32:45 go: downloading github.com/pkg/errors v0.8.1 23:32:45 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:32:45 go: downloading github.com/hashicorp/memberlist v0.2.2 23:32:45 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:32:45 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:32:45 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:32:45 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:32:46 go: downloading github.com/hpcloud/tail v1.0.0 23:32:46 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:32:46 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:32:46 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:32:46 go: downloading github.com/miekg/dns v1.1.26 23:32:46 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:32:46 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:32:46 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:32:46 go: downloading github.com/hashicorp/errwrap v1.0.0 23:32:46 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:32:50 Removing intermediate container 03b00921cc71 23:32:50 ---> a9b6aac3595d 23:32:50 Step 11/12 : RUN make update 23:32:50 ---> Running in c43066ac688f 23:32:50 CGO_ENABLED=0 GO111MODULE=on go mod download 23:33:03 Removing intermediate container c43066ac688f 23:33:03 ---> cf43f041f909 23:33:03 Step 12/12 : RUN $MAKE 23:33:03 ---> Running in 858119f1b954 23:33:03 noop 23:33:03 Removing intermediate container 858119f1b954 23:33:03 ---> 8d3abe289f1c 23:33:03 Successfully built 8d3abe289f1c 23:33:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:33:03 + docker inspect -f . ci-base-image-x86_64 23:33:03 . [Pipeline] withDockerContainer 23:33:03 prd-centos7-docker-4c-2g-1061 does not seem to be running inside a container 23:33:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:33:03 $ docker top 9978652945dad76481146116dd2245d37957be1882f9fb8db4d252f18f84887b -eo pid,comm [Pipeline] { [Pipeline] sh 23:33:04 + go version 23:33:04 go version go1.16.6 linux/amd64 [Pipeline] } 23:33:04 $ docker stop --time=1 9978652945dad76481146116dd2245d37957be1882f9fb8db4d252f18f84887b 23:33:05 $ docker rm -f 9978652945dad76481146116dd2245d37957be1882f9fb8db4d252f18f84887b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:33:06 + docker inspect -f . ci-base-image-x86_64 23:33:06 . [Pipeline] withDockerContainer 23:33:06 prd-centos7-docker-4c-2g-1061 does not seem to be running inside a container 23:33:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:33:06 $ docker top 3876bdb2383e908dc863c5dc19682525996beedf17dddcbbdcd51f168a20dddf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:33:07 + go mod tidy [Pipeline] sh 23:33:07 + make test 23:33:07 go mod tidy 23:33:07 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:33:08 ? github.com/edgexfoundry/device-rest-go [no test files] 23:33:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:33:23 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 53.8% of statements 23:33:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:33:30 gofmt -l . 23:33:30 [ "`gofmt -l .`" = "" ] 23:33:30 ./bin/test-go-mod-tidy.sh 23:33:30 ./bin/test-attribution-txt.sh [Pipeline] } 23:33:31 $ docker stop --time=1 3876bdb2383e908dc863c5dc19682525996beedf17dddcbbdcd51f168a20dddf 23:33:32 $ docker rm -f 3876bdb2383e908dc863c5dc19682525996beedf17dddcbbdcd51f168a20dddf [Pipeline] // withDockerContainer [Pipeline] sh 23:33:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:33:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:33:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:33:34 + ls -al . 23:33:34 total 116 23:33:34 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 23 23:33 . 23:33:34 drwxrwxr-x. 4 jenkins jenkins 28 Sep 23 23:32 .. 23:33:34 -rw-rw-r--. 1 jenkins jenkins 6792 Sep 23 23:32 Attribution.txt 23:33:34 drwxrwxr-x. 2 jenkins jenkins 64 Sep 23 23:32 bin 23:33:34 -rw-rw-r--. 1 jenkins jenkins 7459 Sep 23 23:32 CHANGELOG.md 23:33:34 drwxrwxr-x. 3 jenkins jenkins 32 Sep 23 23:32 cmd 23:33:34 -rw-r--r--. 1 jenkins jenkins 8435 Sep 23 23:33 coverage.out 23:33:34 -rw-rw-r--. 1 jenkins jenkins 1615 Sep 23 23:32 Dockerfile 23:33:34 -rw-rw-r--. 1 jenkins jenkins 151 Sep 23 23:32 .dockerignore 23:33:34 drwxrwxr-x. 2 jenkins jenkins 76 Sep 23 23:32 driver 23:33:34 drwxrwxr-x. 8 jenkins jenkins 162 Sep 23 23:32 .git 23:33:34 drwxrwxr-x. 2 jenkins jenkins 103 Sep 23 23:32 .github 23:33:34 -rw-rw-r--. 1 jenkins jenkins 336 Sep 23 23:32 .gitignore 23:33:34 -rw-r--r--. 1 jenkins jenkins 271 Sep 23 23:33 go.mod 23:33:34 -rw-r--r--. 1 jenkins jenkins 20570 Sep 23 23:33 go.sum 23:33:34 -rw-rw-r--. 1 jenkins jenkins 677 Sep 23 23:32 GOVERNANCE.md 23:33:34 -rw-rw-r--. 1 jenkins jenkins 680 Sep 23 23:32 Jenkinsfile 23:33:34 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 23 23:32 LICENSE 23:33:34 -rw-rw-r--. 1 jenkins jenkins 996 Sep 23 23:32 Makefile 23:33:34 -rw-rw-r--. 1 jenkins jenkins 620 Sep 23 23:32 OWNERS.md 23:33:34 -rw-rw-r--. 1 jenkins jenkins 7661 Sep 23 23:32 README.md 23:33:34 drwxrwxr-x. 4 jenkins jenkins 71 Sep 23 23:32 snap 23:33:34 -rw-rw-r--. 1 jenkins jenkins 11 Sep 23 23:30 VERSION 23:33:34 -rw-rw-r--. 1 jenkins jenkins 713 Sep 23 23:32 version.go [Pipeline] isUnix [Pipeline] sh 23:33:35 + 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=394630684c4f2c5fa0b05acfafc8d275cc2ae64c --label arch=amd64 --label version=2.0.1-dev.7 . 23:33:35 Sending build context to Docker daemon 129kB 23:33:35 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 23:33:35 Step 2/25 : FROM ${BASE} AS builder 23:33:35 ---> 8d3abe289f1c 23:33:35 Step 3/25 : ARG MAKE='make build' 23:33:35 ---> Running in 50f55e011c48 23:33:35 Removing intermediate container 50f55e011c48 23:33:35 ---> 0ccbe923bb7b 23:33:35 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:33:35 ---> Running in c6795c27a738 23:33:35 Removing intermediate container c6795c27a738 23:33:35 ---> 92221ccc29c0 23:33:35 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:33:35 ---> Running in 23566b46a1af 23:33:35 Removing intermediate container 23566b46a1af 23:33:35 ---> ca7af480a3d5 23:33:35 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:33:35 ---> Running in 822d6e7d2021 23:33:36 Removing intermediate container 822d6e7d2021 23:33:36 ---> 61d009598290 23:33:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:33:36 ---> Running in 27e47d36e2c7 23:33:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:33:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:33:38 OK: 223 MiB in 55 packages 23:33:38 Removing intermediate container 27e47d36e2c7 23:33:38 ---> da56cba74323 23:33:38 Step 8/25 : WORKDIR /device-rest-go 23:33:38 ---> Running in 60186e96ce27 23:33:38 Removing intermediate container 60186e96ce27 23:33:38 ---> 49b557cb7477 23:33:38 Step 9/25 : COPY . . 23:33:38 ---> cb4946f14834 23:33:38 Step 10/25 : RUN go mod tidy 23:33:38 ---> Running in a5f68792d78c 23:33:39 Removing intermediate container a5f68792d78c 23:33:39 ---> 354e86fcf3fd 23:33:39 Step 11/25 : RUN make update 23:33:39 ---> Running in 6360041b88fe 23:33:39 CGO_ENABLED=0 GO111MODULE=on go mod download 23:33:39 Removing intermediate container 6360041b88fe 23:33:39 ---> 82c8c8620fe1 23:33:39 Step 12/25 : RUN $MAKE 23:33:39 ---> Running in 22a63a845772 23:33:40 go mod tidy 23:33:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.7" -o cmd/device-rest ./cmd 23:33:52 Removing intermediate container 22a63a845772 23:33:52 ---> f4925867e3d7 23:33:52 Step 13/25 : FROM alpine:3.14 23:33:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1065 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:33:59 Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout 23:33:59 The recommended git tool is: git 23:34:06 using credential edgex-jenkins-ssh 23:34:06 Cloning the remote Git repository 23:34:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:34:07 > git init /w/workspace/device-rest-go/8 # timeout=10 23:34:07 3.14: Pulling from library/alpine 23:34:07 a0d0a0d46f8b: Pulling fs layer 23:34:07 a0d0a0d46f8b: Verifying Checksum 23:34:07 a0d0a0d46f8b: Download complete 23:34:07 a0d0a0d46f8b: Pull complete 23:34:07 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 23:34:07 Status: Downloaded newer image for alpine:3.14 23:34:07 ---> 14119a10abf4 23:34:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:34:07 ---> Running in efcffbac82a4 23:34:07 Removing intermediate container efcffbac82a4 23:34:07 ---> 15189cc05805 23:34:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:34:07 ---> Running in 321422e08c16 23:34:07 Removing intermediate container 321422e08c16 23:34:07 ---> bce5832d5171 23:34:07 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:34:07 ---> Running in 92996fa301a9 23:34:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:34:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:34:07 (1/6) Installing dumb-init (1.2.5-r1) 23:34:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:34:07 (3/6) Installing libsodium (1.0.18-r0) 23:34:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:34:07 (5/6) Installing libzmq (4.3.4-r0) 23:34:07 (6/6) Installing zeromq (4.3.4-r0) 23:34:07 Executing busybox-1.33.1-r3.trigger 23:34:07 OK: 8 MiB in 20 packages 23:34:07 Removing intermediate container 92996fa301a9 23:34:07 ---> c071817ec66b 23:34:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:34:08 ---> 850a0796674d 23:34:08 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:34:08 ---> 755c1aaa26e0 23:34:08 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:34:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:34:07 > git --version # timeout=10 23:34:07 > git --version # 'git version 2.17.1' 23:34:07 using GIT_SSH to set credentials SSH Credentials for GitHub 23:34:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:34:08 ---> 1b53a60a5043 23:34:08 Step 20/25 : EXPOSE 59986 23:34:08 ---> Running in e0dea75dfefd 23:34:08 Removing intermediate container e0dea75dfefd 23:34:08 ---> 16ad03c84fe5 23:34:08 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:34:08 ---> Running in 15d4cb39dbf3 23:34:08 Removing intermediate container 15d4cb39dbf3 23:34:08 ---> 285d9aba40c0 23:34:08 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:34:08 ---> Running in 15b3f0454799 23:34:08 Removing intermediate container 15b3f0454799 23:34:08 ---> 3eadea5c5f7c 23:34:08 Step 23/25 : LABEL arch=amd64 23:34:08 ---> Running in 4ddb6bae4582 23:34:08 Removing intermediate container 4ddb6bae4582 23:34:08 ---> 2b790965f9b3 23:34:08 Step 24/25 : LABEL git_sha=394630684c4f2c5fa0b05acfafc8d275cc2ae64c 23:34:08 ---> Running in ab4e722ea1b2 23:34:09 Removing intermediate container ab4e722ea1b2 23:34:09 ---> 147daa19d073 23:34:09 Step 25/25 : LABEL version=2.0.1-dev.7 23:34:09 ---> Running in 51b7b4d3d0c4 23:34:09 Removing intermediate container 51b7b4d3d0c4 23:34:09 ---> 83e764d41ae8 23:34:09 [Warning] One or more build-args [ARCH] were not consumed 23:34:09 Successfully built 83e764d41ae8 23:34:09 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:09 provisioning config files... 23:34:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config8742765211681569604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:09 ---> docker-login.sh 23:34:09 nexus3.edgexfoundry.org:10001 23:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:09 Configure a credential helper to remove this warning. See 23:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:09 23:34:09 Login Succeeded 23:34:09 nexus3.edgexfoundry.org:10002 23:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:09 Configure a credential helper to remove this warning. See 23:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:09 23:34:09 Login Succeeded 23:34:09 nexus3.edgexfoundry.org:10003 23:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:10 Avoid second fetch 23:34:10 Checking out Revision 394630684c4f2c5fa0b05acfafc8d275cc2ae64c (main) 23:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:10 Configure a credential helper to remove this warning. See 23:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:10 23:34:10 Login Succeeded 23:34:10 nexus3.edgexfoundry.org:10004 23:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:10 Configure a credential helper to remove this warning. See 23:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:10 23:34:10 Login Succeeded 23:34:10 docker.io 23:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:10 Configure a credential helper to remove this warning. See 23:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:10 23:34:10 Login Succeeded 23:34:10 ---> docker-login.sh ends [Pipeline] } 23:34:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:34:10 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 23:34:10 394630684c4f2c5fa0b05acfafc8d275cc2ae64c 23:34:10 latest 23:34:10 2.0.1-dev.7 23:34:10 394630684c4f2c5fa0b05acfafc8d275cc2ae64c-2.0.1-dev.7 23:34:10 main 23:34:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:34:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:394630684c4f2c5fa0b05acfafc8d275cc2ae64c [Pipeline] isUnix [Pipeline] sh 23:34:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:34:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:34:10 > git config core.sparsecheckout # timeout=10 23:34:10 > git checkout -f 394630684c4f2c5fa0b05acfafc8d275cc2ae64c # timeout=10 23:34:11 + docker push nexus3.edgexfoundry.org:10004/device-rest:394630684c4f2c5fa0b05acfafc8d275cc2ae64c 23:34:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:34:11 b074ece54b38: Preparing 23:34:11 fd679bcd43ea: Preparing 23:34:11 510eeadd9ea5: Preparing 23:34:11 f77414080912: Preparing 23:34:11 e2eb06d8af82: Preparing 23:34:11 e2eb06d8af82: Layer already exists 23:34:11 fd679bcd43ea: Pushed 23:34:11 b074ece54b38: Pushed 23:34:11 f77414080912: Pushed 23:34:13 510eeadd9ea5: Pushed 23:34:13 394630684c4f2c5fa0b05acfafc8d275cc2ae64c: digest: sha256:0a1d816cf900cdf8561ff8bf2a60fe8d56f2e39232fe46efed798007f242d6e6 size: 1366 [Pipeline] isUnix [Pipeline] sh 23:34:13 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 23:34:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 23:34:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:34:13 b074ece54b38: Preparing 23:34:13 fd679bcd43ea: Preparing 23:34:13 510eeadd9ea5: Preparing 23:34:13 f77414080912: Preparing 23:34:13 e2eb06d8af82: Preparing 23:34:13 b074ece54b38: Layer already exists 23:34:13 f77414080912: Layer already exists 23:34:13 fd679bcd43ea: Layer already exists 23:34:13 510eeadd9ea5: Layer already exists 23:34:13 e2eb06d8af82: Layer already exists 23:34:13 latest: digest: sha256:0a1d816cf900cdf8561ff8bf2a60fe8d56f2e39232fe46efed798007f242d6e6 size: 1366 [Pipeline] isUnix [Pipeline] sh 23:34:14 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 23:34:14 Commit message: "Merge pull request #134 from jpwhitemn/upgrade-alpine-314" 23:34:14 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.7 23:34:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:34:14 b074ece54b38: Preparing 23:34:14 fd679bcd43ea: Preparing 23:34:14 510eeadd9ea5: Preparing 23:34:14 f77414080912: Preparing 23:34:14 e2eb06d8af82: Preparing 23:34:14 510eeadd9ea5: Layer already exists 23:34:14 b074ece54b38: Layer already exists 23:34:14 f77414080912: Layer already exists 23:34:14 e2eb06d8af82: Layer already exists 23:34:14 fd679bcd43ea: Layer already exists 23:34:14 2.0.1-dev.7: digest: sha256:0a1d816cf900cdf8561ff8bf2a60fe8d56f2e39232fe46efed798007f242d6e6 size: 1366 [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:14 provisioning config files... 23:34:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config142371852298157835tmp 23:34:14 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:394630684c4f2c5fa0b05acfafc8d275cc2ae64c-2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:15 + docker push nexus3.edgexfoundry.org:10004/device-rest:394630684c4f2c5fa0b05acfafc8d275cc2ae64c-2.0.1-dev.7 23:34:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:34:15 b074ece54b38: Preparing 23:34:15 fd679bcd43ea: Preparing 23:34:15 510eeadd9ea5: Preparing 23:34:15 f77414080912: Preparing 23:34:15 e2eb06d8af82: Preparing 23:34:15 e2eb06d8af82: Layer already exists 23:34:15 510eeadd9ea5: Layer already exists 23:34:15 b074ece54b38: Layer already exists 23:34:15 fd679bcd43ea: Layer already exists 23:34:15 f77414080912: Layer already exists 23:34:15 394630684c4f2c5fa0b05acfafc8d275cc2ae64c-2.0.1-dev.7: digest: sha256:0a1d816cf900cdf8561ff8bf2a60fe8d56f2e39232fe46efed798007f242d6e6 size: 1366 [Pipeline] isUnix [Pipeline] sh 23:34:15 ---> docker-login.sh 23:34:15 nexus3.edgexfoundry.org:10001 23:34:15 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 23:34:15 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 23:34:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:34:15 b074ece54b38: Preparing 23:34:15 fd679bcd43ea: Preparing 23:34:15 510eeadd9ea5: Preparing 23:34:15 f77414080912: Preparing 23:34:15 e2eb06d8af82: Preparing 23:34:15 e2eb06d8af82: Layer already exists 23:34:15 510eeadd9ea5: Layer already exists 23:34:15 fd679bcd43ea: Layer already exists 23:34:15 f77414080912: Layer already exists 23:34:15 b074ece54b38: Layer already exists 23:34:15 main: digest: sha256:0a1d816cf900cdf8561ff8bf2a60fe8d56f2e39232fe46efed798007f242d6e6 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:34:15 ===================================================== [Pipeline] echo 23:34:15 taggedImages: 23:34:15 - nexus3.edgexfoundry.org:10004/device-rest:394630684c4f2c5fa0b05acfafc8d275cc2ae64c 23:34:15 - nexus3.edgexfoundry.org:10004/device-rest:latest 23:34:15 - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.7 23:34:15 - nexus3.edgexfoundry.org:10004/device-rest:394630684c4f2c5fa0b05acfafc8d275cc2ae64c-2.0.1-dev.7 23:34:15 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:34:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:16 23:34:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:34:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:16 latest: Pulling from edgex-lftools-log-publisher 23:34:16 b4d181a07f80: Pulling fs layer 23:34:16 a1111a8f2ec3: Pulling fs layer 23:34:16 ed53099fbce6: Pulling fs layer 23:34:16 dc539afda2c1: Pulling fs layer 23:34:16 77bc0d833cb6: Pulling fs layer 23:34:16 9065ff56babe: Pulling fs layer 23:34:16 d287ab97295c: Pulling fs layer 23:34:16 dc539afda2c1: Waiting 23:34:16 77bc0d833cb6: Waiting 23:34:16 9065ff56babe: Waiting 23:34:16 d287ab97295c: Waiting 23:34:17 a1111a8f2ec3: Verifying Checksum 23:34:17 a1111a8f2ec3: Download complete 23:34:17 dc539afda2c1: Verifying Checksum 23:34:17 dc539afda2c1: Download complete 23:34:17 77bc0d833cb6: Verifying Checksum 23:34:17 77bc0d833cb6: Download complete 23:34:17 9065ff56babe: Verifying Checksum 23:34:17 9065ff56babe: Download complete 23:34:17 ed53099fbce6: Verifying Checksum 23:34:17 ed53099fbce6: Download complete 23:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:18 Configure a credential helper to remove this warning. See 23:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:18 23:34:18 Login Succeeded 23:34:18 nexus3.edgexfoundry.org:10002 23:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:18 b4d181a07f80: Verifying Checksum 23:34:18 b4d181a07f80: Download complete 23:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:18 Configure a credential helper to remove this warning. See 23:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:18 23:34:18 Login Succeeded 23:34:18 nexus3.edgexfoundry.org:10003 23:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:19 Configure a credential helper to remove this warning. See 23:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:19 23:34:19 Login Succeeded 23:34:19 nexus3.edgexfoundry.org:10004 23:34:19 b4d181a07f80: Pull complete 23:34:19 a1111a8f2ec3: Pull complete 23:34:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:19 Configure a credential helper to remove this warning. See 23:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:19 23:34:19 Login Succeeded 23:34:19 docker.io 23:34:20 ed53099fbce6: Pull complete 23:34:20 dc539afda2c1: Pull complete 23:34:20 77bc0d833cb6: Pull complete 23:34:20 9065ff56babe: Pull complete 23:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:21 Configure a credential helper to remove this warning. See 23:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:21 23:34:21 Login Succeeded 23:34:21 ---> docker-login.sh ends [Pipeline] } 23:34:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:34:21 ========================================================= 23:34:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:34:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:34:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 23:34:22 Sending build context to Docker daemon 119.8kB 23:34:22 d287ab97295c: Verifying Checksum 23:34:22 d287ab97295c: Download complete 23:34:22 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 23:34:22 Step 2/12 : FROM ${BASE} AS builder 23:34:23 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:34:23 595b0fe564bb: Pulling fs layer 23:34:23 24495759ef45: Pulling fs layer 23:34:23 d148012ef14d: Pulling fs layer 23:34:23 e90a11edd702: Pulling fs layer 23:34:23 d77568369979: Pulling fs layer 23:34:23 fc1c9f9a7f3b: Pulling fs layer 23:34:23 170f2ba95c9a: Pulling fs layer 23:34:23 97ac5df62f85: Pulling fs layer 23:34:23 e90a11edd702: Waiting 23:34:23 d77568369979: Waiting 23:34:23 fc1c9f9a7f3b: Waiting 23:34:23 97ac5df62f85: Waiting 23:34:23 170f2ba95c9a: Waiting 23:34:23 d148012ef14d: Verifying Checksum 23:34:23 d148012ef14d: Download complete 23:34:23 24495759ef45: Download complete 23:34:23 d77568369979: Verifying Checksum 23:34:23 d77568369979: Download complete 23:34:23 fc1c9f9a7f3b: Verifying Checksum 23:34:23 fc1c9f9a7f3b: Download complete 23:34:23 170f2ba95c9a: Verifying Checksum 23:34:23 170f2ba95c9a: Download complete 23:34:23 595b0fe564bb: Verifying Checksum 23:34:23 595b0fe564bb: Download complete 23:34:24 595b0fe564bb: Pull complete 23:34:24 24495759ef45: Pull complete 23:34:25 d148012ef14d: Pull complete 23:34:26 d287ab97295c: Pull complete 23:34:26 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:34:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:34:26 prd-centos7-docker-4c-2g-1061 does not seem to be running inside a container 23:34:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:34:28 97ac5df62f85: Verifying Checksum 23:34:28 97ac5df62f85: Download complete 23:34:29 e90a11edd702: Verifying Checksum 23:34:29 e90a11edd702: Download complete 23:34:29 $ docker top 93ef26fcafd226122f533bd87f283982a7d3090c2921bb0d909e7899697ab8ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:29 ---> job-cost.sh 23:34:29 lf-activate-venv: SKIPPING 23:34:29 INFO: No Stack... 23:34:30 INFO: Retrieving Pricing Info for: v3-standard-2 23:34:31 INFO: Archiving Costs [Pipeline] sh 23:34:31 + cat /w/workspace/device-rest-go/8/archives/cost.csv 23:34:31 + cut -d, -f6 [Pipeline] lock 23:34:31 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-8-stack-cost] 23:34:31 Resource [jenkins-edgexfoundry-device-rest-go-main-8-stack-cost] did not exist. Created. 23:34:31 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:31 + echo total: 0.05999999865889549 [Pipeline] stash 23:34:31 Stashed 1 file(s) [Pipeline] } 23:34:31 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-8-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:31 $ docker stop --time=1 93ef26fcafd226122f533bd87f283982a7d3090c2921bb0d909e7899697ab8ed 23:34:33 $ docker rm -f 93ef26fcafd226122f533bd87f283982a7d3090c2921bb0d909e7899697ab8ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:34:39 e90a11edd702: Pull complete 23:34:39 d77568369979: Pull complete 23:34:39 fc1c9f9a7f3b: Pull complete 23:34:40 170f2ba95c9a: Pull complete 23:34:45 97ac5df62f85: Pull complete 23:34:45 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:34:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:34:45 ---> 04bc70af865f 23:34:45 Step 3/12 : ARG MAKE='make build' 23:34:52 ---> Running in bef6dd31d7be 23:34:52 Removing intermediate container bef6dd31d7be 23:34:52 ---> 2962ea34ec9c 23:34:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:34:52 ---> Running in 1c11cf3206d6 23:34:53 Removing intermediate container 1c11cf3206d6 23:34:53 ---> ccba474584cd 23:34:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:34:53 ---> Running in 5ee4610e21c8 23:34:53 Removing intermediate container 5ee4610e21c8 23:34:53 ---> 8788c613744d 23:34:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:34:53 ---> Running in 48d10e623bbe 23:34:57 Removing intermediate container 48d10e623bbe 23:34:57 ---> 3f5acfe060dd 23:34:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:34:57 ---> Running in 6d15ae87f3d2 23:34:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:35:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:35:01 (1/3) Installing openssh-keygen (8.4_p1-r3) 23:35:01 (2/3) Installing libedit (20191231.3.1-r1) 23:35:01 (3/3) Installing openssh-client (8.4_p1-r3) 23:35:02 Executing busybox-1.32.1-r6.trigger 23:35:02 OK: 222 MiB in 55 packages 23:35:05 Removing intermediate container 6d15ae87f3d2 23:35:05 ---> 11eb001b86ef 23:35:05 Step 8/12 : WORKDIR /device-rest-go 23:35:05 ---> Running in e99da975ab5d 23:35:05 Removing intermediate container e99da975ab5d 23:35:05 ---> 3ada02b772ae 23:35:05 Step 9/12 : COPY . . 23:35:06 ---> 3b354813d96e 23:35:06 Step 10/12 : RUN go mod tidy 23:35:07 ---> Running in a0805c1935c3 23:35:13 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 23:35:13 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:35:14 go: downloading github.com/gorilla/mux v1.8.0 23:35:14 go: downloading github.com/spf13/cast v1.4.1 23:35:14 go: downloading github.com/stretchr/testify v1.7.0 23:35:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:35:15 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:35:15 go: downloading github.com/google/uuid v1.2.0 23:35:15 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:35:15 go: downloading github.com/go-kit/kit v0.9.0 23:35:15 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:35:15 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:35:15 go: downloading github.com/pelletier/go-toml v1.9.2 23:35:15 go: downloading gopkg.in/yaml.v2 v2.4.0 23:35:15 go: downloading github.com/davecgh/go-spew v1.1.1 23:35:15 go: downloading github.com/pmezard/go-difflib v1.0.0 23:35:15 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:35:15 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:35:16 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:35:16 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 23:35:16 go: downloading github.com/go-playground/universal-translator v0.17.0 23:35:16 go: downloading github.com/leodido/go-urn v1.2.0 23:35:16 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:35:16 go: downloading golang.org/x/text v0.3.2 23:35:16 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:35:16 go: downloading github.com/go-playground/locales v0.13.0 23:35:38 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:35:38 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:35:38 go: downloading github.com/go-stack/stack v1.8.0 23:35:38 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:35:39 go: downloading github.com/hashicorp/consul/api v1.8.1 23:35:39 go: downloading github.com/x448/float16 v0.8.4 23:35:39 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:35:39 go: downloading github.com/stretchr/objx v0.1.0 23:35:39 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:35:39 go: downloading github.com/pebbe/zmq4 v1.2.7 23:35:39 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:35:39 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:35:39 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:35:39 go: downloading github.com/kr/pretty v0.2.0 23:35:40 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:35:40 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:35:40 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:35:40 go: downloading github.com/hashicorp/serf v0.9.5 23:35:40 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:35:40 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:35:40 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:35:40 go: downloading github.com/gorilla/websocket v1.4.2 23:35:40 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:35:40 go: downloading github.com/onsi/ginkgo v1.10.1 23:35:40 go: downloading github.com/onsi/gomega v1.7.0 23:35:40 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:35:40 go: downloading github.com/mitchellh/copystructure v1.0.0 23:35:41 go: downloading github.com/kr/text v0.1.0 23:35:41 go: downloading github.com/fatih/color v1.9.0 23:35:41 go: downloading github.com/mattn/go-colorable v0.1.6 23:35:41 go: downloading github.com/mattn/go-isatty v0.0.12 23:35:41 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:35:41 go: downloading github.com/pkg/errors v0.8.1 23:35:41 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:35:41 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:35:41 go: downloading github.com/hashicorp/memberlist v0.2.2 23:35:41 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:35:41 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:35:41 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:35:41 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:35:41 go: downloading github.com/hpcloud/tail v1.0.0 23:35:41 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:35:41 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:35:41 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:35:41 go: downloading github.com/miekg/dns v1.1.26 23:35:41 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:35:41 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:35:41 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:35:42 go: downloading github.com/hashicorp/errwrap v1.0.0 23:35:42 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:35:57 Removing intermediate container a0805c1935c3 23:35:57 ---> 36c1e9694be6 23:35:57 Step 11/12 : RUN make update 23:35:57 ---> Running in 8dc735e8afb8 23:35:57 CGO_ENABLED=0 GO111MODULE=on go mod download 23:36:15 Removing intermediate container 8dc735e8afb8 23:36:15 ---> d37a2f016c93 23:36:15 Step 12/12 : RUN $MAKE 23:36:15 ---> Running in ec023eabf3e4 23:36:16 noop 23:36:17 Removing intermediate container ec023eabf3e4 23:36:17 ---> f65c319fdf69 23:36:17 Successfully built f65c319fdf69 23:36:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:36:17 + docker inspect -f . ci-base-image-arm64 23:36:17 . [Pipeline] withDockerContainer 23:36:17 prd-ubuntu18.04-docker-arm64-4c-16g-1065 does not seem to be running inside a container 23:36:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:36:19 $ docker top f6de8ed77018329bf6e5f6849e253b49ad48b4e41a733690f5ea703e56e5bcb7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:36:20 + go version 23:36:20 go version go1.16.6 linux/arm64 [Pipeline] } 23:36:20 $ docker stop --time=1 f6de8ed77018329bf6e5f6849e253b49ad48b4e41a733690f5ea703e56e5bcb7 23:36:22 $ docker rm -f f6de8ed77018329bf6e5f6849e253b49ad48b4e41a733690f5ea703e56e5bcb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:36:23 + docker inspect -f . ci-base-image-arm64 23:36:23 . [Pipeline] withDockerContainer 23:36:24 prd-ubuntu18.04-docker-arm64-4c-16g-1065 does not seem to be running inside a container 23:36:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:36:26 $ docker top b1dc779e2cff3da0b0f4cabc96805cd75012402cf6b0931ef40faccb1b981472 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:36:27 + go mod tidy [Pipeline] sh 23:36:29 + make test 23:36:29 go mod tidy 23:36:29 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:36:31 ? github.com/edgexfoundry/device-rest-go [no test files] 23:37:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:37:41 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 53.8% of statements 23:37:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:38:13 gofmt -l . 23:38:13 [ "`gofmt -l .`" = "" ] 23:38:13 ./bin/test-go-mod-tidy.sh 23:38:13 ./bin/test-attribution-txt.sh [Pipeline] } 23:38:14 $ docker stop --time=1 b1dc779e2cff3da0b0f4cabc96805cd75012402cf6b0931ef40faccb1b981472 23:38:16 $ docker rm -f b1dc779e2cff3da0b0f4cabc96805cd75012402cf6b0931ef40faccb1b981472 [Pipeline] // withDockerContainer [Pipeline] sh 23:38:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:38:17 Warning: overwriting stash ‘coverage-report’ 23:38:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:38:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:38:19 + ls -al . 23:38:19 total 144 23:38:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 23:38 . 23:38:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 23:34 .. 23:38:19 -rw-rw-r-- 1 jenkins jenkins 151 Sep 23 23:34 .dockerignore 23:38:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 23:34 .git 23:38:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 23:34 .github 23:38:19 -rw-rw-r-- 1 jenkins jenkins 336 Sep 23 23:34 .gitignore 23:38:19 -rw-rw-r-- 1 jenkins jenkins 6792 Sep 23 23:34 Attribution.txt 23:38:19 -rw-rw-r-- 1 jenkins jenkins 7459 Sep 23 23:34 CHANGELOG.md 23:38:19 -rw-rw-r-- 1 jenkins jenkins 1615 Sep 23 23:34 Dockerfile 23:38:19 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 23:34 GOVERNANCE.md 23:38:19 -rw-rw-r-- 1 jenkins jenkins 680 Sep 23 23:34 Jenkinsfile 23:38:19 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 23:34 LICENSE 23:38:19 -rw-rw-r-- 1 jenkins jenkins 996 Sep 23 23:34 Makefile 23:38:19 -rw-rw-r-- 1 jenkins jenkins 620 Sep 23 23:34 OWNERS.md 23:38:19 -rw-rw-r-- 1 jenkins jenkins 7661 Sep 23 23:34 README.md 23:38:19 -rw-rw-r-- 1 jenkins jenkins 11 Sep 23 23:30 VERSION 23:38:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 23:34 bin 23:38:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 23:34 cmd 23:38:19 -rw-r--r-- 1 jenkins jenkins 8435 Sep 23 23:37 coverage.out 23:38:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 23:34 driver 23:38:19 -rw-r--r-- 1 jenkins jenkins 271 Sep 23 23:38 go.mod 23:38:19 -rw-r--r-- 1 jenkins jenkins 20570 Sep 23 23:36 go.sum 23:38:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 23:34 snap 23:38:19 -rw-rw-r-- 1 jenkins jenkins 713 Sep 23 23:34 version.go [Pipeline] isUnix [Pipeline] sh 23:38:20 + 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=394630684c4f2c5fa0b05acfafc8d275cc2ae64c --label arch=arm64 --label version=2.0.1-dev.7 . 23:38:20 Sending build context to Docker daemon 129kB 23:38:20 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 23:38:20 Step 2/25 : FROM ${BASE} AS builder 23:38:20 ---> f65c319fdf69 23:38:20 Step 3/25 : ARG MAKE='make build' 23:38:21 ---> Running in e1aae0513629 23:38:21 Removing intermediate container e1aae0513629 23:38:21 ---> dc7187828d1a 23:38:21 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:38:21 ---> Running in d3646bfc6384 23:38:22 Removing intermediate container d3646bfc6384 23:38:22 ---> 2e399f122161 23:38:22 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:38:22 ---> Running in fe4b685584c6 23:38:23 Removing intermediate container fe4b685584c6 23:38:23 ---> 087860688bc4 23:38:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:38:23 ---> Running in 58d5976ef9ff 23:38:25 Removing intermediate container 58d5976ef9ff 23:38:25 ---> a3190058e209 23:38:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:38:25 ---> Running in 39ee2fbefa2a 23:38:27 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:38:28 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:38:30 OK: 222 MiB in 55 packages 23:38:31 Removing intermediate container 39ee2fbefa2a 23:38:31 ---> ff463893050e 23:38:31 Step 8/25 : WORKDIR /device-rest-go 23:38:31 ---> Running in d01e2f13b287 23:38:32 Removing intermediate container d01e2f13b287 23:38:32 ---> 1bb1ebc8bcaa 23:38:32 Step 9/25 : COPY . . 23:38:33 ---> a11f5d69a22c 23:38:33 Step 10/25 : RUN go mod tidy 23:38:33 ---> Running in df20ecbf62a7 23:38:37 Removing intermediate container df20ecbf62a7 23:38:37 ---> 01e376d79ed1 23:38:37 Step 11/25 : RUN make update 23:38:37 ---> Running in 25a94e5b5419 23:38:38 CGO_ENABLED=0 GO111MODULE=on go mod download 23:38:40 Removing intermediate container 25a94e5b5419 23:38:40 ---> 40b86aa94ea2 23:38:40 Step 12/25 : RUN $MAKE 23:38:40 ---> Running in adcab2d38db0 23:38:41 go mod tidy 23:38:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.7" -o cmd/device-rest ./cmd 23:39:29 Removing intermediate container adcab2d38db0 23:39:29 ---> dfbee2cc4951 23:39:29 Step 13/25 : FROM alpine:3.14 23:39:29 3.14: Pulling from library/alpine 23:39:29 552d1f2373af: Pulling fs layer 23:39:29 552d1f2373af: Download complete 23:39:29 552d1f2373af: Pull complete 23:39:29 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 23:39:29 Status: Downloaded newer image for alpine:3.14 23:39:29 ---> bb3de5531c18 23:39:29 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:39:29 ---> Running in c93bf0536d13 23:39:29 Removing intermediate container c93bf0536d13 23:39:29 ---> 61a9b4d2feae 23:39:29 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:39:29 ---> Running in ba3cb6274eaf 23:39:29 Removing intermediate container ba3cb6274eaf 23:39:29 ---> 1781f5624374 23:39:29 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:39:29 ---> Running in edc98fa23f6f 23:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:39:31 (1/6) Installing dumb-init (1.2.5-r1) 23:39:31 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:39:31 (3/6) Installing libsodium (1.0.18-r0) 23:39:32 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:39:32 (5/6) Installing libzmq (4.3.4-r0) 23:39:32 (6/6) Installing zeromq (4.3.4-r0) 23:39:32 Executing busybox-1.33.1-r3.trigger 23:39:32 OK: 8 MiB in 20 packages 23:39:33 Removing intermediate container edc98fa23f6f 23:39:33 ---> c66c66b45dd2 23:39:33 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:39:35 ---> ea22518e0cbb 23:39:35 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:39:36 ---> e409bbfd710c 23:39:36 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:39:37 ---> 6996be798a1b 23:39:37 Step 20/25 : EXPOSE 59986 23:39:37 ---> Running in 7017d6bb096b 23:39:37 Removing intermediate container 7017d6bb096b 23:39:37 ---> 0992cbfc68c3 23:39:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:39:38 ---> Running in db6c424bef54 23:39:38 Removing intermediate container db6c424bef54 23:39:38 ---> 55e4b04b94dd 23:39:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:39:38 ---> Running in c7e0d368b29c 23:39:39 Removing intermediate container c7e0d368b29c 23:39:39 ---> 32e0c2da81e1 23:39:39 Step 23/25 : LABEL arch=arm64 23:39:39 ---> Running in f0b74445a424 23:39:40 Removing intermediate container f0b74445a424 23:39:40 ---> bb2d500ce508 23:39:40 Step 24/25 : LABEL git_sha=394630684c4f2c5fa0b05acfafc8d275cc2ae64c 23:39:40 ---> Running in 87f8a2c41567 23:39:41 Removing intermediate container 87f8a2c41567 23:39:41 ---> 1241c6c3df80 23:39:41 Step 25/25 : LABEL version=2.0.1-dev.7 23:39:41 ---> Running in fbb4805453bd 23:39:42 Removing intermediate container fbb4805453bd 23:39:42 ---> d25e8566d95c 23:39:42 [Warning] One or more build-args [ARCH] were not consumed 23:39:42 Successfully built d25e8566d95c 23:39:42 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:39:42 provisioning config files... 23:39:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config6182845031818268334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:42 ---> docker-login.sh 23:39:42 nexus3.edgexfoundry.org:10001 23:39:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:43 Configure a credential helper to remove this warning. See 23:39:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:43 23:39:43 Login Succeeded 23:39:43 nexus3.edgexfoundry.org:10002 23:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:44 Configure a credential helper to remove this warning. See 23:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:44 23:39:44 Login Succeeded 23:39:44 nexus3.edgexfoundry.org:10003 23:39:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:45 Configure a credential helper to remove this warning. See 23:39:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:45 23:39:45 Login Succeeded 23:39:45 nexus3.edgexfoundry.org:10004 23:39:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:45 Configure a credential helper to remove this warning. See 23:39:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:45 23:39:45 Login Succeeded 23:39:45 docker.io 23:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:46 Configure a credential helper to remove this warning. See 23:39:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:46 23:39:46 Login Succeeded 23:39:47 ---> docker-login.sh ends [Pipeline] } 23:39:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:39:47 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 23:39:47 394630684c4f2c5fa0b05acfafc8d275cc2ae64c 23:39:47 latest 23:39:47 2.0.1-dev.7 23:39:47 394630684c4f2c5fa0b05acfafc8d275cc2ae64c-2.0.1-dev.7 23:39:47 main 23:39:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:39:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:394630684c4f2c5fa0b05acfafc8d275cc2ae64c [Pipeline] isUnix [Pipeline] sh 23:39:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:394630684c4f2c5fa0b05acfafc8d275cc2ae64c 23:39:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:39:48 6d5655b4821b: Preparing 23:39:48 15da54d01980: Preparing 23:39:48 fda6d85597ad: Preparing 23:39:48 df4446ba4b16: Preparing 23:39:48 ee420dfed78a: Preparing 23:39:48 ee420dfed78a: Layer already exists 23:39:48 6d5655b4821b: Pushed 23:39:48 15da54d01980: Pushed 23:39:49 df4446ba4b16: Pushed 23:39:52 fda6d85597ad: Pushed 23:39:52 394630684c4f2c5fa0b05acfafc8d275cc2ae64c: digest: sha256:c5937999cbe67d3cfb863bd78c62654782e45918a2f020aba88b96d21e12f90f size: 1365 [Pipeline] isUnix [Pipeline] sh 23:39:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:39:53 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:39:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:39:53 6d5655b4821b: Preparing 23:39:53 15da54d01980: Preparing 23:39:53 fda6d85597ad: Preparing 23:39:53 df4446ba4b16: Preparing 23:39:53 ee420dfed78a: Preparing 23:39:53 fda6d85597ad: Layer already exists 23:39:53 ee420dfed78a: Layer already exists 23:39:53 6d5655b4821b: Layer already exists 23:39:53 15da54d01980: Layer already exists 23:39:53 df4446ba4b16: Layer already exists 23:39:53 latest: digest: sha256:c5937999cbe67d3cfb863bd78c62654782e45918a2f020aba88b96d21e12f90f size: 1365 [Pipeline] isUnix [Pipeline] sh 23:39:53 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 23:39:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.7 23:39:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:39:54 6d5655b4821b: Preparing 23:39:54 15da54d01980: Preparing 23:39:54 fda6d85597ad: Preparing 23:39:54 df4446ba4b16: Preparing 23:39:54 ee420dfed78a: Preparing 23:39:54 15da54d01980: Layer already exists 23:39:54 df4446ba4b16: Layer already exists 23:39:54 ee420dfed78a: Layer already exists 23:39:54 6d5655b4821b: Layer already exists 23:39:54 fda6d85597ad: Layer already exists 23:39:54 2.0.1-dev.7: digest: sha256:c5937999cbe67d3cfb863bd78c62654782e45918a2f020aba88b96d21e12f90f size: 1365 [Pipeline] isUnix [Pipeline] sh 23:39:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:394630684c4f2c5fa0b05acfafc8d275cc2ae64c-2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh 23:39:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:394630684c4f2c5fa0b05acfafc8d275cc2ae64c-2.0.1-dev.7 23:39:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:39:55 6d5655b4821b: Preparing 23:39:55 15da54d01980: Preparing 23:39:55 fda6d85597ad: Preparing 23:39:55 df4446ba4b16: Preparing 23:39:55 ee420dfed78a: Preparing 23:39:55 15da54d01980: Layer already exists 23:39:55 6d5655b4821b: Layer already exists 23:39:55 ee420dfed78a: Layer already exists 23:39:55 df4446ba4b16: Layer already exists 23:39:55 fda6d85597ad: Layer already exists 23:39:55 394630684c4f2c5fa0b05acfafc8d275cc2ae64c-2.0.1-dev.7: digest: sha256:c5937999cbe67d3cfb863bd78c62654782e45918a2f020aba88b96d21e12f90f size: 1365 [Pipeline] isUnix [Pipeline] sh 23:39:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 23:39:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 23:39:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:39:56 6d5655b4821b: Preparing 23:39:56 15da54d01980: Preparing 23:39:56 fda6d85597ad: Preparing 23:39:56 df4446ba4b16: Preparing 23:39:56 ee420dfed78a: Preparing 23:39:56 fda6d85597ad: Layer already exists 23:39:56 6d5655b4821b: Layer already exists 23:39:56 df4446ba4b16: Layer already exists 23:39:56 ee420dfed78a: Layer already exists 23:39:56 15da54d01980: Layer already exists 23:39:56 main: digest: sha256:c5937999cbe67d3cfb863bd78c62654782e45918a2f020aba88b96d21e12f90f size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:39:56 ===================================================== [Pipeline] echo 23:39:56 taggedImages: 23:39:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:394630684c4f2c5fa0b05acfafc8d275cc2ae64c 23:39:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:39:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.7 23:39:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:394630684c4f2c5fa0b05acfafc8d275cc2ae64c-2.0.1-dev.7 23:39:56 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:39:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:57 23:39:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:39:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:57 arm64: Pulling from edgex-lftools-log-publisher 23:39:57 448f6bf000e3: Pulling fs layer 23:39:57 f757da607395: Pulling fs layer 23:39:57 05883995daec: Pulling fs layer 23:39:57 8603b9c90790: Pulling fs layer 23:39:57 1560dd03e051: Pulling fs layer 23:39:57 27f5ce0e4adf: Pulling fs layer 23:39:57 c2d8d7efcc4b: Pulling fs layer 23:39:57 27f5ce0e4adf: Waiting 23:39:57 8603b9c90790: Waiting 23:39:57 1560dd03e051: Waiting 23:39:58 f757da607395: Verifying Checksum 23:39:58 f757da607395: Download complete 23:39:58 8603b9c90790: Verifying Checksum 23:39:58 8603b9c90790: Download complete 23:39:58 1560dd03e051: Verifying Checksum 23:39:58 1560dd03e051: Download complete 23:39:58 27f5ce0e4adf: Download complete 23:39:58 05883995daec: Verifying Checksum 23:39:58 05883995daec: Download complete 23:39:59 448f6bf000e3: Verifying Checksum 23:39:59 448f6bf000e3: Download complete 23:40:04 448f6bf000e3: Pull complete 23:40:04 c2d8d7efcc4b: Verifying Checksum 23:40:04 c2d8d7efcc4b: Download complete 23:40:04 f757da607395: Pull complete 23:40:06 05883995daec: Pull complete 23:40:06 8603b9c90790: Pull complete 23:40:08 1560dd03e051: Pull complete 23:40:08 27f5ce0e4adf: Pull complete 23:40:23 c2d8d7efcc4b: Pull complete 23:40:23 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:40:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:40:23 prd-ubuntu18.04-docker-arm64-4c-16g-1065 does not seem to be running inside a container 23:40:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:40:30 $ docker top f007f0cd068c573f5de3c2b14b52ec5257da385637b778e6ccf26ea2bd653c32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:31 ---> job-cost.sh 23:40:31 lf-activate-venv: SKIPPING 23:40:31 INFO: No Stack... 23:40:32 INFO: Retrieving Pricing Info for: v3-standard-4 23:40:33 INFO: Archiving Costs [Pipeline] sh 23:40:33 + cat /w/workspace/device-rest-go/8/archives/cost.csv 23:40:33 + cut -d, -f6 [Pipeline] lock 23:40:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-8-stack-cost] 23:40:34 Resource [jenkins-edgexfoundry-device-rest-go-main-8-stack-cost] did not exist. Created. 23:40:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:40:34 /w/workspace/device-rest-go/8@tmp/durable-6185beb1/script.sh: 1: /w/workspace/device-rest-go/8@tmp/durable-6185beb1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:40:35 + echo total: 0.10999999940395355 [Pipeline] stash 23:40:35 Warning: overwriting stash ‘stack-cost’ 23:40:35 Stashed 1 file(s) [Pipeline] } 23:40:35 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-8-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:35 $ docker stop --time=1 f007f0cd068c573f5de3c2b14b52ec5257da385637b778e6ccf26ea2bd653c32 23:40:37 $ docker rm -f f007f0cd068c573f5de3c2b14b52ec5257da385637b778e6ccf26ea2bd653c32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:40:38 provisioning config files... 23:40:38 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3694828996686149891tmp [Pipeline] { [Pipeline] sh 23:40:38 + set +x 23:40:38 + curl -s https://codecov.io/bash 23:40:38 + bash -s -- 23:40:38 23:40:38 _____ _ 23:40:38 / ____| | | 23:40:38 | | ___ __| | ___ ___ _____ __ 23:40:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:40:38 | |___| (_) | (_| | __/ (_| (_) \ V / 23:40:38 \_____\___/ \__,_|\___|\___\___/ \_/ 23:40:38 Bash-1.0.6 23:40:38 23:40:38 23:40:38 ==> git version 2.24.4 found 23:40:38 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 23:40:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:40:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:40:38 ==> Jenkins CI detected. 23:40:38 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 23:40:38 project root: . 23:40:38 --> token set from env 23:40:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:40:38 ==> Running gcov in . (disable via -X gcov) 23:40:38 ==> Python coveragepy not found 23:40:38 ==> Searching for coverage reports in: 23:40:38 + . 23:40:38 -> Found 1 reports 23:40:38 ==> Detecting git/mercurial file structure 23:40:38 ==> Reading reports 23:40:38 + ./coverage.out bytes=8435 23:40:38 ==> Appending adjustments 23:40:38 https://docs.codecov.io/docs/fixing-reports 23:40:38 + Found adjustments 23:40:38 ==> Gzipping contents 23:40:38 4.0K /tmp/codecov.OaXcNl.gz 23:40:38 ==> Uploading reports 23:40:38 url: https://codecov.io 23:40:38 query: branch=main&commit=394630684c4f2c5fa0b05acfafc8d275cc2ae64c&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:40:38 -> Pinging Codecov 23:40:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=394630684c4f2c5fa0b05acfafc8d275cc2ae64c&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:40:39 -> Uploading to 23:40:39 https://storage.googleapis.com/codecov/v4/raw/2021-09-23/4E5D53B4F1F92C436F7061BF334D961C/394630684c4f2c5fa0b05acfafc8d275cc2ae64c/cabb7ff4-475b-4ea2-9a04-9411b6b7b59f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210923T234039Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae09225e24d95e66f516eb32dd89f2914bd920f9c6508165e11060d55e20d16d 23:40:39 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:39 Dload Upload Total Spent Left Speed 23:40:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1746 0 0 100 1746 0 2323 --:--:-- --:--:-- --:--:-- 2321 23:40:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/394630684c4f2c5fa0b05acfafc8d275cc2ae64c [Pipeline] } 23:40:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:40:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:40:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:40:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:40 23:40:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:40:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:40:41 188c0c94c7c5: Pulling fs layer 23:40:41 0ef7d3d256c8: Pulling fs layer 23:40:41 de9db76c5a1d: Pulling fs layer 23:40:41 0eba1c9be4d2: Pulling fs layer 23:40:41 0d57e429df01: Pulling fs layer 23:40:41 4e4be7b47b0d: Pulling fs layer 23:40:41 e1f770b5df2f: Pulling fs layer 23:40:41 85a0685a4137: Pulling fs layer 23:40:41 0eba1c9be4d2: Waiting 23:40:41 0d57e429df01: Waiting 23:40:41 4e4be7b47b0d: Waiting 23:40:41 e1f770b5df2f: Waiting 23:40:41 85a0685a4137: Waiting 23:40:41 de9db76c5a1d: Verifying Checksum 23:40:41 de9db76c5a1d: Download complete 23:40:41 0ef7d3d256c8: Verifying Checksum 23:40:41 0ef7d3d256c8: Download complete 23:40:41 0d57e429df01: Verifying Checksum 23:40:41 0d57e429df01: Download complete 23:40:41 4e4be7b47b0d: Verifying Checksum 23:40:41 4e4be7b47b0d: Download complete 23:40:41 188c0c94c7c5: Verifying Checksum 23:40:41 188c0c94c7c5: Download complete 23:40:41 188c0c94c7c5: Pull complete 23:40:41 0ef7d3d256c8: Pull complete 23:40:41 de9db76c5a1d: Pull complete 23:40:42 e1f770b5df2f: Verifying Checksum 23:40:42 e1f770b5df2f: Download complete 23:40:46 0eba1c9be4d2: Verifying Checksum 23:40:46 0eba1c9be4d2: Download complete 23:40:47 85a0685a4137: Verifying Checksum 23:40:47 85a0685a4137: Download complete 23:40:49 0eba1c9be4d2: Pull complete 23:40:49 0d57e429df01: Pull complete 23:40:49 4e4be7b47b0d: Pull complete 23:40:50 e1f770b5df2f: Pull complete 23:40:53 85a0685a4137: Pull complete 23:40:53 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:40:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:40:53 prd-centos7-docker-4c-2g-1054 does not seem to be running inside a container 23:40:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:40:56 $ docker top 2a3da78c4df3e7de41d82cec387c13e0c143df01f3ce651c0faf2826574fcae8 -eo pid,comm [Pipeline] { [Pipeline] echo 23:40:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:40:56 + set -o pipefail 23:40:56 + snyk monitor '--org=edgex-jenkins' 23:41:03 23:41:03 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 23:41:03 23:41:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/c1cc897c-a117-450d-b72b-fb53565bfaf2 23:41:03 23:41:03 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:41:03 23:41:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:41:03 23:41:03 [Pipeline] } 23:41:03 $ docker stop --time=1 2a3da78c4df3e7de41d82cec387c13e0c143df01f3ce651c0faf2826574fcae8 23:41:05 $ docker rm -f 2a3da78c4df3e7de41d82cec387c13e0c143df01f3ce651c0faf2826574fcae8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:41:06 + git log --format=format:%s -1 394630684c4f2c5fa0b05acfafc8d275cc2ae64c [Pipeline] isUnix [Pipeline] sh 23:41:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:07 . [Pipeline] withDockerContainer 23:41:07 prd-centos7-docker-4c-2g-1054 does not seem to be running inside a container 23:41:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:41:07 $ docker top c32a8087a79251b74c0c8ed896bda27fd5ea218c6094f79a01b531897b2af275 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:08 [ssh-agent] Looking for ssh-agent implementation... 23:41:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:08 $ docker exec c32a8087a79251b74c0c8ed896bda27fd5ea218c6094f79a01b531897b2af275 ssh-agent 23:41:08 SSH_AUTH_SOCK=/tmp/ssh-jXliuoR0PMBc/agent.15 23:41:08 SSH_AGENT_PID=22 23:41:08 Running ssh-add (command line suppressed) 23:41:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4570574235312806660.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4570574235312806660.key) 23:41:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:08 + git semver tag 23:41:08 # -> Open(): unable to determine branch for HEAD 23:41:08 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 23:41:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 23:41:08 # $SEMVER_REMOTE_NAME = origin 23:41:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:41:08 # $SEMVER_USER_NAME = edgex-jenkins 23:41:08 # $SEMVER_BRANCH = main 23:41:08 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:41:08 # 394630684c4f2c5fa0b05acfafc8d275cc2ae64c HEAD 23:41:08 # -> Force: false 23:41:08 # 0f44bdcdebb3ae33ef58f00ea84261cbe8b05f08 refs/tags/v2.0.1-dev.7 [Pipeline] } 23:41:08 $ docker exec --env ******** --env ******** c32a8087a79251b74c0c8ed896bda27fd5ea218c6094f79a01b531897b2af275 ssh-agent -k 23:41:08 unset SSH_AUTH_SOCK; 23:41:08 unset SSH_AGENT_PID; 23:41:08 echo Agent pid 22 killed; 23:41:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:09 + git semver [Pipeline] } 23:41:09 $ docker stop --time=1 c32a8087a79251b74c0c8ed896bda27fd5ea218c6094f79a01b531897b2af275 23:41:10 $ docker rm -f c32a8087a79251b74c0c8ed896bda27fd5ea218c6094f79a01b531897b2af275 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:41:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:41:11 23:41:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:41:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:41:11 0.23.1-centos7: Pulling from edgex-lftools 23:41:11 ab5ef0e58194: Pulling fs layer 23:41:11 9712f1f96733: Pulling fs layer 23:41:11 63f879dbbcfc: Pulling fs layer 23:41:11 0d9ebad4ef96: Pulling fs layer 23:41:11 e9a5061849ea: Pulling fs layer 23:41:11 d747dcd14b5f: Pulling fs layer 23:41:11 2de7ff778b66: Pulling fs layer 23:41:11 0d9ebad4ef96: Waiting 23:41:11 e9a5061849ea: Waiting 23:41:11 d747dcd14b5f: Waiting 23:41:11 2de7ff778b66: Waiting 23:41:11 9712f1f96733: Verifying Checksum 23:41:11 9712f1f96733: Download complete 23:41:14 63f879dbbcfc: Download complete 23:41:14 e9a5061849ea: Verifying Checksum 23:41:14 e9a5061849ea: Download complete 23:41:14 d747dcd14b5f: Verifying Checksum 23:41:14 d747dcd14b5f: Download complete 23:41:15 2de7ff778b66: Verifying Checksum 23:41:15 2de7ff778b66: Download complete 23:41:15 0d9ebad4ef96: Verifying Checksum 23:41:15 0d9ebad4ef96: Download complete 23:41:16 ab5ef0e58194: Verifying Checksum 23:41:16 ab5ef0e58194: Download complete 23:41:18 ab5ef0e58194: Pull complete 23:41:18 9712f1f96733: Pull complete 23:41:19 63f879dbbcfc: Pull complete 23:41:22 0d9ebad4ef96: Pull complete 23:41:23 e9a5061849ea: Pull complete 23:41:23 d747dcd14b5f: Pull complete 23:41:24 2de7ff778b66: Pull complete 23:41:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:41:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:41:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:41:24 prd-centos7-docker-4c-2g-1054 does not seem to be running inside a container 23:41:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:41:27 $ docker top 6052f01d9e3dcacc2f349e9cb21a72a5115e2041b9a89dc891df914b70cdefd7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:41:27 provisioning config files... 23:41:27 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7291775883308163160tmp 23:41:27 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1039951334350999246tmp 23:41:27 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4194188844403682846tmp [Pipeline] { [Pipeline] echo 23:41:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:41:27 ---> sigul-configuration.sh 23:41:27 gpg: directory `/root/.gnupg' created 23:41:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:41:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:41:27 gpg: keyring `/root/.gnupg/secring.gpg' created 23:41:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:41:27 gpg: CAST5 encrypted data 23:41:27 gpg: encrypted with 1 passphrase 23:41:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:41:28 + mkdir /home/jenkins 23:41:28 + mkdir /home/jenkins/sigul [Pipeline] sh 23:41:28 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 23:41:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:41:28 ---> sigul-install.sh 23:41:28 Sigul already installed; skipping installation. [Pipeline] sh 23:41:29 + git tag --list 23:41:29 v1.0.0 23:41:29 v1.1.0 23:41:29 v1.1.1 23:41:29 v1.1.2 23:41:29 v1.2.0 23:41:29 v1.2.1 23:41:29 v2.0.0 23:41:29 v2.0.1-dev.1 23:41:29 v2.0.1-dev.2 23:41:29 v2.0.1-dev.3 23:41:29 v2.0.1-dev.4 23:41:29 v2.0.1-dev.5 23:41:29 v2.0.1-dev.6 23:41:29 v2.0.1-dev.7 [Pipeline] sh 23:41:29 + lftools sign git-tag v2.0.1-dev.7 23:41:29 Signing Git tag with Sigul... 23:41:29 Signing v2.0.1-dev.7 [Pipeline] echo 23:41:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:41:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:41:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:41:31 $ docker stop --time=1 6052f01d9e3dcacc2f349e9cb21a72a5115e2041b9a89dc891df914b70cdefd7 23:41:32 $ docker rm -f 6052f01d9e3dcacc2f349e9cb21a72a5115e2041b9a89dc891df914b70cdefd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 23:41:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:33 . [Pipeline] withDockerContainer 23:41:33 prd-centos7-docker-4c-2g-1054 does not seem to be running inside a container 23:41:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:41:33 $ docker top 1ad0ed7843bfce8dc825f9d9d834ed7da55ff707addad95d4a9c52f9fbe4da50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:33 [ssh-agent] Looking for ssh-agent implementation... 23:41:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:34 $ docker exec 1ad0ed7843bfce8dc825f9d9d834ed7da55ff707addad95d4a9c52f9fbe4da50 ssh-agent 23:41:34 SSH_AUTH_SOCK=/tmp/ssh-0AlthNfkvYTq/agent.13 23:41:34 SSH_AGENT_PID=20 23:41:34 Running ssh-add (command line suppressed) 23:41:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7170776387485943938.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7170776387485943938.key) 23:41:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:34 + git semver bump pre 23:41:34 # -> Open(): unable to determine branch for HEAD 23:41:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 23:41:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 23:41:34 # $SEMVER_REMOTE_NAME = origin 23:41:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:41:34 # $SEMVER_USER_NAME = edgex-jenkins 23:41:34 # $SEMVER_BRANCH = main 23:41:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:41:34 2.0.1-dev.8 [Pipeline] } 23:41:34 $ docker exec --env ******** --env ******** 1ad0ed7843bfce8dc825f9d9d834ed7da55ff707addad95d4a9c52f9fbe4da50 ssh-agent -k 23:41:34 unset SSH_AUTH_SOCK; 23:41:34 unset SSH_AGENT_PID; 23:41:34 echo Agent pid 20 killed; 23:41:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:35 + git semver [Pipeline] } 23:41:35 $ docker stop --time=1 1ad0ed7843bfce8dc825f9d9d834ed7da55ff707addad95d4a9c52f9fbe4da50 23:41:36 $ docker rm -f 1ad0ed7843bfce8dc825f9d9d834ed7da55ff707addad95d4a9c52f9fbe4da50 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 23:41:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:36 . [Pipeline] withDockerContainer 23:41:36 prd-centos7-docker-4c-2g-1054 does not seem to be running inside a container 23:41:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:41:37 $ docker top b8a62e8d0a8b8b2118403a5d5afb8c3619d0323a17b9ceddd59b42ad29bd40d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:37 [ssh-agent] Looking for ssh-agent implementation... 23:41:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:37 $ docker exec b8a62e8d0a8b8b2118403a5d5afb8c3619d0323a17b9ceddd59b42ad29bd40d6 ssh-agent 23:41:37 SSH_AUTH_SOCK=/tmp/ssh-DjwHOcDVsNDQ/agent.14 23:41:37 SSH_AGENT_PID=20 23:41:37 Running ssh-add (command line suppressed) 23:41:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_432014603895801734.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_432014603895801734.key) 23:41:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:38 + git semver push 23:41:38 # -> Open(): unable to determine branch for HEAD 23:41:38 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 23:41:38 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 23:41:38 # $SEMVER_REMOTE_NAME = origin 23:41:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:41:38 # $SEMVER_USER_NAME = edgex-jenkins 23:41:38 # $SEMVER_BRANCH = main 23:41:38 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 23:41:39 $ docker exec --env ******** --env ******** b8a62e8d0a8b8b2118403a5d5afb8c3619d0323a17b9ceddd59b42ad29bd40d6 ssh-agent -k 23:41:39 unset SSH_AUTH_SOCK; 23:41:39 unset SSH_AGENT_PID; 23:41:39 echo Agent pid 20 killed; 23:41:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:40 + git semver [Pipeline] } 23:41:40 $ docker stop --time=1 b8a62e8d0a8b8b2118403a5d5afb8c3619d0323a17b9ceddd59b42ad29bd40d6 23:41:41 $ docker rm -f b8a62e8d0a8b8b2118403a5d5afb8c3619d0323a17b9ceddd59b42ad29bd40d6 [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] sh 23:41:43 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:41:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:41:44 ---> package-listing.sh 23:41:44 ++ facter osfamily 23:41:44 ++ tr '[:upper:]' '[:lower:]' 23:41:44 + OS_FAMILY=redhat 23:41:44 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 23:41:44 + START_PACKAGES=/tmp/packages_start.txt 23:41:44 + END_PACKAGES=/tmp/packages_end.txt 23:41:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:41:44 + PACKAGES=/tmp/packages_start.txt 23:41:44 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:41:44 + PACKAGES=/tmp/packages_end.txt 23:41:44 + case "${OS_FAMILY}" in 23:41:44 + rpm -qa 23:41:44 + sort 23:41:45 + '[' -f /tmp/packages_start.txt ']' 23:41:45 + '[' -f /tmp/packages_end.txt ']' 23:41:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:41:45 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:41:45 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 23:41:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 23:41:45 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:41:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:45 23:41:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:41:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:46 latest: Pulling from edgex-lftools-log-publisher 23:41:46 b4d181a07f80: Pulling fs layer 23:41:46 a1111a8f2ec3: Pulling fs layer 23:41:46 ed53099fbce6: Pulling fs layer 23:41:46 dc539afda2c1: Pulling fs layer 23:41:46 77bc0d833cb6: Pulling fs layer 23:41:46 9065ff56babe: Pulling fs layer 23:41:46 d287ab97295c: Pulling fs layer 23:41:46 dc539afda2c1: Waiting 23:41:46 77bc0d833cb6: Waiting 23:41:46 9065ff56babe: Waiting 23:41:46 d287ab97295c: Waiting 23:41:46 a1111a8f2ec3: Verifying Checksum 23:41:46 a1111a8f2ec3: Download complete 23:41:46 dc539afda2c1: Verifying Checksum 23:41:46 dc539afda2c1: Download complete 23:41:47 77bc0d833cb6: Verifying Checksum 23:41:47 77bc0d833cb6: Download complete 23:41:47 ed53099fbce6: Verifying Checksum 23:41:47 ed53099fbce6: Download complete 23:41:47 9065ff56babe: Verifying Checksum 23:41:47 9065ff56babe: Download complete 23:41:48 b4d181a07f80: Verifying Checksum 23:41:48 b4d181a07f80: Download complete 23:41:49 b4d181a07f80: Pull complete 23:41:49 a1111a8f2ec3: Pull complete 23:41:50 ed53099fbce6: Pull complete 23:41:50 dc539afda2c1: Pull complete 23:41:50 77bc0d833cb6: Pull complete 23:41:50 9065ff56babe: Pull complete 23:41:52 d287ab97295c: Verifying Checksum 23:41:52 d287ab97295c: Download complete 23:41:57 d287ab97295c: Pull complete 23:41:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:41:57 prd-centos7-docker-4c-2g-1054 does not seem to be running inside a container 23:41:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:41:59 $ docker top 99b01e5b276556daa3d6a7fa160ecc2334b5fe3e2bca222b7c12c1db36fc25fe -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:42:00 + mkdir -p /var/log/sysstat [Pipeline] sh 23:42:01 + ls /var/log/sa-host 23:42:01 + sadf -c /var/log/sa-host/sa05 23:42:01 file_magic: OK 23:42:01 HZ: Using current value: 100 23:42:01 file_header: OK 23:42:01 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:42:01 Statistics: 23:42:01 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:42:01 File successfully converted to sysstat format version 12.0.3 23:42:01 + sadf -c /var/log/sa-host/sa23 23:42:01 file_magic: OK 23:42:01 HZ: Using current value: 100 23:42:01 file_header: OK 23:42:01 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:42:01 Statistics: 23:42:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:42:01 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:01 provisioning config files... 23:42:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9120481323466119713tmp [Pipeline] { [Pipeline] echo 23:42:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:42:01 ---> create-netrc.sh [Pipeline] } 23:42:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:42:01 ---> python-tools-install.sh [Pipeline] echo 23:42:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:42:02 ---> sudo-logs.sh 23:42:02 Archiving 'sudo' log.. 23:42:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-1054.vexxhost.local: Name or service not known 23:42:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-1054.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:42:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:42:08 ---> job-cost.sh 23:42:08 lf-activate-venv: SKIPPING 23:42:08 DEBUG: total: 0.10999999940395355 23:42:08 INFO: Retrieving Stack Cost... 23:42:08 INFO: Retrieving Pricing Info for: v3-standard-2 23:42:09 INFO: Archiving Costs [Pipeline] echo 23:42:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:42:09 ---> logs-deploy.sh 23:42:09 lf-activate-venv: SKIPPING 23:42:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/8 23:42:09 INFO: archiving workspace using pattern(s): 23:42:10 Archives upload complete. 23:42:10 INFO: archiving logs to Nexus 23:42:11 ---> uname -a: 23:42:11 Linux prd-centos7-docker-4c-2g-1054.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 23:42:11 23:42:11 23:42:11 ---> lscpu: 23:42:11 Architecture: x86_64 23:42:11 CPU op-mode(s): 32-bit, 64-bit 23:42:11 Byte Order: Little Endian 23:42:11 Address sizes: 40 bits physical, 48 bits virtual 23:42:11 CPU(s): 2 23:42:11 On-line CPU(s) list: 0,1 23:42:11 Thread(s) per core: 1 23:42:11 Core(s) per socket: 1 23:42:11 Socket(s): 2 23:42:11 NUMA node(s): 1 23:42:11 Vendor ID: AuthenticAMD 23:42:11 CPU family: 23 23:42:11 Model: 49 23:42:11 Model name: AMD EPYC-Rome Processor 23:42:11 Stepping: 0 23:42:11 CPU MHz: 2799.998 23:42:11 BogoMIPS: 5599.99 23:42:11 Virtualization: AMD-V 23:42:11 Hypervisor vendor: KVM 23:42:11 Virtualization type: full 23:42:11 L1d cache: 32K 23:42:11 L1i cache: 32K 23:42:11 L2 cache: 512K 23:42:11 L3 cache: 16384K 23:42:11 NUMA node0 CPU(s): 0,1 23:42:11 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 23:42:11 23:42:11 23:42:11 ---> nproc: 23:42:11 2 23:42:11 23:42:11 23:42:11 ---> df -h: 23:42:11 Filesystem Size Used Avail Use% Mounted on 23:42:11 overlay 40G 9.0G 32G 23% / 23:42:11 tmpfs 64M 0 64M 0% /dev 23:42:11 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:42:11 shm 64M 0 64M 0% /dev/shm 23:42:11 /dev/vda1 40G 9.0G 32G 23% /facter-os 23:42:11 23:42:11 23:42:11 ---> sar -b -r -n DEV: 23:42:11 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/23/21 _x86_64_ (2 CPU) 23:42:11 23:42:11 23:29:47 LINUX RESTART (2 CPU) 23:42:11 23:42:11 23:31:01 tps rtps wtps bread/s bwrtn/s 23:42:11 23:32:01 1.67 0.00 1.67 0.00 33.46 23:42:11 23:33:01 0.37 0.00 0.37 0.00 6.30 23:42:11 23:34:01 0.25 0.00 0.25 0.00 2.83 23:42:11 23:35:01 0.23 0.00 0.23 0.00 3.78 23:42:11 23:36:01 0.30 0.00 0.30 0.00 4.28 23:42:11 23:37:01 0.18 0.00 0.18 0.00 2.33 23:42:11 23:38:01 0.25 0.00 0.25 0.00 3.91 23:42:11 23:39:01 0.28 0.00 0.28 0.00 3.02 23:42:11 23:40:01 0.27 0.00 0.27 0.00 4.35 23:42:11 23:41:01 80.45 0.03 80.42 3.73 27884.96 23:42:11 Average: 8.43 0.00 8.42 0.37 2795.71 23:42:11 23:42:11 23:31:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:42:11 23:32:01 5464252 0 794060 9.91 2620 1748000 1239656 13.69 572864 1572912 12 23:42:11 23:33:01 5464224 0 794080 9.91 2620 1748008 1239732 13.69 576256 1569708 8 23:42:11 23:34:01 5466188 0 792112 9.89 2620 1748012 1205580 13.31 574868 1569708 8 23:42:11 23:35:01 5465440 0 792852 9.90 2620 1748020 1205884 13.31 570660 1575156 8 23:42:11 23:36:01 5462752 0 795536 9.93 2620 1748024 1205824 13.31 573224 1575156 8 23:42:11 23:37:01 5461480 0 796804 9.95 2620 1748028 1206088 13.32 575080 1575160 20 23:42:11 23:38:01 5459036 0 799244 9.98 2620 1748032 1206112 13.32 576944 1575156 8 23:42:11 23:39:01 5454308 0 803968 10.04 2620 1748036 1205776 13.31 581700 1575156 20 23:42:11 23:40:01 5453888 0 804384 10.04 2620 1748040 1205932 13.31 583920 1573596 20 23:42:11 23:41:01 4392472 0 1051832 13.13 2620 2562008 1581592 17.46 816792 2280788 73404 23:42:11 Average: 5354404 0 822487 10.27 2620 1829421 1250218 13.80 600231 1644250 7352 23:42:11 23:42:11 23:31:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:42:11 23:32:01 eth0 3.41 0.97 1.02 0.61 0.00 0.00 0.00 0.00 23:42:11 23:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:33:01 eth0 3.26 0.82 0.97 0.59 0.00 0.00 0.00 0.00 23:42:11 23:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:34:01 eth0 2.95 0.08 0.22 0.01 0.00 0.00 0.00 0.00 23:42:11 23:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:35:01 eth0 3.33 0.83 1.00 0.59 0.00 0.00 0.00 0.00 23:42:11 23:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:36:01 eth0 1.88 0.55 0.55 0.27 0.00 0.00 0.00 0.00 23:42:11 23:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:37:01 eth0 3.63 1.25 1.91 0.62 0.00 0.00 0.00 0.00 23:42:11 23:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:38:01 eth0 2.97 1.02 0.97 0.62 0.00 0.00 0.00 0.00 23:42:11 23:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:39:01 eth0 1.03 0.05 0.11 0.00 0.00 0.00 0.00 0.00 23:42:11 23:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:40:01 eth0 0.72 0.27 0.29 0.17 0.00 0.00 0.00 0.00 23:42:11 23:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:41:01 eth0 726.91 505.25 4482.08 82.04 0.00 0.00 0.00 0.00 23:42:11 23:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 23:41:01 veth77b088a 77.37 99.82 6.64 384.15 0.00 0.00 0.00 0.00 23:42:11 23:41:01 docker0 77.37 99.72 5.59 384.14 0.00 0.00 0.00 0.00 23:42:11 Average: eth0 75.03 51.12 449.04 8.55 0.00 0.00 0.00 0.00 23:42:11 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:42:11 Average: veth77b088a 7.74 9.98 0.66 38.43 0.00 0.00 0.00 0.00 23:42:11 Average: docker0 7.74 9.97 0.56 38.43 0.00 0.00 0.00 0.00 23:42:11 23:42:11 23:42:11 ---> sar -P ALL: 23:42:11 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/23/21 _x86_64_ (2 CPU) 23:42:11 23:42:11 23:29:47 LINUX RESTART (2 CPU) 23:42:11 23:42:11 23:31:01 CPU %user %nice %system %iowait %steal %idle 23:42:11 23:32:01 all 0.28 0.00 0.06 0.00 0.03 99.64 23:42:11 23:32:01 0 0.45 0.00 0.07 0.00 0.03 99.45 23:42:11 23:32:01 1 0.10 0.00 0.05 0.00 0.02 99.83 23:42:11 23:33:01 all 0.27 0.00 0.04 0.00 0.03 99.67 23:42:11 23:33:01 0 0.22 0.00 0.02 0.00 0.02 99.75 23:42:11 23:33:01 1 0.32 0.00 0.07 0.00 0.03 99.58 23:42:11 23:34:01 all 0.18 0.00 0.05 0.00 0.01 99.77 23:42:11 23:34:01 0 0.02 0.00 0.05 0.00 0.02 99.92 23:42:11 23:34:01 1 0.33 0.00 0.05 0.00 0.00 99.62 23:42:11 23:35:01 all 0.24 0.00 0.03 0.00 0.03 99.70 23:42:11 23:35:01 0 0.10 0.00 0.03 0.00 0.02 99.85 23:42:11 23:35:01 1 0.38 0.00 0.03 0.00 0.03 99.55 23:42:11 23:36:01 all 0.14 0.00 0.03 0.00 0.03 99.80 23:42:11 23:36:01 0 0.03 0.00 0.03 0.00 0.02 99.92 23:42:11 23:36:01 1 0.25 0.00 0.03 0.00 0.03 99.68 23:42:11 23:37:01 all 0.23 0.00 0.04 0.00 0.03 99.71 23:42:11 23:37:01 0 0.10 0.00 0.05 0.00 0.02 99.83 23:42:11 23:37:01 1 0.35 0.00 0.03 0.00 0.03 99.58 23:42:11 23:38:01 all 0.12 0.00 0.07 0.00 0.02 99.80 23:42:11 23:38:01 0 0.05 0.00 0.07 0.00 0.03 99.85 23:42:11 23:38:01 1 0.18 0.00 0.07 0.00 0.00 99.75 23:42:11 23:39:01 all 0.03 0.00 0.03 0.01 0.03 99.89 23:42:11 23:39:01 0 0.03 0.00 0.03 0.02 0.05 99.87 23:42:11 23:39:01 1 0.03 0.00 0.03 0.00 0.02 99.92 23:42:11 23:40:01 all 0.08 0.00 0.03 0.00 0.03 99.86 23:42:11 23:40:01 0 0.05 0.00 0.05 0.00 0.03 99.87 23:42:11 23:40:01 1 0.12 0.00 0.02 0.00 0.02 99.85 23:42:11 23:41:01 all 10.59 0.00 4.32 0.84 0.05 84.19 23:42:11 23:41:01 0 10.23 0.00 4.64 0.90 0.05 84.18 23:42:11 23:41:01 1 10.95 0.00 4.00 0.79 0.05 84.20 23:42:11 Average: all 1.19 0.00 0.46 0.08 0.03 98.25 23:42:11 Average: 0 1.10 0.00 0.49 0.09 0.03 98.30 23:42:11 Average: 1 1.28 0.00 0.43 0.08 0.02 98.19 23:42:11 23:42:11 23:42:11