Pull request #855 updated 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 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef+497a5d96327f6b59cac557d093967d0b1142606a (48e378b4e18e1d86a6236e83655b313213f39548) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3654563785345163650.key > 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 --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5919494692798635541.key > 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 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-855/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-855/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2982538117593643319.key > 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 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6369424477461435927.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-855/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-855/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3370744138397040353.key > 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 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-15590 in /w/workspace/ndry_app-functions-sdk-go_PR-855 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-855 # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-855@tmp/jenkins-gitclient-ssh165706137188490553.key > 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 497a5d96327f6b59cac557d093967d0b1142606a into PR head commit 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef Merge succeeded, producing 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef Checking out Revision 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef (PR-855) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-855@tmp/jenkins-gitclient-ssh3253111230837081741.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/855/head:refs/remotes/origin/PR-855 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-855@tmp/jenkins-gitclient-ssh1766503018284642105.key > git merge 497a5d96327f6b59cac557d093967d0b1142606a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef # timeout=10 Commit message: "refactor: Use common ServiceInfo struct and adjust code/configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:07:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:07:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:07:20 ========================================================= 23:07:20 EdgeX Global Pipelines Version Info 23:07:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:07:22 ------------------- 23:07:22 stable info: 23:07:22 ------------------- 23:07:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:07:22 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 23:07:22 Message: update stable to v1.0.192 23:07:22 ------------------- 23:07:22 experimental info: 23:07:22 ------------------- 23:07:22 Commited By: **** collab-it+edgex@linuxfoundation.org 23:07:22 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 23:07:22 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-855 [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-855 [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-855 [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95ae11d [Pipeline] echo 23:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:07:24 + git log --format=format:%s -1 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef [Pipeline] echo 23:07:24 GIT_COMMIT: 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef, Commit Message: refactor: Use common ServiceInfo struct and adjust code/configuration [Pipeline] echo 23:07:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:07:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:07:27 23:07:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:07:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:07:27 latest: Pulling from edgex-devops/git-semver 23:07:27 31603596830f: Pulling fs layer 23:07:27 54011a49482f: Pulling fs layer 23:07:27 a6820b24f6d8: Pulling fs layer 23:07:27 f581987b2513: Pulling fs layer 23:07:27 f581987b2513: Waiting 23:07:27 54011a49482f: Verifying Checksum 23:07:27 54011a49482f: Download complete 23:07:27 31603596830f: Verifying Checksum 23:07:27 31603596830f: Download complete 23:07:27 f581987b2513: Verifying Checksum 23:07:27 f581987b2513: Download complete 23:07:27 a6820b24f6d8: Verifying Checksum 23:07:27 a6820b24f6d8: Download complete 23:07:28 31603596830f: Pull complete 23:07:28 54011a49482f: Pull complete 23:07:28 a6820b24f6d8: Pull complete 23:07:28 f581987b2513: Pull complete 23:07:28 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 23:07:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:07:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:07:29 prd-centos7-docker-4c-2g-15590 does not seem to be running inside a container 23:07:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-855 -v /w/workspace/ndry_app-functions-sdk-go_PR-855:/w/workspace/ndry_app-functions-sdk-go_PR-855:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-855@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-855@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:10004/edgex-devops/git-semver:latest cat 23:07:30 $ docker top 1eeebe219d69376960d60f614d89e0829192c7c4bc96766c00c959410c322adf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:07:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:07:30 [ssh-agent] Looking for ssh-agent implementation... 23:07:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:07:30 $ docker exec 1eeebe219d69376960d60f614d89e0829192c7c4bc96766c00c959410c322adf ssh-agent 23:07:30 SSH_AUTH_SOCK=/tmp/ssh-SNsUsJux2na2/agent.13 23:07:30 SSH_AGENT_PID=20 23:07:30 Running ssh-add (command line suppressed) 23:07:30 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-855@tmp/private_key_4099765076972565272.key (/w/workspace/ndry_app-functions-sdk-go_PR-855@tmp/private_key_4099765076972565272.key) 23:07:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:07:31 + git tag --points-at HEAD [Pipeline] } 23:07:31 $ docker exec --env ******** --env ******** 1eeebe219d69376960d60f614d89e0829192c7c4bc96766c00c959410c322adf ssh-agent -k 23:07:31 unset SSH_AUTH_SOCK; 23:07:31 unset SSH_AGENT_PID; 23:07:31 echo Agent pid 20 killed; 23:07:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:07:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:07:31 [ssh-agent] Looking for ssh-agent implementation... 23:07:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:07:31 $ docker exec 1eeebe219d69376960d60f614d89e0829192c7c4bc96766c00c959410c322adf ssh-agent 23:07:31 SSH_AUTH_SOCK=/tmp/ssh-14rZRtMpEIAK/agent.54 23:07:31 SSH_AGENT_PID=60 23:07:31 Running ssh-add (command line suppressed) 23:07:31 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-855@tmp/private_key_3663320478384833635.key (/w/workspace/ndry_app-functions-sdk-go_PR-855@tmp/private_key_3663320478384833635.key) 23:07:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:07:31 + git semver init 23:07:31 # -> Open(): unable to determine branch for HEAD 23:07:31 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-855/.git 23:07:31 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-855 23:07:31 # $SEMVER_REMOTE_NAME = origin 23:07:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:07:31 # $SEMVER_USER_NAME = edgex-jenkins 23:07:31 # $SEMVER_BRANCH = PR-855 23:07:31 # $SEMVER_TEMP = /tmp/semver-655898327 23:07:31 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:07:33 # '/tmp/semver-655898327' -> '/w/workspace/ndry_app-functions-sdk-go_PR-855/.semver' 23:07:33 # -> Force: false 23:07:33 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-855/.semver [Pipeline] } 23:07:33 $ docker exec --env ******** --env ******** 1eeebe219d69376960d60f614d89e0829192c7c4bc96766c00c959410c322adf ssh-agent -k 23:07:34 unset SSH_AUTH_SOCK; 23:07:34 unset SSH_AGENT_PID; 23:07:34 echo Agent pid 60 killed; 23:07:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:07:34 + git semver [Pipeline] } 23:07:34 $ docker stop --time=1 1eeebe219d69376960d60f614d89e0829192c7c4bc96766c00c959410c322adf 23:07:35 $ docker rm -f 1eeebe219d69376960d60f614d89e0829192c7c4bc96766c00c959410c322adf [Pipeline] // withDockerContainer [Pipeline] sh 23:07:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:07:36 Stashed 1 file(s) [Pipeline] echo 23:07:36 [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:07:51 Still waiting to schedule task 23:07:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:07:51 Still waiting to schedule task 23:07:51 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:10:18 Running on prd-centos7-docker-4c-2g-15591 in /w/workspace/ndry_app-functions-sdk-go_PR-855 [Pipeline] { [Pipeline] ws 23:10:18 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 23:10:18 The recommended git tool is: git 23:10:20 using credential edgex-jenkins-ssh 23:10:20 Cloning the remote Git repository 23:10:19 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:10:19 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 23:10:20 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:10:20 > git --version # timeout=10 23:10:20 > git --version # 'git version 2.24.4' 23:10:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:10:20 [INFO] Currently running in a labeled security context 23:10:20 [INFO] Currently SELinux is 'enforcing' on the host 23:10:20 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh5587989008845667299.key 23:10:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:10:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:10:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:10:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:10:21 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:10:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:10:21 [INFO] Currently running in a labeled security context 23:10:21 [INFO] Currently SELinux is 'enforcing' on the host 23:10:21 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh7113821074864853036.key 23:10:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/855/head:refs/remotes/origin/PR-855 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:10:24 Merging remotes/origin/master commit 497a5d96327f6b59cac557d093967d0b1142606a into PR head commit 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:10:24 Failed in branch amd64 23:10:24 > git config core.sparsecheckout # timeout=10 23:10:24 > git checkout -f 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef # timeout=10 23:11:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15592 in /w/workspace/ndry_app-functions-sdk-go_PR-855 [Pipeline] { [Pipeline] ws 23:11:49 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 23:11:49 The recommended git tool is: git 23:11:56 using credential edgex-jenkins-ssh 23:11:56 Cloning the remote Git repository 23:11:56 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:11:56 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 23:11:56 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:11:56 > git --version # timeout=10 23:11:56 > git --version # 'git version 2.17.1' 23:11:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:12:00 Merging remotes/origin/master commit 497a5d96327f6b59cac557d093967d0b1142606a into PR head commit 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:12:00 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] } 23:11:59 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:11:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:59 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:11:59 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:11:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/855/head:refs/remotes/origin/PR-855 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:12:00 > git config core.sparsecheckout # timeout=10 23:12:00 > git checkout -f 95ae11d3be7c4bfb3f76ff9a630364852e98a3ef # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 23:12:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:12:02 ---> package-listing.sh 23:12:02 ++ facter osfamily 23:12:02 ++ tr '[:upper:]' '[:lower:]' 23:12:02 + OS_FAMILY=redhat 23:12:02 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-855 23:12:02 + START_PACKAGES=/tmp/packages_start.txt 23:12:02 + END_PACKAGES=/tmp/packages_end.txt 23:12:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:12:02 + PACKAGES=/tmp/packages_start.txt 23:12:02 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-855 ']' 23:12:02 + PACKAGES=/tmp/packages_end.txt 23:12:02 + case "${OS_FAMILY}" in 23:12:02 + rpm -qa 23:12:02 + sort 23:12:03 + '[' -f /tmp/packages_start.txt ']' 23:12:03 + '[' -f /tmp/packages_end.txt ']' 23:12:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:12:03 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-855 ']' 23:12:03 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-855/archives/ 23:12:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-855/archives/ [Pipeline] echo 23:12:03 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-855/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:12:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:12:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:12:04 23:12:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:12:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:12:04 alpine: Pulling from edgex-lftools-log-publisher 23:12:04 df20fa9351a1: Pulling fs layer 23:12:04 36b3adc4ff6f: Pulling fs layer 23:12:04 8ad3a11d3b57: Pulling fs layer 23:12:04 46f8f816bc3b: Pulling fs layer 23:12:04 93b61091891f: Pulling fs layer 23:12:04 93b9cdb0e59b: Pulling fs layer 23:12:04 5e14af77c1be: Pulling fs layer 23:12:04 01666e4c0597: Pulling fs layer 23:12:04 aa168da1d23b: Pulling fs layer 23:12:04 46f8f816bc3b: Waiting 23:12:04 93b61091891f: Waiting 23:12:04 93b9cdb0e59b: Waiting 23:12:04 5e14af77c1be: Waiting 23:12:04 01666e4c0597: Waiting 23:12:04 aa168da1d23b: Waiting 23:12:04 36b3adc4ff6f: Verifying Checksum 23:12:04 36b3adc4ff6f: Download complete 23:12:04 46f8f816bc3b: Verifying Checksum 23:12:04 46f8f816bc3b: Download complete 23:12:04 df20fa9351a1: Verifying Checksum 23:12:04 df20fa9351a1: Download complete 23:12:04 93b9cdb0e59b: Verifying Checksum 23:12:04 93b9cdb0e59b: Download complete 23:12:04 5e14af77c1be: Verifying Checksum 23:12:04 5e14af77c1be: Download complete 23:12:04 01666e4c0597: Verifying Checksum 23:12:04 01666e4c0597: Download complete 23:12:04 93b61091891f: Verifying Checksum 23:12:04 93b61091891f: Download complete 23:12:04 df20fa9351a1: Pull complete 23:12:05 8ad3a11d3b57: Verifying Checksum 23:12:05 8ad3a11d3b57: Download complete 23:12:05 36b3adc4ff6f: Pull complete 23:12:05 8ad3a11d3b57: Pull complete 23:12:05 46f8f816bc3b: Pull complete 23:12:06 93b61091891f: Pull complete 23:12:06 93b9cdb0e59b: Pull complete 23:12:06 5e14af77c1be: Pull complete 23:12:06 01666e4c0597: Pull complete 23:12:06 aa168da1d23b: Verifying Checksum 23:12:06 aa168da1d23b: Download complete 23:12:12 aa168da1d23b: Pull complete 23:12:12 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:12:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:12:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:12:12 prd-centos7-docker-4c-2g-15590 does not seem to be running inside a container 23:12:12 $ 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-855/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-855 -v /w/workspace/ndry_app-functions-sdk-go_PR-855:/w/workspace/ndry_app-functions-sdk-go_PR-855:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-855@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-855@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:12:14 $ docker top f762656498e21e2eba4b7efb34697f4433453861005f9da5f3744fd2d11b9908 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:14 + touch /tmp/pre-build-complete [Pipeline] sh 23:12:14 + mkdir -p /var/log/sa [Pipeline] sh 23:12:15 + ls /var/log/sa-host 23:12:15 + sadf -c /var/log/sa-host/sa05 23:12:15 file_magic: OK 23:12:15 HZ: Using current value: 100 23:12:15 file_header: OK 23:12:15 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:12:15 Statistics: 23:12:15 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:12:15 File successfully converted to sysstat format version 12.2.1 23:12:15 + sadf -c /var/log/sa-host/sa21 23:12:15 file_magic: OK 23:12:15 HZ: Using current value: 100 23:12:15 file_header: OK 23:12:15 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:12:15 Statistics: 23:12:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:12:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:15 provisioning config files... 23:12:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-855@tmp/config8817905993246926643tmp [Pipeline] { [Pipeline] echo 23:12:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:12:15 ---> create-netrc.sh [Pipeline] } 23:12:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:12:15 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:12:15 ---> python-tools-install.sh [Pipeline] echo 23:12:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:12:16 ---> sudo-logs.sh 23:12:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:12:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:12:16 ---> job-cost.sh 23:12:16 lf-activate-venv: SKIPPING 23:12:16 INFO: No Stack... 23:12:18 INFO: Retrieving Pricing Info for: v3-standard-2 23:12:18 INFO: Archiving Costs [Pipeline] echo 23:12:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:12:18 ---> logs-deploy.sh 23:12:18 lf-activate-venv: SKIPPING 23:12:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-855/3 23:12:18 INFO: archiving workspace using pattern(s): 23:12:19 Archives upload complete. 23:12:19 INFO: archiving logs to Nexus