Pull request #94 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of tonyespy for edgexfoundry/device-rest-go Loading trusted files from base branch master at 4f98354a1324b6971af40554b83b1d8fb938970d rather than 2544f5c07657d26b6568ca6d244bab6513253799 Obtained Jenkinsfile from 4f98354a1324b6971af40554b83b1d8fb938970d 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4695 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-94 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 2544f5c07657d26b6568ca6d244bab6513253799 Merge succeeded, producing 2544f5c07657d26b6568ca6d244bab6513253799 Checking out Revision 2544f5c07657d26b6568ca6d244bab6513253799 (PR-94) > git config core.sparsecheckout # timeout=10 > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 Commit message: "fix(build): update Dockerfiles to use go 1.16" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 9520ed64b0fe4d5a3dd9e00bf94857e5adea3a1c # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:13:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:13:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:13:08 ========================================================= 15:13:08 EdgeX Global Pipelines Version Info 15:13:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:13:10 ------------------- 15:13:10 stable info: 15:13:10 ------------------- 15:13:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:13:10 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 15:13:10 Message: update stable to v1.0.192 15:13:11 ------------------- 15:13:11 experimental info: 15:13:11 ------------------- 15:13:11 Commited By: **** collab-it+edgex@linuxfoundation.org 15:13:11 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 15:13:11 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:13:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2544f5c07657d26b6568ca6d244bab6513253799 [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2544f5c [Pipeline] echo 15:13:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:13:12 provisioning config files... 15:13:12 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config33400780402377765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:13:12 ---> docker-login.sh 15:13:12 nexus3.edgexfoundry.org:10001 15:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:13:13 Configure a credential helper to remove this warning. See 15:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:13:13 15:13:13 Login Succeeded 15:13:13 nexus3.edgexfoundry.org:10002 15:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:13:13 Configure a credential helper to remove this warning. See 15:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:13:13 15:13:13 Login Succeeded 15:13:13 nexus3.edgexfoundry.org:10003 15:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:13:13 Configure a credential helper to remove this warning. See 15:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:13:13 15:13:13 Login Succeeded 15:13:13 nexus3.edgexfoundry.org:10004 15:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:13:13 Configure a credential helper to remove this warning. See 15:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:13:13 15:13:13 Login Succeeded 15:13:13 docker.io 15:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:13:14 Configure a credential helper to remove this warning. See 15:13:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:13:14 15:13:14 Login Succeeded 15:13:14 ---> docker-login.sh ends [Pipeline] } 15:13:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:13:14 + git log --format=format:%s -1 2544f5c07657d26b6568ca6d244bab6513253799 [Pipeline] echo 15:13:14 GIT_COMMIT: 2544f5c07657d26b6568ca6d244bab6513253799, Commit Message: fix(build): update Dockerfiles to use go 1.16 [Pipeline] echo 15:13:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:13:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:13:15 15:13:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:13:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:13:16 latest: Pulling from edgex-devops/git-semver 15:13:16 31603596830f: Pulling fs layer 15:13:16 54011a49482f: Pulling fs layer 15:13:16 a6820b24f6d8: Pulling fs layer 15:13:16 f581987b2513: Pulling fs layer 15:13:16 f581987b2513: Waiting 15:13:16 54011a49482f: Verifying Checksum 15:13:16 54011a49482f: Download complete 15:13:16 31603596830f: Verifying Checksum 15:13:16 31603596830f: Download complete 15:13:16 f581987b2513: Verifying Checksum 15:13:16 f581987b2513: Download complete 15:13:16 a6820b24f6d8: Verifying Checksum 15:13:16 a6820b24f6d8: Download complete 15:13:16 31603596830f: Pull complete 15:13:16 54011a49482f: Pull complete 15:13:17 a6820b24f6d8: Pull complete 15:13:17 f581987b2513: Pull complete 15:13:17 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 15:13:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:13:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:13:17 prd-centos7-docker-4c-2g-4695 does not seem to be running inside a container 15:13:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-94 -v /w/workspace/dgexfoundry_device-rest-go_PR-94:/w/workspace/dgexfoundry_device-rest-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-94@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:10004/edgex-devops/git-semver:latest cat 15:13:20 $ docker top fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:13:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:13:20 [ssh-agent] Looking for ssh-agent implementation... 15:13:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:13:20 $ docker exec fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a ssh-agent 15:13:20 SSH_AUTH_SOCK=/tmp/ssh-8NFWkvAM7H0B/agent.11 15:13:20 SSH_AGENT_PID=16 15:13:20 Running ssh-add (command line suppressed) 15:13:20 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_8051976963122377589.key (/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_8051976963122377589.key) 15:13:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:13:21 + git tag --points-at HEAD [Pipeline] } 15:13:21 $ docker exec --env ******** --env ******** fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a ssh-agent -k 15:13:21 unset SSH_AUTH_SOCK; 15:13:21 unset SSH_AGENT_PID; 15:13:21 echo Agent pid 16 killed; 15:13:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:13:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:13:21 [ssh-agent] Looking for ssh-agent implementation... 15:13:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:13:21 $ docker exec fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a ssh-agent 15:13:21 SSH_AUTH_SOCK=/tmp/ssh-hqKjWY4jmq6u/agent.44 15:13:21 SSH_AGENT_PID=49 15:13:21 Running ssh-add (command line suppressed) 15:13:22 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_4870474742047579788.key (/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_4870474742047579788.key) 15:13:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:13:22 + git semver init 15:13:22 # -> Open(): unable to determine branch for HEAD 15:13:22 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-94/.git 15:13:22 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-94 15:13:22 # $SEMVER_REMOTE_NAME = origin 15:13:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:13:22 # $SEMVER_USER_NAME = edgex-jenkins 15:13:22 # $SEMVER_BRANCH = PR-94 15:13:22 # $SEMVER_TEMP = /tmp/semver-993646128 15:13:22 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 15:13:23 # '/tmp/semver-993646128' -> '/w/workspace/dgexfoundry_device-rest-go_PR-94/.semver' 15:13:23 # -> Force: false 15:13:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-94/.semver [Pipeline] } 15:13:23 $ docker exec --env ******** --env ******** fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a ssh-agent -k 15:13:23 unset SSH_AUTH_SOCK; 15:13:23 unset SSH_AGENT_PID; 15:13:23 echo Agent pid 49 killed; 15:13:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:13:24 + git semver [Pipeline] } 15:13:24 $ docker stop --time=1 fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a 15:13:25 $ docker rm -f fdb22b0de87327b97a4ada545f0e6ed91cb9c00d7b11cb99036e918359acca1a [Pipeline] // withDockerContainer [Pipeline] sh 15:13:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:13:26 Stashed 1 file(s) [Pipeline] echo 15:13:26 [edgeXSemver]: initialized semver on version 0.0.0 [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 15:13:41 Still waiting to schedule task 15:13:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:13:41 Still waiting to schedule task 15:13:41 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 15:15:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4696 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] ws 15:15:31 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 15:15:36 using credential edgex-jenkins-ssh 15:15:36 Cloning the remote Git repository 15:15:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:15:37 > git init /w/workspace/device-rest-go/4 # timeout=10 15:15:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:15:37 > git --version # timeout=10 15:15:37 > git --version # 'git version 2.17.1' 15:15:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:15:39 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 2544f5c07657d26b6568ca6d244bab6513253799 15:15:40 Merge succeeded, producing 2544f5c07657d26b6568ca6d244bab6513253799 15:15:40 Checking out Revision 2544f5c07657d26b6568ca6d244bab6513253799 (PR-94) 15:15:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:15:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:15:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:15:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:15:39 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:15:39 > git config core.sparsecheckout # timeout=10 15:15:39 > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 15:15:40 > git remote # timeout=10 15:15:40 > git config --get remote.origin.url # timeout=10 15:15:40 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:40 > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 15:15:40 > git rev-parse HEAD^{commit} # timeout=10 15:15:40 > git config core.sparsecheckout # timeout=10 15:15:40 > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 15:15:44 Commit message: "fix(build): update Dockerfiles to use go 1.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:15:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 15:15:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:15:46 + true 15:15:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:15:49 provisioning config files... 15:15:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config6962695976419813802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:15:49 ---> docker-login.sh 15:15:49 nexus3.edgexfoundry.org:10001 15:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:50 Configure a credential helper to remove this warning. See 15:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:50 15:15:50 Login Succeeded 15:15:50 nexus3.edgexfoundry.org:10002 15:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:51 Configure a credential helper to remove this warning. See 15:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:51 15:15:51 Login Succeeded 15:15:51 nexus3.edgexfoundry.org:10003 15:15:51 Running on prd-centos7-docker-4c-2g-4697 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] ws 15:15:51 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 15:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:52 Configure a credential helper to remove this warning. See 15:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:52 15:15:52 Login Succeeded 15:15:52 nexus3.edgexfoundry.org:10004 15:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:52 Configure a credential helper to remove this warning. See 15:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:52 15:15:52 Login Succeeded 15:15:52 docker.io 15:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:53 Configure a credential helper to remove this warning. See 15:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:53 15:15:53 Login Succeeded 15:15:53 ---> docker-login.sh ends [Pipeline] } 15:15:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:15:53 ========================================================= 15:15:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 15:15:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:15:54 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 15:15:54 Sending build context to Docker daemon 92.16kB 15:15:54 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 15:15:54 Step 2/10 : FROM ${BASE} 15:15:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:15:54 595b0fe564bb: Pulling fs layer 15:15:54 7186ed65a4f7: Pulling fs layer 15:15:54 316046926c0a: Pulling fs layer 15:15:54 4ebd0625c992: Pulling fs layer 15:15:54 207e8628e3a3: Pulling fs layer 15:15:54 c791037a9be2: Pulling fs layer 15:15:54 ffd874e62e21: Pulling fs layer 15:15:54 4ebd0625c992: Waiting 15:15:54 207e8628e3a3: Waiting 15:15:54 c791037a9be2: Waiting 15:15:54 ffd874e62e21: Waiting 15:15:54 using credential edgex-jenkins-ssh 15:15:54 Cloning the remote Git repository 15:15:54 316046926c0a: Verifying Checksum 15:15:54 316046926c0a: Download complete 15:15:54 7186ed65a4f7: Verifying Checksum 15:15:54 7186ed65a4f7: Download complete 15:15:54 207e8628e3a3: Verifying Checksum 15:15:54 207e8628e3a3: Download complete 15:15:54 595b0fe564bb: Download complete 15:15:54 c791037a9be2: Download complete 15:15:54 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:15:54 > git init /w/workspace/device-rest-go/4 # timeout=10 15:15:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:15:54 > git --version # timeout=10 15:15:54 > git --version # 'git version 2.24.3' 15:15:54 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:15:55 595b0fe564bb: Pull complete 15:15:55 7186ed65a4f7: Pull complete 15:15:56 316046926c0a: Pull complete 15:15:56 ffd874e62e21: Verifying Checksum 15:15:56 ffd874e62e21: Download complete 15:15:57 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 2544f5c07657d26b6568ca6d244bab6513253799 15:15:57 Merge succeeded, producing 2544f5c07657d26b6568ca6d244bab6513253799 15:15:57 Checking out Revision 2544f5c07657d26b6568ca6d244bab6513253799 (PR-94) 15:15:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:15:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:15:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:15:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:15:56 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:15:57 > git config core.sparsecheckout # timeout=10 15:15:57 > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 15:15:57 > git remote # timeout=10 15:15:57 > git config --get remote.origin.url # timeout=10 15:15:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:57 > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 15:15:57 > git rev-parse HEAD^{commit} # timeout=10 15:15:57 > git config core.sparsecheckout # timeout=10 15:15:57 > git checkout -f 2544f5c07657d26b6568ca6d244bab6513253799 # timeout=10 15:15:58 4ebd0625c992: Verifying Checksum 15:15:58 4ebd0625c992: Download complete 15:16:00 Commit message: "fix(build): update Dockerfiles to use go 1.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:16:02 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 15:16:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:16:03 + sudo service docker restart 15:16:03 + true 15:16:03 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:16:04 provisioning config files... 15:16:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config5247175637687062994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:04 ---> docker-login.sh 15:16:04 nexus3.edgexfoundry.org:10001 15:16:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:04 Configure a credential helper to remove this warning. See 15:16:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:04 15:16:04 Login Succeeded 15:16:04 nexus3.edgexfoundry.org:10002 15:16:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:04 Configure a credential helper to remove this warning. See 15:16:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:04 15:16:04 Login Succeeded 15:16:04 nexus3.edgexfoundry.org:10003 15:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:05 Configure a credential helper to remove this warning. See 15:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:05 15:16:05 Login Succeeded 15:16:05 nexus3.edgexfoundry.org:10004 15:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:05 Configure a credential helper to remove this warning. See 15:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:05 15:16:05 Login Succeeded 15:16:05 docker.io 15:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:05 Configure a credential helper to remove this warning. See 15:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:05 15:16:05 Login Succeeded 15:16:05 ---> docker-login.sh ends [Pipeline] } 15:16:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:16:06 ========================================================= 15:16:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 15:16:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:16:06 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 15:16:06 Sending build context to Docker daemon 92.16kB 15:16:06 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 15:16:06 Step 2/10 : FROM ${BASE} 15:16:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 15:16:06 540db60ca938: Pulling fs layer 15:16:06 adcc1eea9eea: Pulling fs layer 15:16:06 4c4ab2625f07: Pulling fs layer 15:16:06 0510c868ecb4: Pulling fs layer 15:16:06 afea3b2eda06: Pulling fs layer 15:16:06 7809a108b3ef: Pulling fs layer 15:16:06 f706445af74f: Pulling fs layer 15:16:06 afea3b2eda06: Waiting 15:16:06 7809a108b3ef: Waiting 15:16:06 f706445af74f: Waiting 15:16:06 0510c868ecb4: Waiting 15:16:06 4c4ab2625f07: Verifying Checksum 15:16:06 4c4ab2625f07: Download complete 15:16:06 adcc1eea9eea: Download complete 15:16:07 afea3b2eda06: Verifying Checksum 15:16:07 afea3b2eda06: Download complete 15:16:07 540db60ca938: Verifying Checksum 15:16:07 540db60ca938: Download complete 15:16:07 7809a108b3ef: Verifying Checksum 15:16:07 7809a108b3ef: Download complete 15:16:07 540db60ca938: Pull complete 15:16:07 adcc1eea9eea: Pull complete 15:16:07 4c4ab2625f07: Pull complete 15:16:08 4ebd0625c992: Pull complete 15:16:08 207e8628e3a3: Pull complete 15:16:08 f706445af74f: Verifying Checksum 15:16:08 f706445af74f: Download complete 15:16:08 c791037a9be2: Pull complete 15:16:09 0510c868ecb4: Download complete 15:16:12 ffd874e62e21: Pull complete 15:16:12 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 15:16:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:16:12 ---> cfc18b08335c 15:16:12 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:16:14 0510c868ecb4: Pull complete 15:16:14 afea3b2eda06: Pull complete 15:16:14 7809a108b3ef: Pull complete 15:16:15 ---> Running in f9d1dc41f94c 15:16:15 Removing intermediate container f9d1dc41f94c 15:16:15 ---> 14a2e165e1fd 15:16:15 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:16:16 ---> Running in dcc46b9673bd 15:16:16 Removing intermediate container dcc46b9673bd 15:16:16 ---> 6b15b7c6edec 15:16:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:16:16 ---> Running in 8962d1c71fa6 15:16:17 Removing intermediate container 8962d1c71fa6 15:16:17 ---> a005711938c3 15:16:17 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:16:17 ---> Running in 6f374a837c23 15:16:19 Removing intermediate container 6f374a837c23 15:16:19 ---> 24943535831c 15:16:19 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:16:19 ---> Running in f4fbc3c5facf 15:16:20 f706445af74f: Pull complete 15:16:20 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 15:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:16:20 ---> b068be0155e3 15:16:20 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:16:20 ---> Running in 05ff85a9b628 15:16:20 Removing intermediate container 05ff85a9b628 15:16:20 ---> 82b0874c941b 15:16:20 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:16:20 ---> Running in 553b84b3737d 15:16:20 Removing intermediate container 553b84b3737d 15:16:20 ---> c9930574f5b2 15:16:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:16:20 ---> Running in 05e0ba56abdf 15:16:20 Removing intermediate container 05e0ba56abdf 15:16:20 ---> 5af2a0bab295 15:16:20 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:16:20 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 15:16:20 ---> Running in d57e1888fbfc 15:16:21 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 15:16:21 Removing intermediate container d57e1888fbfc 15:16:21 ---> eb2c7c1709f7 15:16:21 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:16:21 ---> Running in 03d6510e5ee0 15:16:22 (1/9) Installing libc-dev (0.7.2-r3) 15:16:22 (2/9) Installing libsodium (1.0.18-r0) 15:16:22 (3/9) Installing pkgconf (1.7.3-r0) 15:16:22 (4/9) Installing libsodium-dev (1.0.18-r0) 15:16:22 (5/9) Installing openssh-keygen (8.4_p1-r3) 15:16:22 (6/9) Installing libedit (20191231.3.1-r1) 15:16:22 (7/9) Installing openssh-client (8.4_p1-r3) 15:16:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 15:16:23 (8/9) Installing libzmq (4.3.3-r1) 15:16:23 (9/9) Installing zeromq-dev (4.3.3-r1) 15:16:23 Executing busybox-1.32.1-r6.trigger 15:16:23 OK: 144 MiB in 49 packages 15:16:23 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 15:16:24 (1/9) Installing libc-dev (0.7.2-r3) 15:16:24 (2/9) Installing libsodium (1.0.18-r0) 15:16:24 (3/9) Installing pkgconf (1.7.3-r0) 15:16:24 (4/9) Installing libsodium-dev (1.0.18-r0) 15:16:24 (5/9) Installing openssh-keygen (8.4_p1-r3) 15:16:24 (6/9) Installing libedit (20191231.3.1-r1) 15:16:24 (7/9) Installing openssh-client (8.4_p1-r3) 15:16:24 (8/9) Installing libzmq (4.3.3-r1) 15:16:25 (9/9) Installing zeromq-dev (4.3.3-r1) 15:16:25 Executing busybox-1.32.1-r6.trigger 15:16:25 OK: 154 MiB in 49 packages 15:16:25 Removing intermediate container f4fbc3c5facf 15:16:25 ---> 7598bc1be4ff 15:16:25 Step 8/10 : WORKDIR /device-rest-go 15:16:25 ---> Running in 66eab60c2661 15:16:25 Removing intermediate container 66eab60c2661 15:16:25 ---> 4dfe02bbae7d 15:16:25 Step 9/10 : COPY . . 15:16:25 Removing intermediate container 03d6510e5ee0 15:16:25 ---> 201ad61475f3 15:16:25 Step 8/10 : WORKDIR /device-rest-go 15:16:25 ---> Running in f5c8c89ce373 15:16:25 Removing intermediate container f5c8c89ce373 15:16:25 ---> c53b3b7bc777 15:16:25 Step 9/10 : COPY . . 15:16:26 ---> 5b19013fda04 15:16:26 Step 10/10 : RUN go mod download 15:16:26 ---> b7440547805f 15:16:26 Step 10/10 : RUN go mod download 15:16:26 ---> Running in 075ec3dcbd60 15:16:26 ---> Running in 3f470eee6314 15:16:53 Removing intermediate container 3f470eee6314 15:16:53 ---> ed3c32bc8354 15:16:53 Successfully built ed3c32bc8354 15:16:53 Successfully tagged ci-base-image-x86_64:latest 15:16:53 Removing intermediate container 075ec3dcbd60 15:16:53 ---> 0f7e1786e315 15:16:53 Successfully built 0f7e1786e315 [Pipeline] isUnix [Pipeline] sh 15:16:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:16:53 + docker inspect -f . ci-base-image-x86_64 15:16:53 . [Pipeline] withDockerContainer 15:16:53 prd-centos7-docker-4c-2g-4697 does not seem to be running inside a container 15:16:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:16:53 + docker inspect -f . ci-base-image-arm64 15:16:53 . 15:16:54 $ docker top fe03e2fd4030f05447588752b94fa25f6e6d36c5530a72b7eec4a8109e5b17a8 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 15:16:55 prd-ubuntu18.04-docker-arm64-4c-16g-4696 does not seem to be running inside a container 15:16:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:16:56 $ docker top f905b4917e53f2195f1ae4fd028b85d58fc9afcf7ab309b269363b2dd658caed -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 15:16:57 + go version 15:16:57 go version go1.16.3 linux/amd64 [Pipeline] } 15:16:57 $ docker stop --time=1 fe03e2fd4030f05447588752b94fa25f6e6d36c5530a72b7eec4a8109e5b17a8 15:16:57 + go version 15:16:57 go version go1.16.3 linux/arm64 15:16:58 $ docker rm -f fe03e2fd4030f05447588752b94fa25f6e6d36c5530a72b7eec4a8109e5b17a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 15:16:58 $ docker stop --time=1 f905b4917e53f2195f1ae4fd028b85d58fc9afcf7ab309b269363b2dd658caed 15:17:00 $ docker rm -f f905b4917e53f2195f1ae4fd028b85d58fc9afcf7ab309b269363b2dd658caed [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 15:17:01 + docker inspect -f . ci-base-image-x86_64 15:17:01 . [Pipeline] withDockerContainer 15:17:01 + docker inspect -f . ci-base-image-arm64 15:17:01 . 15:17:01 prd-centos7-docker-4c-2g-4697 does not seem to be running inside a container 15:17:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:17:02 $ docker top cb60218b136113812c8d266dbc2e3f522358eb7b38187517757d22dba02b7f1d -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 15:17:02 prd-ubuntu18.04-docker-arm64-4c-16g-4696 does not seem to be running inside a container 15:17:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:17:04 $ docker top ed1851f6938b3fb545d1039eacc7e62db0ffdf2171ecc1815311d16b75491b28 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 15:17:04 + go mod tidy 15:17:04 + go mod tidy [Pipeline] sh 15:17:05 + make test 15:17:05 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] sh 15:17:06 + make test 15:17:06 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:17:06 ? github.com/edgexfoundry/device-rest-go [no test files] 15:17:07 ? github.com/edgexfoundry/device-rest-go [no test files] 15:17:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:17:28 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 54.0% of statements 15:17:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:17:35 gofmt -l . 15:17:35 [ "`gofmt -l .`" = "" ] 15:17:35 ./bin/test-go-mod-tidy.sh 15:17:35 ./bin/test-attribution-txt.sh [Pipeline] } 15:17:36 $ docker stop --time=1 cb60218b136113812c8d266dbc2e3f522358eb7b38187517757d22dba02b7f1d 15:17:38 $ docker rm -f cb60218b136113812c8d266dbc2e3f522358eb7b38187517757d22dba02b7f1d [Pipeline] // withDockerContainer [Pipeline] sh 15:17:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:17:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:17:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:17:42 + ls -al . 15:17:42 total 104 15:17:42 drwxrwxr-x. 8 jenkins jenkins 4096 May 12 15:17 . 15:17:42 drwxrwxr-x. 4 jenkins jenkins 28 May 12 15:15 .. 15:17:42 -rw-rw-r--. 1 jenkins jenkins 6792 May 12 15:15 Attribution.txt 15:17:42 drwxrwxr-x. 2 jenkins jenkins 64 May 12 15:15 bin 15:17:42 drwxrwxr-x. 3 jenkins jenkins 32 May 12 15:15 cmd 15:17:42 -rw-r--r--. 1 jenkins jenkins 8513 May 12 15:17 coverage.out 15:17:42 -rw-rw-r--. 1 jenkins jenkins 1602 May 12 15:15 Dockerfile 15:17:42 -rw-rw-r--. 1 jenkins jenkins 1087 May 12 15:15 Dockerfile.build 15:17:42 -rw-rw-r--. 1 jenkins jenkins 151 May 12 15:15 .dockerignore 15:17:42 drwxrwxr-x. 2 jenkins jenkins 76 May 12 15:15 driver 15:17:42 drwxrwxr-x. 8 jenkins jenkins 179 May 12 15:16 .git 15:17:42 drwxrwxr-x. 2 jenkins jenkins 103 May 12 15:15 .github 15:17:42 -rw-rw-r--. 1 jenkins jenkins 339 May 12 15:15 .gitignore 15:17:42 -rw-r--r--. 1 jenkins jenkins 285 May 12 15:17 go.mod 15:17:42 -rw-r--r--. 1 jenkins jenkins 21011 May 12 15:17 go.sum 15:17:42 -rw-rw-r--. 1 jenkins jenkins 680 May 12 15:15 Jenkinsfile 15:17:42 -rw-rw-r--. 1 jenkins jenkins 11340 May 12 15:15 LICENSE 15:17:42 -rw-rw-r--. 1 jenkins jenkins 976 May 12 15:15 Makefile 15:17:42 -rw-rw-r--. 1 jenkins jenkins 7667 May 12 15:15 README.md 15:17:42 drwxrwxr-x. 4 jenkins jenkins 71 May 12 15:15 snap 15:17:42 -rw-rw-r--. 1 jenkins jenkins 5 May 12 15:13 VERSION 15:17:42 -rw-rw-r--. 1 jenkins jenkins 713 May 12 15:15 version.go [Pipeline] isUnix [Pipeline] sh 15:17:42 + 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=2544f5c07657d26b6568ca6d244bab6513253799 --label arch=amd64 --label version=0.0.0 . 15:17:42 Sending build context to Docker daemon 101.9kB 15:17:42 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 15:17:42 Step 2/24 : FROM ${BASE} AS builder 15:17:42 ---> ed3c32bc8354 15:17:42 Step 3/24 : ARG MAKE='make build' 15:17:42 ---> Running in 6a61a94a9265 15:17:43 Removing intermediate container 6a61a94a9265 15:17:43 ---> 1d9d30fc392f 15:17:43 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:17:43 ---> Running in f4104ad9e568 15:17:43 Removing intermediate container f4104ad9e568 15:17:43 ---> 4de679716333 15:17:43 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:17:43 ---> Running in d19620b34f9d 15:17:43 Removing intermediate container d19620b34f9d 15:17:43 ---> a8709f0537c4 15:17:43 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:17:43 ---> Running in 5d49eeca702b 15:17:45 Removing intermediate container 5d49eeca702b 15:17:45 ---> b2d29618152f 15:17:45 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:17:45 ---> Running in 044164ea86fe 15:17:45 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 15:17:46 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 15:17:46 OK: 154 MiB in 49 packages 15:17:47 Removing intermediate container 044164ea86fe 15:17:47 ---> 1fb3c142f221 15:17:47 Step 8/24 : WORKDIR /device-rest-go 15:17:47 ---> Running in fa0e414df992 15:17:47 Removing intermediate container fa0e414df992 15:17:47 ---> 8b5e735e8147 15:17:47 Step 9/24 : COPY . . 15:17:48 ---> 71e56e439f39 15:17:48 Step 10/24 : RUN make update 15:17:48 ---> Running in b99318ebe73c 15:17:48 CGO_ENABLED=0 GO111MODULE=on go mod download 15:17:49 Removing intermediate container b99318ebe73c 15:17:49 ---> 56adbd953814 15:17:49 Step 11/24 : RUN $MAKE 15:17:49 ---> Running in ccb4038c0bc6 15:17:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 15:18:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:18:03 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 54.0% of statements 15:18:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:18:05 Removing intermediate container ccb4038c0bc6 15:18:05 ---> 627397569ce7 15:18:05 Step 12/24 : FROM alpine:3.12 15:18:05 3.12: Pulling from library/alpine 15:18:05 339de151aab4: Pulling fs layer 15:18:05 339de151aab4: Verifying Checksum 15:18:05 339de151aab4: Download complete 15:18:05 339de151aab4: Pull complete 15:18:05 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 15:18:05 Status: Downloaded newer image for alpine:3.12 15:18:05 ---> 13621d1b12d4 15:18:05 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:18:05 ---> Running in fd0842c10428 15:18:05 Removing intermediate container fd0842c10428 15:18:05 ---> 127d4f8bcd0f 15:18:05 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 15:18:05 ---> Running in cccfd0eaf077 15:18:05 Removing intermediate container cccfd0eaf077 15:18:05 ---> 66e1ae4e3d6c 15:18:05 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 15:18:05 ---> Running in e35058938b12 15:18:06 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:18:06 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:18:06 (1/6) Installing dumb-init (1.2.2-r1) 15:18:06 (2/6) Installing libgcc (9.3.0-r2) 15:18:06 (3/6) Installing libsodium (1.0.18-r0) 15:18:06 (4/6) Installing libstdc++ (9.3.0-r2) 15:18:06 (5/6) Installing libzmq (4.3.3-r0) 15:18:06 (6/6) Installing zeromq (4.3.3-r0) 15:18:06 Executing busybox-1.31.1-r20.trigger 15:18:06 OK: 8 MiB in 20 packages 15:18:07 Removing intermediate container e35058938b12 15:18:07 ---> 4572c755e7f8 15:18:07 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 15:18:08 ---> 42564b14efaa 15:18:08 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 15:18:08 ---> 8a74cc35db4a 15:18:08 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 15:18:08 ---> a68191599eb5 15:18:08 Step 19/24 : EXPOSE 49986 15:18:08 ---> Running in 221329303fc0 15:18:08 Removing intermediate container 221329303fc0 15:18:08 ---> 8e3d5c003fb0 15:18:08 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 15:18:08 ---> Running in 3c6f26848a25 15:18:08 Removing intermediate container 3c6f26848a25 15:18:08 ---> 379d23fc019d 15:18:08 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:18:09 ---> Running in 65598a64992b 15:18:09 Removing intermediate container 65598a64992b 15:18:09 ---> 49a732a6906d 15:18:09 Step 22/24 : LABEL arch=amd64 15:18:09 ---> Running in d90624c1a61b 15:18:09 Removing intermediate container d90624c1a61b 15:18:09 ---> 5d2332668584 15:18:09 Step 23/24 : LABEL git_sha=2544f5c07657d26b6568ca6d244bab6513253799 15:18:09 ---> Running in 0b1d0f379d64 15:18:09 Removing intermediate container 0b1d0f379d64 15:18:09 ---> af6e1d599a4e 15:18:09 Step 24/24 : LABEL version=0.0.0 15:18:09 ---> Running in b6b188a89ba1 15:18:09 Removing intermediate container b6b188a89ba1 15:18:09 ---> 30e1b8e22c73 15:18:09 [Warning] One or more build-args [ARCH] were not consumed 15:18:09 Successfully built 30e1b8e22c73 15:18:09 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 15:18:10 ---> job-cost.sh 15:18:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nJn8 15:18:25 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:18:26 gofmt -l . 15:18:26 [ "`gofmt -l .`" = "" ] 15:18:26 ./bin/test-go-mod-tidy.sh 15:18:26 ./bin/test-attribution-txt.sh [Pipeline] } 15:18:26 $ docker stop --time=1 ed1851f6938b3fb545d1039eacc7e62db0ffdf2171ecc1815311d16b75491b28 15:18:28 $ docker rm -f ed1851f6938b3fb545d1039eacc7e62db0ffdf2171ecc1815311d16b75491b28 [Pipeline] // withDockerContainer [Pipeline] sh 15:18:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:18:29 Warning: overwriting stash ‘coverage-report’ 15:18:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:18:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:18:30 + ls -al . 15:18:30 total 132 15:18:30 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:18 . 15:18:30 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:15 .. 15:18:30 -rw-rw-r-- 1 jenkins jenkins 151 May 12 15:15 .dockerignore 15:18:30 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:15 .git 15:18:30 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:15 .github 15:18:30 -rw-rw-r-- 1 jenkins jenkins 339 May 12 15:15 .gitignore 15:18:30 -rw-rw-r-- 1 jenkins jenkins 6792 May 12 15:15 Attribution.txt 15:18:30 -rw-rw-r-- 1 jenkins jenkins 1602 May 12 15:15 Dockerfile 15:18:30 -rw-rw-r-- 1 jenkins jenkins 1087 May 12 15:15 Dockerfile.build 15:18:30 -rw-rw-r-- 1 jenkins jenkins 680 May 12 15:15 Jenkinsfile 15:18:30 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:15 LICENSE 15:18:30 -rw-rw-r-- 1 jenkins jenkins 976 May 12 15:15 Makefile 15:18:30 -rw-rw-r-- 1 jenkins jenkins 7667 May 12 15:15 README.md 15:18:30 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:13 VERSION 15:18:30 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:15 bin 15:18:30 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:15 cmd 15:18:30 -rw-r--r-- 1 jenkins jenkins 8513 May 12 15:17 coverage.out 15:18:30 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:15 driver 15:18:30 -rw-r--r-- 1 jenkins jenkins 285 May 12 15:18 go.mod 15:18:30 -rw-r--r-- 1 jenkins jenkins 21011 May 12 15:17 go.sum 15:18:30 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:15 snap 15:18:30 -rw-rw-r-- 1 jenkins jenkins 713 May 12 15:15 version.go [Pipeline] isUnix [Pipeline] sh 15:18:31 + 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=2544f5c07657d26b6568ca6d244bab6513253799 --label arch=arm64 --label version=0.0.0 . 15:18:31 Sending build context to Docker daemon 101.9kB 15:18:31 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 15:18:31 Step 2/24 : FROM ${BASE} AS builder 15:18:31 ---> 0f7e1786e315 15:18:31 Step 3/24 : ARG MAKE='make build' 15:18:31 ---> Running in e639cd4ccce9 15:18:32 Removing intermediate container e639cd4ccce9 15:18:32 ---> bd2df471405e 15:18:32 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:18:32 ---> Running in c793afb6c0c0 15:18:33 Removing intermediate container c793afb6c0c0 15:18:33 ---> 035bf1f2c67e 15:18:33 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:18:33 ---> Running in dbe46176149d 15:18:33 Removing intermediate container dbe46176149d 15:18:33 ---> fa0a342d0554 15:18:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:18:33 ---> Running in a5c7a220dcf5 15:18:35 Removing intermediate container a5c7a220dcf5 15:18:35 ---> 68ec1892214e 15:18:35 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:18:36 ---> Running in be9ddcf46740 15:18:37 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 15:18:38 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 15:18:39 OK: 144 MiB in 49 packages 15:18:40 Removing intermediate container be9ddcf46740 15:18:40 ---> f02b720ef6e5 15:18:40 Step 8/24 : WORKDIR /device-rest-go 15:18:40 ---> Running in 768f64bc7acd 15:18:41 Removing intermediate container 768f64bc7acd 15:18:41 ---> 33f4a8f3e431 15:18:41 Step 9/24 : COPY . . 15:18:42 ---> 256728a6c6e3 15:18:42 Step 10/24 : RUN make update 15:18:42 ---> Running in cc52df3e0d13 15:18:43 CGO_ENABLED=0 GO111MODULE=on go mod download 15:18:44 Removing intermediate container cc52df3e0d13 15:18:44 ---> 4cc4f719ca7f 15:18:44 Step 11/24 : RUN $MAKE 15:18:44 ---> Running in dd8c993c74fd 15:18:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 15:18:57 lf-activate-venv(): INFO: Adding /tmp/venv-nJn8/bin to PATH 15:18:57 INFO: No Stack... 15:18:57 INFO: Retrieving Pricing Info for: v1-standard-2 15:18:57 INFO: Archiving Costs [Pipeline] sh 15:18:58 + cat /w/workspace/device-rest-go/4/archives/cost.csv 15:18:58 + cut -d, -f6 [Pipeline] lock 15:18:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] 15:18:58 Resource [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] did not exist. Created. 15:18:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:18:58 + echo total: 0.029999999329447746 [Pipeline] stash 15:18:58 Stashed 1 file(s) [Pipeline] } 15:18:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:19:24 Removing intermediate container dd8c993c74fd 15:19:24 ---> d45f93e0cff3 15:19:24 Step 12/24 : FROM alpine:3.12 15:19:24 3.12: Pulling from library/alpine 15:19:24 d2f70382dc9a: Pulling fs layer 15:19:24 d2f70382dc9a: Verifying Checksum 15:19:24 d2f70382dc9a: Download complete 15:19:24 d2f70382dc9a: Pull complete 15:19:24 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 15:19:24 Status: Downloaded newer image for alpine:3.12 15:19:24 ---> 9852663dfa18 15:19:24 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:19:24 ---> Running in 7ef9a295c156 15:19:24 Removing intermediate container 7ef9a295c156 15:19:24 ---> 65aa1bc648aa 15:19:24 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 15:19:24 ---> Running in f31094c52c7c 15:19:24 Removing intermediate container f31094c52c7c 15:19:24 ---> 25caaa830322 15:19:24 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 15:19:24 ---> Running in 244535b6bc55 15:19:24 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:19:24 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:19:25 (1/6) Installing dumb-init (1.2.2-r1) 15:19:25 (2/6) Installing libgcc (9.3.0-r2) 15:19:25 (3/6) Installing libsodium (1.0.18-r0) 15:19:25 (4/6) Installing libstdc++ (9.3.0-r2) 15:19:25 (5/6) Installing libzmq (4.3.3-r0) 15:19:25 (6/6) Installing zeromq (4.3.3-r0) 15:19:25 Executing busybox-1.31.1-r20.trigger 15:19:25 OK: 8 MiB in 20 packages 15:19:26 Removing intermediate container 244535b6bc55 15:19:26 ---> 0694b8ec7764 15:19:26 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 15:19:27 ---> a0aa817d9882 15:19:27 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 15:19:28 ---> 7eb71bd279ce 15:19:28 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 15:19:29 ---> 05561ceb60d5 15:19:29 Step 19/24 : EXPOSE 49986 15:19:29 ---> Running in 7cbc6529280b 15:19:29 Removing intermediate container 7cbc6529280b 15:19:29 ---> ab45ea920a69 15:19:29 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 15:19:29 ---> Running in 18c12da32ff7 15:19:30 Removing intermediate container 18c12da32ff7 15:19:30 ---> 508452e5b76b 15:19:30 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:19:30 ---> Running in 5a3e0e8dcf96 15:19:30 Removing intermediate container 5a3e0e8dcf96 15:19:30 ---> fd5d91134ad4 15:19:30 Step 22/24 : LABEL arch=arm64 15:19:30 ---> Running in 4dc960bdd7da 15:19:31 Removing intermediate container 4dc960bdd7da 15:19:31 ---> 9cd4a91b8aa0 15:19:31 Step 23/24 : LABEL git_sha=2544f5c07657d26b6568ca6d244bab6513253799 15:19:31 ---> Running in 5c140c558edf 15:19:32 Removing intermediate container 5c140c558edf 15:19:32 ---> 6279bbc9fee5 15:19:32 Step 24/24 : LABEL version=0.0.0 15:19:32 ---> Running in 4a8d646b01b7 15:19:32 Removing intermediate container 4a8d646b01b7 15:19:32 ---> 11b61f92d38c 15:19:32 [Warning] One or more build-args [ARCH] were not consumed 15:19:32 Successfully built 11b61f92d38c 15:19:32 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 15:19:33 ---> job-cost.sh 15:19:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TJ6V 15:20:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:21:48 lf-activate-venv(): INFO: Adding /tmp/venv-TJ6V/bin to PATH 15:21:48 INFO: No Stack... 15:21:48 INFO: Retrieving Pricing Info for: lf-standard-4 15:21:48 INFO: Archiving Costs [Pipeline] sh 15:21:49 + cut+ -d, -f6 15:21:49 cat /w/workspace/device-rest-go/4/archives/cost.csv [Pipeline] lock 15:21:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] 15:21:49 Resource [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] did not exist. Created. 15:21:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:21:49 /w/workspace/device-rest-go/4@tmp/durable-4499ef32/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-4499ef32/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:21:50 + echo total: 0.20999999344348907 [Pipeline] stash 15:21:50 Warning: overwriting stash ‘stack-cost’ 15:21:50 Stashed 1 file(s) [Pipeline] } 15:21:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-94-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 15:21:51 provisioning config files... 15:21:51 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config1345527903106569549tmp [Pipeline] { [Pipeline] sh 15:21:51 + set +x 15:21:51 + curl -s https://codecov.io/bash 15:21:51 + bash -s -- 15:21:51 15:21:51 _____ _ 15:21:51 / ____| | | 15:21:51 | | ___ __| | ___ ___ _____ __ 15:21:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:21:51 | |___| (_) | (_| | __/ (_| (_) \ V / 15:21:51 \_____\___/ \__,_|\___|\___\___/ \_/ 15:21:51 Bash-1.0.2 15:21:51 15:21:51 15:21:51 ==> git version 2.24.3 found 15:21:51 ==> 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 15:21:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:21:51 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:21:51 ==> Jenkins CI detected. 15:21:51 project root: . 15:21:51 --> token set from env 15:21:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:21:51 ==> Running gcov in . (disable via -X gcov) 15:21:51 ==> Python coveragepy not found 15:21:51 ==> Searching for coverage reports in: 15:21:51 + . 15:21:51 -> Found 1 reports 15:21:51 ==> Detecting git/mercurial file structure 15:21:51 ==> Reading reports 15:21:51 + ./coverage.out bytes=8513 15:21:51 ==> Appending adjustments 15:21:51 https://docs.codecov.io/docs/fixing-reports 15:21:51 + Found adjustments 15:21:51 ==> Gzipping contents 15:21:51 4.0K /tmp/codecov.m0XuHI.gz 15:21:51 ==> Uploading reports 15:21:51 url: https://codecov.io 15:21:51 query: branch=PR-94&commit=2544f5c07657d26b6568ca6d244bab6513253799&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-94%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=94&job=&cmd_args= 15:21:51 -> Pinging Codecov 15:21:51 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-94&commit=2544f5c07657d26b6568ca6d244bab6513253799&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-94%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=94&job=&cmd_args= 15:21:52 -> Uploading to 15:21:52 https://storage.googleapis.com/codecov/v4/raw/2021-05-12/4E5D53B4F1F92C436F7061BF334D961C/2544f5c07657d26b6568ca6d244bab6513253799/e6fa1d4a-9dd7-4b2d-80ee-0d99eea25226.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T152152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88dc8c713e7e416ca6367e814df782d5b15ac2e24f4a7decec56b44bf851c71c 15:21:52 % Total % Received % Xferd Average Speed Time Time Time Current 15:21:52 Dload Upload Total Spent Left Speed 15:21:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3749 --:--:-- --:--:-- --:--:-- 3746 100 1611 0 0 100 1611 0 3748 --:--:-- --:--:-- --:--:-- 3746 15:21:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2544f5c07657d26b6568ca6d244bab6513253799 [Pipeline] } 15:21:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:21:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:21:54 ---> package-listing.sh 15:21:54 ++ facter osfamily 15:21:54 ++ tr '[:upper:]' '[:lower:]' 15:21:54 + OS_FAMILY=redhat 15:21:54 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-94 15:21:54 + START_PACKAGES=/tmp/packages_start.txt 15:21:54 + END_PACKAGES=/tmp/packages_end.txt 15:21:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:21:54 + PACKAGES=/tmp/packages_start.txt 15:21:54 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-94 ']' 15:21:54 + PACKAGES=/tmp/packages_end.txt 15:21:54 + case "${OS_FAMILY}" in 15:21:54 + rpm -qa 15:21:54 + sort 15:21:59 + '[' -f /tmp/packages_start.txt ']' 15:21:59 + '[' -f /tmp/packages_end.txt ']' 15:21:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:21:59 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-94 ']' 15:21:59 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-94/archives/ 15:21:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-94/archives/ [Pipeline] echo 15:21:59 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/dgexfoundry_device-rest-go_PR-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:21:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:22:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:22:00 15:22:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:22:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:22:00 alpine: Pulling from edgex-lftools-log-publisher 15:22:00 df20fa9351a1: Pulling fs layer 15:22:00 36b3adc4ff6f: Pulling fs layer 15:22:00 8ad3a11d3b57: Pulling fs layer 15:22:00 46f8f816bc3b: Pulling fs layer 15:22:00 93b61091891f: Pulling fs layer 15:22:00 93b9cdb0e59b: Pulling fs layer 15:22:00 5e14af77c1be: Pulling fs layer 15:22:00 01666e4c0597: Pulling fs layer 15:22:00 aa168da1d23b: Pulling fs layer 15:22:00 46f8f816bc3b: Waiting 15:22:00 93b61091891f: Waiting 15:22:00 01666e4c0597: Waiting 15:22:00 93b9cdb0e59b: Waiting 15:22:00 5e14af77c1be: Waiting 15:22:00 aa168da1d23b: Waiting 15:22:00 36b3adc4ff6f: Download complete 15:22:00 46f8f816bc3b: Verifying Checksum 15:22:00 46f8f816bc3b: Download complete 15:22:00 df20fa9351a1: Verifying Checksum 15:22:00 df20fa9351a1: Download complete 15:22:00 93b9cdb0e59b: Verifying Checksum 15:22:00 93b9cdb0e59b: Download complete 15:22:00 5e14af77c1be: Verifying Checksum 15:22:00 5e14af77c1be: Download complete 15:22:00 93b61091891f: Verifying Checksum 15:22:00 93b61091891f: Download complete 15:22:00 01666e4c0597: Verifying Checksum 15:22:00 01666e4c0597: Download complete 15:22:00 8ad3a11d3b57: Verifying Checksum 15:22:00 8ad3a11d3b57: Download complete 15:22:00 df20fa9351a1: Pull complete 15:22:01 36b3adc4ff6f: Pull complete 15:22:02 8ad3a11d3b57: Pull complete 15:22:02 46f8f816bc3b: Pull complete 15:22:02 93b61091891f: Pull complete 15:22:02 93b9cdb0e59b: Pull complete 15:22:02 5e14af77c1be: Pull complete 15:22:02 aa168da1d23b: Verifying Checksum 15:22:02 aa168da1d23b: Download complete 15:22:02 01666e4c0597: Pull complete 15:22:09 aa168da1d23b: Pull complete 15:22:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:22:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:22:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:22:10 prd-centos7-docker-4c-2g-4695 does not seem to be running inside a container 15:22:10 $ 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/dgexfoundry_device-rest-go_PR-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-94 -v /w/workspace/dgexfoundry_device-rest-go_PR-94:/w/workspace/dgexfoundry_device-rest-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-94@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:22:14 $ docker top ed76ef54c51a3bbe15b6280051b1c327350c14e77ed3693c2f152be89a8895e5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:14 + touch /tmp/pre-build-complete [Pipeline] sh 15:22:15 + mkdir -p /var/log/sa [Pipeline] sh 15:22:15 + ls /var/log/sa-host 15:22:15 + sadf -c /var/log/sa-host/sa12 15:22:15 file_magic: OK 15:22:15 HZ: Using current value: 100 15:22:15 file_header: OK 15:22:15 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 15:22:15 Statistics: 15:22:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:22:15 File successfully converted to sysstat format version 12.2.1 15:22:15 + sadf -c /var/log/sa-host/sa23 15:22:15 file_magic: OK 15:22:15 HZ: Using current value: 100 15:22:15 file_header: OK 15:22:15 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 15:22:15 Statistics: 15:22:15 Hnuu...uuuununununu... 15:22:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:22:16 provisioning config files... 15:22:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config8714096870937606598tmp [Pipeline] { [Pipeline] echo 15:22:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:22:16 ---> create-netrc.sh [Pipeline] } 15:22:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:22:16 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:22:16 ---> python-tools-install.sh [Pipeline] echo 15:22:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:22:17 ---> sudo-logs.sh 15:22:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:22:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:22:17 ---> job-cost.sh 15:22:17 lf-activate-venv: SKIPPING 15:22:17 DEBUG: total: 0.20999999344348907 15:22:17 INFO: Retrieving Stack Cost... 15:22:18 INFO: Retrieving Pricing Info for: v1-standard-2 15:22:19 INFO: Archiving Costs [Pipeline] echo 15:22:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:22:19 ---> logs-deploy.sh 15:22:19 lf-activate-venv: SKIPPING 15:22:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-94/4 15:22:19 INFO: archiving workspace using pattern(s): 15:22:21 Archives upload complete. 15:22:21 INFO: archiving logs to Nexus 15:22:22 ---> uname -a: 15:22:22 Linux prd-centos7-docker-4c-2g-4695.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 15:22:22 15:22:22 15:22:22 ---> lscpu: 15:22:22 Architecture: x86_64 15:22:22 CPU op-mode(s): 32-bit, 64-bit 15:22:22 Byte Order: Little Endian 15:22:22 Address sizes: 40 bits physical, 48 bits virtual 15:22:22 CPU(s): 4 15:22:22 On-line CPU(s) list: 0-3 15:22:22 Thread(s) per core: 1 15:22:22 Core(s) per socket: 1 15:22:22 Socket(s): 4 15:22:22 NUMA node(s): 1 15:22:22 Vendor ID: GenuineIntel 15:22:22 CPU family: 6 15:22:22 Model: 44 15:22:22 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:22:22 Stepping: 1 15:22:22 CPU MHz: 2933.442 15:22:22 BogoMIPS: 5866.88 15:22:22 Virtualization: VT-x 15:22:22 Hypervisor vendor: KVM 15:22:22 Virtualization type: full 15:22:22 L1d cache: 128 KiB 15:22:22 L1i cache: 128 KiB 15:22:22 L2 cache: 16 MiB 15:22:22 L3 cache: 64 MiB 15:22:22 NUMA node0 CPU(s): 0-3 15:22:22 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 15:22:22 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 15:22:22 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 15:22:22 Vulnerability Meltdown: Mitigation; PTI 15:22:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:22:22 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 15:22:22 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 15:22:22 Vulnerability Srbds: Not affected 15:22:22 Vulnerability Tsx async abort: Not affected 15:22:22 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 15:22:22 15:22:22 15:22:22 ---> nproc: 15:22:22 4 15:22:22 15:22:22 15:22:22 ---> df -h: 15:22:22 Filesystem Size Used Available Use% Mounted on 15:22:22 overlay 50.0G 7.3G 42.7G 15% / 15:22:22 tmpfs 64.0M 0 64.0M 0% /dev 15:22:22 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 15:22:22 shm 64.0M 0 64.0M 0% /dev/shm 15:22:22 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 15:22:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 15:22:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 15:22:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 15:22:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 15:22:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 15:22:22 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 15:22:22 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-94 15:22:22 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp 15:22:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 15:22:22 15:22:22