Pull request #79 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 hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from a01389db03e73741bef670245b5833c1ca7b1b8a+8e1e7cb95d5530821e601db4473f34bcb708dd90 (3b7a5f3b03e3c133f168d1930da047b30e20dbd4) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1683 in /w/workspace/dgexfoundry_device-rest-go_PR-79 [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-79 # 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/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit a01389db03e73741bef670245b5833c1ca7b1b8a Merge succeeded, producing a01389db03e73741bef670245b5833c1ca7b1b8a Checking out Revision a01389db03e73741bef670245b5833c1ca7b1b8a (PR-79) > git config core.sparsecheckout # timeout=10 > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # 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 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # timeout=10 Commit message: "build: update build files for v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:20:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:20:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:20:39 ========================================================= 01:20:39 EdgeX Global Pipelines Version Info 01:20:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 01:20:41 ------------------- 01:20:41 stable info: 01:20:41 ------------------- 01:20:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:20:41 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 01:20:41 Message: update stable to v1.0.186 01:20:42 ------------------- 01:20:42 experimental info: 01:20:42 ------------------- 01:20:42 Commited By: **** collab-it+edgex@linuxfoundation.org 01:20:42 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 01:20:42 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:20:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-79 [Pipeline] echo 01:20:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-79 [Pipeline] echo 01:20:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-79 [Pipeline] echo 01:20:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a01389db03e73741bef670245b5833c1ca7b1b8a [Pipeline] echo 01:20:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a01389d [Pipeline] echo 01:20:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:20:43 provisioning config files... 01:20:43 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config7746278225838384373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:43 ---> docker-login.sh 01:20:43 nexus3.edgexfoundry.org:10001 01:20:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:44 Configure a credential helper to remove this warning. See 01:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:44 01:20:44 Login Succeeded 01:20:44 nexus3.edgexfoundry.org:10002 01:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:44 Configure a credential helper to remove this warning. See 01:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:44 01:20:44 Login Succeeded 01:20:44 nexus3.edgexfoundry.org:10003 01:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:44 Configure a credential helper to remove this warning. See 01:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:44 01:20:44 Login Succeeded 01:20:44 nexus3.edgexfoundry.org:10004 01:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:44 Configure a credential helper to remove this warning. See 01:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:44 01:20:44 Login Succeeded 01:20:44 docker.io 01:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:45 Configure a credential helper to remove this warning. See 01:20:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:45 01:20:45 Login Succeeded 01:20:45 ---> docker-login.sh ends [Pipeline] } 01:20:45 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 01:20:45 + git log --format=format:%s -1 a01389db03e73741bef670245b5833c1ca7b1b8a [Pipeline] echo 01:20:45 GIT_COMMIT: a01389db03e73741bef670245b5833c1ca7b1b8a, Commit Message: build: update build files for v2 [Pipeline] echo 01:20:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:20:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:20:46 01:20:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:20:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:20:47 latest: Pulling from edgex-devops/git-semver 01:20:47 31603596830f: Pulling fs layer 01:20:47 2a8b12db71e7: Pulling fs layer 01:20:47 6ca5941a6612: Pulling fs layer 01:20:47 ecc8261a40a4: Pulling fs layer 01:20:47 ecc8261a40a4: Waiting 01:20:47 2a8b12db71e7: Verifying Checksum 01:20:47 2a8b12db71e7: Download complete 01:20:47 31603596830f: Download complete 01:20:47 6ca5941a6612: Download complete 01:20:47 ecc8261a40a4: Verifying Checksum 01:20:47 ecc8261a40a4: Download complete 01:20:47 31603596830f: Pull complete 01:20:47 2a8b12db71e7: Pull complete 01:20:48 6ca5941a6612: Pull complete 01:20:49 ecc8261a40a4: Pull complete 01:20:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:20:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:20:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:20:49 prd-centos7-docker-4c-2g-1683 does not seem to be running inside a container 01:20:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-79 -v /w/workspace/dgexfoundry_device-rest-go_PR-79:/w/workspace/dgexfoundry_device-rest-go_PR-79:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-79@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:20:51 $ docker top fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:20:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:51 [ssh-agent] Looking for ssh-agent implementation... 01:20:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:51 $ docker exec fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 ssh-agent 01:20:52 SSH_AUTH_SOCK=/tmp/ssh-Yzc2kPCW07wV/agent.11 01:20:52 SSH_AGENT_PID=16 01:20:52 Running ssh-add (command line suppressed) 01:20:52 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_7034336946623235083.key (/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_7034336946623235083.key) 01:20:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:52 + git tag --points-at HEAD [Pipeline] } 01:20:52 $ docker exec --env ******** --env ******** fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 ssh-agent -k 01:20:52 unset SSH_AUTH_SOCK; 01:20:52 unset SSH_AGENT_PID; 01:20:52 echo Agent pid 16 killed; 01:20:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:20:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:52 [ssh-agent] Looking for ssh-agent implementation... 01:20:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:52 $ docker exec fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 ssh-agent 01:20:53 SSH_AUTH_SOCK=/tmp/ssh-v7JIhejfIgUG/agent.45 01:20:53 SSH_AGENT_PID=52 01:20:53 Running ssh-add (command line suppressed) 01:20:53 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_6937816680826348097.key (/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_6937816680826348097.key) 01:20:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:53 + git semver init 01:20:53 # -> Open(): unable to determine branch for HEAD 01:20:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-79/.git 01:20:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-79 01:20:53 # $SEMVER_REMOTE_NAME = origin 01:20:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:20:53 # $SEMVER_USER_NAME = edgex-jenkins 01:20:53 # $SEMVER_BRANCH = PR-79 01:20:53 # $SEMVER_TEMP = /tmp/semver-795234755 01:20:53 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 01:20:55 # '/tmp/semver-795234755' -> '/w/workspace/dgexfoundry_device-rest-go_PR-79/.semver' 01:20:55 # -> Force: false 01:20:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-79/.semver [Pipeline] } 01:20:55 $ docker exec --env ******** --env ******** fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 ssh-agent -k 01:20:55 unset SSH_AUTH_SOCK; 01:20:55 unset SSH_AGENT_PID; 01:20:55 echo Agent pid 52 killed; 01:20:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:20:55 + git semver [Pipeline] } 01:20:55 $ docker stop --time=1 fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 01:20:57 $ docker rm -f fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 [Pipeline] // withDockerContainer [Pipeline] sh 01:20:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:20:58 Stashed 1 file(s) [Pipeline] echo 01:20:58 [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 01:21:13 Still waiting to schedule task 01:21:13 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1683’ 01:21:13 Still waiting to schedule task 01:21:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 01:23:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1684 in /w/workspace/dgexfoundry_device-rest-go_PR-79 [Pipeline] { [Pipeline] ws 01:23:04 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 01:23:09 using credential edgex-jenkins-ssh 01:23:09 Cloning the remote Git repository 01:23:09 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:23:10 > git init /w/workspace/device-rest-go/2 # timeout=10 01:23:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:23:10 > git --version # timeout=10 01:23:10 > git --version # 'git version 2.17.1' 01:23:10 using GIT_SSH to set credentials SSH Credentials for GitHub 01:23:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:23:12 Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit a01389db03e73741bef670245b5833c1ca7b1b8a 01:23:12 Merge succeeded, producing a01389db03e73741bef670245b5833c1ca7b1b8a 01:23:12 Checking out Revision a01389db03e73741bef670245b5833c1ca7b1b8a (PR-79) 01:23:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:23:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:23:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:23:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:23:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:23:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:23:12 > git config core.sparsecheckout # timeout=10 01:23:12 > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # timeout=10 01:23:12 > git remote # timeout=10 01:23:12 > git config --get remote.origin.url # timeout=10 01:23:12 using GIT_SSH to set credentials SSH Credentials for GitHub 01:23:12 > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 01:23:12 > git rev-parse HEAD^{commit} # timeout=10 01:23:12 > git config core.sparsecheckout # timeout=10 01:23:12 > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # timeout=10 01:23:16 Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:23:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 01:23:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:23:19 + true 01:23:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:23:21 provisioning config files... 01:23:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config7114510441576202646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:21 ---> docker-login.sh 01:23:21 nexus3.edgexfoundry.org:10001 01:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:22 Configure a credential helper to remove this warning. See 01:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:22 01:23:22 Login Succeeded 01:23:22 nexus3.edgexfoundry.org:10002 01:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:23 Configure a credential helper to remove this warning. See 01:23:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:23 01:23:23 Login Succeeded 01:23:23 nexus3.edgexfoundry.org:10003 01:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:24 Configure a credential helper to remove this warning. See 01:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:24 01:23:24 Login Succeeded 01:23:24 nexus3.edgexfoundry.org:10004 01:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:24 Configure a credential helper to remove this warning. See 01:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:24 01:23:24 Login Succeeded 01:23:24 docker.io 01:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:25 Configure a credential helper to remove this warning. See 01:23:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:25 01:23:25 Login Succeeded 01:23:25 ---> docker-login.sh ends [Pipeline] } 01:23:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:23:25 ========================================================= 01:23:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:23:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:23:25 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 01:23:25 Sending build context to Docker daemon 93.18kB 01:23:26 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 01:23:26 Step 2/10 : FROM ${BASE} 01:23:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:23:26 5f621e34cdf4: Pulling fs layer 01:23:26 a4357932f1b6: Pulling fs layer 01:23:26 18c013af1878: Pulling fs layer 01:23:26 00ac8860ef70: Pulling fs layer 01:23:26 63d7cb157983: Pulling fs layer 01:23:26 b116817d02f9: Pulling fs layer 01:23:26 745a02a5169b: Pulling fs layer 01:23:26 00ac8860ef70: Waiting 01:23:26 63d7cb157983: Waiting 01:23:26 b116817d02f9: Waiting 01:23:26 745a02a5169b: Waiting 01:23:26 18c013af1878: Verifying Checksum 01:23:26 18c013af1878: Download complete 01:23:26 a4357932f1b6: Verifying Checksum 01:23:26 a4357932f1b6: Download complete 01:23:26 63d7cb157983: Verifying Checksum 01:23:26 63d7cb157983: Download complete 01:23:26 5f621e34cdf4: Verifying Checksum 01:23:26 5f621e34cdf4: Download complete 01:23:26 b116817d02f9: Verifying Checksum 01:23:26 b116817d02f9: Download complete 01:23:27 5f621e34cdf4: Pull complete 01:23:28 a4357932f1b6: Pull complete 01:23:28 18c013af1878: Pull complete 01:23:29 745a02a5169b: Verifying Checksum 01:23:29 745a02a5169b: Download complete 01:23:30 00ac8860ef70: Verifying Checksum 01:23:30 00ac8860ef70: Download complete 01:23:40 00ac8860ef70: Pull complete 01:23:40 63d7cb157983: Pull complete 01:23:41 b116817d02f9: Pull complete 01:23:45 Running on prd-centos7-docker-4c-2g-1685 in /w/workspace/dgexfoundry_device-rest-go_PR-79 [Pipeline] { [Pipeline] ws 01:23:45 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 01:23:45 745a02a5169b: Pull complete 01:23:45 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 01:23:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:23:45 ---> b7e6874047d6 01:23:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:23:47 using credential edgex-jenkins-ssh 01:23:47 Cloning the remote Git repository 01:23:48 ---> Running in 8ae086b5d968 01:23:47 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:23:47 > git init /w/workspace/device-rest-go/2 # timeout=10 01:23:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:23:47 > git --version # timeout=10 01:23:47 > git --version # 'git version 2.24.3' 01:23:47 using GIT_SSH to set credentials SSH Credentials for GitHub 01:23:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:23:48 Removing intermediate container 8ae086b5d968 01:23:48 ---> 69671949cf51 01:23:48 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:23:48 ---> Running in b368cf3b6666 01:23:49 Removing intermediate container b368cf3b6666 01:23:49 ---> 08776e17f6ea 01:23:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:23:49 Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit a01389db03e73741bef670245b5833c1ca7b1b8a 01:23:49 Merge succeeded, producing a01389db03e73741bef670245b5833c1ca7b1b8a 01:23:49 Checking out Revision a01389db03e73741bef670245b5833c1ca7b1b8a (PR-79) 01:23:49 ---> Running in e454471365be 01:23:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:23:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:23:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:23:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:23:48 using GIT_SSH to set credentials SSH Credentials for GitHub 01:23:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:23:49 > git config core.sparsecheckout # timeout=10 01:23:49 > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # timeout=10 01:23:49 > git remote # timeout=10 01:23:49 > git config --get remote.origin.url # timeout=10 01:23:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:23:49 > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 01:23:49 > git rev-parse HEAD^{commit} # timeout=10 01:23:49 > git config core.sparsecheckout # timeout=10 01:23:49 > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # timeout=10 01:23:49 Removing intermediate container e454471365be 01:23:49 ---> 4811398e52b7 01:23:49 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:23:49 ---> Running in cb4776aa1ec0 01:23:52 Removing intermediate container cb4776aa1ec0 01:23:52 ---> a084d593d188 01:23:52 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:23:52 ---> Running in cb267cfefa9d 01:23:52 Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:23:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:23:53 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 01:23:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:23:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:23:54 + sudo service docker restart 01:23:54 + true 01:23:54 Redirecting to /bin/systemctl restart docker.service 01:23:55 (1/9) Installing libc-dev (0.7.2-r3) 01:23:55 (2/9) Installing libsodium (1.0.18-r0) 01:23:55 (3/9) Installing pkgconf (1.7.2-r0) 01:23:55 (4/9) Installing libsodium-dev (1.0.18-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:23:55 provisioning config files... 01:23:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3370323712900429394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:55 (5/9) Installing openssh-keygen (8.3_p1-r2) 01:23:55 (6/9) Installing libedit (20191231.3.1-r0) 01:23:55 (7/9) Installing openssh-client (8.3_p1-r2) 01:23:55 ---> docker-login.sh 01:23:55 nexus3.edgexfoundry.org:10001 01:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:56 Configure a credential helper to remove this warning. See 01:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:56 01:23:56 Login Succeeded 01:23:56 nexus3.edgexfoundry.org:10002 01:23:56 (8/9) Installing libzmq (4.3.3-r0) 01:23:56 (9/9) Installing zeromq-dev (4.3.3-r0) 01:23:56 Executing busybox-1.31.1-r19.trigger 01:23:56 OK: 148 MiB in 48 packages 01:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:56 Configure a credential helper to remove this warning. See 01:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:56 01:23:56 Login Succeeded 01:23:56 nexus3.edgexfoundry.org:10003 01:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:56 Configure a credential helper to remove this warning. See 01:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:56 01:23:56 Login Succeeded 01:23:56 nexus3.edgexfoundry.org:10004 01:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:56 Configure a credential helper to remove this warning. See 01:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:56 01:23:56 Login Succeeded 01:23:56 docker.io 01:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:57 Configure a credential helper to remove this warning. See 01:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:57 01:23:57 Login Succeeded 01:23:57 ---> docker-login.sh ends [Pipeline] } 01:23:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:23:57 ========================================================= 01:23:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:23:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:23:57 Removing intermediate container cb267cfefa9d 01:23:57 ---> 2f4a485bd6bd 01:23:57 Step 8/10 : WORKDIR /device-rest-go 01:23:57 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 01:23:57 Sending build context to Docker daemon 93.18kB 01:23:57 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 01:23:57 Step 2/10 : FROM ${BASE} 01:23:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:23:57 188c0c94c7c5: Pulling fs layer 01:23:57 0ef7d3d256c8: Pulling fs layer 01:23:57 de9db76c5a1d: Pulling fs layer 01:23:57 bca2f99d35d6: Pulling fs layer 01:23:57 93359f2a8cfa: Pulling fs layer 01:23:57 7c6f9722023f: Pulling fs layer 01:23:57 a35cf1a2eb13: Pulling fs layer 01:23:57 93359f2a8cfa: Waiting 01:23:57 a35cf1a2eb13: Waiting 01:23:57 7c6f9722023f: Waiting 01:23:57 bca2f99d35d6: Waiting 01:23:57 ---> Running in 71baea249b84 01:23:57 de9db76c5a1d: Verifying Checksum 01:23:57 de9db76c5a1d: Download complete 01:23:57 0ef7d3d256c8: Download complete 01:23:57 93359f2a8cfa: Verifying Checksum 01:23:57 93359f2a8cfa: Download complete 01:23:57 7c6f9722023f: Verifying Checksum 01:23:57 7c6f9722023f: Download complete 01:23:57 188c0c94c7c5: Verifying Checksum 01:23:57 188c0c94c7c5: Download complete 01:23:58 188c0c94c7c5: Pull complete 01:23:58 0ef7d3d256c8: Pull complete 01:23:58 de9db76c5a1d: Pull complete 01:23:58 Removing intermediate container 71baea249b84 01:23:58 ---> 102991b5dbb8 01:23:58 Step 9/10 : COPY . . 01:23:59 ---> 906136ae1671 01:23:59 Step 10/10 : RUN go mod download 01:23:59 ---> Running in 71c3f4a685dd 01:23:59 a35cf1a2eb13: Verifying Checksum 01:23:59 a35cf1a2eb13: Download complete 01:24:00 bca2f99d35d6: Verifying Checksum 01:24:00 bca2f99d35d6: Download complete 01:24:05 bca2f99d35d6: Pull complete 01:24:05 93359f2a8cfa: Pull complete 01:24:05 7c6f9722023f: Pull complete 01:24:10 a35cf1a2eb13: Pull complete 01:24:11 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 01:24:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:24:11 ---> a62c8e92a672 01:24:11 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:24:11 ---> Running in 81328ad7dc8b 01:24:11 Removing intermediate container 81328ad7dc8b 01:24:11 ---> 34b80d76dd58 01:24:11 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:24:11 ---> Running in d2e3e49db74d 01:24:12 Removing intermediate container d2e3e49db74d 01:24:12 ---> e9f8e6a5106b 01:24:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:24:12 ---> Running in 71cb207544ee 01:24:12 Removing intermediate container 71cb207544ee 01:24:12 ---> fb19786317fc 01:24:12 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:24:12 ---> Running in 40da848a7ef3 01:24:13 Removing intermediate container 40da848a7ef3 01:24:13 ---> e307831d7817 01:24:13 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:24:13 ---> Running in c14853d9e129 01:24:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:24:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:24:14 (1/9) Installing libc-dev (0.7.2-r3) 01:24:14 (2/9) Installing libsodium (1.0.18-r0) 01:24:14 (3/9) Installing pkgconf (1.7.2-r0) 01:24:14 (4/9) Installing libsodium-dev (1.0.18-r0) 01:24:15 (5/9) Installing openssh-keygen (8.3_p1-r2) 01:24:15 (6/9) Installing libedit (20191231.3.1-r0) 01:24:15 (7/9) Installing openssh-client (8.3_p1-r2) 01:24:15 (8/9) Installing libzmq (4.3.3-r0) 01:24:15 (9/9) Installing zeromq-dev (4.3.3-r0) 01:24:15 Executing busybox-1.31.1-r19.trigger 01:24:15 OK: 171 MiB in 48 packages 01:24:16 Removing intermediate container c14853d9e129 01:24:16 ---> 48bcc1fc79ba 01:24:16 Step 8/10 : WORKDIR /device-rest-go 01:24:16 ---> Running in 639b706cc0e1 01:24:16 Removing intermediate container 639b706cc0e1 01:24:16 ---> d8ae44c88193 01:24:16 Step 9/10 : COPY . . 01:24:16 ---> 0527c01b132d 01:24:16 Step 10/10 : RUN go mod download 01:24:16 ---> Running in 19b4e284cfa3 01:24:31 Removing intermediate container 71c3f4a685dd 01:24:31 ---> 5adf526b04e4 01:24:31 Successfully built 5adf526b04e4 01:24:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:24:32 + docker inspect -f . ci-base-image-arm64 01:24:32 . [Pipeline] withDockerContainer 01:24:32 prd-ubuntu18.04-docker-arm64-4c-16g-1684 does not seem to be running inside a container 01:24:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** ci-base-image-arm64 cat 01:24:34 $ docker top 7669314bf03d5306699300b1a54a9344882961da88f919ae4873b06b6a51cac5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:35 + go version 01:24:35 go version go1.15.5 linux/arm64 [Pipeline] } 01:24:35 $ docker stop --time=1 7669314bf03d5306699300b1a54a9344882961da88f919ae4873b06b6a51cac5 01:24:36 $ docker rm -f 7669314bf03d5306699300b1a54a9344882961da88f919ae4873b06b6a51cac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:24:37 + docker inspect -f . ci-base-image-arm64 01:24:37 . [Pipeline] withDockerContainer 01:24:37 prd-ubuntu18.04-docker-arm64-4c-16g-1684 does not seem to be running inside a container 01:24:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** ci-base-image-arm64 cat 01:24:38 Removing intermediate container 19b4e284cfa3 01:24:38 ---> b1ca19771305 01:24:38 Successfully built b1ca19771305 01:24:38 Successfully tagged ci-base-image-x86_64:latest 01:24:39 $ docker top 7f1d2267da936618eaa0d0cf3d7e20fb7d35bd36c31e3b6dc180c0b6938598c3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 01:24:40 + docker inspect -f . ci-base-image-x86_64 01:24:40 . [Pipeline] withDockerContainer 01:24:40 prd-centos7-docker-4c-2g-1685 does not seem to be running inside a container 01:24:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** ci-base-image-x86_64 cat 01:24:40 + make test 01:24:40 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:24:41 ? github.com/edgexfoundry/device-rest-go [no test files] 01:24:41 $ docker top eb1338a44e3e5d0d2d2cdb9454583c7b5fc597eb33ce61d359056ba88dd4a0fd -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:42 + go version 01:24:42 go version go1.15.5 linux/amd64 [Pipeline] } 01:24:42 $ docker stop --time=1 eb1338a44e3e5d0d2d2cdb9454583c7b5fc597eb33ce61d359056ba88dd4a0fd 01:24:43 $ docker rm -f eb1338a44e3e5d0d2d2cdb9454583c7b5fc597eb33ce61d359056ba88dd4a0fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:24:44 + docker inspect -f . ci-base-image-x86_64 01:24:44 . [Pipeline] withDockerContainer 01:24:44 prd-centos7-docker-4c-2g-1685 does not seem to be running inside a container 01:24:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** ci-base-image-x86_64 cat 01:24:45 $ docker top a45935549d8ceb27bb29bede72c74311e612a8a82bf0ff262e725a362f7c3fdc -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:45 + make test 01:24:45 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:24:46 ? github.com/edgexfoundry/device-rest-go [no test files] 01:25:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:25:01 ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 54.0% of statements 01:25:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:25:05 gofmt -l . 01:25:05 [ "`gofmt -l .`" = "" ] 01:25:05 ./bin/test-go-mod-tidy.sh 01:25:05 ./bin/test-attribution-txt.sh [Pipeline] } 01:25:06 $ docker stop --time=1 a45935549d8ceb27bb29bede72c74311e612a8a82bf0ff262e725a362f7c3fdc 01:25:08 $ docker rm -f a45935549d8ceb27bb29bede72c74311e612a8a82bf0ff262e725a362f7c3fdc [Pipeline] // withDockerContainer [Pipeline] sh 01:25:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:25:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:25:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:25:11 + ls -al . 01:25:11 total 104 01:25:11 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 26 01:25 . 01:25:11 drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 01:23 .. 01:25:11 -rw-rw-r--. 1 jenkins jenkins 6792 Apr 26 01:23 Attribution.txt 01:25:11 drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 01:23 bin 01:25:11 drwxrwxr-x. 3 jenkins jenkins 32 Apr 26 01:23 cmd 01:25:11 -rw-r--r--. 1 jenkins jenkins 8513 Apr 26 01:25 coverage.out 01:25:11 -rw-rw-r--. 1 jenkins jenkins 1602 Apr 26 01:23 Dockerfile 01:25:11 -rw-rw-r--. 1 jenkins jenkins 1087 Apr 26 01:23 Dockerfile.build 01:25:11 -rw-rw-r--. 1 jenkins jenkins 151 Apr 26 01:23 .dockerignore 01:25:11 drwxrwxr-x. 2 jenkins jenkins 76 Apr 26 01:23 driver 01:25:11 drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 01:23 .git 01:25:11 drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 01:23 .github 01:25:11 -rw-rw-r--. 1 jenkins jenkins 339 Apr 26 01:23 .gitignore 01:25:11 -rw-r--r--. 1 jenkins jenkins 285 Apr 26 01:25 go.mod 01:25:11 -rw-r--r--. 1 jenkins jenkins 21331 Apr 26 01:25 go.sum 01:25:11 -rw-rw-r--. 1 jenkins jenkins 680 Apr 26 01:23 Jenkinsfile 01:25:11 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 26 01:23 LICENSE 01:25:11 -rw-rw-r--. 1 jenkins jenkins 996 Apr 26 01:23 Makefile 01:25:11 -rw-rw-r--. 1 jenkins jenkins 7667 Apr 26 01:23 README.md 01:25:11 drwxrwxr-x. 4 jenkins jenkins 71 Apr 26 01:23 snap 01:25:11 -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 01:20 VERSION 01:25:11 -rw-rw-r--. 1 jenkins jenkins 713 Apr 26 01:23 version.go [Pipeline] isUnix [Pipeline] sh 01:25:12 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a01389db03e73741bef670245b5833c1ca7b1b8a --label arch=amd64 --label version=0.0.0 . 01:25:12 Sending build context to Docker daemon 102.9kB 01:25:12 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 01:25:12 Step 2/24 : FROM ${BASE} AS builder 01:25:12 ---> b1ca19771305 01:25:12 Step 3/24 : ARG MAKE='make build' 01:25:12 ---> Running in ce5c81d2690a 01:25:12 Removing intermediate container ce5c81d2690a 01:25:12 ---> 49516f7eeb67 01:25:12 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:25:12 ---> Running in b2b0fd755857 01:25:12 Removing intermediate container b2b0fd755857 01:25:12 ---> e6d3e29700ee 01:25:12 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:25:12 ---> Running in 44418aee51b0 01:25:12 Removing intermediate container 44418aee51b0 01:25:12 ---> 07fa6d0e9779 01:25:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:25:12 ---> Running in 8e1f886e684b 01:25:13 Removing intermediate container 8e1f886e684b 01:25:13 ---> ce79b092f1d7 01:25:13 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:25:13 ---> Running in 10758e266241 01:25:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:25:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:25:15 OK: 171 MiB in 48 packages 01:25:15 Removing intermediate container 10758e266241 01:25:15 ---> cea9f7765fba 01:25:15 Step 8/24 : WORKDIR /device-rest-go 01:25:15 ---> Running in 2e4a9bc37b1b 01:25:16 Removing intermediate container 2e4a9bc37b1b 01:25:16 ---> cc7d9b5d6a41 01:25:16 Step 9/24 : COPY . . 01:25:16 ---> 1bc61caadaa5 01:25:16 Step 10/24 : RUN make update 01:25:16 ---> Running in 65061ceb7bc6 01:25:16 CGO_ENABLED=0 GO111MODULE=on go mod download 01:25:17 Removing intermediate container 65061ceb7bc6 01:25:17 ---> 7b14a9e5f816 01:25:17 Step 11/24 : RUN $MAKE 01:25:17 ---> Running in 008d93c7107a 01:25:18 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 01:25:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:25:28 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements 01:25:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:25:30 Removing intermediate container 008d93c7107a 01:25:30 ---> d6bec764e5ac 01:25:30 Step 12/24 : FROM alpine:3.12 01:25:30 3.12: Pulling from library/alpine 01:25:30 339de151aab4: Pulling fs layer 01:25:30 339de151aab4: Verifying Checksum 01:25:30 339de151aab4: Download complete 01:25:31 339de151aab4: Pull complete 01:25:31 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 01:25:31 Status: Downloaded newer image for alpine:3.12 01:25:31 ---> 13621d1b12d4 01:25:31 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:25:31 ---> Running in 2d78c4edbadc 01:25:31 Removing intermediate container 2d78c4edbadc 01:25:31 ---> b42f2da5699f 01:25:31 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 01:25:31 ---> Running in 2581ca4c8c34 01:25:31 Removing intermediate container 2581ca4c8c34 01:25:31 ---> 892686d7e011 01:25:31 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:25:31 ---> Running in 6e4eac1f3ae0 01:25:32 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:25:32 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:25:32 (1/6) Installing dumb-init (1.2.2-r1) 01:25:32 (2/6) Installing libgcc (9.3.0-r2) 01:25:32 (3/6) Installing libsodium (1.0.18-r0) 01:25:32 (4/6) Installing libstdc++ (9.3.0-r2) 01:25:32 (5/6) Installing libzmq (4.3.3-r0) 01:25:32 (6/6) Installing zeromq (4.3.3-r0) 01:25:32 Executing busybox-1.31.1-r20.trigger 01:25:32 OK: 8 MiB in 20 packages 01:25:32 Removing intermediate container 6e4eac1f3ae0 01:25:32 ---> f9be600c5e99 01:25:32 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 01:25:33 ---> f66bd44ea18a 01:25:33 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 01:25:34 ---> 3f025db3702f 01:25:34 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 01:25:34 ---> a4a250072038 01:25:34 Step 19/24 : EXPOSE 49986 01:25:34 ---> Running in b784be563036 01:25:34 Removing intermediate container b784be563036 01:25:34 ---> 1e8be4af6761 01:25:34 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 01:25:34 ---> Running in 7cb6b90579d7 01:25:34 Removing intermediate container 7cb6b90579d7 01:25:34 ---> 719a289d9a6b 01:25:34 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:25:34 ---> Running in 7478e7d6c17a 01:25:34 Removing intermediate container 7478e7d6c17a 01:25:34 ---> 9c30282d83e5 01:25:34 Step 22/24 : LABEL arch=amd64 01:25:34 ---> Running in e675b8c783cb 01:25:35 Removing intermediate container e675b8c783cb 01:25:35 ---> 393234a2118d 01:25:35 Step 23/24 : LABEL git_sha=a01389db03e73741bef670245b5833c1ca7b1b8a 01:25:35 ---> Running in 61b6f951bed8 01:25:35 Removing intermediate container 61b6f951bed8 01:25:35 ---> 12a9da073f17 01:25:35 Step 24/24 : LABEL version=0.0.0 01:25:35 ---> Running in 8437f775e111 01:25:35 Removing intermediate container 8437f775e111 01:25:35 ---> 75e452169ebc 01:25:35 [Warning] One or more build-args [ARCH] were not consumed 01:25:35 Successfully built 75e452169ebc 01:25:35 gofmt -l . 01:25:35 Successfully tagged docker-device-rest-go: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] } 01:25:35 [ "`gofmt -l .`" = "" ] 01:25:35 ./bin/test-go-mod-tidy.sh [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 01:25:36 ---> job-cost.sh 01:25:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0LHX 01:25:36 ./bin/test-attribution-txt.sh [Pipeline] } 01:25:37 $ docker stop --time=1 7f1d2267da936618eaa0d0cf3d7e20fb7d35bd36c31e3b6dc180c0b6938598c3 01:25:40 $ docker rm -f 7f1d2267da936618eaa0d0cf3d7e20fb7d35bd36c31e3b6dc180c0b6938598c3 [Pipeline] // withDockerContainer [Pipeline] sh 01:25:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:25:41 Warning: overwriting stash ‘coverage-report’ 01:25:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:25:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:25:42 + ls -al . 01:25:42 total 132 01:25:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 01:25 . 01:25:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 01:23 .. 01:25:42 -rw-rw-r-- 1 jenkins jenkins 151 Apr 26 01:23 .dockerignore 01:25:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 01:23 .git 01:25:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:23 .github 01:25:42 -rw-rw-r-- 1 jenkins jenkins 339 Apr 26 01:23 .gitignore 01:25:42 -rw-rw-r-- 1 jenkins jenkins 6792 Apr 26 01:23 Attribution.txt 01:25:42 -rw-rw-r-- 1 jenkins jenkins 1602 Apr 26 01:23 Dockerfile 01:25:42 -rw-rw-r-- 1 jenkins jenkins 1087 Apr 26 01:23 Dockerfile.build 01:25:42 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 01:23 Jenkinsfile 01:25:42 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 01:23 LICENSE 01:25:42 -rw-rw-r-- 1 jenkins jenkins 996 Apr 26 01:23 Makefile 01:25:42 -rw-rw-r-- 1 jenkins jenkins 7667 Apr 26 01:23 README.md 01:25:42 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 01:20 VERSION 01:25:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:23 bin 01:25:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 01:23 cmd 01:25:42 -rw-r--r-- 1 jenkins jenkins 8513 Apr 26 01:25 coverage.out 01:25:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:23 driver 01:25:42 -rw-r--r-- 1 jenkins jenkins 285 Apr 26 01:25 go.mod 01:25:42 -rw-r--r-- 1 jenkins jenkins 21331 Apr 26 01:25 go.sum 01:25:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 01:23 snap 01:25:42 -rw-rw-r-- 1 jenkins jenkins 713 Apr 26 01:23 version.go [Pipeline] isUnix [Pipeline] sh 01:25:43 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a01389db03e73741bef670245b5833c1ca7b1b8a --label arch=arm64 --label version=0.0.0 . 01:25:43 Sending build context to Docker daemon 102.9kB 01:25:43 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 01:25:43 Step 2/24 : FROM ${BASE} AS builder 01:25:43 ---> 5adf526b04e4 01:25:43 Step 3/24 : ARG MAKE='make build' 01:25:43 ---> Running in 4f2534a63dda 01:25:44 Removing intermediate container 4f2534a63dda 01:25:44 ---> 32145507d2f3 01:25:44 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:25:44 ---> Running in 4e3c3194a951 01:25:45 Removing intermediate container 4e3c3194a951 01:25:45 ---> 341640e2f10d 01:25:45 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:25:45 ---> Running in 1fce868fd683 01:25:45 Removing intermediate container 1fce868fd683 01:25:45 ---> 452d177c3f29 01:25:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:25:45 ---> Running in 6e217333b1db 01:25:47 Removing intermediate container 6e217333b1db 01:25:47 ---> 65f1ba3c7d29 01:25:47 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:25:47 ---> Running in 4d0b056c5785 01:25:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:25:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:25:50 OK: 148 MiB in 48 packages 01:25:51 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:25:51 Removing intermediate container 4d0b056c5785 01:25:51 ---> 3f4b935c0784 01:25:51 Step 8/24 : WORKDIR /device-rest-go 01:25:51 ---> Running in bce17c497247 01:25:52 Removing intermediate container bce17c497247 01:25:52 ---> b07147802969 01:25:52 Step 9/24 : COPY . . 01:25:52 ---> 04da8fe44f1f 01:25:52 Step 10/24 : RUN make update 01:25:53 ---> Running in c617666d5786 01:25:54 CGO_ENABLED=0 GO111MODULE=on go mod download 01:25:55 Removing intermediate container c617666d5786 01:25:55 ---> c4704c229e39 01:25:55 Step 11/24 : RUN $MAKE 01:25:55 ---> Running in dea0d91cd486 01:25:56 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 01:26:17 lf-activate-venv(): INFO: Adding /tmp/venv-0LHX/bin to PATH 01:26:17 INFO: No Stack... 01:26:17 INFO: Retrieving Pricing Info for: v1-standard-2 01:26:17 INFO: Archiving Costs [Pipeline] sh 01:26:18 + cat /w/workspace/device-rest-go/2/archives/cost.csv 01:26:18 + cut -d, -f6 [Pipeline] lock 01:26:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] 01:26:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] did not exist. Created. 01:26:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:26:18 + echo total: 0.029999999329447746 [Pipeline] stash 01:26:18 Stashed 1 file(s) [Pipeline] } 01:26:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:26:35 Removing intermediate container dea0d91cd486 01:26:35 ---> 8b75061bc56d 01:26:35 Step 12/24 : FROM alpine:3.12 01:26:35 3.12: Pulling from library/alpine 01:26:35 d2f70382dc9a: Pulling fs layer 01:26:35 d2f70382dc9a: Verifying Checksum 01:26:35 d2f70382dc9a: Download complete 01:26:35 d2f70382dc9a: Pull complete 01:26:35 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 01:26:35 Status: Downloaded newer image for alpine:3.12 01:26:35 ---> 9852663dfa18 01:26:35 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:26:35 ---> Running in 8618dc41c5f9 01:26:35 Removing intermediate container 8618dc41c5f9 01:26:35 ---> 863f68b1dcca 01:26:35 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 01:26:35 ---> Running in 5f6f52f1484b 01:26:35 Removing intermediate container 5f6f52f1484b 01:26:35 ---> 41e094a444d7 01:26:35 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:26:36 ---> Running in 2abf18414059 01:26:37 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:26:37 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:26:38 (1/6) Installing dumb-init (1.2.2-r1) 01:26:38 (2/6) Installing libgcc (9.3.0-r2) 01:26:38 (3/6) Installing libsodium (1.0.18-r0) 01:26:38 (4/6) Installing libstdc++ (9.3.0-r2) 01:26:38 (5/6) Installing libzmq (4.3.3-r0) 01:26:38 (6/6) Installing zeromq (4.3.3-r0) 01:26:38 Executing busybox-1.31.1-r20.trigger 01:26:38 OK: 8 MiB in 20 packages 01:26:39 Removing intermediate container 2abf18414059 01:26:39 ---> b1412e6e8b37 01:26:39 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 01:26:40 ---> 6074b17b28c8 01:26:40 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 01:26:41 ---> 1f4e2584e208 01:26:41 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 01:26:41 ---> 5958cf0b9a71 01:26:41 Step 19/24 : EXPOSE 49986 01:26:42 ---> Running in f527f94285c1 01:26:42 Removing intermediate container f527f94285c1 01:26:42 ---> 26ace65da29a 01:26:42 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 01:26:42 ---> Running in 494bf428c1bc 01:26:43 Removing intermediate container 494bf428c1bc 01:26:43 ---> 9d35fb5d31f1 01:26:43 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:26:43 ---> Running in 905521449d7b 01:26:43 Removing intermediate container 905521449d7b 01:26:43 ---> ee995a49f92c 01:26:43 Step 22/24 : LABEL arch=arm64 01:26:43 ---> Running in 6955ef83ff2c 01:26:44 Removing intermediate container 6955ef83ff2c 01:26:44 ---> 1ee7136e37e5 01:26:44 Step 23/24 : LABEL git_sha=a01389db03e73741bef670245b5833c1ca7b1b8a 01:26:44 ---> Running in 5e0e7f60c5b2 01:26:44 Removing intermediate container 5e0e7f60c5b2 01:26:44 ---> 2596421237cd 01:26:44 Step 24/24 : LABEL version=0.0.0 01:26:44 ---> Running in 0ca2c984acdf 01:26:45 Removing intermediate container 0ca2c984acdf 01:26:45 ---> 78255488d0a4 01:26:45 [Warning] One or more build-args [ARCH] were not consumed 01:26:45 Successfully built 78255488d0a4 01:26:45 Successfully tagged docker-device-rest-go-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 01:26:46 ---> job-cost.sh 01:26:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wMaC 01:27:24 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:29:02 lf-activate-venv(): INFO: Adding /tmp/venv-wMaC/bin to PATH 01:29:02 INFO: No Stack... 01:29:02 INFO: Retrieving Pricing Info for: lf-standard-4 01:29:02 INFO: Archiving Costs [Pipeline] sh 01:29:02 + cat /w/workspace/device-rest-go/2/archives/cost.csv 01:29:02 + cut -d, -f6 [Pipeline] lock 01:29:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] 01:29:02 Resource [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] did not exist. Created. 01:29:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:29:02 /w/workspace/device-rest-go/2@tmp/durable-4f279e83/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-4f279e83/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:29:03 + echo total: 0.20999999344348907 [Pipeline] stash 01:29:03 Warning: overwriting stash ‘stack-cost’ 01:29:03 Stashed 1 file(s) [Pipeline] } 01:29:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-79-2-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 01:29:03 provisioning config files... 01:29:03 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config8479776902126318503tmp [Pipeline] { [Pipeline] sh 01:29:04 + set +x 01:29:04 + curl -s https://codecov.io/bash 01:29:04 + bash -s -- 01:29:04 01:29:04 _____ _ 01:29:04 / ____| | | 01:29:04 | | ___ __| | ___ ___ _____ __ 01:29:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:29:04 | |___| (_) | (_| | __/ (_| (_) \ V / 01:29:04 \_____\___/ \__,_|\___|\___\___/ \_/ 01:29:04 Bash-1.0.2 01:29:04 01:29:04 01:29:04 ==> git version 2.24.3 found 01:29:04 ==> 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 01:29:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:29:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:29:04 ==> Jenkins CI detected. 01:29:04 project root: . 01:29:04 --> token set from env 01:29:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:29:04 ==> Running gcov in . (disable via -X gcov) 01:29:04 ==> Python coveragepy not found 01:29:04 ==> Searching for coverage reports in: 01:29:04 + . 01:29:04 -> Found 1 reports 01:29:04 ==> Detecting git/mercurial file structure 01:29:04 ==> Reading reports 01:29:04 + ./coverage.out bytes=8513 01:29:04 ==> Appending adjustments 01:29:04 https://docs.codecov.io/docs/fixing-reports 01:29:04 + Found adjustments 01:29:04 ==> Gzipping contents 01:29:04 4.0K /tmp/codecov.Scfi0m.gz 01:29:04 ==> Uploading reports 01:29:04 url: https://codecov.io 01:29:04 query: branch=PR-79&commit=a01389db03e73741bef670245b5833c1ca7b1b8a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-79%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=79&job=&cmd_args= 01:29:04 -> Pinging Codecov 01:29:04 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-79&commit=a01389db03e73741bef670245b5833c1ca7b1b8a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-79%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=79&job=&cmd_args= 01:29:05 -> Uploading to 01:29:05 https://storage.googleapis.com/codecov/v4/raw/2021-04-26/4E5D53B4F1F92C436F7061BF334D961C/a01389db03e73741bef670245b5833c1ca7b1b8a/24c203bc-53ed-417c-8da5-1beefff9d654.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T012905Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c97fb483351e44abf8a4b428a590f72ac9348a120c988787b3499e4779ee1d77 01:29:05 % Total % Received % Xferd Average Speed Time Time Time Current 01:29:05 Dload Upload Total Spent Left Speed 01:29:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3542 --:--:-- --:--:-- --:--:-- 3540 100 1611 0 0 100 1611 0 3540 --:--:-- --:--:-- --:--:-- 3540 01:29:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a01389db03e73741bef670245b5833c1ca7b1b8a [Pipeline] } 01:29:05 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 01:29:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:29:07 ---> package-listing.sh 01:29:07 ++ facter osfamily 01:29:07 ++ tr '[:upper:]' '[:lower:]' 01:29:07 + OS_FAMILY=redhat 01:29:07 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-79 01:29:07 + START_PACKAGES=/tmp/packages_start.txt 01:29:07 + END_PACKAGES=/tmp/packages_end.txt 01:29:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:29:07 + PACKAGES=/tmp/packages_start.txt 01:29:07 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-79 ']' 01:29:07 + PACKAGES=/tmp/packages_end.txt 01:29:07 + case "${OS_FAMILY}" in 01:29:07 + rpm -qa 01:29:07 + sort 01:29:12 + '[' -f /tmp/packages_start.txt ']' 01:29:12 + '[' -f /tmp/packages_end.txt ']' 01:29:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:29:12 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-79 ']' 01:29:12 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-79/archives/ 01:29:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-79/archives/ [Pipeline] echo 01:29:12 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-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:29:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:29:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:29:13 01:29:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:29:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:29:13 alpine: Pulling from edgex-lftools-log-publisher 01:29:13 df20fa9351a1: Pulling fs layer 01:29:13 36b3adc4ff6f: Pulling fs layer 01:29:13 8ad3a11d3b57: Pulling fs layer 01:29:13 46f8f816bc3b: Pulling fs layer 01:29:13 93b61091891f: Pulling fs layer 01:29:13 93b9cdb0e59b: Pulling fs layer 01:29:13 5e14af77c1be: Pulling fs layer 01:29:13 01666e4c0597: Pulling fs layer 01:29:13 aa168da1d23b: Pulling fs layer 01:29:13 46f8f816bc3b: Waiting 01:29:13 93b61091891f: Waiting 01:29:13 93b9cdb0e59b: Waiting 01:29:13 5e14af77c1be: Waiting 01:29:13 01666e4c0597: Waiting 01:29:13 aa168da1d23b: Waiting 01:29:13 36b3adc4ff6f: Verifying Checksum 01:29:13 36b3adc4ff6f: Download complete 01:29:13 46f8f816bc3b: Download complete 01:29:14 df20fa9351a1: Verifying Checksum 01:29:14 df20fa9351a1: Download complete 01:29:14 93b9cdb0e59b: Verifying Checksum 01:29:14 93b9cdb0e59b: Download complete 01:29:14 5e14af77c1be: Verifying Checksum 01:29:14 5e14af77c1be: Download complete 01:29:14 01666e4c0597: Verifying Checksum 01:29:14 01666e4c0597: Download complete 01:29:14 93b61091891f: Verifying Checksum 01:29:14 93b61091891f: Download complete 01:29:14 df20fa9351a1: Pull complete 01:29:14 8ad3a11d3b57: Verifying Checksum 01:29:14 8ad3a11d3b57: Download complete 01:29:15 36b3adc4ff6f: Pull complete 01:29:16 8ad3a11d3b57: Pull complete 01:29:16 46f8f816bc3b: Pull complete 01:29:16 93b61091891f: Pull complete 01:29:17 aa168da1d23b: Verifying Checksum 01:29:17 aa168da1d23b: Download complete 01:29:17 93b9cdb0e59b: Pull complete 01:29:17 5e14af77c1be: Pull complete 01:29:17 01666e4c0597: Pull complete 01:29:25 aa168da1d23b: Pull complete 01:29:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:29:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:29:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:29:25 prd-centos7-docker-4c-2g-1683 does not seem to be running inside a container 01:29:25 $ 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-79/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-79 -v /w/workspace/dgexfoundry_device-rest-go_PR-79:/w/workspace/dgexfoundry_device-rest-go_PR-79:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-79@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:29:29 $ docker top 5b01432a4cf505eb9b4442bfffd97af590e4135131049bf1b8d1c67f436587fa -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:30 + touch /tmp/pre-build-complete [Pipeline] sh 01:29:30 + mkdir -p /var/log/sa [Pipeline] sh 01:29:30 + ls /var/log/sa-host 01:29:30 + sadf -c /var/log/sa-host/sa23 01:29:30 file_magic: OK 01:29:30 HZ: Using current value: 100 01:29:30 file_header: OK 01:29:30 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 01:29:30 Statistics: 01:29:30 Hnuu...uuuununununu... 01:29:30 File successfully converted to sysstat format version 12.2.1 01:29:30 + sadf -c /var/log/sa-host/sa26 01:29:30 file_magic: OK 01:29:30 HZ: Using current value: 100 01:29:30 file_header: OK 01:29:30 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 01:29:30 Statistics: 01:29:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:29:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:31 provisioning config files... 01:29:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config2420852074683393932tmp [Pipeline] { [Pipeline] echo 01:29:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:29:31 ---> create-netrc.sh [Pipeline] } 01:29:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:29:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:29:32 ---> python-tools-install.sh [Pipeline] echo 01:29:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:29:32 ---> sudo-logs.sh 01:29:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:29:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:29:32 ---> job-cost.sh 01:29:32 lf-activate-venv: SKIPPING 01:29:32 DEBUG: total: 0.20999999344348907 01:29:32 INFO: Retrieving Stack Cost... 01:29:33 INFO: Retrieving Pricing Info for: v1-standard-2 01:29:34 INFO: Archiving Costs [Pipeline] echo 01:29:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:29:34 ---> logs-deploy.sh 01:29:34 lf-activate-venv: SKIPPING 01:29:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-79/2 01:29:34 INFO: archiving workspace using pattern(s): 01:29:36 Archives upload complete. 01:29:36 INFO: archiving logs to Nexus 01:29:37 ---> uname -a: 01:29:37 Linux prd-centos7-docker-4c-2g-1683.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 01:29:37 01:29:37 01:29:37 ---> lscpu: 01:29:37 Architecture: x86_64 01:29:37 CPU op-mode(s): 32-bit, 64-bit 01:29:37 Byte Order: Little Endian 01:29:37 Address sizes: 40 bits physical, 48 bits virtual 01:29:37 CPU(s): 4 01:29:37 On-line CPU(s) list: 0-3 01:29:37 Thread(s) per core: 1 01:29:37 Core(s) per socket: 1 01:29:37 Socket(s): 4 01:29:37 NUMA node(s): 1 01:29:37 Vendor ID: GenuineIntel 01:29:37 CPU family: 6 01:29:37 Model: 44 01:29:37 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 01:29:37 Stepping: 1 01:29:37 CPU MHz: 2933.436 01:29:37 BogoMIPS: 5866.87 01:29:37 Virtualization: VT-x 01:29:37 Hypervisor vendor: KVM 01:29:37 Virtualization type: full 01:29:37 L1d cache: 128 KiB 01:29:37 L1i cache: 128 KiB 01:29:37 L2 cache: 16 MiB 01:29:37 L3 cache: 64 MiB 01:29:37 NUMA node0 CPU(s): 0-3 01:29:37 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 01:29:37 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 01:29:37 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 01:29:37 Vulnerability Meltdown: Mitigation; PTI 01:29:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:29:37 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:29:37 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:29:37 Vulnerability Srbds: Not affected 01:29:37 Vulnerability Tsx async abort: Not affected 01:29:37 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 01:29:37 01:29:37 01:29:37 ---> nproc: 01:29:37 4 01:29:37 01:29:37 01:29:37 ---> df -h: 01:29:37 Filesystem Size Used Available Use% Mounted on 01:29:37 overlay 50.0G 7.3G 42.7G 15% / 01:29:37 tmpfs 64.0M 0 64.0M 0% /dev 01:29:37 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 01:29:37 shm 64.0M 0 64.0M 0% /dev/shm 01:29:37 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 01:29:37 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 01:29:37 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 01:29:37 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 01:29:37 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 01:29:37 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 01:29:37 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-79 01:29:37 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp 01:29:37 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 01:29:37 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 01:29:37 01:29:37 01:29:37 ---> free -m: 01:29:37 total used free shared buff/cache available 01:29:37 Mem: 1837 720 88 0 1027 1011 01:29:37 Swap: 1023 0 1023 01:29:37 01:29:37 01:29:37 ---> ip addr: 01:29:37 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:29:37 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:29:37 inet 127.0.0.1/8 scope host lo 01:29:37 valid_lft forever preferred_lft forever 01:29:37 inet6 ::1/128 scope host 01:29:37 valid_lft forever preferred_lft forever 01:29:37 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 01:29:37 link/ether fa:16:3e:4f:46:44 brd ff:ff:ff:ff:ff:ff 01:29:37 inet 10.30.123.192/23 brd 10.30.123.255 scope global dynamic eth0 01:29:37 valid_lft 85825sec preferred_lft 85825sec 01:29:37 inet6 fe80::f816:3eff:fe4f:4644/64 scope link 01:29:37 valid_lft forever preferred_lft forever 01:29:37 3: docker0: mtu 1500 qdisc noqueue state DOWN 01:29:37 link/ether 02:42:dd:fe:fa:cd brd ff:ff:ff:ff:ff:ff 01:29:37 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 01:29:37 valid_lft forever preferred_lft forever 01:29:37 inet6 fe80::42:ddff:fefe:facd/64 scope link 01:29:37 valid_lft forever preferred_lft forever 01:29:37 01:29:37 01:29:37 ---> sar -b -r -n DEV: 01:29:37 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 04/26/21 _x86_64_ (4 CPU) 01:29:37 01:29:37 01:19:51 LINUX RESTART (4 CPU) 01:29:37 01:29:37 01:21:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:29:37 01:22:01 3.20 0.03 3.16 0.00 1.07 109.91 0.00 01:29:37 01:23:01 0.42 0.00 0.42 0.00 0.00 5.99 0.00 01:29:37 01:24:01 0.25 0.00 0.25 0.00 0.00 3.88 0.00 01:29:37 01:25:01 0.25 0.00 0.25 0.00 0.00 2.83 0.00 01:29:37 01:26:01 0.33 0.00 0.33 0.00 0.00 4.48 0.00 01:29:37 01:27:01 0.27 0.00 0.27 0.00 0.00 2.73 0.00 01:29:37 01:28:01 0.33 0.00 0.33 0.00 0.00 3.90 0.00 01:29:37 01:29:01 0.25 0.00 0.25 0.00 0.00 3.06 0.00 01:29:37 Average: 0.66 0.00 0.66 0.00 0.13 17.10 0.00 01:29:37 01:29:37 01:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:29:37 01:22:01 159420 0 615580 32.72 2620 1103924 1078700 36.81 459964 1064240 20 01:29:37 01:23:01 159820 0 615168 32.69 2620 1103936 1078700 36.81 459884 1064484 8 01:29:37 01:24:01 154684 0 620300 32.97 2620 1103940 1081224 36.90 470116 1058912 12 01:29:37 01:25:01 157740 0 617240 32.80 2620 1103944 1079728 36.85 467928 1058484 8 01:29:37 01:26:01 155440 0 619536 32.93 2620 1103948 1079800 36.85 479056 1049796 8 01:29:37 01:27:01 155888 0 619084 32.90 2620 1103952 1079728 36.85 484540 1043788 8 01:29:37 01:28:01 154848 0 620120 32.96 2620 1103956 1079944 36.86 485856 1043788 16 01:29:37 01:29:01 156040 0 618924 32.89 2620 1103960 1079728 36.85 484524 1043836 20 01:29:37 Average: 156735 0 618244 32.86 2620 1103945 1079694 36.85 473984 1053416 12 01:29:37 01:29:37 01:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:29:37 01:22:01 eth0 0.40 0.12 0.02 0.02 0.00 0.00 0.00 0.00 01:29:37 01:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:23:01 eth0 0.53 0.08 0.05 0.01 0.00 0.00 0.00 0.00 01:29:37 01:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:24:01 eth0 3.03 2.46 0.73 8.78 0.00 0.00 0.00 0.00 01:29:37 01:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:25:01 eth0 0.10 0.08 0.01 0.06 0.00 0.00 0.00 0.00 01:29:37 01:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:26:01 eth0 0.32 0.23 0.14 0.07 0.00 0.00 0.00 0.00 01:29:37 01:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:27:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:29:37 01:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:28:01 eth0 1.05 0.57 0.43 0.21 0.00 0.00 0.00 0.00 01:29:37 01:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:29:01 eth0 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 Average: eth0 0.70 0.45 0.17 1.14 0.00 0.00 0.00 0.00 01:29:37 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:29:37 01:29:37 01:29:37 ---> sar -P ALL: 01:29:37 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 04/26/21 _x86_64_ (4 CPU) 01:29:37 01:29:37 01:19:51 LINUX RESTART (4 CPU) 01:29:37 01:29:37 01:21:01 CPU %user %nice %system %iowait %steal %idle 01:29:37 01:22:01 all 0.07 0.00 0.05 0.00 0.09 99.79 01:29:37 01:22:01 0 0.03 0.00 0.03 0.00 0.02 99.92 01:29:37 01:22:01 1 0.07 0.00 0.08 0.00 0.15 99.70 01:29:37 01:22:01 2 0.12 0.00 0.05 0.00 0.15 99.68 01:29:37 01:22:01 3 0.05 0.00 0.05 0.00 0.05 99.85 01:29:37 01:23:01 all 0.03 0.00 0.04 0.00 0.15 99.78 01:29:37 01:23:01 0 0.03 0.00 0.03 0.00 0.00 99.93 01:29:37 01:23:01 1 0.02 0.00 0.05 0.00 0.30 99.63 01:29:37 01:23:01 2 0.05 0.00 0.07 0.00 0.22 99.67 01:29:37 01:23:01 3 0.02 0.00 0.02 0.02 0.08 99.87 01:29:37 01:24:01 all 0.27 0.00 0.28 0.00 0.10 99.35 01:29:37 01:24:01 0 0.43 0.00 0.28 0.00 0.07 99.22 01:29:37 01:24:01 1 0.20 0.00 0.23 0.00 0.07 99.50 01:29:37 01:24:01 2 0.22 0.00 0.30 0.00 0.23 99.25 01:29:37 01:24:01 3 0.23 0.00 0.30 0.00 0.05 99.42 01:29:37 01:25:01 all 0.12 0.00 0.05 0.00 0.10 99.72 01:29:37 01:25:01 0 0.02 0.00 0.03 0.00 0.02 99.93 01:29:37 01:25:01 1 0.42 0.00 0.07 0.00 0.17 99.35 01:29:37 01:25:01 2 0.03 0.00 0.05 0.00 0.15 99.77 01:29:37 01:25:01 3 0.03 0.00 0.05 0.00 0.08 99.83 01:29:37 01:26:01 all 0.15 0.00 0.09 0.00 0.23 99.53 01:29:37 01:26:01 0 0.03 0.00 0.15 0.00 0.08 99.73 01:29:37 01:26:01 1 0.08 0.00 0.03 0.00 0.22 99.67 01:29:37 01:26:01 2 0.08 0.00 0.15 0.00 0.38 99.38 01:29:37 01:26:01 3 0.38 0.00 0.03 0.00 0.25 99.33 01:29:37 01:27:01 all 0.15 0.00 0.05 0.00 0.04 99.75 01:29:37 01:27:01 0 0.03 0.00 0.05 0.00 0.02 99.90 01:29:37 01:27:01 1 0.53 0.00 0.07 0.00 0.08 99.32 01:29:37 01:27:01 2 0.03 0.00 0.07 0.00 0.03 99.87 01:29:37 01:27:01 3 0.02 0.00 0.02 0.00 0.03 99.93 01:29:37 01:28:01 all 0.15 0.00 0.05 0.00 0.04 99.76 01:29:37 01:28:01 0 0.05 0.00 0.02 0.00 0.00 99.93 01:29:37 01:28:01 1 0.42 0.00 0.05 0.00 0.02 99.52 01:29:37 01:28:01 2 0.12 0.00 0.08 0.00 0.10 99.70 01:29:37 01:28:01 3 0.02 0.00 0.03 0.00 0.05 99.90 01:29:37 01:29:01 all 0.09 0.00 0.03 0.00 0.12 99.76 01:29:37 01:29:01 0 0.02 0.00 0.03 0.00 0.03 99.92 01:29:37 01:29:01 1 0.27 0.00 0.03 0.00 0.15 99.55 01:29:37 01:29:01 2 0.07 0.00 0.05 0.00 0.13 99.75 01:29:37 01:29:01 3 0.02 0.00 0.02 0.00 0.15 99.82 01:29:37 Average: all 0.13 0.00 0.08 0.00 0.11 99.68 01:29:37 Average: 0 0.08 0.00 0.08 0.00 0.03 99.81 01:29:37 Average: 1 0.25 0.00 0.08 0.00 0.14 99.53 01:29:37 Average: 2 0.09 0.00 0.10 0.00 0.17 99.63 01:29:37 Average: 3 0.10 0.00 0.06 0.00 0.09 99.74 01:29:37 01:29:37 01:29:37