Pull request #838 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 33664fccd862917f01778b7a79f2f157e8c3ed78+7563e5ddaf4609d3782aa72276f202d5a5a084f0 (50cc5cfe9dfc181e4a9b4d3483f9ea16d6afe15b) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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-838/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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-838/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 9d0281235b943b7ad605f650702698f9078b2862 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: app-functions-sdk 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-4958 in /w/workspace/ndry_app-functions-sdk-go_PR-838 [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-838 # 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 Merging remotes/origin/master commit 7563e5ddaf4609d3782aa72276f202d5a5a084f0 into PR head commit 33664fccd862917f01778b7a79f2f157e8c3ed78 Merge succeeded, producing 33664fccd862917f01778b7a79f2f157e8c3ed78 Checking out Revision 33664fccd862917f01778b7a79f2f157e8c3ed78 (PR-838) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/838/head:refs/remotes/origin/PR-838 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33664fccd862917f01778b7a79f2f157e8c3ed78 # 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 7563e5ddaf4609d3782aa72276f202d5a5a084f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33664fccd862917f01778b7a79f2f157e8c3ed78 # timeout=10 Commit message: "refactor: Update for new service key names and overrides for hyphen to underscore" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:09:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:09:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:09:58 ========================================================= 00:09:58 EdgeX Global Pipelines Version Info 00:09:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:10:00 ------------------- 00:10:00 stable info: 00:10:00 ------------------- 00:10:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:10:00 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 00:10:00 Message: update stable to v1.0.192 00:10:01 ------------------- 00:10:01 experimental info: 00:10:01 ------------------- 00:10:01 Commited By: **** collab-it+edgex@linuxfoundation.org 00:10:01 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 00:10:01 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:10:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:10:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:10:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:10:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-838 [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-838 [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-838 [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33664fccd862917f01778b7a79f2f157e8c3ed78 [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33664fc [Pipeline] echo 00:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:04 + git log --format=format:%s -1 33664fccd862917f01778b7a79f2f157e8c3ed78 [Pipeline] echo 00:10:04 GIT_COMMIT: 33664fccd862917f01778b7a79f2f157e8c3ed78, Commit Message: refactor: Update for new service key names and overrides for hyphen to underscore [Pipeline] echo 00:10:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:10:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:10:05 00:10:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:10:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:10:06 latest: Pulling from edgex-devops/git-semver 00:10:06 31603596830f: Pulling fs layer 00:10:06 54011a49482f: Pulling fs layer 00:10:06 a6820b24f6d8: Pulling fs layer 00:10:06 f581987b2513: Pulling fs layer 00:10:06 f581987b2513: Waiting 00:10:06 54011a49482f: Verifying Checksum 00:10:06 54011a49482f: Download complete 00:10:06 31603596830f: Verifying Checksum 00:10:06 31603596830f: Download complete 00:10:06 f581987b2513: Verifying Checksum 00:10:06 f581987b2513: Download complete 00:10:06 a6820b24f6d8: Download complete 00:10:07 31603596830f: Pull complete 00:10:07 54011a49482f: Pull complete 00:10:09 a6820b24f6d8: Pull complete 00:10:10 f581987b2513: Pull complete 00:10:10 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 00:10:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:10:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:10:10 prd-centos7-docker-4c-2g-4958 does not seem to be running inside a container 00:10: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-838 -v /w/workspace/ndry_app-functions-sdk-go_PR-838:/w/workspace/ndry_app-functions-sdk-go_PR-838:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-838@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-838@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:10:14 $ docker top 4c264fe8af9a22c50217c182d0c3963657266aee86afb6804730f69c8c53e4e9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:14 [ssh-agent] Looking for ssh-agent implementation... 00:10:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:14 $ docker exec 4c264fe8af9a22c50217c182d0c3963657266aee86afb6804730f69c8c53e4e9 ssh-agent 00:10:15 SSH_AUTH_SOCK=/tmp/ssh-5My9B3p5eojL/agent.12 00:10:15 SSH_AGENT_PID=17 00:10:15 Running ssh-add (command line suppressed) 00:10:15 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-838@tmp/private_key_2322645505211012347.key (/w/workspace/ndry_app-functions-sdk-go_PR-838@tmp/private_key_2322645505211012347.key) 00:10:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:15 + git tag --points-at HEAD [Pipeline] } 00:10:16 $ docker exec --env ******** --env ******** 4c264fe8af9a22c50217c182d0c3963657266aee86afb6804730f69c8c53e4e9 ssh-agent -k 00:10:16 unset SSH_AUTH_SOCK; 00:10:16 unset SSH_AGENT_PID; 00:10:16 echo Agent pid 17 killed; 00:10:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:10:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:16 [ssh-agent] Looking for ssh-agent implementation... 00:10:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:16 $ docker exec 4c264fe8af9a22c50217c182d0c3963657266aee86afb6804730f69c8c53e4e9 ssh-agent 00:10:16 SSH_AUTH_SOCK=/tmp/ssh-iWBDLaP1LtEX/agent.48 00:10:16 SSH_AGENT_PID=54 00:10:16 Running ssh-add (command line suppressed) 00:10:17 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-838@tmp/private_key_5416364571763341497.key (/w/workspace/ndry_app-functions-sdk-go_PR-838@tmp/private_key_5416364571763341497.key) 00:10:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:17 + git semver init 00:10:17 # -> Open(): unable to determine branch for HEAD 00:10:17 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-838/.git 00:10:17 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-838 00:10:17 # $SEMVER_REMOTE_NAME = origin 00:10:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:10:17 # $SEMVER_USER_NAME = edgex-jenkins 00:10:17 # $SEMVER_BRANCH = PR-838 00:10:17 # $SEMVER_TEMP = /tmp/semver-041564786 00:10:17 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:10:21 # '/tmp/semver-041564786' -> '/w/workspace/ndry_app-functions-sdk-go_PR-838/.semver' 00:10:21 # -> Force: false 00:10:21 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-838/.semver [Pipeline] } 00:10:21 $ docker exec --env ******** --env ******** 4c264fe8af9a22c50217c182d0c3963657266aee86afb6804730f69c8c53e4e9 ssh-agent -k 00:10:21 unset SSH_AUTH_SOCK; 00:10:21 unset SSH_AGENT_PID; 00:10:21 echo Agent pid 54 killed; 00:10:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:22 + git semver [Pipeline] } 00:10:22 $ docker stop --time=1 4c264fe8af9a22c50217c182d0c3963657266aee86afb6804730f69c8c53e4e9 00:10:24 $ docker rm -f 4c264fe8af9a22c50217c182d0c3963657266aee86afb6804730f69c8c53e4e9 [Pipeline] // withDockerContainer [Pipeline] sh 00:10:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:10:25 Stashed 1 file(s) [Pipeline] echo 00:10:25 [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:10:40 Still waiting to schedule task 00:10:40 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:10:40 Still waiting to schedule task 00:10:40 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 00:13:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4961 in /w/workspace/ndry_app-functions-sdk-go_PR-838 [Pipeline] { [Pipeline] ws 00:13:09 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:13:14 Running on prd-centos7-docker-4c-2g-4962 in /w/workspace/ndry_app-functions-sdk-go_PR-838 [Pipeline] { [Pipeline] ws 00:13:14 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:13:15 using credential edgex-jenkins-ssh 00:13:15 Cloning the remote Git repository 00:13:15 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:13:15 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 00:13:15 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:13:15 > git --version # timeout=10 00:13:15 > git --version # 'git version 2.17.1' 00:13:15 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:13:19 Merging remotes/origin/master commit 7563e5ddaf4609d3782aa72276f202d5a5a084f0 into PR head commit 33664fccd862917f01778b7a79f2f157e8c3ed78 00:13:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:13:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:13:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:13:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:13:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/838/head:refs/remotes/origin/PR-838 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:13:19 > git config core.sparsecheckout # timeout=10 00:13:19 > git checkout -f 33664fccd862917f01778b7a79f2f157e8c3ed78 # timeout=10 00:13:20 Merge succeeded, producing 33664fccd862917f01778b7a79f2f157e8c3ed78 00:13:20 Checking out Revision 33664fccd862917f01778b7a79f2f157e8c3ed78 (PR-838) 00:13:20 > git remote # timeout=10 00:13:20 > git config --get remote.origin.url # timeout=10 00:13:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:20 > git merge 7563e5ddaf4609d3782aa72276f202d5a5a084f0 # timeout=10 00:13:20 > git rev-parse HEAD^{commit} # timeout=10 00:13:20 > git config core.sparsecheckout # timeout=10 00:13:20 > git checkout -f 33664fccd862917f01778b7a79f2f157e8c3ed78 # timeout=10 00:13:23 using credential edgex-jenkins-ssh 00:13:23 Cloning the remote Git repository 00:13:24 Commit message: "refactor: Update for new service key names and overrides for hyphen to underscore" 00:13:24 > git --version # timeout=10 00:13:24 > git --version # 'git version 2.17.1' 00:13:24 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:13:23 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:13:23 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 00:13:23 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:13:23 > git --version # timeout=10 00:13:24 > git --version # 'git version 2.24.3' 00:13:24 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:13:26 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:13:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:13:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:13:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:13:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:13:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/838/head:refs/remotes/origin/PR-838 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:13:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:13:26 Merging remotes/origin/master commit 7563e5ddaf4609d3782aa72276f202d5a5a084f0 into PR head commit 33664fccd862917f01778b7a79f2f157e8c3ed78 00:13:26 + sudo service docker restart 00:13:26 + true 00:13:26 Merge succeeded, producing 33664fccd862917f01778b7a79f2f157e8c3ed78 00:13:26 Checking out Revision 33664fccd862917f01778b7a79f2f157e8c3ed78 (PR-838) 00:13:26 > git config core.sparsecheckout # timeout=10 00:13:26 > git checkout -f 33664fccd862917f01778b7a79f2f157e8c3ed78 # timeout=10 00:13:26 > git remote # timeout=10 00:13:26 > git config --get remote.origin.url # timeout=10 00:13:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:13:26 > git merge 7563e5ddaf4609d3782aa72276f202d5a5a084f0 # timeout=10 00:13:26 > git rev-parse HEAD^{commit} # timeout=10 00:13:27 > git config core.sparsecheckout # timeout=10 00:13:27 > git checkout -f 33664fccd862917f01778b7a79f2f157e8c3ed78 # timeout=10 [Pipeline] unstash [Pipeline] echo 00:13:29 ========================================================= 00:13:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:13:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:13:30 + 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:13:31 Sending build context to Docker daemon 19.56MB 00:13:31 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 00:13:31 Step 2/8 : FROM ${BASE} 00:13:31 Commit message: "refactor: Update for new service key names and overrides for hyphen to underscore" 00:13:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:13:31 595b0fe564bb: Pulling fs layer 00:13:31 7186ed65a4f7: Pulling fs layer 00:13:31 316046926c0a: Pulling fs layer 00:13:31 4ebd0625c992: Pulling fs layer 00:13:31 207e8628e3a3: Pulling fs layer 00:13:31 c791037a9be2: Pulling fs layer 00:13:31 ffd874e62e21: Pulling fs layer 00:13:31 4ebd0625c992: Waiting 00:13:31 207e8628e3a3: Waiting 00:13:31 c791037a9be2: Waiting 00:13:31 ffd874e62e21: Waiting 00:13:31 316046926c0a: Verifying Checksum 00:13:31 316046926c0a: Download complete 00:13:31 7186ed65a4f7: Download complete 00:13:31 > git --version # timeout=10 00:13:31 > git --version # 'git version 2.24.3' 00:13:31 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 00:13:31 207e8628e3a3: Download complete 00:13:31 c791037a9be2: Download complete 00:13:31 595b0fe564bb: Verifying Checksum 00:13:31 595b0fe564bb: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:13:32 595b0fe564bb: Pull complete 00:13:33 7186ed65a4f7: Pull complete 00:13:33 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 00:13:33 316046926c0a: Pull complete [Pipeline] sh 00:13:33 ffd874e62e21: Verifying Checksum 00:13:33 ffd874e62e21: Download complete 00:13:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:13:34 + sudo service docker restart 00:13:34 + true 00:13:34 Redirecting to /bin/systemctl restart docker.service 00:13:35 4ebd0625c992: Verifying Checksum 00:13:35 4ebd0625c992: Download complete [Pipeline] unstash [Pipeline] echo 00:13:36 ========================================================= 00:13:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:13:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:13:36 + 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:13:37 Sending build context to Docker daemon 19.56MB 00:13:37 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 00:13:37 Step 2/8 : FROM ${BASE} 00:13:37 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:13:37 540db60ca938: Pulling fs layer 00:13:37 adcc1eea9eea: Pulling fs layer 00:13:37 4c4ab2625f07: Pulling fs layer 00:13:37 0510c868ecb4: Pulling fs layer 00:13:37 afea3b2eda06: Pulling fs layer 00:13:37 7809a108b3ef: Pulling fs layer 00:13:37 f706445af74f: Pulling fs layer 00:13:37 afea3b2eda06: Waiting 00:13:37 7809a108b3ef: Waiting 00:13:37 f706445af74f: Waiting 00:13:37 0510c868ecb4: Waiting 00:13:37 4c4ab2625f07: Verifying Checksum 00:13:37 4c4ab2625f07: Download complete 00:13:37 adcc1eea9eea: Verifying Checksum 00:13:37 adcc1eea9eea: Download complete 00:13:37 afea3b2eda06: Verifying Checksum 00:13:37 afea3b2eda06: Download complete 00:13:37 7809a108b3ef: Download complete 00:13:37 540db60ca938: Verifying Checksum 00:13:37 540db60ca938: Download complete 00:13:38 540db60ca938: Pull complete 00:13:38 adcc1eea9eea: Pull complete 00:13:38 4c4ab2625f07: Pull complete 00:13:41 f706445af74f: Verifying Checksum 00:13:41 f706445af74f: Download complete 00:13:42 0510c868ecb4: Verifying Checksum 00:13:42 0510c868ecb4: Download complete 00:13:45 4ebd0625c992: Pull complete 00:13:45 207e8628e3a3: Pull complete 00:13:46 c791037a9be2: Pull complete 00:13:49 ffd874e62e21: Pull complete 00:13:49 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 00:13:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:13:49 ---> cfc18b08335c 00:13:49 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:13:49 20.10.0: Pulling from library/docker 00:13:49 a3cc7d3b244e: Pulling fs layer 00:13:49 02a3295e0d61: Pulling fs layer 00:13:49 0f4f2e6d8100: Pulling fs layer 00:13:49 330b718f631f: Pulling fs layer 00:13:49 a93816041522: Pulling fs layer 00:13:49 bdb6da89ff94: Pulling fs layer 00:13:49 2a70c0c122f4: Pulling fs layer 00:13:49 330b718f631f: Waiting 00:13:49 a93816041522: Waiting 00:13:49 bdb6da89ff94: Waiting 00:13:49 2a70c0c122f4: Waiting 00:13:49 0f4f2e6d8100: Download complete 00:13:49 a3cc7d3b244e: Verifying Checksum 00:13:49 a3cc7d3b244e: Download complete 00:13:49 02a3295e0d61: Download complete 00:13:49 a93816041522: Verifying Checksum 00:13:49 a93816041522: Download complete 00:13:49 bdb6da89ff94: Verifying Checksum 00:13:49 bdb6da89ff94: Download complete 00:13:49 2a70c0c122f4: Download complete 00:13:50 0510c868ecb4: Pull complete 00:13:50 a3cc7d3b244e: Pull complete 00:13:50 afea3b2eda06: Pull complete 00:13:50 7809a108b3ef: Pull complete 00:13:51 02a3295e0d61: Pull complete 00:13:51 330b718f631f: Download complete 00:13:51 0f4f2e6d8100: Pull complete 00:13:56 330b718f631f: Pull complete 00:13:56 a93816041522: Pull complete 00:13:56 bdb6da89ff94: Pull complete 00:13:56 f706445af74f: Pull complete 00:13:56 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 00:13:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:13:56 ---> b068be0155e3 00:13:56 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:13:56 20.10.0: Pulling from library/docker 00:13:56 05e7bc50f07f: Pulling fs layer 00:13:56 6db28d0fdbf6: Pulling fs layer 00:13:56 292df0bc6bf3: Pulling fs layer 00:13:56 2e060f4bd70b: Pulling fs layer 00:13:56 80e8d568a223: Pulling fs layer 00:13:56 8dc6ef1a942a: Pulling fs layer 00:13:56 2312dd95470a: Pulling fs layer 00:13:56 2e060f4bd70b: Waiting 00:13:56 80e8d568a223: Waiting 00:13:56 8dc6ef1a942a: Waiting 00:13:56 2312dd95470a: Waiting 00:13:56 292df0bc6bf3: Verifying Checksum 00:13:56 292df0bc6bf3: Download complete 00:13:56 6db28d0fdbf6: Verifying Checksum 00:13:56 6db28d0fdbf6: Download complete 00:13:56 80e8d568a223: Download complete 00:13:56 8dc6ef1a942a: Verifying Checksum 00:13:56 8dc6ef1a942a: Download complete 00:13:56 2312dd95470a: Verifying Checksum 00:13:56 2312dd95470a: Download complete 00:13:56 05e7bc50f07f: Verifying Checksum 00:13:56 05e7bc50f07f: Download complete 00:13:56 2a70c0c122f4: Pull complete 00:13:56 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:13:56 Status: Downloaded newer image for docker:20.10.0 00:13:56 05e7bc50f07f: Pull complete 00:13:57 6db28d0fdbf6: Pull complete 00:13:57 292df0bc6bf3: Pull complete 00:13:57 2e060f4bd70b: Verifying Checksum 00:13:57 2e060f4bd70b: Download complete 00:14:03 2e060f4bd70b: Pull complete 00:14:03 ---> 357b05c74274 00:14:03 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:14:03 ---> Running in 3dd80961a369 00:14:03 Removing intermediate container 3dd80961a369 00:14:03 ---> 868d006c5dea 00:14:03 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:14:03 ---> Running in dce170a113cc 00:14:03 80e8d568a223: Pull complete 00:14:03 8dc6ef1a942a: Pull complete 00:14:03 2312dd95470a: Pull complete 00:14:03 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:14:03 Status: Downloaded newer image for docker:20.10.0 00:14:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:14:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:14:05 ---> 18b03c3fa75a 00:14:05 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:14:05 ---> Running in 1aac492c5886 00:14:06 Removing intermediate container 1aac492c5886 00:14:06 ---> a20bde4c2fc8 00:14:06 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:14:06 ---> Running in 10a41a2b848b 00:14:06 (1/5) Installing libsodium (1.0.18-r0) 00:14:06 (2/5) Installing libzmq (4.3.3-r1) 00:14:06 (3/5) Installing pkgconf (1.7.3-r0) 00:14:06 (4/5) Installing libsodium-dev (1.0.18-r0) 00:14:07 (5/5) Installing zeromq-dev (4.3.3-r1) 00:14:07 Executing busybox-1.32.1-r6.trigger 00:14:07 OK: 139 MiB in 45 packages 00:14:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:14:07 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:14:08 Removing intermediate container dce170a113cc 00:14:08 ---> 3b16ae64d0bb 00:14:08 Step 6/8 : WORKDIR /build 00:14:08 ---> Running in c68d5d7e0a30 00:14:08 (1/5) Installing libsodium (1.0.18-r0) 00:14:08 (2/5) Installing libzmq (4.3.3-r1) 00:14:08 (3/5) Installing pkgconf (1.7.3-r0) 00:14:08 (4/5) Installing libsodium-dev (1.0.18-r0) 00:14:09 Removing intermediate container c68d5d7e0a30 00:14:09 ---> 4ec0fd92f536 00:14:09 Step 7/8 : COPY go.mod . 00:14:09 (5/5) Installing zeromq-dev (4.3.3-r1) 00:14:09 Executing busybox-1.32.1-r6.trigger 00:14:09 OK: 150 MiB in 45 packages 00:14:09 ---> b64418a79b4b 00:14:09 Step 8/8 : RUN go mod download 00:14:09 ---> Running in 3d45151c9fc4 00:14:09 Removing intermediate container 10a41a2b848b 00:14:09 ---> 8cf6b4477335 00:14:09 Step 6/8 : WORKDIR /build 00:14:09 ---> Running in 5b80248fab9c 00:14:10 Removing intermediate container 5b80248fab9c 00:14:10 ---> 936408b95d97 00:14:10 Step 7/8 : COPY go.mod . 00:14:10 ---> 787b2b464c64 00:14:10 Step 8/8 : RUN go mod download 00:14:10 ---> Running in 72e1defee3d2 00:14:12 go: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.52 (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:14:12 go: github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.52 (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:14:12 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 00:14:13 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] libraryResource [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } 00:14:13 ---> job-cost.sh 00:14:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CgIV [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:14:14 ---> job-cost.sh 00:14:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pULa 00:14:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:14:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:15:09 lf-activate-venv(): INFO: Adding /tmp/venv-pULa/bin to PATH 00:15:09 INFO: No Stack... 00:15:09 INFO: Retrieving Pricing Info for: v1-standard-2 00:15:09 INFO: Archiving Costs [Pipeline] sh 00:15:09 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 00:15:09 + cut -d, -f6 [Pipeline] lock 00:15:09 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-838-1-stack-cost] 00:15:09 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-838-1-stack-cost] did not exist. Created. 00:15:09 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-838-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:15:10 + echo total: 0.029999999329447746 [Pipeline] stash 00:15:11 Stashed 1 file(s) [Pipeline] } 00:15:11 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-838-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:15:11 Failed in branch amd64 00:16:14 lf-activate-venv(): INFO: Adding /tmp/venv-CgIV/bin to PATH 00:16:14 INFO: No Stack... 00:16:14 INFO: Retrieving Pricing Info for: lf-standard-4 00:16:14 INFO: Archiving Costs [Pipeline] sh 00:16:15 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 00:16:15 + cut -d, -f6 [Pipeline] lock 00:16:15 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-838-1-stack-cost] 00:16:15 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-838-1-stack-cost] did not exist. Created. 00:16:15 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-838-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:16:15 /w/workspace/app-functions-sdk-go/1@tmp/durable-8ab210b4/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-8ab210b4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:16:16 + echo total: 0.20999999344348907 [Pipeline] stash 00:16:16 Warning: overwriting stash ‘stack-cost’ 00:16:17 Stashed 1 file(s) [Pipeline] } 00:16:17 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-838-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:16:17 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk 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:16:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:16:20 ---> package-listing.sh 00:16:20 ++ facter osfamily 00:16:20 ++ tr '[:upper:]' '[:lower:]' 00:16:21 + OS_FAMILY=redhat 00:16:21 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-838 00:16:21 + START_PACKAGES=/tmp/packages_start.txt 00:16:21 + END_PACKAGES=/tmp/packages_end.txt 00:16:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:16:21 + PACKAGES=/tmp/packages_start.txt 00:16:21 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-838 ']' 00:16:21 + PACKAGES=/tmp/packages_end.txt 00:16:21 + case "${OS_FAMILY}" in 00:16:21 + rpm -qa 00:16:21 + sort 00:16:29 + '[' -f /tmp/packages_start.txt ']' 00:16:29 + '[' -f /tmp/packages_end.txt ']' 00:16:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:16:29 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-838 ']' 00:16:29 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-838/archives/ 00:16:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-838/archives/ [Pipeline] echo 00:16:29 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-838/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:16:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:16:30 00:16:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:16:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:16:31 alpine: Pulling from edgex-lftools-log-publisher 00:16:31 df20fa9351a1: Pulling fs layer 00:16:31 36b3adc4ff6f: Pulling fs layer 00:16:31 8ad3a11d3b57: Pulling fs layer 00:16:31 46f8f816bc3b: Pulling fs layer 00:16:31 93b61091891f: Pulling fs layer 00:16:31 93b9cdb0e59b: Pulling fs layer 00:16:31 5e14af77c1be: Pulling fs layer 00:16:31 01666e4c0597: Pulling fs layer 00:16:31 aa168da1d23b: Pulling fs layer 00:16:31 46f8f816bc3b: Waiting 00:16:31 93b61091891f: Waiting 00:16:31 93b9cdb0e59b: Waiting 00:16:31 5e14af77c1be: Waiting 00:16:31 01666e4c0597: Waiting 00:16:31 aa168da1d23b: Waiting 00:16:31 36b3adc4ff6f: Download complete 00:16:31 46f8f816bc3b: Verifying Checksum 00:16:31 46f8f816bc3b: Download complete 00:16:31 df20fa9351a1: Verifying Checksum 00:16:31 df20fa9351a1: Download complete 00:16:31 93b9cdb0e59b: Verifying Checksum 00:16:31 93b9cdb0e59b: Download complete 00:16:31 93b61091891f: Verifying Checksum 00:16:31 93b61091891f: Download complete 00:16:31 01666e4c0597: Download complete 00:16:31 5e14af77c1be: Verifying Checksum 00:16:31 5e14af77c1be: Download complete 00:16:31 8ad3a11d3b57: Verifying Checksum 00:16:31 8ad3a11d3b57: Download complete 00:16:31 df20fa9351a1: Pull complete 00:16:31 36b3adc4ff6f: Pull complete 00:16:34 8ad3a11d3b57: Pull complete 00:16:34 46f8f816bc3b: Pull complete 00:16:36 aa168da1d23b: Verifying Checksum 00:16:36 aa168da1d23b: Download complete 00:16:36 93b61091891f: Pull complete 00:16:37 93b9cdb0e59b: Pull complete 00:16:37 5e14af77c1be: Pull complete 00:16:37 01666e4c0597: Pull complete 00:16:52 aa168da1d23b: Pull complete 00:16:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:16:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:16:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:16:53 prd-centos7-docker-4c-2g-4958 does not seem to be running inside a container 00:16:53 $ 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-838/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-838 -v /w/workspace/ndry_app-functions-sdk-go_PR-838:/w/workspace/ndry_app-functions-sdk-go_PR-838:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-838@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-838@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:16:57 $ docker top 51f57e3f4a0db4d1651a70d841cb6ee89a5407438b3695d962aa4da158ea896e -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:59 + touch /tmp/pre-build-complete [Pipeline] sh 00:17:00 + mkdir -p /var/log/sa [Pipeline] sh 00:17:00 + ls /var/log/sa-host 00:17:00 + sadf -c /var/log/sa-host/sa13 00:17:00 file_magic: OK 00:17:00 HZ: Using current value: 100 00:17:00 file_header: OK 00:17:00 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:17:00 Statistics: 00:17:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:17:00 File successfully converted to sysstat format version 12.2.1 00:17:00 + sadf -c /var/log/sa-host/sa23 00:17:00 file_magic: OK 00:17:00 HZ: Using current value: 100 00:17:00 file_header: OK 00:17:00 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:17:00 Statistics: 00:17:00 Hnuu...uuuununununu... 00:17:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:17:00 provisioning config files... 00:17:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-838@tmp/config6861621590745153014tmp [Pipeline] { [Pipeline] echo 00:17:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:17:01 ---> create-netrc.sh [Pipeline] } 00:17:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:17:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:17:03 ---> python-tools-install.sh [Pipeline] echo 00:17:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:17:03 ---> sudo-logs.sh 00:17:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:17:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:17:04 ---> job-cost.sh 00:17:04 lf-activate-venv: SKIPPING 00:17:04 DEBUG: total: 0.20999999344348907 00:17:04 INFO: Retrieving Stack Cost... 00:17:05 INFO: Retrieving Pricing Info for: v1-standard-2 00:17:05 INFO: Archiving Costs [Pipeline] echo 00:17:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:17:06 ---> logs-deploy.sh 00:17:06 lf-activate-venv: SKIPPING 00:17:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-838/1 00:17:06 INFO: archiving workspace using pattern(s): 00:17:08 Archives upload complete. 00:17:09 INFO: archiving logs to Nexus