Pull request #636 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 067b88e4eaa8fb350607c908281ad54b35b1c10d+78327a46572e967a5a0e34662e53080e530e38da (8b7d5728c219c38d66a45e116cfaf344969af30e) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-21753 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 78327a46572e967a5a0e34662e53080e530e38da into PR head commit 067b88e4eaa8fb350607c908281ad54b35b1c10d Merge succeeded, producing d960689737479a75a987f9227080d6603fcd11a6 Checking out Revision d960689737479a75a987f9227080d6603fcd11a6 (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 067b88e4eaa8fb350607c908281ad54b35b1c10d # 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 78327a46572e967a5a0e34662e53080e530e38da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d960689737479a75a987f9227080d6603fcd11a6 # timeout=10 Commit message: "Merge commit '78327a46572e967a5a0e34662e53080e530e38da' into HEAD" > git rev-list --no-walk 067b88e4eaa8fb350607c908281ad54b35b1c10d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:57:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:57:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:57:57 ========================================================= 23:57:57 EdgeX Global Pipelines Version Info 23:57:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:57:59 ------------------- 23:57:59 stable info: 23:57:59 ------------------- 23:57:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:57:59 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:57:59 Message: update stable to v1.0.179 23:58:00 ------------------- 23:58:00 experimental info: 23:58:00 ------------------- 23:58:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:58:00 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:58:00 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-636 [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-636 [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-636 [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d960689737479a75a987f9227080d6603fcd11a6 [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d960689 [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:58:04 + git log --format=format:%s -1 d960689737479a75a987f9227080d6603fcd11a6 [Pipeline] echo 23:58:04 GIT_COMMIT: d960689737479a75a987f9227080d6603fcd11a6, Commit Message: Merge commit '78327a46572e967a5a0e34662e53080e530e38da' into HEAD [Pipeline] echo 23:58:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:58:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:05 23:58:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:58:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:05 latest: Pulling from edgex-devops/git-semver 23:58:05 31603596830f: Pulling fs layer 23:58:05 2a8b12db71e7: Pulling fs layer 23:58:05 6ca5941a6612: Pulling fs layer 23:58:05 ecc8261a40a4: Pulling fs layer 23:58:05 ecc8261a40a4: Waiting 23:58:05 2a8b12db71e7: Verifying Checksum 23:58:05 2a8b12db71e7: Download complete 23:58:05 ecc8261a40a4: Verifying Checksum 23:58:05 ecc8261a40a4: Download complete 23:58:05 6ca5941a6612: Verifying Checksum 23:58:05 6ca5941a6612: Download complete 23:58:06 31603596830f: Download complete 23:58:06 31603596830f: Pull complete 23:58:06 2a8b12db71e7: Pull complete 23:58:07 6ca5941a6612: Pull complete 23:58:07 ecc8261a40a4: Pull complete 23:58:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:58:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:58:07 prd-centos7-docker-4c-2g-21753 does not seem to be running inside a container 23:58:07 $ 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 23:58:09 $ docker top 0e0269fb9e92ee13ea4c18b619a2a1bdf97bc51efa4623b4ddcd1aec0545d7b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:58:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:09 [ssh-agent] Looking for ssh-agent implementation... 23:58:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:09 $ docker exec 0e0269fb9e92ee13ea4c18b619a2a1bdf97bc51efa4623b4ddcd1aec0545d7b1 ssh-agent 23:58:10 SSH_AUTH_SOCK=/tmp/ssh-icbZ998V41ul/agent.11 23:58:10 SSH_AGENT_PID=16 23:58:10 Running ssh-add (command line suppressed) 23:58:10 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_7786443762429953467.key (/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_7786443762429953467.key) 23:58:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:10 + git tag --points-at HEAD [Pipeline] } 23:58:10 $ docker exec --env ******** --env ******** 0e0269fb9e92ee13ea4c18b619a2a1bdf97bc51efa4623b4ddcd1aec0545d7b1 ssh-agent -k 23:58:10 unset SSH_AUTH_SOCK; 23:58:10 unset SSH_AGENT_PID; 23:58:10 echo Agent pid 16 killed; 23:58:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:58:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:10 [ssh-agent] Looking for ssh-agent implementation... 23:58:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:11 $ docker exec 0e0269fb9e92ee13ea4c18b619a2a1bdf97bc51efa4623b4ddcd1aec0545d7b1 ssh-agent 23:58:11 SSH_AUTH_SOCK=/tmp/ssh-rkubTdtFQBgC/agent.44 23:58:11 SSH_AGENT_PID=50 23:58:11 Running ssh-add (command line suppressed) 23:58:11 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_8348625482805390206.key (/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/private_key_8348625482805390206.key) 23:58:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:11 + git semver init 23:58:11 # -> Open(): unable to determine branch for HEAD 23:58:11 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-636/.git 23:58:11 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-636 23:58:11 # $SEMVER_REMOTE_NAME = origin 23:58:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:58:11 # $SEMVER_USER_NAME = edgex-jenkins 23:58:11 # $SEMVER_BRANCH = PR-636 23:58:11 # $SEMVER_TEMP = /tmp/semver-094046204 23:58:11 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:58:14 # '/tmp/semver-094046204' -> '/w/workspace/ndry_app-functions-sdk-go_PR-636/.semver' 23:58:14 # -> Force: false 23:58:14 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-636/.semver [Pipeline] } 23:58:14 $ docker exec --env ******** --env ******** 0e0269fb9e92ee13ea4c18b619a2a1bdf97bc51efa4623b4ddcd1aec0545d7b1 ssh-agent -k 23:58:14 unset SSH_AUTH_SOCK; 23:58:14 unset SSH_AGENT_PID; 23:58:14 echo Agent pid 50 killed; 23:58:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:58:15 + git semver [Pipeline] } 23:58:15 $ docker stop --time=1 0e0269fb9e92ee13ea4c18b619a2a1bdf97bc51efa4623b4ddcd1aec0545d7b1 23:58:16 $ docker rm -f 0e0269fb9e92ee13ea4c18b619a2a1bdf97bc51efa4623b4ddcd1aec0545d7b1 [Pipeline] // withDockerContainer [Pipeline] sh 23:58:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:58:17 Stashed 1 file(s) [Pipeline] echo 23:58:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 23:58:32 Still waiting to schedule task 23:58:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:58:32 Still waiting to schedule task 23:58:32 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 00:00:12 Running on prd-centos7-docker-4c-2g-21758 in /w/workspace/ndry_app-functions-sdk-go_PR-636 [Pipeline] { [Pipeline] ws 00:00:12 Running in /w/workspace/app-functions-sdk-go/8 [Pipeline] { [Pipeline] checkout 00:00:15 using credential edgex-jenkins-ssh 00:00:15 Cloning the remote Git repository 00:00:15 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:00:15 > git init /w/workspace/app-functions-sdk-go/8 # timeout=10 00:00:15 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:00:15 > git --version # timeout=10 00:00:15 > git --version # 'git version 2.24.3' 00:00:15 using GIT_SSH to set credentials SSH Credentials for GitHub 00:00:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:00:17 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:00:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:00:17 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:00:17 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:00:17 using GIT_SSH to set credentials SSH Credentials for GitHub 00:00:17 > 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 00:00:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21757 in /w/workspace/ndry_app-functions-sdk-go_PR-636 [Pipeline] { [Pipeline] ws 00:00:17 Running in /w/workspace/app-functions-sdk-go/8 [Pipeline] { [Pipeline] checkout 00:00:17 Merging remotes/origin/master commit 78327a46572e967a5a0e34662e53080e530e38da into PR head commit 067b88e4eaa8fb350607c908281ad54b35b1c10d [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:00:18 Failed in branch amd64 00:00:17 > git config core.sparsecheckout # timeout=10 00:00:17 > git checkout -f 067b88e4eaa8fb350607c908281ad54b35b1c10d # timeout=10 00:00:22 using credential edgex-jenkins-ssh 00:00:22 Cloning the remote Git repository 00:00:22 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:00:22 > git init /w/workspace/app-functions-sdk-go/8 # timeout=10 00:00:23 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:00:23 > git --version # timeout=10 00:00:23 > git --version # 'git version 2.17.1' 00:00:23 using GIT_SSH to set credentials SSH Credentials for GitHub 00:00:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:00:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:00:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:00:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:00:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:00:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:00:26 > 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 00:00:26 Merging remotes/origin/master commit 78327a46572e967a5a0e34662e53080e530e38da into PR head commit 067b88e4eaa8fb350607c908281ad54b35b1c10d [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:00:27 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 00:00:26 > git config core.sparsecheckout # timeout=10 00:00:26 > git checkout -f 067b88e4eaa8fb350607c908281ad54b35b1c10d # timeout=10 [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:00:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:00:30 ---> package-listing.sh 00:00:30 ++ facter osfamily 00:00:30 ++ tr '[:upper:]' '[:lower:]' 00:00:30 + OS_FAMILY=redhat 00:00:30 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-636 00:00:30 + START_PACKAGES=/tmp/packages_start.txt 00:00:30 + END_PACKAGES=/tmp/packages_end.txt 00:00:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:00:30 + PACKAGES=/tmp/packages_start.txt 00:00:30 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-636 ']' 00:00:30 + PACKAGES=/tmp/packages_end.txt 00:00:30 + case "${OS_FAMILY}" in 00:00:30 + rpm -qa 00:00:30 + sort 00:00:35 + '[' -f /tmp/packages_start.txt ']' 00:00:35 + '[' -f /tmp/packages_end.txt ']' 00:00:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:00:35 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-636 ']' 00:00:35 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-636/archives/ 00:00:35 + 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 00:00:35 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 00:00:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:00:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:00:35 00:00:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:00:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:00:36 alpine: Pulling from edgex-lftools-log-publisher 00:00:36 df20fa9351a1: Pulling fs layer 00:00:36 36b3adc4ff6f: Pulling fs layer 00:00:36 8ad3a11d3b57: Pulling fs layer 00:00:36 46f8f816bc3b: Pulling fs layer 00:00:36 93b61091891f: Pulling fs layer 00:00:36 93b9cdb0e59b: Pulling fs layer 00:00:36 5e14af77c1be: Pulling fs layer 00:00:36 01666e4c0597: Pulling fs layer 00:00:36 aa168da1d23b: Pulling fs layer 00:00:36 46f8f816bc3b: Waiting 00:00:36 93b61091891f: Waiting 00:00:36 93b9cdb0e59b: Waiting 00:00:36 5e14af77c1be: Waiting 00:00:36 01666e4c0597: Waiting 00:00:36 aa168da1d23b: Waiting 00:00:36 36b3adc4ff6f: Verifying Checksum 00:00:36 36b3adc4ff6f: Download complete 00:00:36 46f8f816bc3b: Download complete 00:00:36 df20fa9351a1: Verifying Checksum 00:00:36 df20fa9351a1: Download complete 00:00:36 93b9cdb0e59b: Verifying Checksum 00:00:36 93b9cdb0e59b: Download complete 00:00:36 93b61091891f: Verifying Checksum 00:00:36 93b61091891f: Download complete 00:00:36 5e14af77c1be: Download complete 00:00:36 01666e4c0597: Verifying Checksum 00:00:36 01666e4c0597: Download complete 00:00:36 df20fa9351a1: Pull complete 00:00:37 36b3adc4ff6f: Pull complete 00:00:37 8ad3a11d3b57: Verifying Checksum 00:00:37 8ad3a11d3b57: Download complete 00:00:37 8ad3a11d3b57: Pull complete 00:00:37 46f8f816bc3b: Pull complete 00:00:38 aa168da1d23b: Verifying Checksum 00:00:38 aa168da1d23b: Download complete 00:00:39 93b61091891f: Pull complete 00:00:40 93b9cdb0e59b: Pull complete 00:00:40 5e14af77c1be: Pull complete 00:00:40 01666e4c0597: Pull complete 00:00:46 aa168da1d23b: Pull complete 00:00:46 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:00:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:00:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:00:47 prd-centos7-docker-4c-2g-21753 does not seem to be running inside a container 00:00:47 $ 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 00:00:52 $ docker top 9721a4e489cb2e05707f007064c0496a10ebb570e26b8d54894bbaf0b0a07a6f -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:52 + touch /tmp/pre-build-complete [Pipeline] sh 00:00:53 + mkdir -p /var/log/sa [Pipeline] sh 00:00:53 + ls /var/log/sa-host 00:00:53 + sadf -c /var/log/sa-host/sa20 00:00:53 file_magic: OK 00:00:53 HZ: Using current value: 100 00:00:53 file_header: OK 00:00:53 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:00:53 Statistics: 00:00:53 HRHnuu...uuuununununu...Hnuu...uuuununununu... 00:00:53 File successfully converted to sysstat format version 12.2.1 00:00:53 + sadf -c /var/log/sa-host/sa21 00:00:53 file_magic: OK 00:00:53 HZ: Using current value: 100 00:00:53 file_header: OK 00:00:53 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:00:53 Statistics: 00:00:53 Hnuu...uuuununununu... 00:00:53 File successfully converted to sysstat format version 12.2.1 00:00:53 + sadf -c /var/log/sa-host/sa23 00:00:53 file_magic: OK 00:00:53 HZ: Using current value: 100 00:00:53 file_header: OK 00:00:53 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:00:53 Statistics: 00:00:53 Hnuu...uuuununununu... 00:00:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:53 provisioning config files... 00:00:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-636@tmp/config8973589067586713125tmp [Pipeline] { [Pipeline] echo 00:00:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:00:53 ---> create-netrc.sh [Pipeline] } 00:00:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:00:54 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:00:54 ---> python-tools-install.sh [Pipeline] echo 00:00:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:00:54 ---> sudo-logs.sh 00:00:54 Archiving 'sudo' log.. [Pipeline] echo 00:00:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:00:54 ---> job-cost.sh 00:00:54 lf-activate-venv: SKIPPING 00:00:54 INFO: No Stack... 00:00:55 INFO: Retrieving Pricing Info for: v1-standard-2 00:00:56 INFO: Archiving Costs [Pipeline] echo 00:00:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:00:56 ---> logs-deploy.sh 00:00:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-636/8 00:00:56 INFO: archiving workspace using pattern(s): 00:00:58 Archives upload complete. 00:00:58 INFO: archiving logs to Nexus