Pull request #636 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3dbfcee452e6b2ef68a6f0b1591f3d8bbc922ab6+e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 (1293af93c2a13df06a4ed6c34960f46526cc4834) Running in Durability level: PERFORMANCE_OPTIMIZED 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-21943 in /w/workspace/ndry_app-functions-sdk-go_PR-636 [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-636 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 into PR head commit 3dbfcee452e6b2ef68a6f0b1591f3d8bbc922ab6 Merge succeeded, producing 33a4870004debcd9adf8bb57ebf536799f26cbbd Checking out Revision 33a4870004debcd9adf8bb57ebf536799f26cbbd (PR-636) > 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/636/head:refs/remotes/origin/PR-636 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3dbfcee452e6b2ef68a6f0b1591f3d8bbc922ab6 # 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 e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33a4870004debcd9adf8bb57ebf536799f26cbbd # timeout=10 Commit message: "Merge commit 'e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8' into HEAD" > git rev-list --no-walk 3dbfcee452e6b2ef68a6f0b1591f3d8bbc922ab6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:06:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:06:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:06:34 ========================================================= 15:06:34 EdgeX Global Pipelines Version Info 15:06:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:06:36 ------------------- 15:06:36 stable info: 15:06:36 ------------------- 15:06:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:06:36 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 15:06:36 Message: update stable to v1.0.179 15:06:37 ------------------- 15:06:37 experimental info: 15:06:37 ------------------- 15:06:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:06:37 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 15:06:37 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:06:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:06:37 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:06:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:06:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:06:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:06:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:06:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:06:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:06:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:06:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:06:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:06:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:06:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:06:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:06:39 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 15:06:39 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 15:06:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-636 [Pipeline] echo 15:06:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-636 [Pipeline] echo 15:06:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-636 [Pipeline] echo 15:06:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33a4870004debcd9adf8bb57ebf536799f26cbbd [Pipeline] echo 15:06:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33a4870 [Pipeline] echo 15:06:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:06:41 + git log --format=format:%s -1 33a4870004debcd9adf8bb57ebf536799f26cbbd [Pipeline] echo 15:06:41 GIT_COMMIT: 33a4870004debcd9adf8bb57ebf536799f26cbbd, Commit Message: Merge commit 'e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8' into HEAD [Pipeline] echo 15:06:41 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:06:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:06:42 15:06:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:06:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:06:42 latest: Pulling from edgex-devops/git-semver 15:06:42 31603596830f: Pulling fs layer 15:06:42 2a8b12db71e7: Pulling fs layer 15:06:42 6ca5941a6612: Pulling fs layer 15:06:42 ecc8261a40a4: Pulling fs layer 15:06:42 2a8b12db71e7: Verifying Checksum 15:06:42 2a8b12db71e7: Download complete 15:06:42 31603596830f: Verifying Checksum 15:06:42 31603596830f: Download complete 15:06:42 ecc8261a40a4: Verifying Checksum 15:06:42 ecc8261a40a4: Download complete 15:06:42 6ca5941a6612: Verifying Checksum 15:06:42 6ca5941a6612: Download complete 15:06:43 31603596830f: Pull complete 15:06:43 2a8b12db71e7: Pull complete 15:06:43 6ca5941a6612: Pull complete 15:06:44 ecc8261a40a4: Pull complete 15:06:44 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:06:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:06:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:06:44 prd-centos7-docker-4c-2g-21943 does not seem to be running inside a container 15:06:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-636 -v /w/workspace/ndry_app-functions-sdk-go_PR-636:/w/workspace/ndry_app-functions-sdk-go_PR-636:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-636@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:10004/edgex-devops/git-semver:latest cat 15:06:46 $ docker top 5434df12cd78f3b8e3f127187d4f876ec5079a1a03dd297d1f85ce14c8d8e53e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:06:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:06:46 [ssh-agent] Looking for ssh-agent implementation... 15:06:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:06:47 $ docker exec 5434df12cd78f3b8e3f127187d4f876ec5079a1a03dd297d1f85ce14c8d8e53e ssh-agent 15:06:47 SSH_AUTH_SOCK=/tmp/ssh-BC1dNJRzvxEc/agent.12 15:06:47 SSH_AGENT_PID=17 15:06:47 Running ssh-add (command line suppressed) 15:06:47 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_1935600700951831797.key (/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_1935600700951831797.key) 15:06:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:06:47 + git tag --points-at HEAD [Pipeline] } 15:06:47 $ docker exec --env ******** --env ******** 5434df12cd78f3b8e3f127187d4f876ec5079a1a03dd297d1f85ce14c8d8e53e ssh-agent -k 15:06:48 unset SSH_AUTH_SOCK; 15:06:48 unset SSH_AGENT_PID; 15:06:48 echo Agent pid 17 killed; 15:06:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:06:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:06:48 [ssh-agent] Looking for ssh-agent implementation... 15:06:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:06:48 $ docker exec 5434df12cd78f3b8e3f127187d4f876ec5079a1a03dd297d1f85ce14c8d8e53e ssh-agent 15:06:48 SSH_AUTH_SOCK=/tmp/ssh-4gQzGU9htmiS/agent.45 15:06:48 SSH_AGENT_PID=51 15:06:48 Running ssh-add (command line suppressed) 15:06:48 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_5479812741143610442.key (/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_5479812741143610442.key) 15:06:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:06:49 + git semver init 15:06:49 # -> Open(): unable to determine branch for HEAD 15:06:49 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-636/.git 15:06:49 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-636 15:06:49 # $SEMVER_REMOTE_NAME = origin 15:06:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:06:49 # $SEMVER_USER_NAME = edgex-jenkins 15:06:49 # $SEMVER_BRANCH = PR-636 15:06:49 # $SEMVER_TEMP = /tmp/semver-267927469 15:06:49 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 15:06:53 # '/tmp/semver-267927469' -> '/w/workspace/ndry_app-functions-sdk-go_PR-636/.semver' 15:06:53 # -> Force: false 15:06:53 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-636/.semver [Pipeline] } 15:06:53 $ docker exec --env ******** --env ******** 5434df12cd78f3b8e3f127187d4f876ec5079a1a03dd297d1f85ce14c8d8e53e ssh-agent -k 15:06:53 unset SSH_AUTH_SOCK; 15:06:53 unset SSH_AGENT_PID; 15:06:53 echo Agent pid 51 killed; 15:06:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:06:54 + git semver [Pipeline] } 15:06:54 $ docker stop --time=1 5434df12cd78f3b8e3f127187d4f876ec5079a1a03dd297d1f85ce14c8d8e53e 15:06:55 $ docker rm -f 5434df12cd78f3b8e3f127187d4f876ec5079a1a03dd297d1f85ce14c8d8e53e [Pipeline] // withDockerContainer [Pipeline] sh 15:06:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:06:56 Stashed 1 file(s) [Pipeline] echo 15:06:56 [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 15:07:12 Still waiting to schedule task 15:07:12 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21944’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 15:07:12 Still waiting to schedule task 15:07:12 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 15:08:39 Running on prd-centos7-docker-4c-2g-21947 in /w/workspace/ndry_app-functions-sdk-go_PR-636 [Pipeline] { [Pipeline] ws 15:08:39 Running in /w/workspace/app-functions-sdk-go/10 [Pipeline] { [Pipeline] checkout 15:08:42 using credential edgex-jenkins-ssh 15:08:42 Cloning the remote Git repository 15:08:42 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:08:42 > git init /w/workspace/app-functions-sdk-go/10 # timeout=10 15:08:42 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:08:42 > git --version # timeout=10 15:08:42 > git --version # 'git version 2.24.3' 15:08:42 using GIT_SSH to set credentials SSH Credentials for GitHub 15:08:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:08:43 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:08:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:08:43 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:08:43 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:08:43 using GIT_SSH to set credentials SSH Credentials for GitHub 15:08:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/636/head:refs/remotes/origin/PR-636 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:08:44 Merging remotes/origin/master commit e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 into PR head commit 3dbfcee452e6b2ef68a6f0b1591f3d8bbc922ab6 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:08:44 Failed in branch amd64 15:08:44 > git config core.sparsecheckout # timeout=10 15:08:44 > git checkout -f 3dbfcee452e6b2ef68a6f0b1591f3d8bbc922ab6 # timeout=10 15:09:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21948 in /w/workspace/ndry_app-functions-sdk-go_PR-636 [Pipeline] { [Pipeline] ws 15:09:44 Running in /w/workspace/app-functions-sdk-go/10 [Pipeline] { [Pipeline] checkout 15:09:50 using credential edgex-jenkins-ssh 15:09:50 Cloning the remote Git repository 15:09:50 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:09:50 > git init /w/workspace/app-functions-sdk-go/10 # timeout=10 15:09:50 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:09:50 > git --version # timeout=10 15:09:50 > git --version # 'git version 2.17.1' 15:09:50 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:53 Merging remotes/origin/master commit e76bbc755d7cb2f64764cccd26f66b3c6d48b6b8 into PR head commit 3dbfcee452e6b2ef68a6f0b1591f3d8bbc922ab6 15:09:53 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:09:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:53 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:09:53 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:09:53 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/636/head:refs/remotes/origin/PR-636 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:09:53 > git config core.sparsecheckout # timeout=10 15:09:53 > git checkout -f 3dbfcee452e6b2ef68a6f0b1591f3d8bbc922ab6 # timeout=10 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:09:54 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:09:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:09:57 ---> package-listing.sh 15:09:57 ++ tr '[:upper:]' '[:lower:]' 15:09:57 ++ facter osfamily 15:09:57 + OS_FAMILY=redhat 15:09:57 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-636 15:09:57 + START_PACKAGES=/tmp/packages_start.txt 15:09:57 + END_PACKAGES=/tmp/packages_end.txt 15:09:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:09:57 + PACKAGES=/tmp/packages_start.txt 15:09:57 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-636 ']' 15:09:57 + PACKAGES=/tmp/packages_end.txt 15:09:57 + case "${OS_FAMILY}" in 15:09:57 + rpm -qa 15:09:57 + sort 15:10:04 + '[' -f /tmp/packages_start.txt ']' 15:10:04 + '[' -f /tmp/packages_end.txt ']' 15:10:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:10:04 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-636 ']' 15:10:04 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-636/archives/ 15:10:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-636/archives/ [Pipeline] echo 15:10:04 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-636/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:10:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:10:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:10:04 15:10:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:10:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:10:05 alpine: Pulling from edgex-lftools-log-publisher 15:10:05 df20fa9351a1: Pulling fs layer 15:10:05 36b3adc4ff6f: Pulling fs layer 15:10:05 8ad3a11d3b57: Pulling fs layer 15:10:05 46f8f816bc3b: Pulling fs layer 15:10:05 93b61091891f: Pulling fs layer 15:10:05 93b9cdb0e59b: Pulling fs layer 15:10:05 5e14af77c1be: Pulling fs layer 15:10:05 01666e4c0597: Pulling fs layer 15:10:05 aa168da1d23b: Pulling fs layer 15:10:05 93b9cdb0e59b: Waiting 15:10:05 5e14af77c1be: Waiting 15:10:05 01666e4c0597: Waiting 15:10:05 aa168da1d23b: Waiting 15:10:05 46f8f816bc3b: Waiting 15:10:05 93b61091891f: Waiting 15:10:05 36b3adc4ff6f: Verifying Checksum 15:10:05 36b3adc4ff6f: Download complete 15:10:05 46f8f816bc3b: Verifying Checksum 15:10:05 46f8f816bc3b: Download complete 15:10:05 df20fa9351a1: Verifying Checksum 15:10:05 df20fa9351a1: Download complete 15:10:05 93b61091891f: Download complete 15:10:05 93b9cdb0e59b: Download complete 15:10:05 01666e4c0597: Verifying Checksum 15:10:05 01666e4c0597: Download complete 15:10:05 5e14af77c1be: Download complete 15:10:05 8ad3a11d3b57: Verifying Checksum 15:10:05 8ad3a11d3b57: Download complete 15:10:05 df20fa9351a1: Pull complete 15:10:06 36b3adc4ff6f: Pull complete 15:10:07 8ad3a11d3b57: Pull complete 15:10:07 46f8f816bc3b: Pull complete 15:10:07 93b61091891f: Pull complete 15:10:07 aa168da1d23b: Verifying Checksum 15:10:07 aa168da1d23b: Download complete 15:10:07 93b9cdb0e59b: Pull complete 15:10:07 5e14af77c1be: Pull complete 15:10:07 01666e4c0597: Pull complete 15:10:16 aa168da1d23b: Pull complete 15:10:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:10:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:10:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:10:16 prd-centos7-docker-4c-2g-21943 does not seem to be running inside a container 15:10:16 $ 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-636/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-636 -v /w/workspace/ndry_app-functions-sdk-go_PR-636:/w/workspace/ndry_app-functions-sdk-go_PR-636:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-636@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:10:19 $ docker top 0b57c3dc344c8e34a7b7897964cc3fb998942418261a602b46103d6baff1e5b0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:10:20 + touch /tmp/pre-build-complete [Pipeline] sh 15:10:20 + mkdir -p /var/log/sa [Pipeline] sh 15:10:20 + ls /var/log/sa-host 15:10:20 + sadf -c /var/log/sa-host/sa21 15:10:20 file_magic: OK 15:10:20 HZ: Using current value: 100 15:10:20 file_header: OK 15:10:20 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 15:10:20 Statistics: 15:10:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:10:20 File successfully converted to sysstat format version 12.2.1 15:10:20 + sadf -c /var/log/sa-host/sa23 15:10:20 file_magic: OK 15:10:20 HZ: Using current value: 100 15:10:20 file_header: OK 15:10:20 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 15:10:20 Statistics: 15:10:20 Hnuu...uuuununununu... 15:10:20 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:10:21 provisioning config files... 15:10:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/config5212617704521778822tmp [Pipeline] { [Pipeline] echo 15:10:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:10:21 ---> create-netrc.sh [Pipeline] } 15:10:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:10:21 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:10:22 ---> python-tools-install.sh [Pipeline] echo 15:10:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:10:22 ---> sudo-logs.sh 15:10:22 Archiving 'sudo' log.. [Pipeline] echo 15:10:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:10:22 ---> job-cost.sh 15:10:22 lf-activate-venv: SKIPPING 15:10:22 INFO: No Stack... 15:10:23 INFO: Retrieving Pricing Info for: v1-standard-2 15:10:24 INFO: Archiving Costs [Pipeline] echo 15:10:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:10:24 ---> logs-deploy.sh 15:10:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-636/10 15:10:24 INFO: archiving workspace using pattern(s): 15:10:26 Archives upload complete. 15:10:26 INFO: archiving logs to Nexus