Pull request #604 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060+c9ed7d50ea1ae9051570182c8cb685d3221d57d1 (c4a1b5d4ccfba3b5d5d242a3711d0cfe79c86fa8) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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/app-functions-sdk-go/branches/PR-604/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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/app-functions-sdk-go/branches/PR-604/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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: app-functions-sdk-go-settings PROJECT: app-functions-sdk-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-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16180 in /w/workspace/ndry_app-functions-sdk-go_PR-604 [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/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-604 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-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/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-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/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/604/head:refs/remotes/origin/PR-604 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 # timeout=10 Merge succeeded, producing 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 Checking out Revision 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 (PR-604) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 # timeout=10 Commit message: "refactor: Refactor to use new SecretProvider fro go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:20:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:20:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:20:58 ========================================================= 23:20:58 EdgeX Global Pipelines Version Info 23:20:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:20:59 ------------------- 23:20:59 stable info: 23:20:59 ------------------- 23:20:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:20:59 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 23:20:59 Message: update stable to v1.0.172 23:21:00 ------------------- 23:21:00 experimental info: 23:21:00 ------------------- 23:21:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:21:00 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 23:21:00 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:21:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:21:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:21:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:21:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:21:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:21:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:21:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:21:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 23:21:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:21:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:21:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:21:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:21:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:21:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:21:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:21:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:21:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:21:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:21:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:21:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:21:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:21:04 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:21:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-604 [Pipeline] echo 23:21:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-604 [Pipeline] echo 23:21:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-604 [Pipeline] echo 23:21:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 [Pipeline] echo 23:21:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6478db5 [Pipeline] echo 23:21:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:21:06 + git log --format=format:%s -1 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 [Pipeline] echo 23:21:06 GIT_COMMIT: 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060, Commit Message: refactor: Refactor to use new SecretProvider fro go-mod-bootstrap [Pipeline] echo 23:21:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:21:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:08 23:21:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:21:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:08 latest: Pulling from edgex-devops/git-semver 23:21:08 31603596830f: Pulling fs layer 23:21:08 2a8b12db71e7: Pulling fs layer 23:21:08 6ca5941a6612: Pulling fs layer 23:21:08 ecc8261a40a4: Pulling fs layer 23:21:08 ecc8261a40a4: Waiting 23:21:08 2a8b12db71e7: Verifying Checksum 23:21:08 2a8b12db71e7: Download complete 23:21:09 31603596830f: Verifying Checksum 23:21:09 31603596830f: Download complete 23:21:09 6ca5941a6612: Verifying Checksum 23:21:09 6ca5941a6612: Download complete 23:21:09 ecc8261a40a4: Verifying Checksum 23:21:09 ecc8261a40a4: Download complete 23:21:09 31603596830f: Pull complete 23:21:09 2a8b12db71e7: Pull complete 23:21:10 6ca5941a6612: Pull complete 23:21:10 ecc8261a40a4: Pull complete 23:21:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:21:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:21:10 prd-centos7-docker-4c-2g-16180 does not seem to be running inside a container 23:21:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-604 -v /w/workspace/ndry_app-functions-sdk-go_PR-604:/w/workspace/ndry_app-functions-sdk-go_PR-604:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-604@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-604@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:21:12 $ docker top 62724596e3a78053fec13538edc19f7cba1ea898f31d1fa2acd68ab965fcae1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:21:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:13 [ssh-agent] Looking for ssh-agent implementation... 23:21:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:13 $ docker exec 62724596e3a78053fec13538edc19f7cba1ea898f31d1fa2acd68ab965fcae1a ssh-agent 23:21:13 SSH_AUTH_SOCK=/tmp/ssh-nX0LA9YD3LeL/agent.12 23:21:13 SSH_AGENT_PID=17 23:21:13 Running ssh-add (command line suppressed) 23:21:13 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-604@tmp/private_key_1022220744404757577.key (/w/workspace/ndry_app-functions-sdk-go_PR-604@tmp/private_key_1022220744404757577.key) 23:21:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:13 + git tag --points-at HEAD [Pipeline] } 23:21:14 $ docker exec --env ******** --env ******** 62724596e3a78053fec13538edc19f7cba1ea898f31d1fa2acd68ab965fcae1a ssh-agent -k 23:21:14 unset SSH_AUTH_SOCK; 23:21:14 unset SSH_AGENT_PID; 23:21:14 echo Agent pid 17 killed; 23:21:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:21:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:14 [ssh-agent] Looking for ssh-agent implementation... 23:21:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:14 $ docker exec 62724596e3a78053fec13538edc19f7cba1ea898f31d1fa2acd68ab965fcae1a ssh-agent 23:21:14 SSH_AUTH_SOCK=/tmp/ssh-aL9svKLYRCcy/agent.45 23:21:14 SSH_AGENT_PID=50 23:21:14 Running ssh-add (command line suppressed) 23:21:14 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-604@tmp/private_key_6775827298110111343.key (/w/workspace/ndry_app-functions-sdk-go_PR-604@tmp/private_key_6775827298110111343.key) 23:21:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:15 + git semver init 23:21:15 # -> Open(): unable to determine branch for HEAD 23:21:15 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-604/.git 23:21:15 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-604 23:21:15 # $SEMVER_REMOTE_NAME = origin 23:21:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:21:15 # $SEMVER_USER_NAME = edgex-jenkins 23:21:15 # $SEMVER_BRANCH = PR-604 23:21:15 # $SEMVER_TEMP = /tmp/semver-922365574 23:21:15 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:21:17 # '/tmp/semver-922365574' -> '/w/workspace/ndry_app-functions-sdk-go_PR-604/.semver' 23:21:17 # -> Force: false 23:21:17 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-604/.semver [Pipeline] } 23:21:17 $ docker exec --env ******** --env ******** 62724596e3a78053fec13538edc19f7cba1ea898f31d1fa2acd68ab965fcae1a ssh-agent -k 23:21:18 unset SSH_AUTH_SOCK; 23:21:18 unset SSH_AGENT_PID; 23:21:18 echo Agent pid 50 killed; 23:21:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:21:18 + git semver [Pipeline] } 23:21:18 $ docker stop --time=1 62724596e3a78053fec13538edc19f7cba1ea898f31d1fa2acd68ab965fcae1a 23:21:20 $ docker rm -f 62724596e3a78053fec13538edc19f7cba1ea898f31d1fa2acd68ab965fcae1a [Pipeline] // withDockerContainer [Pipeline] sh 23:21:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:21:21 Stashed 1 file(s) [Pipeline] echo 23:21:21 [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 23:21:37 Still waiting to schedule task 23:21:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:21:37 Still waiting to schedule task 23:21:37 ‘prd-ubuntu18.04-docker-arm64-4c-16g-16176’ is offline 23:23:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16181 in /w/workspace/ndry_app-functions-sdk-go_PR-604 [Pipeline] { [Pipeline] ws 23:23:17 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:23:21 using credential edgex-jenkins-ssh 23:23:21 Cloning the remote Git repository 23:23:22 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:23:22 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 23:23:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:23:22 > git --version # timeout=10 23:23:22 > git --version # 'git version 2.17.1' 23:23:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:23:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:23:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:23:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:23:25 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:23:25 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/604/head:refs/remotes/origin/PR-604 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:23:26 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 23:23:26 Merge succeeded, producing 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 23:23:26 Checking out Revision 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 (PR-604) 23:23:26 > git config core.sparsecheckout # timeout=10 23:23:26 > git checkout -f 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 # timeout=10 23:23:26 > git remote # timeout=10 23:23:26 > git config --get remote.origin.url # timeout=10 23:23:26 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:26 > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 23:23:26 > git rev-parse HEAD^{commit} # timeout=10 23:23:26 > git config core.sparsecheckout # timeout=10 23:23:26 > git checkout -f 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 # timeout=10 23:23:31 Commit message: "refactor: Refactor to use new SecretProvider fro go-mod-bootstrap" 23:23:31 > git --version # timeout=10 23:23:31 > git --version # 'git version 2.17.1' 23:23:31 fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:23:33 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:23:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:23:34 + true 23:23:34 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 23:23:37 ========================================================= 23:23:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:23:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:23:38 + 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 . 23:23:39 Sending build context to Docker daemon 19.16MB 23:23:39 Step 1/8 : ARG BASE=golang:1.15-alpine 23:23:39 Step 2/8 : FROM ${BASE} 23:23:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:23:39 5f621e34cdf4: Pulling fs layer 23:23:39 a4357932f1b6: Pulling fs layer 23:23:39 18c013af1878: Pulling fs layer 23:23:39 00ac8860ef70: Pulling fs layer 23:23:39 63d7cb157983: Pulling fs layer 23:23:39 b116817d02f9: Pulling fs layer 23:23:39 745a02a5169b: Pulling fs layer 23:23:39 00ac8860ef70: Waiting 23:23:39 63d7cb157983: Waiting 23:23:39 b116817d02f9: Waiting 23:23:39 745a02a5169b: Waiting 23:23:39 18c013af1878: Verifying Checksum 23:23:39 18c013af1878: Download complete 23:23:39 a4357932f1b6: Verifying Checksum 23:23:39 a4357932f1b6: Download complete 23:23:39 63d7cb157983: Verifying Checksum 23:23:39 63d7cb157983: Download complete 23:23:39 b116817d02f9: Verifying Checksum 23:23:39 b116817d02f9: Download complete 23:23:39 5f621e34cdf4: Verifying Checksum 23:23:39 5f621e34cdf4: Download complete 23:23:40 5f621e34cdf4: Pull complete 23:23:41 a4357932f1b6: Pull complete 23:23:41 18c013af1878: Pull complete 23:23:42 745a02a5169b: Verifying Checksum 23:23:42 745a02a5169b: Download complete 23:23:43 00ac8860ef70: Verifying Checksum 23:23:43 00ac8860ef70: Download complete 23:23:53 Running on prd-centos7-docker-4c-2g-16182 in /w/workspace/ndry_app-functions-sdk-go_PR-604 [Pipeline] { [Pipeline] ws 23:23:53 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:23:54 00ac8860ef70: Pull complete 23:23:54 63d7cb157983: Pull complete 23:23:54 b116817d02f9: Pull complete 23:23:55 using credential edgex-jenkins-ssh 23:23:55 Cloning the remote Git repository 23:23:55 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:23:55 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 23:23:55 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:23:55 > git --version # timeout=10 23:23:55 > git --version # 'git version 2.24.3' 23:23:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:23:57 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 23:23:57 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:23:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:23:57 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:23:57 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:23:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/604/head:refs/remotes/origin/PR-604 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:23:57 > git config core.sparsecheckout # timeout=10 23:23:57 > git checkout -f 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 # timeout=10 23:23:57 > git remote # timeout=10 23:23:57 > git config --get remote.origin.url # timeout=10 23:23:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:57 > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 23:23:57 Merge succeeded, producing 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 23:23:57 Checking out Revision 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 (PR-604) 23:23:58 745a02a5169b: Pull complete 23:23:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:23:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:23:58 ---> b7e6874047d6 23:23:58 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 23:23:57 > git rev-parse HEAD^{commit} # timeout=10 23:23:57 > git config core.sparsecheckout # timeout=10 23:23:57 > git checkout -f 6478db5cb989c88d5d5c6a4f1bd87fccbd37a060 # timeout=10 23:23:59 latest: Pulling from library/docker 23:23:59 a3cc7d3b244e: Pulling fs layer 23:23:59 02a3295e0d61: Pulling fs layer 23:23:59 0f4f2e6d8100: Pulling fs layer 23:23:59 065c9533d613: Pulling fs layer 23:23:59 9fce0df16b8b: Pulling fs layer 23:23:59 e3faa53604c1: Pulling fs layer 23:23:59 04b5adaa2053: Pulling fs layer 23:23:59 9fce0df16b8b: Waiting 23:23:59 e3faa53604c1: Waiting 23:23:59 04b5adaa2053: Waiting 23:23:59 065c9533d613: Waiting 23:23:59 0f4f2e6d8100: Verifying Checksum 23:23:59 0f4f2e6d8100: Download complete 23:23:59 02a3295e0d61: Verifying Checksum 23:23:59 02a3295e0d61: Download complete 23:23:59 a3cc7d3b244e: Verifying Checksum 23:23:59 a3cc7d3b244e: Download complete 23:23:59 e3faa53604c1: Verifying Checksum 23:23:59 e3faa53604c1: Download complete 23:23:59 9fce0df16b8b: Verifying Checksum 23:23:59 9fce0df16b8b: Download complete 23:23:59 04b5adaa2053: Verifying Checksum 23:23:59 04b5adaa2053: Download complete 23:24:00 a3cc7d3b244e: Pull complete 23:24:00 02a3295e0d61: Pull complete 23:24:01 0f4f2e6d8100: Pull complete 23:24:01 Commit message: "refactor: Refactor to use new SecretProvider fro go-mod-bootstrap" 23:24:01 > git --version # timeout=10 23:24:01 > git --version # 'git version 2.24.3' 23:24:01 fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:24:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:24:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:24:03 + sudo service docker restart 23:24:03 + true 23:24:03 Redirecting to /bin/systemctl restart docker.service 23:24:04 065c9533d613: Verifying Checksum 23:24:04 065c9533d613: Download complete [Pipeline] unstash [Pipeline] echo 23:24:05 ========================================================= 23:24:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:24:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:24:05 + 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 . 23:24:06 Sending build context to Docker daemon 19.16MB 23:24:06 Step 1/8 : ARG BASE=golang:1.15-alpine 23:24:06 Step 2/8 : FROM ${BASE} 23:24:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:24:06 188c0c94c7c5: Pulling fs layer 23:24:06 0ef7d3d256c8: Pulling fs layer 23:24:06 de9db76c5a1d: Pulling fs layer 23:24:06 bca2f99d35d6: Pulling fs layer 23:24:06 93359f2a8cfa: Pulling fs layer 23:24:06 7c6f9722023f: Pulling fs layer 23:24:06 a35cf1a2eb13: Pulling fs layer 23:24:06 93359f2a8cfa: Waiting 23:24:06 7c6f9722023f: Waiting 23:24:06 a35cf1a2eb13: Waiting 23:24:06 bca2f99d35d6: Waiting 23:24:06 de9db76c5a1d: Verifying Checksum 23:24:06 de9db76c5a1d: Download complete 23:24:06 0ef7d3d256c8: Verifying Checksum 23:24:06 0ef7d3d256c8: Download complete 23:24:06 93359f2a8cfa: Verifying Checksum 23:24:06 93359f2a8cfa: Download complete 23:24:06 7c6f9722023f: Verifying Checksum 23:24:06 7c6f9722023f: Download complete 23:24:06 188c0c94c7c5: Verifying Checksum 23:24:06 188c0c94c7c5: Download complete 23:24:06 188c0c94c7c5: Pull complete 23:24:06 0ef7d3d256c8: Pull complete 23:24:06 de9db76c5a1d: Pull complete 23:24:07 a35cf1a2eb13: Verifying Checksum 23:24:07 a35cf1a2eb13: Download complete 23:24:08 bca2f99d35d6: Verifying Checksum 23:24:08 bca2f99d35d6: Download complete 23:24:08 065c9533d613: Pull complete 23:24:09 9fce0df16b8b: Pull complete 23:24:09 e3faa53604c1: Pull complete 23:24:09 04b5adaa2053: Pull complete 23:24:09 Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 23:24:09 Status: Downloaded newer image for docker:latest 23:24:14 bca2f99d35d6: Pull complete 23:24:14 93359f2a8cfa: Pull complete 23:24:14 7c6f9722023f: Pull complete 23:24:16 ---> b92d1969220f 23:24:16 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:24:16 ---> Running in 1bd8442d7077 23:24:16 Removing intermediate container 1bd8442d7077 23:24:16 ---> e1e070000309 23:24:16 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:24:16 ---> Running in 712896d478e1 23:24:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:24:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:24:19 (1/5) Installing libsodium (1.0.18-r0) 23:24:19 (2/5) Installing libzmq (4.3.3-r0) 23:24:19 (3/5) Installing pkgconf (1.7.2-r0) 23:24:19 (4/5) Installing libsodium-dev (1.0.18-r0) 23:24:19 (5/5) Installing zeromq-dev (4.3.3-r0) 23:24:19 Executing busybox-1.31.1-r19.trigger 23:24:19 OK: 144 MiB in 44 packages 23:24:21 Removing intermediate container 712896d478e1 23:24:21 ---> d1a8cb0fb087 23:24:21 Step 6/8 : WORKDIR /build 23:24:21 ---> Running in 41adbb70ccd7 23:24:21 Removing intermediate container 41adbb70ccd7 23:24:21 ---> 1462802d4c38 23:24:21 Step 7/8 : COPY go.mod . 23:24:22 a35cf1a2eb13: Pull complete 23:24:22 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:24:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:24:22 ---> a62c8e92a672 23:24:22 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 23:24:22 latest: Pulling from library/docker 23:24:22 05e7bc50f07f: Pulling fs layer 23:24:22 6db28d0fdbf6: Pulling fs layer 23:24:22 292df0bc6bf3: Pulling fs layer 23:24:22 a3104fdc50d0: Pulling fs layer 23:24:22 a8e67d69e12c: Pulling fs layer 23:24:22 1ede2b221ee4: Pulling fs layer 23:24:22 fc74c0d5b799: Pulling fs layer 23:24:22 a3104fdc50d0: Waiting 23:24:22 a8e67d69e12c: Waiting 23:24:22 1ede2b221ee4: Waiting 23:24:22 fc74c0d5b799: Waiting 23:24:22 292df0bc6bf3: Verifying Checksum 23:24:22 6db28d0fdbf6: Verifying Checksum 23:24:22 6db28d0fdbf6: Download complete 23:24:22 05e7bc50f07f: Verifying Checksum 23:24:22 05e7bc50f07f: Download complete 23:24:22 1ede2b221ee4: Verifying Checksum 23:24:22 1ede2b221ee4: Download complete 23:24:22 a8e67d69e12c: Verifying Checksum 23:24:22 a8e67d69e12c: Download complete 23:24:22 05e7bc50f07f: Pull complete 23:24:22 fc74c0d5b799: Verifying Checksum 23:24:22 fc74c0d5b799: Download complete 23:24:22 6db28d0fdbf6: Pull complete 23:24:22 292df0bc6bf3: Pull complete 23:24:22 ---> 94ff7821ea12 23:24:22 Step 8/8 : RUN go mod download 23:24:22 ---> Running in 982b1581a072 23:24:25 go: github.com/edgexfoundry/go-mod-bootstrap@v0.0.60: parsing /go-mod-bootstrap/go.mod: open /go-mod-bootstrap/go.mod: no such file or directory 23:24:25 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 23:24:26 a3104fdc50d0: Verifying Checksum 23:24:26 a3104fdc50d0: Download complete Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" 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] } 23:24:28 Failed in branch arm64 23:24:28 a3104fdc50d0: Pull complete 23:24:28 a8e67d69e12c: Pull complete 23:24:28 1ede2b221ee4: Pull complete 23:24:28 fc74c0d5b799: Pull complete 23:24:28 Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 23:24:28 Status: Downloaded newer image for docker:latest 23:24:30 ---> 8063da60a6ff 23:24:30 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:24:30 ---> Running in 34d99a8f7883 23:24:30 Removing intermediate container 34d99a8f7883 23:24:30 ---> ab8561f25d60 23:24:30 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:24:30 ---> Running in f3dd4e727803 23:24:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:24:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:24:32 (1/5) Installing libsodium (1.0.18-r0) 23:24:32 (2/5) Installing libzmq (4.3.3-r0) 23:24:32 (3/5) Installing pkgconf (1.7.2-r0) 23:24:32 (4/5) Installing libsodium-dev (1.0.18-r0) 23:24:32 (5/5) Installing zeromq-dev (4.3.3-r0) 23:24:32 Executing busybox-1.31.1-r19.trigger 23:24:32 OK: 167 MiB in 44 packages 23:24:33 Removing intermediate container f3dd4e727803 23:24:33 ---> d14b5e07d770 23:24:33 Step 6/8 : WORKDIR /build 23:24:33 ---> Running in ed6847c34070 23:24:33 Removing intermediate container ed6847c34070 23:24:33 ---> 4e0b37f0e761 23:24:33 Step 7/8 : COPY go.mod . 23:24:33 ---> b5f1e3c9912a 23:24:33 Step 8/8 : RUN go mod download 23:24:33 ---> Running in 62d1082ba223 23:24:35 go: github.com/edgexfoundry/go-mod-bootstrap@v0.0.60: parsing /go-mod-bootstrap/go.mod: open /go-mod-bootstrap/go.mod: no such file or directory 23:24:36 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 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] } 23:24:39 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 23:24:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:24:43 ---> package-listing.sh 23:24:43 ++ facter osfamily 23:24:43 ++ tr '[:upper:]' '[:lower:]' 23:24:43 + OS_FAMILY=redhat 23:24:43 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-604 23:24:43 + START_PACKAGES=/tmp/packages_start.txt 23:24:43 + END_PACKAGES=/tmp/packages_end.txt 23:24:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:24:43 + PACKAGES=/tmp/packages_start.txt 23:24:43 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-604 ']' 23:24:43 + PACKAGES=/tmp/packages_end.txt 23:24:43 + case "${OS_FAMILY}" in 23:24:43 + rpm -qa 23:24:43 + sort 23:24:49 + '[' -f /tmp/packages_start.txt ']' 23:24:49 + '[' -f /tmp/packages_end.txt ']' 23:24:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:24:49 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-604 ']' 23:24:49 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-604/archives/ 23:24:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-604/archives/ [Pipeline] echo 23:24:49 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/ndry_app-functions-sdk-go_PR-604/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:24:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:24:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:24:49 23:24:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:24:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:24:50 alpine: Pulling from edgex-lftools-log-publisher 23:24:50 df20fa9351a1: Pulling fs layer 23:24:50 36b3adc4ff6f: Pulling fs layer 23:24:50 8ad3a11d3b57: Pulling fs layer 23:24:50 46f8f816bc3b: Pulling fs layer 23:24:50 93b61091891f: Pulling fs layer 23:24:50 93b9cdb0e59b: Pulling fs layer 23:24:50 5e14af77c1be: Pulling fs layer 23:24:50 01666e4c0597: Pulling fs layer 23:24:50 aa168da1d23b: Pulling fs layer 23:24:50 93b9cdb0e59b: Waiting 23:24:50 5e14af77c1be: Waiting 23:24:50 01666e4c0597: Waiting 23:24:50 aa168da1d23b: Waiting 23:24:50 46f8f816bc3b: Waiting 23:24:50 93b61091891f: Waiting 23:24:50 36b3adc4ff6f: Verifying Checksum 23:24:50 36b3adc4ff6f: Download complete 23:24:50 46f8f816bc3b: Verifying Checksum 23:24:50 46f8f816bc3b: Download complete 23:24:50 df20fa9351a1: Verifying Checksum 23:24:50 df20fa9351a1: Download complete 23:24:50 93b9cdb0e59b: Verifying Checksum 23:24:50 93b9cdb0e59b: Download complete 23:24:50 5e14af77c1be: Verifying Checksum 23:24:50 5e14af77c1be: Download complete 23:24:50 93b61091891f: Download complete 23:24:50 01666e4c0597: Verifying Checksum 23:24:50 01666e4c0597: Download complete 23:24:50 8ad3a11d3b57: Verifying Checksum 23:24:50 8ad3a11d3b57: Download complete 23:24:50 df20fa9351a1: Pull complete 23:24:51 36b3adc4ff6f: Pull complete 23:24:51 8ad3a11d3b57: Pull complete 23:24:52 46f8f816bc3b: Pull complete 23:24:52 aa168da1d23b: Verifying Checksum 23:24:52 aa168da1d23b: Download complete 23:24:52 93b61091891f: Pull complete 23:24:52 93b9cdb0e59b: Pull complete 23:24:52 5e14af77c1be: Pull complete 23:24:52 01666e4c0597: Pull complete 23:24:59 aa168da1d23b: Pull complete 23:24:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:24:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:24:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:24:59 prd-centos7-docker-4c-2g-16180 does not seem to be running inside a container 23:24:59 $ 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/ndry_app-functions-sdk-go_PR-604/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-604 -v /w/workspace/ndry_app-functions-sdk-go_PR-604:/w/workspace/ndry_app-functions-sdk-go_PR-604:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-604@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-604@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:25:03 $ docker top fd898dbb7d01e17cc3c81f359e035dce23cd89493452c6571c80a1daba9359c8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:03 + touch /tmp/pre-build-complete [Pipeline] sh 23:25:04 + mkdir -p /var/log/sa [Pipeline] sh 23:25:04 + ls /var/log/sa-host 23:25:04 + sadf -c /var/log/sa-host/sa15 23:25:04 file_magic: OK 23:25:04 HZ: Using current value: 100 23:25:04 file_header: OK 23:25:04 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:25:04 Statistics: 23:25:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:25:04 File successfully converted to sysstat format version 12.2.1 23:25:04 + sadf -c /var/log/sa-host/sa23 23:25:04 file_magic: OK 23:25:04 HZ: Using current value: 100 23:25:04 file_header: OK 23:25:04 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:25:04 Statistics: 23:25:04 Hnuu...uuuununununu... 23:25:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:05 provisioning config files... 23:25:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-604@tmp/config6986870384528363912tmp [Pipeline] { [Pipeline] echo 23:25:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:25:05 ---> create-netrc.sh [Pipeline] } 23:25:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:25:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:25:06 ---> python-tools-install.sh [Pipeline] echo 23:25:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:25:06 ---> sudo-logs.sh 23:25:06 Archiving 'sudo' log.. [Pipeline] echo 23:25:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:25:06 ---> job-cost.sh 23:25:06 lf-activate-venv: SKIPPING 23:25:06 INFO: No Stack... 23:25:07 INFO: Retrieving Pricing Info for: v1-standard-2 23:25:08 INFO: Archiving Costs [Pipeline] echo 23:25:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:25:08 ---> logs-deploy.sh 23:25:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-604/1 23:25:08 INFO: archiving workspace using pattern(s): 23:25:10 Archives upload complete. 23:25:10 INFO: archiving logs to Nexus