Pull request #52 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8650f839dc6b7c0f5ca8d440be690145d9dd542b+cf586b04128a22612e4c07fc62a16321cfe56fab (2ca51888a836781943c30fb5564db5143b042116) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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-52/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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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-52/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 f3f382fce060f16c10d6f597981912fab355381a 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-8790’ is offline; ‘prd-centos7-docker-4c-2g-8791’ is offline; ‘prd-centos7-docker-4c-2g-8802’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8806 in /w/workspace/dgexfoundry_device-rest-go_PR-52 [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-52 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/52/head:refs/remotes/origin/PR-52 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cf586b04128a22612e4c07fc62a16321cfe56fab into PR head commit 8650f839dc6b7c0f5ca8d440be690145d9dd542b Merge succeeded, producing 8650f839dc6b7c0f5ca8d440be690145d9dd542b Checking out Revision 8650f839dc6b7c0f5ca8d440be690145d9dd542b (PR-52) > git config core.sparsecheckout # timeout=10 > git checkout -f 8650f839dc6b7c0f5ca8d440be690145d9dd542b # 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 cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8650f839dc6b7c0f5ca8d440be690145d9dd542b # 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.16.5' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:30:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:30:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:30:43 ========================================================= 06:30:43 EdgeX Global Pipelines Version Info 06:30:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:30:44 ------------------- 06:30:44 stable info: 06:30:44 ------------------- 06:30:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:30:44 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 06:30:44 Message: update stable to v1.0.148 06:30:45 ------------------- 06:30:45 experimental info: 06:30:45 ------------------- 06:30:45 Commited By: **** collab-it+edgex@linuxfoundation.org 06:30:45 Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc 06:30:45 Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:30:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:30:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:30:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:30:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:30:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:30:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:30:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:30:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:30:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:30:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:30:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:30:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 06:30:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:30:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:30:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:30:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:30:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:30:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:30:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:30:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:30:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:30:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:30:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:30:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:30:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:30:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-52 [Pipeline] echo 06:30:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-52 [Pipeline] echo 06:30:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-52 [Pipeline] echo 06:30:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8650f839dc6b7c0f5ca8d440be690145d9dd542b [Pipeline] echo 06:30:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8650f83 [Pipeline] echo 06:30:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:50 + git log --format=format:%s -1 8650f839dc6b7c0f5ca8d440be690145d9dd542b [Pipeline] echo 06:30:51 GIT_COMMIT: 8650f839dc6b7c0f5ca8d440be690145d9dd542b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo 06:30:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:30:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:30:51 06:30:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:30:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:30:52 latest: Pulling from edgex-devops/git-semver 06:30:52 31603596830f: Pulling fs layer 06:30:52 2a8b12db71e7: Pulling fs layer 06:30:52 6ca5941a6612: Pulling fs layer 06:30:52 ecc8261a40a4: Pulling fs layer 06:30:52 ecc8261a40a4: Waiting 06:30:52 2a8b12db71e7: Verifying Checksum 06:30:52 2a8b12db71e7: Download complete 06:30:52 31603596830f: Verifying Checksum 06:30:52 31603596830f: Download complete 06:30:52 ecc8261a40a4: Verifying Checksum 06:30:52 ecc8261a40a4: Download complete 06:30:52 6ca5941a6612: Verifying Checksum 06:30:52 6ca5941a6612: Download complete 06:30:52 31603596830f: Pull complete 06:30:52 2a8b12db71e7: Pull complete 06:30:53 6ca5941a6612: Pull complete 06:30:53 ecc8261a40a4: Pull complete 06:30:53 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:30:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:30:53 prd-centos7-docker-4c-2g-8806 does not seem to be running inside a container 06:30:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-52 -v /w/workspace/dgexfoundry_device-rest-go_PR-52:/w/workspace/dgexfoundry_device-rest-go_PR-52:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-52@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:30:56 $ docker top 017f947214ad88e07c724ea597b7ff9a5b89dbe12ce706a6cb4466d45248f2e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:30:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:30:56 [ssh-agent] Looking for ssh-agent implementation... 06:30:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:30:56 $ docker exec 017f947214ad88e07c724ea597b7ff9a5b89dbe12ce706a6cb4466d45248f2e5 ssh-agent 06:30:56 SSH_AUTH_SOCK=/tmp/ssh-uS3ru4Lrw4rL/agent.13 06:30:56 SSH_AGENT_PID=18 06:30:56 Running ssh-add (command line suppressed) 06:30:57 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-52@tmp/private_key_6467681853133003262.key (/w/workspace/dgexfoundry_device-rest-go_PR-52@tmp/private_key_6467681853133003262.key) 06:30:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:30:57 + git tag --points-at HEAD [Pipeline] } 06:30:57 $ docker exec --env ******** --env ******** 017f947214ad88e07c724ea597b7ff9a5b89dbe12ce706a6cb4466d45248f2e5 ssh-agent -k 06:30:57 unset SSH_AUTH_SOCK; 06:30:57 unset SSH_AGENT_PID; 06:30:57 echo Agent pid 18 killed; 06:30:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:30:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:30:57 [ssh-agent] Looking for ssh-agent implementation... 06:30:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:30:57 $ docker exec 017f947214ad88e07c724ea597b7ff9a5b89dbe12ce706a6cb4466d45248f2e5 ssh-agent 06:30:58 SSH_AUTH_SOCK=/tmp/ssh-XRzCRPo5ysl5/agent.46 06:30:58 SSH_AGENT_PID=52 06:30:58 Running ssh-add (command line suppressed) 06:30:58 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-52@tmp/private_key_7583010787356089707.key (/w/workspace/dgexfoundry_device-rest-go_PR-52@tmp/private_key_7583010787356089707.key) 06:30:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:30:58 + git semver init 06:30:58 # -> Open(): unable to determine branch for HEAD 06:30:58 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-52/.git 06:30:58 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-52 06:30:58 # $SEMVER_REMOTE_NAME = origin 06:30:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:30:58 # $SEMVER_USER_NAME = edgex-jenkins 06:30:58 # $SEMVER_BRANCH = PR-52 06:30:58 # $SEMVER_TEMP = /tmp/semver-523440596 06:30:58 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:31:03 # '/tmp/semver-523440596' -> '/w/workspace/dgexfoundry_device-rest-go_PR-52/.semver' 06:31:03 # -> Force: false 06:31:03 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-52/.semver [Pipeline] } 06:31:04 $ docker exec --env ******** --env ******** 017f947214ad88e07c724ea597b7ff9a5b89dbe12ce706a6cb4466d45248f2e5 ssh-agent -k 06:31:04 unset SSH_AUTH_SOCK; 06:31:04 unset SSH_AGENT_PID; 06:31:04 echo Agent pid 52 killed; 06:31:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:31:04 + git semver [Pipeline] } 06:31:04 $ docker stop --time=1 017f947214ad88e07c724ea597b7ff9a5b89dbe12ce706a6cb4466d45248f2e5 06:31:06 $ docker rm -f 017f947214ad88e07c724ea597b7ff9a5b89dbe12ce706a6cb4466d45248f2e5 [Pipeline] // withDockerContainer [Pipeline] sh 06:31:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:31:07 Stashed 1 file(s) [Pipeline] echo 06:31:07 [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:31:23 Still waiting to schedule task 06:31:23 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:31:23 Still waiting to schedule task 06:31:23 ‘prd-centos7-docker-4c-2g-3642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-8790’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-8791’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-8798’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-8801’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-8802’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-8804’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8799’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8807’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8808’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8809’ is offline 06:31:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8809 in /w/workspace/dgexfoundry_device-rest-go_PR-52 [Pipeline] { [Pipeline] ws 06:31:54 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:32:00 using credential edgex-jenkins-ssh 06:32:00 Cloning the remote Git repository 06:32:00 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:32:00 > git init /w/workspace/device-rest-go/1 # timeout=10 06:32:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:32:00 > git --version # timeout=10 06:32:00 > git --version # 'git version 2.17.1' 06:32:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:02 Merging remotes/origin/master commit cf586b04128a22612e4c07fc62a16321cfe56fab into PR head commit 8650f839dc6b7c0f5ca8d440be690145d9dd542b 06:32:03 Merge succeeded, producing 8650f839dc6b7c0f5ca8d440be690145d9dd542b 06:32:03 Checking out Revision 8650f839dc6b7c0f5ca8d440be690145d9dd542b (PR-52) 06:32:02 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:32:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:02 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:32:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:32:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/52/head:refs/remotes/origin/PR-52 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:32:02 > git config core.sparsecheckout # timeout=10 06:32:02 > git checkout -f 8650f839dc6b7c0f5ca8d440be690145d9dd542b # timeout=10 06:32:02 > git remote # timeout=10 06:32:02 > git config --get remote.origin.url # timeout=10 06:32:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:02 > git merge cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 06:32:03 > git rev-parse HEAD^{commit} # timeout=10 06:32:03 > git config core.sparsecheckout # timeout=10 06:32:03 > git checkout -f 8650f839dc6b7c0f5ca8d440be690145d9dd542b # timeout=10 06:32:07 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 06:32:07 > git --version # timeout=10 06:32:07 > git --version # 'git version 2.17.1' 06:32:07 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:32:08 ========================================================= 06:32:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:32:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:32:09 + 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:32:10 Sending build context to Docker daemon 78.85kB 06:32:10 Step 1/10 : ARG BASE=golang:1.15-alpine 06:32:10 Step 2/10 : FROM ${BASE} 06:32:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:32:10 b538f80385f9: Pulling fs layer 06:32:10 74f711af9a0d: Pulling fs layer 06:32:10 99f96fe45779: Pulling fs layer 06:32:10 8529a6b9a6be: Pulling fs layer 06:32:10 45590311c82a: Pulling fs layer 06:32:10 69ca0ff8b7b3: Pulling fs layer 06:32:10 209524e5b208: Pulling fs layer 06:32:10 8529a6b9a6be: Waiting 06:32:10 45590311c82a: Waiting 06:32:10 69ca0ff8b7b3: Waiting 06:32:10 209524e5b208: Waiting 06:32:10 99f96fe45779: Verifying Checksum 06:32:10 99f96fe45779: Download complete 06:32:10 74f711af9a0d: Download complete 06:32:10 45590311c82a: Verifying Checksum 06:32:10 45590311c82a: Download complete 06:32:10 69ca0ff8b7b3: Verifying Checksum 06:32:10 69ca0ff8b7b3: Download complete 06:32:10 b538f80385f9: Verifying Checksum 06:32:10 b538f80385f9: Download complete 06:32:11 b538f80385f9: Pull complete 06:32:12 74f711af9a0d: Pull complete 06:32:12 99f96fe45779: Pull complete 06:32:12 209524e5b208: Download complete 06:32:14 8529a6b9a6be: Verifying Checksum 06:32:14 8529a6b9a6be: Download complete 06:32:24 8529a6b9a6be: Pull complete 06:32:24 45590311c82a: Pull complete 06:32:25 69ca0ff8b7b3: Pull complete 06:32:28 209524e5b208: Pull complete 06:32:28 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:32:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:32:28 ---> 5bddaf1c2fca 06:32:28 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:32:31 ---> Running in b234d4b06aec 06:32:32 Removing intermediate container b234d4b06aec 06:32:32 ---> fc938126f043 06:32:32 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:32:32 ---> Running in d25e8ee16ba2 06:32:32 Removing intermediate container d25e8ee16ba2 06:32:32 ---> 88e7c8a1697f 06:32:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:32:32 ---> Running in aac0e7b48cfd 06:32:32 Removing intermediate container aac0e7b48cfd 06:32:32 ---> f9e82843434d 06:32:32 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:32:33 ---> Running in 9598aca51c53 06:32:35 Removing intermediate container 9598aca51c53 06:32:35 ---> 6c4f8469578b 06:32:35 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:32:35 ---> Running in 1e437276da60 06:32:36 Running on prd-centos7-docker-4c-2g-8810 in /w/workspace/dgexfoundry_device-rest-go_PR-52 [Pipeline] { [Pipeline] ws 06:32:36 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:32:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:32:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:32:40 OK: 142 MiB in 39 packages 06:32:41 using credential edgex-jenkins-ssh 06:32:41 Cloning the remote Git repository 06:32:41 Removing intermediate container 1e437276da60 06:32:41 ---> 61ab1ffd99e5 06:32:41 Step 8/10 : WORKDIR /device-rest-go 06:32:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:32:41 > git init /w/workspace/device-rest-go/1 # timeout=10 06:32:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:32:41 > git --version # timeout=10 06:32:41 > git --version # 'git version 2.16.5' 06:32:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:41 ---> Running in 4220348be958 06:32:42 Removing intermediate container 4220348be958 06:32:42 ---> 8769b50093dc 06:32:42 Step 9/10 : COPY . . 06:32:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:32:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:32:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:32:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/52/head:refs/remotes/origin/PR-52 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:32:43 ---> b640c27d31a0 06:32:43 Step 10/10 : RUN go mod download 06:32:43 ---> Running in 2079f3b45963 06:32:43 Merging remotes/origin/master commit cf586b04128a22612e4c07fc62a16321cfe56fab into PR head commit 8650f839dc6b7c0f5ca8d440be690145d9dd542b 06:32:43 Merge succeeded, producing 8650f839dc6b7c0f5ca8d440be690145d9dd542b 06:32:43 Checking out Revision 8650f839dc6b7c0f5ca8d440be690145d9dd542b (PR-52) 06:32:43 > git config core.sparsecheckout # timeout=10 06:32:43 > git checkout -f 8650f839dc6b7c0f5ca8d440be690145d9dd542b # timeout=10 06:32:43 > git remote # timeout=10 06:32:43 > git config --get remote.origin.url # timeout=10 06:32:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:43 > git merge cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 06:32:43 > git rev-parse HEAD^{commit} # timeout=10 06:32:43 > git config core.sparsecheckout # timeout=10 06:32:43 > git checkout -f 8650f839dc6b7c0f5ca8d440be690145d9dd542b # timeout=10 06:32:47 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 06:32:47 > git --version # timeout=10 06:32:47 > git --version # 'git version 2.16.5' 06:32:47 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:32:48 ========================================================= 06:32:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:32:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:32:48 + 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:32:48 Sending build context to Docker daemon 78.85kB 06:32:49 Step 1/10 : ARG BASE=golang:1.15-alpine 06:32:49 Step 2/10 : FROM ${BASE} 06:32:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:32:49 df20fa9351a1: Pulling fs layer 06:32:49 ed8968b2872e: Pulling fs layer 06:32:49 a92cc7c5fd73: Pulling fs layer 06:32:49 e871e8e8d7a9: Pulling fs layer 06:32:49 e73272ec9a57: Pulling fs layer 06:32:49 1e910a182e73: Pulling fs layer 06:32:49 4e634b169226: Pulling fs layer 06:32:49 e73272ec9a57: Waiting 06:32:49 1e910a182e73: Waiting 06:32:49 4e634b169226: Waiting 06:32:49 e871e8e8d7a9: Waiting 06:32:49 a92cc7c5fd73: Verifying Checksum 06:32:49 a92cc7c5fd73: Download complete 06:32:49 ed8968b2872e: Verifying Checksum 06:32:49 ed8968b2872e: Download complete 06:32:49 e73272ec9a57: Verifying Checksum 06:32:49 e73272ec9a57: Download complete 06:32:49 1e910a182e73: Verifying Checksum 06:32:49 1e910a182e73: Download complete 06:32:49 df20fa9351a1: Verifying Checksum 06:32:49 df20fa9351a1: Download complete 06:32:49 df20fa9351a1: Pull complete 06:32:49 ed8968b2872e: Pull complete 06:32:50 a92cc7c5fd73: Pull complete 06:32:53 4e634b169226: Verifying Checksum 06:32:53 4e634b169226: Download complete 06:32:54 e871e8e8d7a9: Verifying Checksum 06:32:54 e871e8e8d7a9: Download complete 06:33:01 e871e8e8d7a9: Pull complete 06:33:01 e73272ec9a57: Pull complete 06:33:01 1e910a182e73: Pull complete 06:33:05 Removing intermediate container 2079f3b45963 06:33:05 ---> 401f7500af0b 06:33:05 Successfully built 401f7500af0b 06:33:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:33:05 + docker inspect -f . ci-base-image-arm64 06:33:05 . [Pipeline] withDockerContainer 06:33:06 prd-ubuntu18.04-docker-arm64-4c-16g-8809 does not seem to be running inside a container 06:33:06 $ 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 ******** ci-base-image-arm64 cat 06:33:06 4e634b169226: Pull complete 06:33:06 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:33:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:33:06 ---> f7629b54cfaa 06:33:06 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:33:06 ---> Running in ba3e5a00b43c 06:33:06 Removing intermediate container ba3e5a00b43c 06:33:06 ---> c269d6e5b6cf 06:33:06 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:33:06 ---> Running in cf50715c41ab 06:33:06 Removing intermediate container cf50715c41ab 06:33:06 ---> 6295101a1d0b 06:33:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:33:06 ---> Running in f74fea010acf 06:33:06 Removing intermediate container f74fea010acf 06:33:06 ---> 91e876a3d45e 06:33:06 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:06 ---> Running in 9729f5cfe07f 06:33:07 Removing intermediate container 9729f5cfe07f 06:33:07 ---> d93d81548441 06:33:07 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:33:08 $ docker top f61ee2b146d0654b8b6b2b5e5b4c6c024b7a3aa4d15610bfce5e528e70f0af2f -eo pid,comm 06:33:08 ---> Running in 49e1744dc35a [Pipeline] { [Pipeline] sh 06:33:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:33:09 + go version 06:33:09 go version go1.15.2 linux/arm64 [Pipeline] } 06:33:09 $ docker stop --time=1 f61ee2b146d0654b8b6b2b5e5b4c6c024b7a3aa4d15610bfce5e528e70f0af2f 06:33:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:33:11 $ docker rm -f f61ee2b146d0654b8b6b2b5e5b4c6c024b7a3aa4d15610bfce5e528e70f0af2f 06:33:11 OK: 166 MiB in 39 packages 06:33:11 Removing intermediate container 49e1744dc35a 06:33:11 ---> e682583dadff 06:33:11 Step 8/10 : WORKDIR /device-rest-go 06:33:11 ---> Running in a131936019d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 06:33:12 Removing intermediate container a131936019d8 06:33:12 ---> b36be40341d8 06:33:12 Step 9/10 : COPY . . [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script 06:33:12 ---> 8333a3175558 06:33:12 Step 10/10 : RUN go mod download 06:33:12 ---> Running in 9dc89c7a3df7 [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:33:12 + docker inspect -f . ci-base-image-arm64 06:33:12 . [Pipeline] withDockerContainer 06:33:13 prd-ubuntu18.04-docker-arm64-4c-16g-8809 does not seem to be running inside a container 06:33:13 $ 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 ******** ci-base-image-arm64 cat 06:33:14 $ docker top be5183a08eb2c6d2ab2dede45a4a28bfad923e0f4f20e101360af3b9c7ea358f -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:16 + make test 06:33:16 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:33:17 ? github.com/edgexfoundry/device-rest-go [no test files] 06:33:34 Removing intermediate container 9dc89c7a3df7 06:33:34 ---> efecec079029 06:33:34 Successfully built efecec079029 06:33:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:33:34 + docker inspect -f . ci-base-image-x86_64 06:33:34 . [Pipeline] withDockerContainer 06:33:35 prd-centos7-docker-4c-2g-8810 does not seem to be running inside a container 06:33:35 $ 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 ******** ci-base-image-x86_64 cat 06:33:36 $ docker top f9ce790e169c6888a26f533a036f8361ce386b9b0906ef16587f3d028da5d6c3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:36 + go version 06:33:36 go version go1.15.2 linux/amd64 [Pipeline] } 06:33:36 $ docker stop --time=1 f9ce790e169c6888a26f533a036f8361ce386b9b0906ef16587f3d028da5d6c3 06:33:38 $ docker rm -f f9ce790e169c6888a26f533a036f8361ce386b9b0906ef16587f3d028da5d6c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:33:39 + docker inspect -f . ci-base-image-x86_64 06:33:39 . [Pipeline] withDockerContainer 06:33:39 prd-centos7-docker-4c-2g-8810 does not seem to be running inside a container 06:33: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 ******** ci-base-image-x86_64 cat 06:33:40 $ docker top 347690337c980df634350fa23ea1bc9ccfcbcd1eded544001f7b168f88c273a9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:40 + make test 06:33:40 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:33:41 ? github.com/edgexfoundry/device-rest-go [no test files] 06:33:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:33:50 ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 56.3% of statements 06:33:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:33:53 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:33:53 ok github.com/edgexfoundry/device-rest-go/driver 0.022s coverage: 56.3% of statements 06:33:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:33:54 gofmt -l . 06:33:54 [ "`gofmt -l .`" = "" ] 06:33:54 ./bin/test-go-mod-tidy.sh 06:33:55 ./bin/test-attribution-txt.sh 06:33:55 An attribution for bitbucket.org/bertimus9/systemstat is missing from in Attribution.txt, please add 06:33:55 An attribution for github.com/go-playground/locales is missing from in Attribution.txt, please add 06:33:55 An attribution for github.com/go-playground/universal-translator is missing from in Attribution.txt, please add 06:33:55 An attribution for github.com/go-playground/validator/v10 is missing from in Attribution.txt, please add 06:33:55 An attribution for github.com/leodido/go-urn is missing from in Attribution.txt, please add 06:33:55 make: *** [Makefile:28: test] Error 1 [Pipeline] } 06:33:55 $ docker stop --time=1 347690337c980df634350fa23ea1bc9ccfcbcd1eded544001f7b168f88c273a9 06:33:57 $ docker rm -f 347690337c980df634350fa23ea1bc9ccfcbcd1eded544001f7b168f88c273a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage 06:33:58 gofmt -l . 06:33:58 [ "`gofmt -l .`" = "" ] 06:33:58 ./bin/test-go-mod-tidy.sh 06:33:58 ./bin/test-attribution-txt.sh 06:33:58 An attribution for bitbucket.org/bertimus9/systemstat is missing from in Attribution.txt, please add 06:33:58 An attribution for github.com/go-playground/locales is missing from in Attribution.txt, please add 06:33:58 An attribution for github.com/go-playground/universal-translator is missing from in Attribution.txt, please add 06:33:58 An attribution for github.com/go-playground/validator/v10 is missing from in Attribution.txt, please add 06:33:58 An attribution for github.com/leodido/go-urn is missing from in Attribution.txt, please add 06:33:58 make: *** [Makefile:28: test] Error 1 [Pipeline] } 06:33:59 $ docker stop --time=1 be5183a08eb2c6d2ab2dede45a4a28bfad923e0f4f20e101360af3b9c7ea358f 06:34:01 $ docker rm -f be5183a08eb2c6d2ab2dede45a4a28bfad923e0f4f20e101360af3b9c7ea358f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] } [Pipeline] // script [Pipeline] } Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Snap) Stage "Build" skipped due to earlier failure(s) [Pipeline] } Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] // withEnv [Pipeline] } Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // stage [Pipeline] // node [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // stage [Pipeline] } 06:34:03 Failed in branch amd64 Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:34:05 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:34:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:34:09 ---> package-listing.sh 06:34:09 ++ facter osfamily 06:34:09 ++ tr '[:upper:]' '[:lower:]' 06:34:09 + OS_FAMILY=redhat 06:34:09 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-52 06:34:09 + START_PACKAGES=/tmp/packages_start.txt 06:34:09 + END_PACKAGES=/tmp/packages_end.txt 06:34:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:34:09 + PACKAGES=/tmp/packages_start.txt 06:34:09 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-52 ']' 06:34:09 + PACKAGES=/tmp/packages_end.txt 06:34:09 + case "${OS_FAMILY}" in 06:34:09 + rpm -qa 06:34:09 + sort 06:34:15 + '[' -f /tmp/packages_start.txt ']' 06:34:15 + '[' -f /tmp/packages_end.txt ']' 06:34:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:34:15 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-52 ']' 06:34:15 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-52/archives/ 06:34:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-52/archives/ [Pipeline] echo 06:34:15 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-52/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:34:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:34:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:15 06:34:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:34:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:16 alpine: Pulling from edgex-lftools-log-publisher 06:34:16 df20fa9351a1: Pulling fs layer 06:34:16 36b3adc4ff6f: Pulling fs layer 06:34:16 8ad3a11d3b57: Pulling fs layer 06:34:16 46f8f816bc3b: Pulling fs layer 06:34:16 93b61091891f: Pulling fs layer 06:34:16 93b9cdb0e59b: Pulling fs layer 06:34:16 5e14af77c1be: Pulling fs layer 06:34:16 01666e4c0597: Pulling fs layer 06:34:16 aa168da1d23b: Pulling fs layer 06:34:16 46f8f816bc3b: Waiting 06:34:16 93b61091891f: Waiting 06:34:16 93b9cdb0e59b: Waiting 06:34:16 5e14af77c1be: Waiting 06:34:16 01666e4c0597: Waiting 06:34:16 aa168da1d23b: Waiting 06:34:16 36b3adc4ff6f: Verifying Checksum 06:34:16 36b3adc4ff6f: Download complete 06:34:16 46f8f816bc3b: Verifying Checksum 06:34:16 46f8f816bc3b: Download complete 06:34:16 df20fa9351a1: Download complete 06:34:16 93b9cdb0e59b: Verifying Checksum 06:34:16 93b9cdb0e59b: Download complete 06:34:16 5e14af77c1be: Verifying Checksum 06:34:16 5e14af77c1be: Download complete 06:34:16 93b61091891f: Verifying Checksum 06:34:16 93b61091891f: Download complete 06:34:16 01666e4c0597: Verifying Checksum 06:34:16 01666e4c0597: Download complete 06:34:16 8ad3a11d3b57: Verifying Checksum 06:34:16 8ad3a11d3b57: Download complete 06:34:16 df20fa9351a1: Pull complete 06:34:16 36b3adc4ff6f: Pull complete 06:34:17 8ad3a11d3b57: Pull complete 06:34:17 46f8f816bc3b: Pull complete 06:34:18 93b61091891f: Pull complete 06:34:18 93b9cdb0e59b: Pull complete 06:34:18 5e14af77c1be: Pull complete 06:34:18 01666e4c0597: Pull complete 06:34:18 aa168da1d23b: Verifying Checksum 06:34:18 aa168da1d23b: Download complete 06:34:24 aa168da1d23b: Pull complete 06:34:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:34:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:34:24 prd-centos7-docker-4c-2g-8806 does not seem to be running inside a container 06:34:24 $ 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-52/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-52 -v /w/workspace/dgexfoundry_device-rest-go_PR-52:/w/workspace/dgexfoundry_device-rest-go_PR-52:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-52@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:34:32 $ docker top 58756f11abfc4b03513f4645dea5bc6afc934109bd11e97406a7d369436b5595 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:32 + touch /tmp/pre-build-complete [Pipeline] sh 06:34:33 + mkdir -p /var/log/sa [Pipeline] sh 06:34:33 + ls /var/log/sa-host 06:34:33 + sadf -c /var/log/sa-host/sa05 06:34:33 file_magic: OK 06:34:33 HZ: Using current value: 100 06:34:33 file_header: OK 06:34:33 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:34:33 Statistics: 06:34:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:34:33 File successfully converted to sysstat format version 12.2.1 06:34:33 + sadf -c /var/log/sa-host/sa26 06:34:33 file_magic: OK 06:34:33 HZ: Using current value: 100 06:34:33 file_header: OK 06:34:33 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:34:33 Statistics: 06:34:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:34:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:33 provisioning config files... 06:34:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-52@tmp/config1016043219778136448tmp [Pipeline] { [Pipeline] echo 06:34:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:34:34 ---> create-netrc.sh [Pipeline] } 06:34:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:34:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:34:34 ---> python-tools-install.sh [Pipeline] echo 06:34:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:34:35 ---> sudo-logs.sh 06:34:35 Archiving 'sudo' log.. [Pipeline] echo 06:34:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:34:35 ---> job-cost.sh 06:34:35 lf-activate-venv: SKIPPING 06:34:35 INFO: No Stack... 06:34:36 INFO: Retrieving Pricing Info for: v1-standard-2 06:34:36 INFO: Archiving Costs [Pipeline] echo 06:34:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:34:37 ---> logs-deploy.sh 06:34:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-52/1 06:34:37 INFO: archiving workspace using pattern(s): 06:34:39 Archives upload complete. 06:34:39 INFO: archiving logs to Nexus