Pull request #816 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 480fe11fd844ecdbc6de06398b0282cc8244835f+366815e075ca920fdef8b28e3aace48c97a68e84 (8dcd3b1dcc6a08cc8be5dfe69424f416245f9a40) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-816/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-816/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3128 in /w/workspace/ndry_app-functions-sdk-go_PR-816 [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-816 # 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 > 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/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 366815e075ca920fdef8b28e3aace48c97a68e84 into PR head commit 480fe11fd844ecdbc6de06398b0282cc8244835f Merge succeeded, producing 480fe11fd844ecdbc6de06398b0282cc8244835f Checking out Revision 480fe11fd844ecdbc6de06398b0282cc8244835f (PR-816) > git config core.sparsecheckout # timeout=10 > git checkout -f 480fe11fd844ecdbc6de06398b0282cc8244835f # 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 366815e075ca920fdef8b28e3aace48c97a68e84 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 480fe11fd844ecdbc6de06398b0282cc8244835f # timeout=10 Commit message: "feat: Add secure MessageBus capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:03:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:03:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:03:01 ========================================================= 00:03:01 EdgeX Global Pipelines Version Info 00:03:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:03:03 ------------------- 00:03:03 stable info: 00:03:03 ------------------- 00:03:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:03:03 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 00:03:03 Message: update stable to v1.0.191 00:03:04 ------------------- 00:03:04 experimental info: 00:03:04 ------------------- 00:03:04 Commited By: **** collab-it+edgex@linuxfoundation.org 00:03:04 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 00:03:04 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:03:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:03:04 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:03:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:03:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:03:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:03:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:03:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:03:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:03:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:03:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:03:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:03:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-816 [Pipeline] echo 00:03:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-816 [Pipeline] echo 00:03:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-816 [Pipeline] echo 00:03:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 480fe11fd844ecdbc6de06398b0282cc8244835f [Pipeline] echo 00:03:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 480fe11 [Pipeline] echo 00:03:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:06 + git log --format=format:%s -1 480fe11fd844ecdbc6de06398b0282cc8244835f [Pipeline] echo 00:03:07 GIT_COMMIT: 480fe11fd844ecdbc6de06398b0282cc8244835f, Commit Message: feat: Add secure MessageBus capability [Pipeline] echo 00:03:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:03:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:03:08 00:03:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:03:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:03:08 latest: Pulling from edgex-devops/git-semver 00:03:08 31603596830f: Pulling fs layer 00:03:08 54011a49482f: Pulling fs layer 00:03:08 a6820b24f6d8: Pulling fs layer 00:03:08 f581987b2513: Pulling fs layer 00:03:08 f581987b2513: Waiting 00:03:08 54011a49482f: Verifying Checksum 00:03:08 54011a49482f: Download complete 00:03:08 31603596830f: Verifying Checksum 00:03:08 31603596830f: Download complete 00:03:08 f581987b2513: Verifying Checksum 00:03:08 f581987b2513: Download complete 00:03:08 a6820b24f6d8: Verifying Checksum 00:03:08 a6820b24f6d8: Download complete 00:03:08 31603596830f: Pull complete 00:03:09 54011a49482f: Pull complete 00:03:10 a6820b24f6d8: Pull complete 00:03:10 f581987b2513: Pull complete 00:03:10 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 00:03:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:03:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:03:10 prd-centos7-docker-4c-2g-3128 does not seem to be running inside a container 00:03: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-816 -v /w/workspace/ndry_app-functions-sdk-go_PR-816:/w/workspace/ndry_app-functions-sdk-go_PR-816:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-816@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-816@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 00:03:12 $ docker top 682ee6e7cd7d9e9e5f05d9e85e3b3e6bb8075e561ec24906a8468b3dcbb5184e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:03:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:03:12 [ssh-agent] Looking for ssh-agent implementation... 00:03:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:03:12 $ docker exec 682ee6e7cd7d9e9e5f05d9e85e3b3e6bb8075e561ec24906a8468b3dcbb5184e ssh-agent 00:03:13 SSH_AUTH_SOCK=/tmp/ssh-zCj5BLJepBFL/agent.11 00:03:13 SSH_AGENT_PID=17 00:03:13 Running ssh-add (command line suppressed) 00:03:13 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-816@tmp/private_key_6621658369231762508.key (/w/workspace/ndry_app-functions-sdk-go_PR-816@tmp/private_key_6621658369231762508.key) 00:03:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:03:13 + git tag --points-at HEAD [Pipeline] } 00:03:13 $ docker exec --env ******** --env ******** 682ee6e7cd7d9e9e5f05d9e85e3b3e6bb8075e561ec24906a8468b3dcbb5184e ssh-agent -k 00:03:13 unset SSH_AUTH_SOCK; 00:03:13 unset SSH_AGENT_PID; 00:03:13 echo Agent pid 17 killed; 00:03:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:03:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:03:14 [ssh-agent] Looking for ssh-agent implementation... 00:03:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:03:14 $ docker exec 682ee6e7cd7d9e9e5f05d9e85e3b3e6bb8075e561ec24906a8468b3dcbb5184e ssh-agent 00:03:14 SSH_AUTH_SOCK=/tmp/ssh-SRncqu8e6wSW/agent.45 00:03:14 SSH_AGENT_PID=51 00:03:14 Running ssh-add (command line suppressed) 00:03:14 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-816@tmp/private_key_846385369944365784.key (/w/workspace/ndry_app-functions-sdk-go_PR-816@tmp/private_key_846385369944365784.key) 00:03:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:03:15 + git semver init 00:03:15 # -> Open(): unable to determine branch for HEAD 00:03:15 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-816/.git 00:03:15 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-816 00:03:15 # $SEMVER_REMOTE_NAME = origin 00:03:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:03:15 # $SEMVER_USER_NAME = edgex-jenkins 00:03:15 # $SEMVER_BRANCH = PR-816 00:03:15 # $SEMVER_TEMP = /tmp/semver-056431846 00:03:15 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:03:18 # '/tmp/semver-056431846' -> '/w/workspace/ndry_app-functions-sdk-go_PR-816/.semver' 00:03:18 # -> Force: false 00:03:18 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-816/.semver [Pipeline] } 00:03:18 $ docker exec --env ******** --env ******** 682ee6e7cd7d9e9e5f05d9e85e3b3e6bb8075e561ec24906a8468b3dcbb5184e ssh-agent -k 00:03:18 unset SSH_AUTH_SOCK; 00:03:18 unset SSH_AGENT_PID; 00:03:18 echo Agent pid 51 killed; 00:03:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:03:19 + git semver [Pipeline] } 00:03:19 $ docker stop --time=1 682ee6e7cd7d9e9e5f05d9e85e3b3e6bb8075e561ec24906a8468b3dcbb5184e 00:03:20 $ docker rm -f 682ee6e7cd7d9e9e5f05d9e85e3b3e6bb8075e561ec24906a8468b3dcbb5184e [Pipeline] // withDockerContainer [Pipeline] sh 00:03:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:03:21 Stashed 1 file(s) [Pipeline] echo 00:03: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 00:03:37 Still waiting to schedule task 00:03:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:03:37 Still waiting to schedule task 00:03:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 00:05:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3130 in /w/workspace/ndry_app-functions-sdk-go_PR-816 [Pipeline] { [Pipeline] ws 00:05:36 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:05:42 using credential edgex-jenkins-ssh 00:05:42 Cloning the remote Git repository 00:05:42 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:05:42 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 00:05:42 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:05:42 > git --version # timeout=10 00:05:42 > git --version # 'git version 2.17.1' 00:05:42 using GIT_SSH to set credentials SSH Credentials for GitHub 00:05:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:05:45 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:05:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:05:45 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:05:45 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:05:45 using GIT_SSH to set credentials SSH Credentials for GitHub 00:05:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:05:46 Merging remotes/origin/master commit 366815e075ca920fdef8b28e3aace48c97a68e84 into PR head commit 480fe11fd844ecdbc6de06398b0282cc8244835f 00:05:46 Merge succeeded, producing 480fe11fd844ecdbc6de06398b0282cc8244835f 00:05:46 Checking out Revision 480fe11fd844ecdbc6de06398b0282cc8244835f (PR-816) 00:05:46 > git config core.sparsecheckout # timeout=10 00:05:46 > git checkout -f 480fe11fd844ecdbc6de06398b0282cc8244835f # timeout=10 00:05:46 > git remote # timeout=10 00:05:46 > git config --get remote.origin.url # timeout=10 00:05:46 using GIT_SSH to set credentials SSH Credentials for GitHub 00:05:46 > git merge 366815e075ca920fdef8b28e3aace48c97a68e84 # timeout=10 00:05:46 > git rev-parse HEAD^{commit} # timeout=10 00:05:46 > git config core.sparsecheckout # timeout=10 00:05:46 > git checkout -f 480fe11fd844ecdbc6de06398b0282cc8244835f # timeout=10 00:05:51 Commit message: "feat: Add secure MessageBus capability" 00:05:51 > git --version # timeout=10 00:05:51 > git --version # 'git version 2.17.1' 00:05:51 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:05:53 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:05:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:05:53 + true 00:05:53 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:05:56 ========================================================= 00:05:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:05:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:05:56 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 00:05:57 Sending build context to Docker daemon 19.61MB 00:05:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:05:57 Step 2/8 : FROM ${BASE} 00:05:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:05:57 595b0fe564bb: Pulling fs layer 00:05:57 7186ed65a4f7: Pulling fs layer 00:05:57 316046926c0a: Pulling fs layer 00:05:57 4ebd0625c992: Pulling fs layer 00:05:57 207e8628e3a3: Pulling fs layer 00:05:57 c791037a9be2: Pulling fs layer 00:05:57 ffd874e62e21: Pulling fs layer 00:05:57 4ebd0625c992: Waiting 00:05:57 207e8628e3a3: Waiting 00:05:57 c791037a9be2: Waiting 00:05:57 ffd874e62e21: Waiting 00:05:57 316046926c0a: Verifying Checksum 00:05:57 316046926c0a: Download complete 00:05:57 7186ed65a4f7: Verifying Checksum 00:05:57 7186ed65a4f7: Download complete 00:05:57 207e8628e3a3: Verifying Checksum 00:05:57 207e8628e3a3: Download complete 00:05:57 c791037a9be2: Verifying Checksum 00:05:57 c791037a9be2: Download complete 00:05:58 595b0fe564bb: Verifying Checksum 00:05:58 595b0fe564bb: Download complete 00:05:58 595b0fe564bb: Pull complete 00:05:59 7186ed65a4f7: Pull complete 00:06:00 316046926c0a: Pull complete 00:06:00 ffd874e62e21: Verifying Checksum 00:06:00 ffd874e62e21: Download complete 00:06:01 4ebd0625c992: Verifying Checksum 00:06:01 4ebd0625c992: Download complete 00:06:11 4ebd0625c992: Pull complete 00:06:11 207e8628e3a3: Pull complete 00:06:12 c791037a9be2: Pull complete 00:06:16 ffd874e62e21: Pull complete 00:06:16 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 00:06:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:06:16 ---> cfc18b08335c 00:06:16 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:06:16 20.10.0: Pulling from library/docker 00:06:16 a3cc7d3b244e: Pulling fs layer 00:06:16 02a3295e0d61: Pulling fs layer 00:06:16 0f4f2e6d8100: Pulling fs layer 00:06:16 330b718f631f: Pulling fs layer 00:06:16 a93816041522: Pulling fs layer 00:06:16 bdb6da89ff94: Pulling fs layer 00:06:16 2a70c0c122f4: Pulling fs layer 00:06:16 330b718f631f: Waiting 00:06:16 a93816041522: Waiting 00:06:16 bdb6da89ff94: Waiting 00:06:16 2a70c0c122f4: Waiting 00:06:16 0f4f2e6d8100: Verifying Checksum 00:06:16 02a3295e0d61: Download complete 00:06:16 a3cc7d3b244e: Download complete 00:06:16 a93816041522: Verifying Checksum 00:06:16 a93816041522: Download complete 00:06:16 bdb6da89ff94: Verifying Checksum 00:06:16 bdb6da89ff94: Download complete 00:06:16 2a70c0c122f4: Verifying Checksum 00:06:16 2a70c0c122f4: Download complete 00:06:17 a3cc7d3b244e: Pull complete 00:06:17 02a3295e0d61: Pull complete 00:06:18 0f4f2e6d8100: Pull complete 00:06:18 330b718f631f: Verifying Checksum 00:06:18 330b718f631f: Download complete 00:06:23 330b718f631f: Pull complete 00:06:23 a93816041522: Pull complete 00:06:23 bdb6da89ff94: Pull complete 00:06:23 2a70c0c122f4: Pull complete 00:06:23 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:06:23 Status: Downloaded newer image for docker:20.10.0 00:06:30 ---> 8333dcce4a2e 00:06:30 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:06:30 ---> Running in 2c2af26597f0 00:06:30 Removing intermediate container 2c2af26597f0 00:06:30 ---> 44a072d783d8 00:06:30 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:06:30 ---> Running in 0f9d4a46ab04 00:06:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:06:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:06:33 (1/5) Installing libsodium (1.0.18-r0) 00:06:33 (2/5) Installing libzmq (4.3.3-r1) 00:06:33 (3/5) Installing pkgconf (1.7.3-r0) 00:06:33 (4/5) Installing libsodium-dev (1.0.18-r0) 00:06:34 (5/5) Installing zeromq-dev (4.3.3-r1) 00:06:34 Executing busybox-1.32.1-r6.trigger 00:06:34 OK: 139 MiB in 45 packages 00:06:35 Removing intermediate container 0f9d4a46ab04 00:06:35 ---> fd539c37ad7c 00:06:35 Step 6/8 : WORKDIR /build 00:06:35 ---> Running in 4fa0f5ba13b8 00:06:35 Running on prd-centos7-docker-4c-2g-3131 in /w/workspace/ndry_app-functions-sdk-go_PR-816 [Pipeline] { [Pipeline] ws 00:06:35 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:06:36 Removing intermediate container 4fa0f5ba13b8 00:06:36 ---> 0e2f5f7fe7da 00:06:36 Step 7/8 : COPY go.mod . 00:06:36 ---> 003733c33177 00:06:36 Step 8/8 : RUN go mod download 00:06:36 ---> Running in fc3b07376f5e 00:06:39 go: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.42 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory 00:06:40 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 Post stage [Pipeline] libraryResource [Pipeline] sh 00:06:41 ---> job-cost.sh 00:06:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-k0IN 00:06:46 using credential edgex-jenkins-ssh 00:06:46 Cloning the remote Git repository 00:06:47 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:06:47 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 00:06:47 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:06:47 > git --version # timeout=10 00:06:47 > git --version # 'git version 2.24.3' 00:06:47 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:06:52 Merging remotes/origin/master commit 366815e075ca920fdef8b28e3aace48c97a68e84 into PR head commit 480fe11fd844ecdbc6de06398b0282cc8244835f 00:06:51 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:06:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:06:52 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:06:52 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:06:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:06:52 > git config core.sparsecheckout # timeout=10 00:06:52 > git checkout -f 480fe11fd844ecdbc6de06398b0282cc8244835f # timeout=10 00:06:52 > git remote # timeout=10 00:06:53 > git config --get remote.origin.url # timeout=10 00:06:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:53 > git merge 366815e075ca920fdef8b28e3aace48c97a68e84 # timeout=10 00:06:53 Merge succeeded, producing 480fe11fd844ecdbc6de06398b0282cc8244835f 00:06:53 Checking out Revision 480fe11fd844ecdbc6de06398b0282cc8244835f (PR-816) 00:06:53 > git rev-parse HEAD^{commit} # timeout=10 00:06:53 > git config core.sparsecheckout # timeout=10 00:06:53 > git checkout -f 480fe11fd844ecdbc6de06398b0282cc8244835f # timeout=10 00:06:58 Commit message: "feat: Add secure MessageBus capability" 00:06:58 > git --version # timeout=10 00:06:58 > git --version # 'git version 2.24.3' 00:06:58 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 00:06:59 00:06:59 GitHub has been notified of this commit’s build result 00:06:59 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:07:01 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:07:01 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:07:02 + sudo service docker restart 00:07:02 + true 00:07:02 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:07:05 ========================================================= 00:07:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:07:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:07:06 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 00:07:08 Sending build context to Docker daemon 19.59MB 00:07:08 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:07:08 Step 2/8 : FROM ${BASE} 00:07:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:07:08 540db60ca938: Pulling fs layer 00:07:08 adcc1eea9eea: Pulling fs layer 00:07:08 4c4ab2625f07: Pulling fs layer 00:07:08 0510c868ecb4: Pulling fs layer 00:07:08 afea3b2eda06: Pulling fs layer 00:07:08 7809a108b3ef: Pulling fs layer 00:07:08 f706445af74f: Pulling fs layer 00:07:08 afea3b2eda06: Waiting 00:07:08 7809a108b3ef: Waiting 00:07:08 0510c868ecb4: Waiting 00:07:08 f706445af74f: Waiting 00:07:08 4c4ab2625f07: Download complete 00:07:08 adcc1eea9eea: Download complete 00:07:09 afea3b2eda06: Verifying Checksum 00:07:09 afea3b2eda06: Download complete 00:07:09 7809a108b3ef: Verifying Checksum 00:07:09 7809a108b3ef: Download complete 00:07:09 540db60ca938: Verifying Checksum 00:07:09 540db60ca938: Download complete 00:07:10 540db60ca938: Pull complete 00:07:10 adcc1eea9eea: Pull complete 00:07:11 4c4ab2625f07: Pull complete 00:07:14 f706445af74f: Verifying Checksum 00:07:14 f706445af74f: Download complete 00:07:16 0510c868ecb4: Verifying Checksum 00:07:16 0510c868ecb4: Download complete 00:07:20 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:07:34 0510c868ecb4: Pull complete 00:07:34 afea3b2eda06: Pull complete 00:07:34 7809a108b3ef: Pull complete 00:07:41 f706445af74f: Pull complete 00:07:41 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 00:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:07:41 ---> b068be0155e3 00:07:41 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:07:41 20.10.0: Pulling from library/docker 00:07:41 05e7bc50f07f: Pulling fs layer 00:07:41 6db28d0fdbf6: Pulling fs layer 00:07:41 292df0bc6bf3: Pulling fs layer 00:07:41 2e060f4bd70b: Pulling fs layer 00:07:41 80e8d568a223: Pulling fs layer 00:07:41 8dc6ef1a942a: Pulling fs layer 00:07:41 2312dd95470a: Pulling fs layer 00:07:41 80e8d568a223: Waiting 00:07:41 8dc6ef1a942a: Waiting 00:07:41 2312dd95470a: Waiting 00:07:41 2e060f4bd70b: Waiting 00:07:41 292df0bc6bf3: Verifying Checksum 00:07:41 292df0bc6bf3: Download complete 00:07:41 6db28d0fdbf6: Download complete 00:07:41 05e7bc50f07f: Verifying Checksum 00:07:41 05e7bc50f07f: Download complete 00:07:41 80e8d568a223: Download complete 00:07:41 8dc6ef1a942a: Verifying Checksum 00:07:41 8dc6ef1a942a: Download complete 00:07:41 2312dd95470a: Verifying Checksum 00:07:41 2312dd95470a: Download complete 00:07:42 05e7bc50f07f: Pull complete 00:07:43 6db28d0fdbf6: Pull complete 00:07:43 292df0bc6bf3: Pull complete 00:07:45 2e060f4bd70b: Verifying Checksum 00:07:45 2e060f4bd70b: Download complete 00:07:52 2e060f4bd70b: Pull complete 00:07:52 80e8d568a223: Pull complete 00:07:52 8dc6ef1a942a: Pull complete 00:07:52 2312dd95470a: Pull complete 00:07:52 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:07:52 Status: Downloaded newer image for docker:20.10.0 00:07:55 ---> 54cb8e0a0f05 00:07:55 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:07:55 ---> Running in 35c46b832799 00:07:55 Removing intermediate container 35c46b832799 00:07:55 ---> 291a5829fd5a 00:07:55 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:07:55 ---> Running in 4332183e8ac9 00:07:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:07:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:07:59 (1/5) Installing libsodium (1.0.18-r0) 00:07:59 (2/5) Installing libzmq (4.3.3-r1) 00:07:59 (3/5) Installing pkgconf (1.7.3-r0) 00:07:59 (4/5) Installing libsodium-dev (1.0.18-r0) 00:07:59 (5/5) Installing zeromq-dev (4.3.3-r1) 00:07:59 Executing busybox-1.32.1-r6.trigger 00:07:59 OK: 150 MiB in 45 packages 00:08:01 Removing intermediate container 4332183e8ac9 00:08:01 ---> 5994da1fbd05 00:08:01 Step 6/8 : WORKDIR /build 00:08:01 ---> Running in c24f84662826 00:08:01 Removing intermediate container c24f84662826 00:08:01 ---> fbd982a82309 00:08:01 Step 7/8 : COPY go.mod . 00:08:02 ---> 3d9fbf9e8b0e 00:08:02 Step 8/8 : RUN go mod download 00:08:02 ---> Running in 164a29ab827a 00:08:07 go: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.42 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory 00:08:08 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 Post stage [Pipeline] libraryResource [Pipeline] sh 00:08:09 ---> job-cost.sh 00:08:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8m5V 00:08:36 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:08:42 lf-activate-venv(): INFO: Adding /tmp/venv-k0IN/bin to PATH 00:08:42 INFO: No Stack... 00:08:42 INFO: Retrieving Pricing Info for: lf-standard-4 00:08:42 INFO: Archiving Costs [Pipeline] sh 00:08:42 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 00:08:42 + cut -d, -f6 [Pipeline] lock 00:08:43 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-816-1-stack-cost] 00:08:43 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-816-1-stack-cost] did not exist. Created. 00:08:43 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-816-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:08:43 + echo total: 0.20999999344348907 [Pipeline] stash 00:08:44 Stashed 1 file(s) [Pipeline] } 00:08:44 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-816-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:08:45 Failed in branch arm64 00:09:16 lf-activate-venv(): INFO: Adding /tmp/venv-8m5V/bin to PATH 00:09:16 INFO: No Stack... 00:09:17 INFO: Retrieving Pricing Info for: v1-standard-2 00:09:18 INFO: Archiving Costs [Pipeline] sh 00:09:18 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 00:09:18 + cut -d, -f6 [Pipeline] lock 00:09:18 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-816-1-stack-cost] 00:09:18 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-816-1-stack-cost] did not exist. Created. 00:09:18 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-816-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:09:19 /w/workspace/app-functions-sdk-go/1@tmp/durable-82d40c8d/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 00:09:20 + echo total: 0.029999999329447746 [Pipeline] stash 00:09:20 Warning: overwriting stash ‘stack-cost’ 00:09:21 Stashed 1 file(s) [Pipeline] } 00:09:21 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-816-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:09:22 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] { (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 00:09:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:09:24 ---> package-listing.sh 00:09:24 ++ facter osfamily 00:09:24 ++ tr '[:upper:]' '[:lower:]' 00:09:24 + OS_FAMILY=redhat 00:09:24 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-816 00:09:24 + START_PACKAGES=/tmp/packages_start.txt 00:09:24 + END_PACKAGES=/tmp/packages_end.txt 00:09:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:09:24 + PACKAGES=/tmp/packages_start.txt 00:09:24 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-816 ']' 00:09:24 + PACKAGES=/tmp/packages_end.txt 00:09:24 + case "${OS_FAMILY}" in 00:09:24 + rpm -qa 00:09:24 + sort 00:09:30 + '[' -f /tmp/packages_start.txt ']' 00:09:30 + '[' -f /tmp/packages_end.txt ']' 00:09:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:09:30 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-816 ']' 00:09:30 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-816/archives/ 00:09:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-816/archives/ [Pipeline] echo 00:09:30 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-816/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:09:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:09:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:09:30 00:09:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:09:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:09:31 alpine: Pulling from edgex-lftools-log-publisher 00:09:31 df20fa9351a1: Pulling fs layer 00:09:31 36b3adc4ff6f: Pulling fs layer 00:09:31 8ad3a11d3b57: Pulling fs layer 00:09:31 46f8f816bc3b: Pulling fs layer 00:09:31 93b61091891f: Pulling fs layer 00:09:31 93b9cdb0e59b: Pulling fs layer 00:09:31 5e14af77c1be: Pulling fs layer 00:09:31 01666e4c0597: Pulling fs layer 00:09:31 aa168da1d23b: Pulling fs layer 00:09:31 46f8f816bc3b: Waiting 00:09:31 93b61091891f: Waiting 00:09:31 93b9cdb0e59b: Waiting 00:09:31 aa168da1d23b: Waiting 00:09:31 01666e4c0597: Waiting 00:09:31 5e14af77c1be: Waiting 00:09:31 36b3adc4ff6f: Verifying Checksum 00:09:31 36b3adc4ff6f: Download complete 00:09:31 46f8f816bc3b: Download complete 00:09:31 df20fa9351a1: Verifying Checksum 00:09:31 df20fa9351a1: Download complete 00:09:31 93b9cdb0e59b: Verifying Checksum 00:09:31 93b9cdb0e59b: Download complete 00:09:31 5e14af77c1be: Verifying Checksum 00:09:31 5e14af77c1be: Download complete 00:09:31 01666e4c0597: Download complete 00:09:31 93b61091891f: Verifying Checksum 00:09:31 93b61091891f: Download complete 00:09:31 8ad3a11d3b57: Download complete 00:09:31 df20fa9351a1: Pull complete 00:09:31 36b3adc4ff6f: Pull complete 00:09:32 8ad3a11d3b57: Pull complete 00:09:32 46f8f816bc3b: Pull complete 00:09:33 93b61091891f: Pull complete 00:09:34 93b9cdb0e59b: Pull complete 00:09:34 aa168da1d23b: Verifying Checksum 00:09:34 aa168da1d23b: Download complete 00:09:34 5e14af77c1be: Pull complete 00:09:34 01666e4c0597: Pull complete 00:09:41 aa168da1d23b: Pull complete 00:09:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:09:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:09:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:09:41 prd-centos7-docker-4c-2g-3128 does not seem to be running inside a container 00:09:41 $ 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-816/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-816 -v /w/workspace/ndry_app-functions-sdk-go_PR-816:/w/workspace/ndry_app-functions-sdk-go_PR-816:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-816@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-816@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 00:09:44 $ docker top c74d4e3e6da320d508b97dbf683896561976f985b56f11b4ce379444f0d00bec -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:45 + touch /tmp/pre-build-complete [Pipeline] sh 00:09:45 + mkdir -p /var/log/sa [Pipeline] sh 00:09:45 + ls /var/log/sa-host 00:09:46 + sadf -c /var/log/sa-host/sa06 00:09:46 file_magic: OK 00:09:46 HZ: Using current value: 100 00:09:46 file_header: OK 00:09:46 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 00:09:46 Statistics: 00:09:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:09:46 File successfully converted to sysstat format version 12.2.1 00:09:46 + sadf -c /var/log/sa-host/sa23 00:09:46 file_magic: OK 00:09:46 HZ: Using current value: 100 00:09:46 file_header: OK 00:09:46 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 00:09:46 Statistics: 00:09:46 Hnuu...uuuununununu... 00:09:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:46 provisioning config files... 00:09:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-816@tmp/config464010422935737767tmp [Pipeline] { [Pipeline] echo 00:09:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:09:46 ---> create-netrc.sh [Pipeline] } 00:09:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:09:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:09:47 ---> python-tools-install.sh [Pipeline] echo 00:09:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:09:47 ---> sudo-logs.sh 00:09:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:09:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:09:48 ---> job-cost.sh 00:09:48 lf-activate-venv: SKIPPING 00:09:48 DEBUG: total: 0.029999999329447746 00:09:48 INFO: Retrieving Stack Cost... 00:09:49 INFO: Retrieving Pricing Info for: v1-standard-2 00:09:49 INFO: Archiving Costs [Pipeline] echo 00:09:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:09:50 ---> logs-deploy.sh 00:09:50 lf-activate-venv: SKIPPING 00:09:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-816/1 00:09:50 INFO: archiving workspace using pattern(s): 00:09:52 Archives upload complete. 00:09:52 INFO: archiving logs to Nexus