Pull request #70 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d87d68ab5275aeb6cdfeb574ec2681332d42e3e3+793fa606b8324739f564128f9001c967c619a4b2 (f0c9633213f886890c80c5e2dd6a4dd0f9bde9bd) Running in Durability level: MAX_SURVIVABILITY 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-70/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-70/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19383 in /w/workspace/dgexfoundry_device-rest-go_PR-70 [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-70 # 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 Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 Merge succeeded, producing d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 Checking out Revision d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 (PR-70) > 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/70/head:refs/remotes/origin/PR-70 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # 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 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:10:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:10:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:10:17 ========================================================= 06:10:17 EdgeX Global Pipelines Version Info 06:10:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:10:19 ------------------- 06:10:19 stable info: 06:10:19 ------------------- 06:10:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:19 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:10:19 Message: update stable to v1.0.173 06:10:20 ------------------- 06:10:20 experimental info: 06:10:20 ------------------- 06:10:20 Commited By: **** collab-it+edgex@linuxfoundation.org 06:10:20 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:10:20 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:10:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:10:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:10:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:10:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:10:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:10:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:10:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:10:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:10:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:10:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:10:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:10:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:10:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-70 [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-70 [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-70 [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [Pipeline] echo 06:10:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d87d68a [Pipeline] echo 06:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:10:27 provisioning config files... 06:10:27 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/config7062704826884636645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:27 ---> docker-login.sh 06:10:27 nexus3.edgexfoundry.org:10001 06:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:28 Configure a credential helper to remove this warning. See 06:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:28 06:10:28 Login Succeeded 06:10:28 nexus3.edgexfoundry.org:10002 06:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:28 Configure a credential helper to remove this warning. See 06:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:28 06:10:28 Login Succeeded 06:10:28 nexus3.edgexfoundry.org:10003 06:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:28 Configure a credential helper to remove this warning. See 06:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:28 06:10:28 Login Succeeded 06:10:28 nexus3.edgexfoundry.org:10004 06:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:29 Configure a credential helper to remove this warning. See 06:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:29 06:10:29 Login Succeeded 06:10:29 docker.io 06:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:29 Configure a credential helper to remove this warning. See 06:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:29 06:10:29 Login Succeeded 06:10:29 ---> docker-login.sh ends [Pipeline] } 06:10:29 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 06:10:31 + git log --format=format:%s -1 d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [Pipeline] echo 06:10:31 GIT_COMMIT: d87d68ab5275aeb6cdfeb574ec2681332d42e3e3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo 06:10:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:10:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:10:32 06:10:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:10:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:10:32 latest: Pulling from edgex-devops/git-semver 06:10:32 31603596830f: Pulling fs layer 06:10:32 2a8b12db71e7: Pulling fs layer 06:10:32 6ca5941a6612: Pulling fs layer 06:10:32 ecc8261a40a4: Pulling fs layer 06:10:32 ecc8261a40a4: Waiting 06:10:32 2a8b12db71e7: Verifying Checksum 06:10:32 2a8b12db71e7: Download complete 06:10:32 31603596830f: Verifying Checksum 06:10:32 31603596830f: Download complete 06:10:32 ecc8261a40a4: Verifying Checksum 06:10:32 ecc8261a40a4: Download complete 06:10:32 6ca5941a6612: Verifying Checksum 06:10:32 6ca5941a6612: Download complete 06:10:33 31603596830f: Pull complete 06:10:33 2a8b12db71e7: Pull complete 06:10:34 6ca5941a6612: Pull complete 06:10:34 ecc8261a40a4: Pull complete 06:10:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:10:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:10:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:10:34 prd-centos7-docker-4c-2g-19383 does not seem to be running inside a container 06:10:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-70 -v /w/workspace/dgexfoundry_device-rest-go_PR-70:/w/workspace/dgexfoundry_device-rest-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-70@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:10:36 $ docker top a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:37 [ssh-agent] Looking for ssh-agent implementation... 06:10:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:37 $ docker exec a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f ssh-agent 06:10:37 SSH_AUTH_SOCK=/tmp/ssh-tX85OBKKkr44/agent.11 06:10:37 SSH_AGENT_PID=17 06:10:37 Running ssh-add (command line suppressed) 06:10:37 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/private_key_2260864705730228675.key (/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/private_key_2260864705730228675.key) 06:10:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:38 + git tag --points-at HEAD [Pipeline] } 06:10:38 $ docker exec --env ******** --env ******** a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f ssh-agent -k 06:10:38 unset SSH_AUTH_SOCK; 06:10:38 unset SSH_AGENT_PID; 06:10:38 echo Agent pid 17 killed; 06:10:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:38 [ssh-agent] Looking for ssh-agent implementation... 06:10:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:38 $ docker exec a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f ssh-agent 06:10:39 SSH_AUTH_SOCK=/tmp/ssh-TxQcQxKunxUG/agent.46 06:10:39 SSH_AGENT_PID=51 06:10:39 Running ssh-add (command line suppressed) 06:10:39 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/private_key_8308774535851200501.key (/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/private_key_8308774535851200501.key) 06:10:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:39 + git semver init 06:10:39 # -> Open(): unable to determine branch for HEAD 06:10:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-70/.git 06:10:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-70 06:10:39 # $SEMVER_REMOTE_NAME = origin 06:10:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:10:39 # $SEMVER_USER_NAME = edgex-jenkins 06:10:39 # $SEMVER_BRANCH = PR-70 06:10:39 # $SEMVER_TEMP = /tmp/semver-398916370 06:10:39 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:10:40 # '/tmp/semver-398916370' -> '/w/workspace/dgexfoundry_device-rest-go_PR-70/.semver' 06:10:40 # -> Force: false 06:10:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-70/.semver [Pipeline] } 06:10:41 $ docker exec --env ******** --env ******** a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f ssh-agent -k 06:10:41 unset SSH_AUTH_SOCK; 06:10:41 unset SSH_AGENT_PID; 06:10:41 echo Agent pid 51 killed; 06:10:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:41 + git semver [Pipeline] } 06:10:42 $ docker stop --time=1 a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f 06:10:43 $ docker rm -f a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f [Pipeline] // withDockerContainer [Pipeline] sh 06:10:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:10:44 Stashed 1 file(s) [Pipeline] echo 06:10:44 [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 06:11:00 Still waiting to schedule task 06:11:00 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-19366’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19361’ is offline; ‘prd-centos7-docker-4c-2g-19362’ is offline; ‘prd-centos7-docker-4c-2g-19363’ is offline; ‘prd-centos7-docker-4c-2g-19364’ is offline; ‘prd-centos7-docker-4c-2g-19368’ is offline; ‘prd-centos7-docker-4c-2g-19369’ is offline; ‘prd-centos7-docker-4c-2g-19379’ is offline; ‘prd-centos7-docker-4c-2g-19392’ is offline; ‘prd-centos7-docker-4c-2g-19393’ is offline; ‘prd-centos7-docker-4c-2g-19394’ is offline; ‘prd-centos7-docker-4c-2g-19396’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19367’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19372’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19391’ doesn’t have label ‘centos7-docker-4c-2g’ 06:11:00 Still waiting to schedule task 06:11:00 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-19366’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19361’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19362’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19363’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19364’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19368’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19369’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19379’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19392’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19393’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19394’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19396’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19367’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19372’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19391’ is offline 06:14:37 Running on prd-centos7-docker-4c-2g-19399 in /w/workspace/dgexfoundry_device-rest-go_PR-70 [Pipeline] { [Pipeline] ws 06:14:37 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:14:42 using credential edgex-jenkins-ssh 06:14:42 Cloning the remote Git repository 06:14:42 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:14:42 > git init /w/workspace/device-rest-go/1 # timeout=10 06:14:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:14:42 > git --version # timeout=10 06:14:42 > git --version # 'git version 2.24.3' 06:14:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:43 Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 06:14:43 Merge succeeded, producing d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 06:14:43 Checking out Revision d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 (PR-70) 06:14:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:14:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:14:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:14:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:14:43 > git config core.sparsecheckout # timeout=10 06:14:43 > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # timeout=10 06:14:43 > git remote # timeout=10 06:14:43 > git config --get remote.origin.url # timeout=10 06:14:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:43 > git merge 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 06:14:43 > git rev-parse HEAD^{commit} # timeout=10 06:14:43 > git config core.sparsecheckout # timeout=10 06:14:43 > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # timeout=10 06:14:47 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 06:14:47 > git --version # timeout=10 06:14:47 > git --version # 'git version 2.24.3' 06:14:47 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:49 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:14:49 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:14:49 + sudo service docker restart 06:14:49 + true 06:14:49 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:14:51 provisioning config files... 06:14:51 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8012750220577863522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:51 ---> docker-login.sh 06:14:51 nexus3.edgexfoundry.org:10001 06:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:52 Configure a credential helper to remove this warning. See 06:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:52 06:14:52 Login Succeeded 06:14:52 nexus3.edgexfoundry.org:10002 06:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:52 Configure a credential helper to remove this warning. See 06:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:52 06:14:52 Login Succeeded 06:14:52 nexus3.edgexfoundry.org:10003 06:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:52 Configure a credential helper to remove this warning. See 06:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:52 06:14:52 Login Succeeded 06:14:52 nexus3.edgexfoundry.org:10004 06:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:52 Configure a credential helper to remove this warning. See 06:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:52 06:14:52 Login Succeeded 06:14:52 docker.io 06:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:53 Configure a credential helper to remove this warning. See 06:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:53 06:14:53 Login Succeeded 06:14:53 ---> docker-login.sh ends [Pipeline] } 06:14:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:14:53 ========================================================= 06:14:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:14:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:14:54 + 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 . 06:14:54 Sending build context to Docker daemon 84.48kB 06:14:54 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 06:14:54 Step 2/10 : FROM ${BASE} 06:14:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:14:54 188c0c94c7c5: Pulling fs layer 06:14:54 0ef7d3d256c8: Pulling fs layer 06:14:54 de9db76c5a1d: Pulling fs layer 06:14:54 bca2f99d35d6: Pulling fs layer 06:14:54 93359f2a8cfa: Pulling fs layer 06:14:54 7c6f9722023f: Pulling fs layer 06:14:54 a35cf1a2eb13: Pulling fs layer 06:14:54 bca2f99d35d6: Waiting 06:14:54 93359f2a8cfa: Waiting 06:14:54 7c6f9722023f: Waiting 06:14:54 a35cf1a2eb13: Waiting 06:14:54 de9db76c5a1d: Verifying Checksum 06:14:54 de9db76c5a1d: Download complete 06:14:54 0ef7d3d256c8: Verifying Checksum 06:14:54 93359f2a8cfa: Verifying Checksum 06:14:54 93359f2a8cfa: Download complete 06:14:54 188c0c94c7c5: Verifying Checksum 06:14:54 188c0c94c7c5: Download complete 06:14:54 7c6f9722023f: Verifying Checksum 06:14:54 7c6f9722023f: Download complete 06:14:54 188c0c94c7c5: Pull complete 06:14:55 0ef7d3d256c8: Pull complete 06:14:55 de9db76c5a1d: Pull complete 06:14:58 a35cf1a2eb13: Verifying Checksum 06:14:58 a35cf1a2eb13: Download complete 06:15:00 bca2f99d35d6: Verifying Checksum 06:15:00 bca2f99d35d6: Download complete 06:15:07 bca2f99d35d6: Pull complete 06:15:07 93359f2a8cfa: Pull complete 06:15:07 7c6f9722023f: Pull complete 06:15:13 a35cf1a2eb13: Pull complete 06:15:13 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:15:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:15:13 ---> a62c8e92a672 06:15:13 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:15:13 ---> Running in 3d0f2e853240 06:15:13 Removing intermediate container 3d0f2e853240 06:15:13 ---> 3dc52d818143 06:15:13 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:15:13 ---> Running in e7506b22fcb8 06:15:14 Removing intermediate container e7506b22fcb8 06:15:14 ---> 907e115f8b90 06:15:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:15:14 ---> Running in 3408b0989b79 06:15:14 Removing intermediate container 3408b0989b79 06:15:14 ---> 3af33e697bed 06:15:14 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:15:14 ---> Running in 21784426ef52 06:15:15 Removing intermediate container 21784426ef52 06:15:15 ---> 472ae3eb11ad 06:15:15 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:15:15 ---> Running in 01a8283897fb 06:15:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:15:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:15:19 OK: 166 MiB in 39 packages 06:15:19 Removing intermediate container 01a8283897fb 06:15:19 ---> ddedd5d025ab 06:15:19 Step 8/10 : WORKDIR /device-rest-go 06:15:19 ---> Running in a2d35801c65d 06:15:19 Removing intermediate container a2d35801c65d 06:15:19 ---> 6a293e248cca 06:15:19 Step 9/10 : COPY . . 06:15:20 ---> cde90d4f754c 06:15:20 Step 10/10 : RUN go mod download 06:15:20 ---> Running in 288fa28df073 06:15:38 Removing intermediate container 288fa28df073 06:15:38 ---> 01e30136ffe7 06:15:38 Successfully built 01e30136ffe7 06:15:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:15:38 + docker inspect -f . ci-base-image-x86_64 06:15:38 . [Pipeline] withDockerContainer 06:15:39 prd-centos7-docker-4c-2g-19399 does not seem to be running inside a container 06:15:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:15:40 $ docker top 840d7b54a43ef6b1936524261e13f79669e3e17ae74171ad77d4c57923e679ec -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:40 + go version 06:15:40 go version go1.15.5 linux/amd64 [Pipeline] } 06:15:40 $ docker stop --time=1 840d7b54a43ef6b1936524261e13f79669e3e17ae74171ad77d4c57923e679ec 06:15:42 $ docker rm -f 840d7b54a43ef6b1936524261e13f79669e3e17ae74171ad77d4c57923e679ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:15:44 + docker inspect -f . ci-base-image-x86_64 06:15:44 . [Pipeline] withDockerContainer 06:15:44 prd-centos7-docker-4c-2g-19399 does not seem to be running inside a container 06:15:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:15:45 $ docker top 2bfe75c215a8879d7a5437c927a38146e703d908a76e488d96868c4752b90746 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:46 + make test 06:15:46 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:15:46 ? github.com/edgexfoundry/device-rest-go [no test files] 06:15:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19413 in /w/workspace/dgexfoundry_device-rest-go_PR-70 [Pipeline] { [Pipeline] ws 06:15:49 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:15:54 using credential edgex-jenkins-ssh 06:15:54 Cloning the remote Git repository 06:15:55 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:15:55 > git init /w/workspace/device-rest-go/1 # timeout=10 06:15:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:15:55 > git --version # timeout=10 06:15:55 > git --version # 'git version 2.17.1' 06:15:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:57 Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 06:15:57 Merge succeeded, producing d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 06:15:57 Checking out Revision d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 (PR-70) 06:15:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:15:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:15:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:15:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:15:57 > git config core.sparsecheckout # timeout=10 06:15:57 > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # timeout=10 06:15:57 > git remote # timeout=10 06:15:57 > git config --get remote.origin.url # timeout=10 06:15:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:57 > git merge 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 06:15:57 > git rev-parse HEAD^{commit} # timeout=10 06:15:57 > git config core.sparsecheckout # timeout=10 06:15:57 > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # timeout=10 06:15:59 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:15:59 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 56.3% of statements 06:15:59 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:16:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 06:16:02 > git --version # timeout=10 06:16:02 > git --version # 'git version 2.17.1' 06:16:02 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:16:03 gofmt -l . 06:16:03 [ "`gofmt -l .`" = "" ] 06:16:03 ./bin/test-go-mod-tidy.sh 06:16:03 ./bin/test-attribution-txt.sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] } 06:16:03 $ docker stop --time=1 2bfe75c215a8879d7a5437c927a38146e703d908a76e488d96868c4752b90746 06:16:06 $ docker rm -f 2bfe75c215a8879d7a5437c927a38146e703d908a76e488d96868c4752b90746 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:08 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:16:08 Stashed 1 file(s) [Pipeline] } 06:16:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 06:16:08 + true 06:16:08 + sudo service docker restart [Pipeline] sh 06:16:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:10 + ls -al . 06:16:10 total 96 06:16:10 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 11 06:16 . 06:16:10 drwxrwxr-x. 4 jenkins jenkins 28 Jan 11 06:14 .. 06:16:10 -rw-rw-r--. 1 jenkins jenkins 5294 Jan 11 06:14 Attribution.txt 06:16:10 drwxrwxr-x. 2 jenkins jenkins 64 Jan 11 06:14 bin 06:16:10 drwxrwxr-x. 3 jenkins jenkins 32 Jan 11 06:14 cmd 06:16:10 -rw-r--r--. 1 jenkins jenkins 9369 Jan 11 06:15 coverage.out 06:16:10 -rw-rw-r--. 1 jenkins jenkins 1530 Jan 11 06:14 Dockerfile 06:16:10 -rw-rw-r--. 1 jenkins jenkins 1002 Jan 11 06:14 Dockerfile.build 06:16:10 -rw-rw-r--. 1 jenkins jenkins 151 Jan 11 06:14 .dockerignore 06:16:10 drwxrwxr-x. 2 jenkins jenkins 93 Jan 11 06:15 driver 06:16:10 drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 06:14 .git 06:16:10 drwxrwxr-x. 2 jenkins jenkins 60 Jan 11 06:14 .github 06:16:10 -rw-rw-r--. 1 jenkins jenkins 339 Jan 11 06:14 .gitignore 06:16:10 -rw-r--r--. 1 jenkins jenkins 267 Jan 11 06:16 go.mod 06:16:10 -rw-r--r--. 1 jenkins jenkins 13985 Jan 11 06:16 go.sum 06:16:10 -rw-rw-r--. 1 jenkins jenkins 680 Jan 11 06:14 Jenkinsfile 06:16:10 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 11 06:14 LICENSE 06:16:10 -rw-rw-r--. 1 jenkins jenkins 951 Jan 11 06:14 Makefile 06:16:10 -rw-rw-r--. 1 jenkins jenkins 5917 Jan 11 06:14 README.md 06:16:10 drwxrwxr-x. 4 jenkins jenkins 71 Jan 11 06:14 snap 06:16:10 -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 06:10 VERSION 06:16:10 -rw-rw-r--. 1 jenkins jenkins 713 Jan 11 06:14 version.go [Pipeline] isUnix [Pipeline] sh 06:16:10 + 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=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 --label arch=amd64 --label version=0.0.0 . 06:16:10 Sending build context to Docker daemon 96.26kB 06:16:10 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 06:16:10 Step 2/25 : FROM ${BASE} AS builder 06:16:10 ---> 01e30136ffe7 06:16:10 Step 3/25 : ARG MAKE='make build' 06:16:10 ---> Running in 4bfa2fb66ebb 06:16:10 Removing intermediate container 4bfa2fb66ebb 06:16:10 ---> d368b4c82c24 06:16:10 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 06:16:11 ---> Running in a28cc0524f49 06:16:11 Removing intermediate container a28cc0524f49 06:16:11 ---> 868fb62ea289 06:16:11 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:16:11 ---> Running in 3b6409c5b6c8 06:16:11 Removing intermediate container 3b6409c5b6c8 06:16:11 ---> 81321c7e91a7 06:16:11 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:11 ---> Running in 634fc669d0bf [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:16:11 provisioning config files... 06:16:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3443537901434417628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:12 Removing intermediate container 634fc669d0bf 06:16:12 ---> c6ba0accd2ae 06:16:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:12 ---> docker-login.sh 06:16:12 nexus3.edgexfoundry.org:10001 06:16:12 ---> Running in 1e99961839fa 06:16:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:13 Configure a credential helper to remove this warning. See 06:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:13 06:16:13 Login Succeeded 06:16:13 nexus3.edgexfoundry.org:10002 06:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:14 Configure a credential helper to remove this warning. See 06:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:14 06:16:14 Login Succeeded 06:16:14 nexus3.edgexfoundry.org:10003 06:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:15 Configure a credential helper to remove this warning. See 06:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:15 06:16:15 Login Succeeded 06:16:15 nexus3.edgexfoundry.org:10004 06:16:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:15 Configure a credential helper to remove this warning. See 06:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:15 06:16:15 Login Succeeded 06:16:15 docker.io 06:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:16 Configure a credential helper to remove this warning. See 06:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:16 06:16:16 Login Succeeded 06:16:16 ---> docker-login.sh ends [Pipeline] } 06:16:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:17 ========================================================= 06:16:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:16:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:16:17 + 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 . 06:16:17 Sending build context to Docker daemon 84.48kB 06:16:18 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 06:16:18 Step 2/10 : FROM ${BASE} 06:16:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:16:18 5f621e34cdf4: Pulling fs layer 06:16:18 a4357932f1b6: Pulling fs layer 06:16:18 18c013af1878: Pulling fs layer 06:16:18 00ac8860ef70: Pulling fs layer 06:16:18 63d7cb157983: Pulling fs layer 06:16:18 b116817d02f9: Pulling fs layer 06:16:18 745a02a5169b: Pulling fs layer 06:16:18 00ac8860ef70: Waiting 06:16:18 63d7cb157983: Waiting 06:16:18 b116817d02f9: Waiting 06:16:18 745a02a5169b: Waiting 06:16:18 18c013af1878: Verifying Checksum 06:16:18 18c013af1878: Download complete 06:16:18 a4357932f1b6: Verifying Checksum 06:16:18 a4357932f1b6: Download complete 06:16:18 63d7cb157983: Verifying Checksum 06:16:18 63d7cb157983: Download complete 06:16:18 b116817d02f9: Verifying Checksum 06:16:18 b116817d02f9: Download complete 06:16:18 5f621e34cdf4: Verifying Checksum 06:16:18 5f621e34cdf4: Download complete 06:16:19 5f621e34cdf4: Pull complete 06:16:19 OK: 166 MiB in 39 packages 06:16:20 a4357932f1b6: Pull complete 06:16:20 Removing intermediate container 1e99961839fa 06:16:20 ---> bfb304bf3a79 06:16:20 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:16:20 ---> Running in 8d13ba4ffb96 06:16:20 18c013af1878: Pull complete 06:16:20 745a02a5169b: Verifying Checksum 06:16:20 745a02a5169b: Download complete 06:16:20 Removing intermediate container 8d13ba4ffb96 06:16:20 ---> 6088e6231cd9 06:16:20 Step 9/25 : COPY go.mod . 06:16:20 ---> 13bc86392838 06:16:20 Step 10/25 : COPY Makefile . 06:16:20 ---> 0f986f22f108 06:16:20 Step 11/25 : RUN make update 06:16:21 ---> Running in 7302fbc00257 06:16:21 CGO_ENABLED=0 GO111MODULE=on go mod download 06:16:22 Removing intermediate container 7302fbc00257 06:16:22 ---> 53b27bc2ca48 06:16:22 Step 12/25 : COPY . . 06:16:22 00ac8860ef70: Verifying Checksum 06:16:22 00ac8860ef70: Download complete 06:16:22 ---> 8cc42503565e 06:16:22 Step 13/25 : RUN $MAKE 06:16:22 ---> Running in 4a10197496ca 06:16:23 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 06:16:32 00ac8860ef70: Pull complete 06:16:32 63d7cb157983: Pull complete 06:16:32 b116817d02f9: Pull complete 06:16:35 Removing intermediate container 4a10197496ca 06:16:35 ---> d3f09e300491 06:16:35 Step 14/25 : FROM alpine:3.12 06:16:35 3.12: Pulling from library/alpine 06:16:35 801bfaa63ef2: Pulling fs layer 06:16:35 801bfaa63ef2: Verifying Checksum 06:16:35 801bfaa63ef2: Download complete 06:16:35 745a02a5169b: Pull complete 06:16:35 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:16:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:16:35 ---> b7e6874047d6 06:16:35 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:16:36 801bfaa63ef2: Pull complete 06:16:36 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:16:36 Status: Downloaded newer image for alpine:3.12 06:16:36 ---> 389fef711851 06:16:36 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:16:36 ---> Running in 030b0199a972 06:16:36 Removing intermediate container 030b0199a972 06:16:36 ---> e7a5992ce029 06:16:36 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 06:16:36 ---> Running in f7e9c6b92a21 06:16:36 Removing intermediate container f7e9c6b92a21 06:16:36 ---> 191fcb42d977 06:16:36 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:16:36 ---> d3d10926a92d 06:16:36 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 06:16:36 ---> 160f5bd9e2f5 06:16:36 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:16:37 ---> e726a16fe83e 06:16:37 Step 20/25 : EXPOSE 49986 06:16:37 ---> Running in 56ccd0ec2a71 06:16:37 Removing intermediate container 56ccd0ec2a71 06:16:37 ---> 8a4937a3a72a 06:16:37 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 06:16:37 ---> Running in d0858a2f2238 06:16:38 Removing intermediate container d0858a2f2238 06:16:38 ---> a943763c1319 06:16:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:16:38 ---> Running in 79b46b1b41a2 06:16:38 Removing intermediate container 79b46b1b41a2 06:16:38 ---> 3ecd8b181c68 06:16:38 Step 23/25 : LABEL arch=amd64 06:16:38 ---> Running in 88989bb5a91a 06:16:38 Removing intermediate container 88989bb5a91a 06:16:38 ---> 8ae4b927b7d5 06:16:38 Step 24/25 : LABEL git_sha=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 06:16:38 ---> Running in 146bc79d144d 06:16:38 Removing intermediate container 146bc79d144d 06:16:38 ---> 583292e689ef 06:16:38 Step 25/25 : LABEL version=0.0.0 06:16:38 ---> Running in b43c874df0db 06:16:38 Removing intermediate container b43c874df0db 06:16:38 ---> 4dced8273ca4 06:16:38 [Warning] One or more build-args [ARCH] were not consumed 06:16:38 Successfully built 4dced8273ca4 06:16:38 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 06:16:39 ---> Running in fabb23a1c2c9 06:16:39 Removing intermediate container fabb23a1c2c9 06:16:39 ---> 2b071f3b96c7 06:16:39 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:16:39 ---> Running in a6cebae2aa5d [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 06:16:39 Removing intermediate container a6cebae2aa5d 06:16:39 ---> ff4236088aab 06:16:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:16:39 ---> Running in 24832f4aa718 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:16:40 Removing intermediate container 24832f4aa718 06:16:40 ---> a7ca502a3378 06:16:40 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:40 ---> Running in 54fe2c711001 06:16:42 Removing intermediate container 54fe2c711001 06:16:42 ---> eb4811ef8379 06:16:42 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:42 ---> Running in f5752f80f4a8 06:16:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:16:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:16:45 OK: 142 MiB in 39 packages 06:16:46 Removing intermediate container f5752f80f4a8 06:16:46 ---> 2e8caab963ae 06:16:46 Step 8/10 : WORKDIR /device-rest-go 06:16:46 ---> Running in 3382c0da43a7 06:16:47 Removing intermediate container 3382c0da43a7 06:16:47 ---> 3baf90a8e989 06:16:47 Step 9/10 : COPY . . 06:16:48 ---> 2e02b6cd5bf3 06:16:48 Step 10/10 : RUN go mod download 06:16:48 ---> Running in 1ec970eb6cb9 06:17:10 Removing intermediate container 1ec970eb6cb9 06:17:10 ---> bc1b2370961c 06:17:10 Successfully built bc1b2370961c 06:17:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:17:10 + docker inspect -f . ci-base-image-arm64 06:17:10 . [Pipeline] withDockerContainer 06:17:11 prd-ubuntu18.04-docker-arm64-4c-16g-19413 does not seem to be running inside a container 06:17:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:17:12 $ docker top 6c9038a22eac7b941011eed9b2b47b9560fc62acfa0475b3520f32d4f000019a -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:13 + go version 06:17:13 go version go1.15.5 linux/arm64 [Pipeline] } 06:17:13 $ docker stop --time=1 6c9038a22eac7b941011eed9b2b47b9560fc62acfa0475b3520f32d4f000019a 06:17:15 $ docker rm -f 6c9038a22eac7b941011eed9b2b47b9560fc62acfa0475b3520f32d4f000019a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:17:16 + docker inspect -f . ci-base-image-arm64 06:17:16 . [Pipeline] withDockerContainer 06:17:17 prd-ubuntu18.04-docker-arm64-4c-16g-19413 does not seem to be running inside a container 06:17:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:17:18 $ docker top 180d54529dc709e8a2ec202df700a833cdadc5c754314a9e6ac27c64e263918e -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:19 + make test 06:17:19 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:17:20 ? github.com/edgexfoundry/device-rest-go [no test files] 06:17:53 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:17:55 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 56.3% of statements 06:17:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:18:04 gofmt -l . 06:18:04 [ "`gofmt -l .`" = "" ] 06:18:04 ./bin/test-go-mod-tidy.sh 06:18:04 ./bin/test-attribution-txt.sh [Pipeline] } 06:18:04 $ docker stop --time=1 180d54529dc709e8a2ec202df700a833cdadc5c754314a9e6ac27c64e263918e 06:18:06 $ docker rm -f 180d54529dc709e8a2ec202df700a833cdadc5c754314a9e6ac27c64e263918e [Pipeline] // withDockerContainer [Pipeline] sh 06:18:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:18:07 Warning: overwriting stash ‘coverage-report’ 06:18:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:18:10 + ls -al . 06:18:10 total 124 06:18:10 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:18 . 06:18:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:15 .. 06:18:10 -rw-rw-r-- 1 jenkins jenkins 151 Jan 11 06:15 .dockerignore 06:18:10 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:16 .git 06:18:10 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:15 .github 06:18:10 -rw-rw-r-- 1 jenkins jenkins 339 Jan 11 06:15 .gitignore 06:18:10 -rw-rw-r-- 1 jenkins jenkins 5294 Jan 11 06:15 Attribution.txt 06:18:10 -rw-rw-r-- 1 jenkins jenkins 1530 Jan 11 06:15 Dockerfile 06:18:10 -rw-rw-r-- 1 jenkins jenkins 1002 Jan 11 06:15 Dockerfile.build 06:18:10 -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 06:15 Jenkinsfile 06:18:10 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 06:15 LICENSE 06:18:10 -rw-rw-r-- 1 jenkins jenkins 951 Jan 11 06:15 Makefile 06:18:10 -rw-rw-r-- 1 jenkins jenkins 5917 Jan 11 06:15 README.md 06:18:10 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 06:10 VERSION 06:18:10 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:15 bin 06:18:10 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:15 cmd 06:18:10 -rw-r--r-- 1 jenkins jenkins 9369 Jan 11 06:17 coverage.out 06:18:10 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:17 driver 06:18:10 -rw-r--r-- 1 jenkins jenkins 267 Jan 11 06:18 go.mod 06:18:10 -rw-r--r-- 1 jenkins jenkins 13985 Jan 11 06:18 go.sum 06:18:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:15 snap 06:18:10 -rw-rw-r-- 1 jenkins jenkins 713 Jan 11 06:15 version.go [Pipeline] isUnix [Pipeline] sh 06:18:10 + 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=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 --label arch=arm64 --label version=0.0.0 . 06:18:10 Sending build context to Docker daemon 96.26kB 06:18:10 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 06:18:10 Step 2/25 : FROM ${BASE} AS builder 06:18:10 ---> bc1b2370961c 06:18:10 Step 3/25 : ARG MAKE='make build' 06:18:11 ---> Running in 3feb65865555 06:18:11 Removing intermediate container 3feb65865555 06:18:11 ---> 55039299281b 06:18:11 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 06:18:11 ---> Running in b2f44b5be046 06:18:12 Removing intermediate container b2f44b5be046 06:18:12 ---> d602efadc971 06:18:12 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:18:12 ---> Running in f3cfb3111f3b 06:18:13 Removing intermediate container f3cfb3111f3b 06:18:13 ---> b09ccb69a200 06:18:13 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:13 ---> Running in 80645045b3d6 06:18:15 Removing intermediate container 80645045b3d6 06:18:15 ---> 773a6128343d 06:18:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:18:15 ---> Running in 00971c7112be 06:18:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:18:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:18:19 OK: 142 MiB in 39 packages 06:18:20 Removing intermediate container 00971c7112be 06:18:20 ---> b159aa4a27f9 06:18:20 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:18:20 ---> Running in 7b30c6cb37aa 06:18:20 Removing intermediate container 7b30c6cb37aa 06:18:20 ---> 9853dcdd8880 06:18:20 Step 9/25 : COPY go.mod . 06:18:21 ---> 624932981114 06:18:21 Step 10/25 : COPY Makefile . 06:18:22 ---> 7eee642e5e53 06:18:22 Step 11/25 : RUN make update 06:18:22 ---> Running in 26d9305677cc 06:18:23 CGO_ENABLED=0 GO111MODULE=on go mod download 06:18:24 Removing intermediate container 26d9305677cc 06:18:24 ---> e2caebfa1fb7 06:18:24 Step 12/25 : COPY . . 06:18:25 ---> 68e7daff55ea 06:18:25 Step 13/25 : RUN $MAKE 06:18:25 ---> Running in 51c48ffbe3d1 06:18:26 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 06:18:53 Removing intermediate container 51c48ffbe3d1 06:18:53 ---> 69dcef61509f 06:18:53 Step 14/25 : FROM alpine:3.12 06:18:54 3.12: Pulling from library/alpine 06:18:54 159e5727ea61: Pulling fs layer 06:18:54 159e5727ea61: Verifying Checksum 06:18:54 159e5727ea61: Download complete 06:18:55 159e5727ea61: Pull complete 06:18:55 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:18:55 Status: Downloaded newer image for alpine:3.12 06:18:55 ---> afeebe901d6b 06:18:55 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:18:55 ---> Running in 476e3b3d813e 06:18:55 Removing intermediate container 476e3b3d813e 06:18:55 ---> 53f6284179ad 06:18:55 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 06:18:55 ---> Running in 353e2731e060 06:18:56 Removing intermediate container 353e2731e060 06:18:56 ---> d73b4fd4922a 06:18:56 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:18:56 ---> 44053bab89a8 06:18:56 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 06:18:57 ---> c8f79b55d920 06:18:57 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:18:58 ---> f8b2a4842e4c 06:18:58 Step 20/25 : EXPOSE 49986 06:18:58 ---> Running in c8d6e1f19162 06:18:59 Removing intermediate container c8d6e1f19162 06:18:59 ---> baeed039fb63 06:18:59 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 06:18:59 ---> Running in 1e38716f11b7 06:18:59 Removing intermediate container 1e38716f11b7 06:18:59 ---> b3c3173ff076 06:18:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:18:59 ---> Running in ac3629c6e885 06:19:00 Removing intermediate container ac3629c6e885 06:19:00 ---> 7138dd8f060c 06:19:00 Step 23/25 : LABEL arch=arm64 06:19:00 ---> Running in 5fb3c8b13e76 06:19:00 Removing intermediate container 5fb3c8b13e76 06:19:00 ---> d6e43ead3a64 06:19:00 Step 24/25 : LABEL git_sha=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 06:19:00 ---> Running in 160590ce91f4 06:19:01 Removing intermediate container 160590ce91f4 06:19:01 ---> 3c4f4e603fe7 06:19:01 Step 25/25 : LABEL version=0.0.0 06:19:01 ---> Running in 399af739ae2b 06:19:02 Removing intermediate container 399af739ae2b 06:19:02 ---> e3658b1bb314 06:19:02 [Warning] One or more build-args [ARCH] were not consumed 06:19:02 Successfully built e3658b1bb314 06:19:02 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 [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 06:19:04 provisioning config files... 06:19:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/config6942541019586608280tmp [Pipeline] { [Pipeline] sh 06:19:04 + set +x 06:19:04 + curl -s https://codecov.io/bash 06:19:04 + bash -s -- 06:19:04 06:19:04 _____ _ 06:19:04 / ____| | | 06:19:04 | | ___ __| | ___ ___ _____ __ 06:19:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:19:04 | |___| (_) | (_| | __/ (_| (_) \ V / 06:19:04 \_____\___/ \__,_|\___|\___\___/ \_/ 06:19:04 Bash-20201231-23d4836 06:19:04 06:19:04 06:19:04 ==> git version 2.24.3 found 06:19: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 06:19:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:19:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:19:04 ==> Jenkins CI detected. 06:19:04 project root: . 06:19:04 --> token set from env 06:19:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:19:04 ==> Running gcov in . (disable via -X gcov) 06:19:04 ==> Python coveragepy not found 06:19:04 ==> Searching for coverage reports in: 06:19:04 + . 06:19:04 -> Found 1 reports 06:19:04 ==> Detecting git/mercurial file structure 06:19:04 ==> Reading reports 06:19:04 + ./coverage.out bytes=9369 06:19:04 ==> Appending adjustments 06:19:04 https://docs.codecov.io/docs/fixing-reports 06:19:04 + Found adjustments 06:19:04 ==> Gzipping contents 06:19:04 4.0K /tmp/codecov.JZHyXh.gz 06:19:04 ==> Uploading reports 06:19:04 url: https://codecov.io 06:19:04 query: branch=PR-70&commit=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=70&job=&cmd_args= 06:19:04 -> Pinging Codecov 06:19:04 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-70&commit=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=70&job=&cmd_args= 06:19:05 -> Uploading to 06:19:05 https://storage.googleapis.com/codecov/v4/raw/2021-01-11/4E5D53B4F1F92C436F7061BF334D961C/d87d68ab5275aeb6cdfeb574ec2681332d42e3e3/b8684ffa-b76e-4e18-8406-ce048508880d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210111T061905Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d0e4fdf5b491f8d86f3875837cf9bb59e92c52941f3355aa8faceb2d2e727fe 06:19:05 % Total % Received % Xferd Average Speed Time Time Time Current 06:19:05 Dload Upload Total Spent Left Speed 06:19:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1737 0 0 100 1737 0 4564 --:--:-- --:--:-- --:--:-- 4559 100 1737 0 0 100 1737 0 4563 --:--:-- --:--:-- --:--:-- 4559 06:19:05 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [Pipeline] } 06:19: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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 06:19:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:19:15 ---> package-listing.sh 06:19:15 ++ facter osfamily 06:19:15 ++ tr '[:upper:]' '[:lower:]' 06:19:15 + OS_FAMILY=redhat 06:19:15 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-70 06:19:15 + START_PACKAGES=/tmp/packages_start.txt 06:19:15 + END_PACKAGES=/tmp/packages_end.txt 06:19:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:19:15 + PACKAGES=/tmp/packages_start.txt 06:19:15 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-70 ']' 06:19:15 + PACKAGES=/tmp/packages_end.txt 06:19:15 + case "${OS_FAMILY}" in 06:19:15 + rpm -qa 06:19:15 + sort 06:19:20 + '[' -f /tmp/packages_start.txt ']' 06:19:20 + '[' -f /tmp/packages_end.txt ']' 06:19:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:19:20 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-70 ']' 06:19:20 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-70/archives/ 06:19:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-70/archives/ [Pipeline] echo 06:19:20 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-70/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:19:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:19:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:19:21 06:19:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:19:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:19:22 alpine: Pulling from edgex-lftools-log-publisher 06:19:22 df20fa9351a1: Pulling fs layer 06:19:22 36b3adc4ff6f: Pulling fs layer 06:19:22 8ad3a11d3b57: Pulling fs layer 06:19:22 46f8f816bc3b: Pulling fs layer 06:19:22 93b61091891f: Pulling fs layer 06:19:22 93b9cdb0e59b: Pulling fs layer 06:19:22 5e14af77c1be: Pulling fs layer 06:19:22 01666e4c0597: Pulling fs layer 06:19:22 aa168da1d23b: Pulling fs layer 06:19:22 93b9cdb0e59b: Waiting 06:19:22 5e14af77c1be: Waiting 06:19:22 01666e4c0597: Waiting 06:19:22 93b61091891f: Waiting 06:19:22 aa168da1d23b: Waiting 06:19:22 36b3adc4ff6f: Verifying Checksum 06:19:22 36b3adc4ff6f: Download complete 06:19:22 46f8f816bc3b: Verifying Checksum 06:19:22 46f8f816bc3b: Download complete 06:19:22 df20fa9351a1: Verifying Checksum 06:19:22 df20fa9351a1: Download complete 06:19:22 93b9cdb0e59b: Verifying Checksum 06:19:22 93b9cdb0e59b: Download complete 06:19:22 93b61091891f: Download complete 06:19:22 5e14af77c1be: Verifying Checksum 06:19:22 5e14af77c1be: Download complete 06:19:22 01666e4c0597: Verifying Checksum 06:19:22 01666e4c0597: Download complete 06:19:22 8ad3a11d3b57: Verifying Checksum 06:19:22 8ad3a11d3b57: Download complete 06:19:22 df20fa9351a1: Pull complete 06:19:22 36b3adc4ff6f: Pull complete 06:19:23 8ad3a11d3b57: Pull complete 06:19:24 46f8f816bc3b: Pull complete 06:19:24 93b61091891f: Pull complete 06:19:24 93b9cdb0e59b: Pull complete 06:19:24 5e14af77c1be: Pull complete 06:19:24 aa168da1d23b: Verifying Checksum 06:19:24 aa168da1d23b: Download complete 06:19:25 01666e4c0597: Pull complete 06:19:33 aa168da1d23b: Pull complete 06:19:33 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:19:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:19:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:19:33 prd-centos7-docker-4c-2g-19383 does not seem to be running inside a container 06:19:34 $ 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-70/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-70 -v /w/workspace/dgexfoundry_device-rest-go_PR-70:/w/workspace/dgexfoundry_device-rest-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-70@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:19:36 $ docker top eb4bfd7c6f5efb726b0236f98fc0168d8ebc821c746c6dbd1782c37d4792aa4b -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:37 + touch /tmp/pre-build-complete [Pipeline] sh 06:19:37 + mkdir -p /var/log/sa [Pipeline] sh 06:19:38 + ls /var/log/sa-host 06:19:38 + sadf -c /var/log/sa-host/sa11 06:19:38 file_magic: OK 06:19:38 HZ: Using current value: 100 06:19:38 file_header: OK 06:19:38 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 06:19:38 Statistics: 06:19:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:19:38 File successfully converted to sysstat format version 12.2.1 06:19:38 + sadf -c /var/log/sa-host/sa23 06:19:38 file_magic: OK 06:19:38 HZ: Using current value: 100 06:19:38 file_header: OK 06:19:38 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 06:19:38 Statistics: 06:19:38 Hnuu...uuuununununu... 06:19:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:19:38 provisioning config files... 06:19:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/config1171273890616936242tmp [Pipeline] { [Pipeline] echo 06:19:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:19:38 ---> create-netrc.sh [Pipeline] } 06:19:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:19:39 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:19:39 ---> python-tools-install.sh [Pipeline] echo 06:19:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:19:39 ---> sudo-logs.sh 06:19:39 Archiving 'sudo' log.. [Pipeline] echo 06:19:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:19:40 ---> job-cost.sh 06:19:40 lf-activate-venv: SKIPPING 06:19:40 INFO: No Stack... 06:19:41 INFO: Retrieving Pricing Info for: v1-standard-2 06:19:41 INFO: Archiving Costs [Pipeline] echo 06:19:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:19:42 ---> logs-deploy.sh 06:19:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-70/1 06:19:42 INFO: archiving workspace using pattern(s): 06:19:44 Archives upload complete. 06:19:44 INFO: archiving logs to Nexus