Pull request #478 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 956df1d15b3d55c006daa9da11d24ed1148cf5b6+c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 (ed62cdd606da6766d10a580c14b4e47948e29dfe) 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-8 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [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-478 # 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/478/head:refs/remotes/origin/PR-478 +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/478/head:refs/remotes/origin/PR-478 # 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/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 into PR head commit 956df1d15b3d55c006daa9da11d24ed1148cf5b6 Merge succeeded, producing 89fd32c84b345df5722f940feabe1cc679a40bc6 Checking out Revision 89fd32c84b345df5722f940feabe1cc679a40bc6 (PR-478) > git config core.sparsecheckout # timeout=10 > git checkout -f 956df1d15b3d55c006daa9da11d24ed1148cf5b6 # 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 c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 89fd32c84b345df5722f940feabe1cc679a40bc6 # timeout=10 Commit message: "Merge commit 'c0b07c94b028978b76e9bc5b71e585ad6e1c34c6' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 5e133bc80c63e590021757f0aec7f9b8f54a710c # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-16T21:16:06.558Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-16T21:16:06.883Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-16T21:16:07.027Z] ========================================================= [2020-09-16T21:16:07.027Z] EdgeX Global Pipelines Version Info [2020-09-16T21:16:07.027Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:16:08.495Z] ------------------- [2020-09-16T21:16:08.496Z] stable info: [2020-09-16T21:16:08.496Z] ------------------- [2020-09-16T21:16:08.496Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-16T21:16:08.496Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T21:16:08.496Z] Message: update stable to v1.0.122 [2020-09-16T21:16:09.891Z] ------------------- [2020-09-16T21:16:09.892Z] experimental info: [2020-09-16T21:16:09.892Z] ------------------- [2020-09-16T21:16:09.892Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-16T21:16:09.892Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T21:16:09.892Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-16T21:16:10.330Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-16T21:16:10.430Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-16T21:16:10.562Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-16T21:16:10.689Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-16T21:16:10.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-16T21:16:10.907Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-16T21:16:11.039Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-16T21:16:11.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-16T21:16:11.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-16T21:16:11.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-16T21:16:11.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-16T21:16:11.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-16T21:16:11.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-16T21:16:11.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-16T21:16:11.924Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:16:12.036Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:16:12.149Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:16:12.245Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T21:16:12.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-16T21:16:12.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-16T21:16:12.602Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-16T21:16:12.701Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-16T21:16:12.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-478 [Pipeline] echo [2020-09-16T21:16:12.908Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-478 [Pipeline] echo [2020-09-16T21:16:13.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-478 [Pipeline] echo [2020-09-16T21:16:13.209Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 89fd32c84b345df5722f940feabe1cc679a40bc6 [Pipeline] echo [2020-09-16T21:16:13.341Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 89fd32c [Pipeline] echo [2020-09-16T21:16:13.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-16T21:16:14.085Z] + git log --format=format:%s -1 89fd32c84b345df5722f940feabe1cc679a40bc6 [Pipeline] echo [2020-09-16T21:16:14.151Z] GIT_COMMIT: 89fd32c84b345df5722f940feabe1cc679a40bc6, Commit Message: Merge commit 'c0b07c94b028978b76e9bc5b71e585ad6e1c34c6' into HEAD [Pipeline] echo [2020-09-16T21:16:14.203Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:16:14.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T21:16:14.847Z] [2020-09-16T21:16:14.847Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:16:15.213Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T21:16:15.213Z] latest: Pulling from edgex-devops/git-semver [2020-09-16T21:16:15.213Z] 31603596830f: Pulling fs layer [2020-09-16T21:16:15.213Z] 2a8b12db71e7: Pulling fs layer [2020-09-16T21:16:15.213Z] 6ca5941a6612: Pulling fs layer [2020-09-16T21:16:15.213Z] ecc8261a40a4: Pulling fs layer [2020-09-16T21:16:15.213Z] ecc8261a40a4: Waiting [2020-09-16T21:16:15.213Z] 2a8b12db71e7: Verifying Checksum [2020-09-16T21:16:15.213Z] 2a8b12db71e7: Download complete [2020-09-16T21:16:15.478Z] 31603596830f: Download complete [2020-09-16T21:16:15.478Z] ecc8261a40a4: Verifying Checksum [2020-09-16T21:16:15.478Z] ecc8261a40a4: Download complete [2020-09-16T21:16:15.478Z] 6ca5941a6612: Verifying Checksum [2020-09-16T21:16:15.478Z] 6ca5941a6612: Download complete [2020-09-16T21:16:15.743Z] 31603596830f: Pull complete [2020-09-16T21:16:15.743Z] 2a8b12db71e7: Pull complete [2020-09-16T21:16:16.687Z] 6ca5941a6612: Pull complete [2020-09-16T21:16:16.687Z] ecc8261a40a4: Pull complete [2020-09-16T21:16:16.687Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-16T21:16:16.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T21:16:16.687Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-16T21:16:16.788Z] prd-centos7-docker-4c-2g-8 does not seem to be running inside a container [2020-09-16T21:16:16.840Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-16T21:16:18.638Z] $ docker top a77e465d8ddbbb63b8a1f9e2839d53ff7707bd4208cae0d2ffe8d1bd224fe23e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-16T21:16:18.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T21:16:18.968Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T21:16:19.151Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T21:16:19.155Z] $ docker exec a77e465d8ddbbb63b8a1f9e2839d53ff7707bd4208cae0d2ffe8d1bd224fe23e ssh-agent [2020-09-16T21:16:19.320Z] SSH_AUTH_SOCK=/tmp/ssh-CgOW4u2Wgx2u/agent.11 [2020-09-16T21:16:19.320Z] SSH_AGENT_PID=16 [2020-09-16T21:16:19.332Z] Running ssh-add (command line suppressed) [2020-09-16T21:16:19.454Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_865161824038510863.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_865161824038510863.key) [2020-09-16T21:16:19.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T21:16:19.856Z] + git describe --exact-match --tags HEAD [2020-09-16T21:16:19.856Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-16T21:16:19.883Z] $ docker exec --env ******** --env ******** a77e465d8ddbbb63b8a1f9e2839d53ff7707bd4208cae0d2ffe8d1bd224fe23e ssh-agent -k [2020-09-16T21:16:19.995Z] unset SSH_AUTH_SOCK; [2020-09-16T21:16:19.995Z] unset SSH_AGENT_PID; [2020-09-16T21:16:19.995Z] echo Agent pid 16 killed; [2020-09-16T21:16:20.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-16T21:16:20.159Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-16T21:16:20.159Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-16T21:16:20.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T21:16:20.295Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T21:16:20.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T21:16:20.463Z] $ docker exec a77e465d8ddbbb63b8a1f9e2839d53ff7707bd4208cae0d2ffe8d1bd224fe23e ssh-agent [2020-09-16T21:16:20.625Z] SSH_AUTH_SOCK=/tmp/ssh-P90hecliOdp8/agent.44 [2020-09-16T21:16:20.625Z] SSH_AGENT_PID=49 [2020-09-16T21:16:20.632Z] Running ssh-add (command line suppressed) [2020-09-16T21:16:20.759Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_8500239165789439553.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_8500239165789439553.key) [2020-09-16T21:16:20.811Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T21:16:21.153Z] + git semver init [2020-09-16T21:16:21.153Z] # -> Open(): unable to determine branch for HEAD [2020-09-16T21:16:21.153Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.git [2020-09-16T21:16:21.153Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-16T21:16:21.153Z] # $SEMVER_REMOTE_NAME = origin [2020-09-16T21:16:21.153Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-16T21:16:21.153Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-16T21:16:21.153Z] # $SEMVER_BRANCH = PR-478 [2020-09-16T21:16:21.153Z] # $SEMVER_TEMP = /tmp/semver-345334943 [2020-09-16T21:16:21.153Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-16T21:16:23.726Z] # '/tmp/semver-345334943' -> '/w/workspace/ndry_app-functions-sdk-go_PR-478/.semver' [2020-09-16T21:16:23.726Z] # -> Force: false [2020-09-16T21:16:23.726Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.semver [Pipeline] } [2020-09-16T21:16:23.744Z] $ docker exec --env ******** --env ******** a77e465d8ddbbb63b8a1f9e2839d53ff7707bd4208cae0d2ffe8d1bd224fe23e ssh-agent -k [2020-09-16T21:16:23.866Z] unset SSH_AUTH_SOCK; [2020-09-16T21:16:23.867Z] unset SSH_AGENT_PID; [2020-09-16T21:16:23.867Z] echo Agent pid 49 killed; [2020-09-16T21:16:23.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-16T21:16:24.411Z] + git semver [Pipeline] } [2020-09-16T21:16:24.435Z] $ docker stop --time=1 a77e465d8ddbbb63b8a1f9e2839d53ff7707bd4208cae0d2ffe8d1bd224fe23e [2020-09-16T21:16:25.859Z] $ docker rm -f a77e465d8ddbbb63b8a1f9e2839d53ff7707bd4208cae0d2ffe8d1bd224fe23e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-16T21:16:28.332Z] Stashed 43 file(s) [Pipeline] echo [2020-09-16T21:16:28.337Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-16T21:16:28.447Z] 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-16T21:16:43.930Z] Still waiting to schedule task [2020-09-16T21:16:43.931Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-16T21:16:43.934Z] Still waiting to schedule task [2020-09-16T21:16:43.934Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-16T21:18:31.447Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-16T21:18:31.521Z] Running in /w/workspace/app-functions-sdk-go/17 [Pipeline] { [Pipeline] checkout [2020-09-16T21:18:36.842Z] using credential edgex-jenkins-ssh [2020-09-16T21:18:36.917Z] Cloning the remote Git repository [2020-09-16T21:18:36.917Z] Cloning with configured refspecs honoured and without tags [2020-09-16T21:18:36.990Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:18:37.107Z] > git init /w/workspace/app-functions-sdk-go/17 # timeout=10 [2020-09-16T21:18:37.182Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:18:37.182Z] > git --version # timeout=10 [2020-09-16T21:18:37.205Z] > git --version # 'git version 2.17.1' [2020-09-16T21:18:37.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:18:37.282Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:19:07.134Z] Running on prd-centos7-docker-4c-2g-10 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-16T21:19:07.251Z] Running in /w/workspace/app-functions-sdk-go/17 [Pipeline] { [Pipeline] checkout [2020-09-16T21:19:10.429Z] using credential edgex-jenkins-ssh [2020-09-16T21:19:10.535Z] Cloning the remote Git repository [2020-09-16T21:19:10.535Z] Cloning with configured refspecs honoured and without tags [2020-09-16T21:19:10.566Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:19:10.635Z] > git init /w/workspace/app-functions-sdk-go/17 # timeout=10 [2020-09-16T21:19:10.688Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:19:10.689Z] > git --version # timeout=10 [2020-09-16T21:19:10.694Z] > git --version # 'git version 2.16.5' [2020-09-16T21:19:10.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:19:10.724Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:19:12.107Z] Fetching without tags [2020-09-16T21:19:12.081Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:19:12.087Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-16T21:19:12.093Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:19:12.103Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:19:12.114Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:19:12.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:19:12.546Z] Merging remotes/origin/master commit c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 into PR head commit 956df1d15b3d55c006daa9da11d24ed1148cf5b6 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-16T21:19:13.014Z] Failed in branch amd64 [2020-09-16T21:19:12.118Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:19:12.556Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T21:19:12.563Z] > git checkout -f 956df1d15b3d55c006daa9da11d24ed1148cf5b6 # timeout=10 [2020-09-16T21:20:17.284Z] Fetching without tags [2020-09-16T21:20:17.880Z] Merging remotes/origin/master commit c0b07c94b028978b76e9bc5b71e585ad6e1c34c6 into PR head commit 956df1d15b3d55c006daa9da11d24ed1148cf5b6 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-16T21:20:18.372Z] 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) [2020-09-16T21:20:17.147Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:20:17.201Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-16T21:20:17.227Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:20:17.256Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-16T21:20:17.308Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-16T21:20:17.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T21:20:17.334Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T21:20:17.915Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T21:20:17.931Z] > git checkout -f 956df1d15b3d55c006daa9da11d24ed1148cf5b6 # timeout=10 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-16T21:20:21.657Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:20:21.965Z] ---> package-listing.sh [2020-09-16T21:20:21.965Z] ++ facter osfamily [2020-09-16T21:20:21.965Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-16T21:20:21.965Z] + OS_FAMILY=redhat [2020-09-16T21:20:21.965Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-16T21:20:21.965Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-16T21:20:21.965Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-16T21:20:21.965Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-16T21:20:21.965Z] + PACKAGES=/tmp/packages_start.txt [2020-09-16T21:20:21.965Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-16T21:20:21.965Z] + PACKAGES=/tmp/packages_end.txt [2020-09-16T21:20:21.965Z] + case "${OS_FAMILY}" in [2020-09-16T21:20:21.965Z] + rpm -qa [2020-09-16T21:20:21.965Z] + sort [2020-09-16T21:20:25.279Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-16T21:20:25.280Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-16T21:20:25.280Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-16T21:20:25.280Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-16T21:20:25.280Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [2020-09-16T21:20:25.280Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:20:25.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T21:20:25.774Z] [2020-09-16T21:20:25.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-16T21:20:26.145Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T21:20:26.145Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-16T21:20:26.145Z] df20fa9351a1: Pulling fs layer [2020-09-16T21:20:26.145Z] 36b3adc4ff6f: Pulling fs layer [2020-09-16T21:20:26.145Z] 8ad3a11d3b57: Pulling fs layer [2020-09-16T21:20:26.145Z] 46f8f816bc3b: Pulling fs layer [2020-09-16T21:20:26.145Z] 0dadc02b9964: Pulling fs layer [2020-09-16T21:20:26.145Z] ce6a7cf60c04: Pulling fs layer [2020-09-16T21:20:26.145Z] 7a184a31f384: Pulling fs layer [2020-09-16T21:20:26.145Z] 0879bd2ef858: Pulling fs layer [2020-09-16T21:20:26.145Z] 0dadc02b9964: Waiting [2020-09-16T21:20:26.145Z] ce6a7cf60c04: Waiting [2020-09-16T21:20:26.145Z] 7a184a31f384: Waiting [2020-09-16T21:20:26.145Z] 0879bd2ef858: Waiting [2020-09-16T21:20:26.145Z] 46f8f816bc3b: Waiting [2020-09-16T21:20:26.145Z] 36b3adc4ff6f: Verifying Checksum [2020-09-16T21:20:26.145Z] 36b3adc4ff6f: Download complete [2020-09-16T21:20:26.145Z] 46f8f816bc3b: Verifying Checksum [2020-09-16T21:20:26.145Z] 46f8f816bc3b: Download complete [2020-09-16T21:20:26.412Z] df20fa9351a1: Verifying Checksum [2020-09-16T21:20:26.413Z] df20fa9351a1: Download complete [2020-09-16T21:20:26.413Z] ce6a7cf60c04: Download complete [2020-09-16T21:20:26.413Z] 7a184a31f384: Verifying Checksum [2020-09-16T21:20:26.413Z] 7a184a31f384: Download complete [2020-09-16T21:20:26.413Z] 0dadc02b9964: Verifying Checksum [2020-09-16T21:20:26.413Z] 0dadc02b9964: Download complete [2020-09-16T21:20:26.685Z] df20fa9351a1: Pull complete [2020-09-16T21:20:26.685Z] 8ad3a11d3b57: Verifying Checksum [2020-09-16T21:20:26.685Z] 8ad3a11d3b57: Download complete [2020-09-16T21:20:26.957Z] 36b3adc4ff6f: Pull complete [2020-09-16T21:20:27.222Z] 0879bd2ef858: Verifying Checksum [2020-09-16T21:20:27.222Z] 0879bd2ef858: Download complete [2020-09-16T21:20:27.491Z] 8ad3a11d3b57: Pull complete [2020-09-16T21:20:27.491Z] 46f8f816bc3b: Pull complete [2020-09-16T21:20:28.070Z] 0dadc02b9964: Pull complete [2020-09-16T21:20:28.070Z] ce6a7cf60c04: Pull complete [2020-09-16T21:20:28.070Z] 7a184a31f384: Pull complete [2020-09-16T21:20:30.657Z] 0879bd2ef858: Pull complete [2020-09-16T21:20:30.657Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-16T21:20:30.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T21:20:30.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-16T21:20:30.802Z] prd-centos7-docker-4c-2g-8 does not seem to be running inside a container [2020-09-16T21:20:30.850Z] $ 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-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-16T21:20:35.699Z] $ docker top 1ebc9404fc9a71187b88a53b764db0bec1dc88ffb1f32d9a1aaebefbf259c472 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T21:20:36.215Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-16T21:20:36.515Z] + ls /var/log/sa-host [2020-09-16T21:20:36.515Z] + sadf -c /var/log/sa-host/sa05 [2020-09-16T21:20:36.515Z] file_magic: OK [2020-09-16T21:20:36.515Z] HZ: Using current value: 100 [2020-09-16T21:20:36.515Z] file_header: OK [2020-09-16T21:20:36.515Z] 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-16T21:20:36.515Z] Statistics: [2020-09-16T21:20:36.515Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T21:20:36.515Z] File successfully converted to sysstat format version 12.2.1 [2020-09-16T21:20:36.515Z] + sadf -c /var/log/sa-host/sa16 [2020-09-16T21:20:36.515Z] file_magic: OK [2020-09-16T21:20:36.515Z] HZ: Using current value: 100 [2020-09-16T21:20:36.515Z] file_header: OK [2020-09-16T21:20:36.515Z] 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-16T21:20:36.515Z] Statistics: [2020-09-16T21:20:36.515Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T21:20:36.515Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-16T21:20:36.591Z] provisioning config files... [2020-09-16T21:20:36.616Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/config776600718996738636tmp [Pipeline] { [Pipeline] echo [2020-09-16T21:20:36.721Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:20:37.030Z] ---> create-netrc.sh [Pipeline] echo [2020-09-16T21:20:37.043Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T21:20:37.353Z] ---> logs-deploy.sh [2020-09-16T21:20:37.353Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-478/17 [2020-09-16T21:20:37.353Z] INFO: archiving workspace using pattern(s): [2020-09-16T21:20:38.744Z] Archives upload complete. [2020-09-16T21:20:38.745Z] INFO: archiving logs to Nexus