Pull request #481 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fffcbc1ac587f5623e08ccc9fc04e8ca76777539+6f19a0cc372da972f896d81446be19c81c22f58c (282d21d0c542bc766134a39bc1d4f508d66314ce) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30 in /w/workspace/ndry_app-functions-sdk-go_PR-481 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-481 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/481/head:refs/remotes/origin/PR-481 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6f19a0cc372da972f896d81446be19c81c22f58c into PR head commit fffcbc1ac587f5623e08ccc9fc04e8ca76777539 Merge succeeded, producing 43ce05c4a204096e8b0b33d37a5ca168ce49755d Checking out Revision 43ce05c4a204096e8b0b33d37a5ca168ce49755d (PR-481) > git config core.sparsecheckout # timeout=10 > git checkout -f fffcbc1ac587f5623e08ccc9fc04e8ca76777539 # 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 6f19a0cc372da972f896d81446be19c81c22f58c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43ce05c4a204096e8b0b33d37a5ca168ce49755d # timeout=10 Commit message: "Merge commit '6f19a0cc372da972f896d81446be19c81c22f58c' into HEAD" > git rev-list --no-walk fffcbc1ac587f5623e08ccc9fc04e8ca76777539 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-16T22:33:59.410Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-16T22:33:59.680Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-16T22:33:59.785Z] ========================================================= [2020-09-16T22:33:59.785Z] EdgeX Global Pipelines Version Info [2020-09-16T22:33:59.785Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:34:01.731Z] ------------------- [2020-09-16T22:34:01.731Z] stable info: [2020-09-16T22:34:01.731Z] ------------------- [2020-09-16T22:34:01.731Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-16T22:34:01.732Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T22:34:01.732Z] Message: update stable to v1.0.122 [2020-09-16T22:34:03.203Z] ------------------- [2020-09-16T22:34:03.203Z] experimental info: [2020-09-16T22:34:03.203Z] ------------------- [2020-09-16T22:34:03.203Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-16T22:34:03.203Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T22:34:03.203Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-16T22:34:03.593Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-16T22:34:03.697Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-16T22:34:03.820Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-16T22:34:03.937Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-16T22:34:04.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-16T22:34:04.114Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-16T22:34:04.210Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-16T22:34:04.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-16T22:34:04.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-16T22:34:04.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-16T22:34:04.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-16T22:34:04.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-16T22:34:04.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-16T22:34:04.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-16T22:34:05.004Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:34:05.127Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:34:05.215Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:34:05.308Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T22:34:05.430Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-16T22:34:05.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-16T22:34:05.609Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-16T22:34:05.704Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-16T22:34:05.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-481 [Pipeline] echo [2020-09-16T22:34:05.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-481 [Pipeline] echo [2020-09-16T22:34:06.054Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-481 [Pipeline] echo [2020-09-16T22:34:06.141Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43ce05c4a204096e8b0b33d37a5ca168ce49755d [Pipeline] echo [2020-09-16T22:34:06.463Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43ce05c [Pipeline] echo [2020-09-16T22:34:06.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-16T22:34:07.265Z] + git log --format=format:%s -1 43ce05c4a204096e8b0b33d37a5ca168ce49755d [Pipeline] echo [2020-09-16T22:34:07.342Z] GIT_COMMIT: 43ce05c4a204096e8b0b33d37a5ca168ce49755d, Commit Message: Merge commit '6f19a0cc372da972f896d81446be19c81c22f58c' into HEAD [Pipeline] echo [2020-09-16T22:34:07.417Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:34:08.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:34:08.324Z] [2020-09-16T22:34:08.324Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:34:08.694Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:34:08.694Z] latest: Pulling from edgex-devops/git-semver [2020-09-16T22:34:08.694Z] 31603596830f: Pulling fs layer [2020-09-16T22:34:08.694Z] 2a8b12db71e7: Pulling fs layer [2020-09-16T22:34:08.694Z] 6ca5941a6612: Pulling fs layer [2020-09-16T22:34:08.694Z] ecc8261a40a4: Pulling fs layer [2020-09-16T22:34:08.694Z] ecc8261a40a4: Waiting [2020-09-16T22:34:08.694Z] 2a8b12db71e7: Verifying Checksum [2020-09-16T22:34:08.694Z] 2a8b12db71e7: Download complete [2020-09-16T22:34:08.964Z] 31603596830f: Verifying Checksum [2020-09-16T22:34:08.964Z] 31603596830f: Download complete [2020-09-16T22:34:08.964Z] ecc8261a40a4: Verifying Checksum [2020-09-16T22:34:08.964Z] ecc8261a40a4: Download complete [2020-09-16T22:34:08.964Z] 6ca5941a6612: Verifying Checksum [2020-09-16T22:34:08.964Z] 6ca5941a6612: Download complete [2020-09-16T22:34:09.234Z] 31603596830f: Pull complete [2020-09-16T22:34:09.234Z] 2a8b12db71e7: Pull complete [2020-09-16T22:34:10.177Z] 6ca5941a6612: Pull complete [2020-09-16T22:34:10.177Z] ecc8261a40a4: Pull complete [2020-09-16T22:34:10.177Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-16T22:34:10.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T22:34:10.438Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-16T22:34:10.552Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2020-09-16T22:34:10.613Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-481 -v /w/workspace/ndry_app-functions-sdk-go_PR-481:/w/workspace/ndry_app-functions-sdk-go_PR-481:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-481@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-481@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-16T22:34:12.661Z] $ docker top 40d7ff20f04df83f7668c72713729e0931662c7981df60387cf16b2903f16070 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-16T22:34:13.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T22:34:13.086Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T22:34:13.287Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T22:34:13.292Z] $ docker exec 40d7ff20f04df83f7668c72713729e0931662c7981df60387cf16b2903f16070 ssh-agent [2020-09-16T22:34:13.465Z] SSH_AUTH_SOCK=/tmp/ssh-hHEh1ahzeNdk/agent.12 [2020-09-16T22:34:13.465Z] SSH_AGENT_PID=18 [2020-09-16T22:34:13.479Z] Running ssh-add (command line suppressed) [2020-09-16T22:34:13.637Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-481@tmp/private_key_3746184762169645620.key (/w/workspace/ndry_app-functions-sdk-go_PR-481@tmp/private_key_3746184762169645620.key) [2020-09-16T22:34:13.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T22:34:14.030Z] + git describe --exact-match --tags HEAD [2020-09-16T22:34:14.030Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-16T22:34:14.065Z] $ docker exec --env ******** --env ******** 40d7ff20f04df83f7668c72713729e0931662c7981df60387cf16b2903f16070 ssh-agent -k [2020-09-16T22:34:14.185Z] unset SSH_AUTH_SOCK; [2020-09-16T22:34:14.185Z] unset SSH_AGENT_PID; [2020-09-16T22:34:14.185Z] echo Agent pid 18 killed; [2020-09-16T22:34:14.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-16T22:34:14.329Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-16T22:34:14.329Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-16T22:34:14.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T22:34:14.429Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T22:34:14.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T22:34:14.593Z] $ docker exec 40d7ff20f04df83f7668c72713729e0931662c7981df60387cf16b2903f16070 ssh-agent [2020-09-16T22:34:14.847Z] SSH_AUTH_SOCK=/tmp/ssh-2ofc8ZNBcpF1/agent.46 [2020-09-16T22:34:14.847Z] SSH_AGENT_PID=51 [2020-09-16T22:34:14.862Z] Running ssh-add (command line suppressed) [2020-09-16T22:34:14.989Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-481@tmp/private_key_5168329455353602778.key (/w/workspace/ndry_app-functions-sdk-go_PR-481@tmp/private_key_5168329455353602778.key) [2020-09-16T22:34:15.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T22:34:15.384Z] + git semver init [2020-09-16T22:34:15.384Z] # -> Open(): unable to determine branch for HEAD [2020-09-16T22:34:15.384Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-481/.git [2020-09-16T22:34:15.384Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-481 [2020-09-16T22:34:15.384Z] # $SEMVER_REMOTE_NAME = origin [2020-09-16T22:34:15.384Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-16T22:34:15.384Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-16T22:34:15.384Z] # $SEMVER_BRANCH = PR-481 [2020-09-16T22:34:15.384Z] # $SEMVER_TEMP = /tmp/semver-932760158 [2020-09-16T22:34:15.384Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-16T22:34:17.945Z] # '/tmp/semver-932760158' -> '/w/workspace/ndry_app-functions-sdk-go_PR-481/.semver' [2020-09-16T22:34:17.945Z] # -> Force: false [2020-09-16T22:34:17.945Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-481/.semver [Pipeline] } [2020-09-16T22:34:17.960Z] $ docker exec --env ******** --env ******** 40d7ff20f04df83f7668c72713729e0931662c7981df60387cf16b2903f16070 ssh-agent -k [2020-09-16T22:34:18.070Z] unset SSH_AUTH_SOCK; [2020-09-16T22:34:18.071Z] unset SSH_AGENT_PID; [2020-09-16T22:34:18.071Z] echo Agent pid 51 killed; [2020-09-16T22:34:18.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-16T22:34:18.767Z] + git semver [Pipeline] } [2020-09-16T22:34:18.797Z] $ docker stop --time=1 40d7ff20f04df83f7668c72713729e0931662c7981df60387cf16b2903f16070 [2020-09-16T22:34:20.230Z] $ docker rm -f 40d7ff20f04df83f7668c72713729e0931662c7981df60387cf16b2903f16070 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-16T22:34:22.554Z] Stashed 43 file(s) [Pipeline] echo [2020-09-16T22:34:22.557Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-16T22:34:22.651Z] Archived original 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 [2020-09-16T22:34:38.056Z] Still waiting to schedule task [2020-09-16T22:34:38.057Z] ‘prd-centos7-docker-4c-2g-31’ is offline; ‘prd-centos7-docker-4c-2g-34’ is offline [2020-09-16T22:34:38.059Z] Still waiting to schedule task [2020-09-16T22:34:38.059Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-16T22:36:47.686Z] Running on prd-centos7-docker-4c-2g-41 in /w/workspace/ndry_app-functions-sdk-go_PR-481 [Pipeline] { [Pipeline] ws [2020-09-16T22:36:47.738Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T22:36:49.762Z] ========================================================= [2020-09-16T22:36:49.762Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-16T22:36:49.762Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:36:50.853Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-16T22:36:51.118Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/app-functions-sdk-go/4/Dockerfile.build: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-16T22:36:52.640Z] Failed in branch amd64 [2020-09-16T22:37:32.200Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-44 in /w/workspace/ndry_app-functions-sdk-go_PR-481 [Pipeline] { [Pipeline] ws [2020-09-16T22:37:32.256Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T22:37:36.293Z] ========================================================= [2020-09-16T22:37:36.293Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-16T22:37:36.293Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:37:37.979Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-16T22:37:38.267Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/app-functions-sdk-go/4/Dockerfile.build: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-16T22:37:41.342Z] 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 Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" 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 [2020-09-16T22:37:45.187Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:37:45.770Z] ---> package-listing.sh [2020-09-16T22:37:45.770Z] ++ facter osfamily [2020-09-16T22:37:45.770Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-16T22:37:45.770Z] + OS_FAMILY=redhat [2020-09-16T22:37:45.770Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-481 [2020-09-16T22:37:45.770Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-16T22:37:45.770Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-16T22:37:45.770Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-16T22:37:45.770Z] + PACKAGES=/tmp/packages_start.txt [2020-09-16T22:37:45.770Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-481 ']' [2020-09-16T22:37:45.770Z] + PACKAGES=/tmp/packages_end.txt [2020-09-16T22:37:45.770Z] + case "${OS_FAMILY}" in [2020-09-16T22:37:45.770Z] + rpm -qa [2020-09-16T22:37:45.770Z] + sort [2020-09-16T22:37:50.000Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-16T22:37:50.000Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-16T22:37:50.000Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-16T22:37:50.000Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-481 ']' [2020-09-16T22:37:50.000Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-481/archives/ [2020-09-16T22:37:50.000Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-481/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:37:50.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:37:50.480Z] [2020-09-16T22:37:50.480Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-16T22:37:50.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:37:50.888Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-16T22:37:50.888Z] df20fa9351a1: Pulling fs layer [2020-09-16T22:37:50.888Z] 36b3adc4ff6f: Pulling fs layer [2020-09-16T22:37:50.888Z] 8ad3a11d3b57: Pulling fs layer [2020-09-16T22:37:50.888Z] 46f8f816bc3b: Pulling fs layer [2020-09-16T22:37:50.888Z] 0dadc02b9964: Pulling fs layer [2020-09-16T22:37:50.888Z] ce6a7cf60c04: Pulling fs layer [2020-09-16T22:37:50.888Z] 7a184a31f384: Pulling fs layer [2020-09-16T22:37:50.888Z] 0879bd2ef858: Pulling fs layer [2020-09-16T22:37:50.888Z] 7a184a31f384: Waiting [2020-09-16T22:37:50.888Z] 46f8f816bc3b: Waiting [2020-09-16T22:37:50.888Z] 0879bd2ef858: Waiting [2020-09-16T22:37:50.888Z] 0dadc02b9964: Waiting [2020-09-16T22:37:50.888Z] ce6a7cf60c04: Waiting [2020-09-16T22:37:50.888Z] 36b3adc4ff6f: Download complete [2020-09-16T22:37:50.888Z] 46f8f816bc3b: Verifying Checksum [2020-09-16T22:37:50.888Z] 46f8f816bc3b: Download complete [2020-09-16T22:37:51.149Z] 0dadc02b9964: Verifying Checksum [2020-09-16T22:37:51.149Z] 0dadc02b9964: Download complete [2020-09-16T22:37:51.149Z] ce6a7cf60c04: Verifying Checksum [2020-09-16T22:37:51.149Z] ce6a7cf60c04: Download complete [2020-09-16T22:37:51.149Z] df20fa9351a1: Verifying Checksum [2020-09-16T22:37:51.149Z] df20fa9351a1: Download complete [2020-09-16T22:37:51.149Z] 7a184a31f384: Verifying Checksum [2020-09-16T22:37:51.149Z] 7a184a31f384: Download complete [2020-09-16T22:37:51.415Z] 8ad3a11d3b57: Verifying Checksum [2020-09-16T22:37:51.415Z] 8ad3a11d3b57: Download complete [2020-09-16T22:37:51.415Z] df20fa9351a1: Pull complete [2020-09-16T22:37:51.686Z] 36b3adc4ff6f: Pull complete [2020-09-16T22:37:52.275Z] 0879bd2ef858: Verifying Checksum [2020-09-16T22:37:52.275Z] 0879bd2ef858: Download complete [2020-09-16T22:37:52.275Z] 8ad3a11d3b57: Pull complete [2020-09-16T22:37:52.544Z] 46f8f816bc3b: Pull complete [2020-09-16T22:37:52.812Z] 0dadc02b9964: Pull complete [2020-09-16T22:37:52.812Z] ce6a7cf60c04: Pull complete [2020-09-16T22:37:53.074Z] 7a184a31f384: Pull complete [2020-09-16T22:37:55.012Z] 0879bd2ef858: Pull complete [2020-09-16T22:37:55.012Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-16T22:37:55.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T22:37:55.012Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-16T22:37:55.200Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2020-09-16T22:37:55.248Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-481 -v /w/workspace/ndry_app-functions-sdk-go_PR-481:/w/workspace/ndry_app-functions-sdk-go_PR-481:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-481@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-481@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-16T22:37:59.882Z] $ docker top 691eabb2b36d8695a58c66047bd4b53b5db7f14767292e0ae8f8e94c68add31e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T22:38:00.469Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-16T22:38:00.770Z] + ls /var/log/sa-host [2020-09-16T22:38:00.770Z] + sadf -c /var/log/sa-host/sa05 [2020-09-16T22:38:00.770Z] file_magic: OK [2020-09-16T22:38:00.770Z] HZ: Using current value: 100 [2020-09-16T22:38:00.770Z] file_header: OK [2020-09-16T22:38:00.770Z] 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 [2020-09-16T22:38:00.770Z] Statistics: [2020-09-16T22:38:00.770Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T22:38:00.770Z] File successfully converted to sysstat format version 12.2.1 [2020-09-16T22:38:00.770Z] + sadf -c /var/log/sa-host/sa16 [2020-09-16T22:38:00.770Z] file_magic: OK [2020-09-16T22:38:00.770Z] HZ: Using current value: 100 [2020-09-16T22:38:00.770Z] file_header: OK [2020-09-16T22:38:00.770Z] 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 [2020-09-16T22:38:00.770Z] Statistics: [2020-09-16T22:38:00.770Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T22:38:00.770Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-16T22:38:00.835Z] provisioning config files... [2020-09-16T22:38:00.855Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-481@tmp/config398421683637793522tmp [Pipeline] { [Pipeline] echo [2020-09-16T22:38:00.969Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:38:01.277Z] ---> create-netrc.sh [Pipeline] echo [2020-09-16T22:38:01.552Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T22:38:01.852Z] ---> logs-deploy.sh [2020-09-16T22:38:01.852Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-481/4 [2020-09-16T22:38:01.852Z] INFO: archiving workspace using pattern(s): [2020-09-16T22:38:03.247Z] Archives upload complete. [2020-09-16T22:38:03.247Z] INFO: archiving logs to Nexus