Pull request #498 opened 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 8f310d24cf755648514cea6d337ac61907d910be+a28a1e282162ae220bb16baae6b474c93cd0f1dd (9dfabf24d8b2610536bbb28086fa7c1f3ad66239) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-498/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-719 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [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-498 # 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/498/head:refs/remotes/origin/PR-498 +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 > git config --add remote.origin.fetch +refs/pull/498/head:refs/remotes/origin/PR-498 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit 8f310d24cf755648514cea6d337ac61907d910be Merge succeeded, producing 59d924bba760eb91ac66e59a4a5447034f0f1fa0 Checking out Revision 59d924bba760eb91ac66e59a4a5447034f0f1fa0 (PR-498) > 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/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f310d24cf755648514cea6d337ac61907d910be # 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 a28a1e282162ae220bb16baae6b474c93cd0f1dd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 59d924bba760eb91ac66e59a4a5447034f0f1fa0 # timeout=10 Commit message: "Merge commit 'a28a1e282162ae220bb16baae6b474c93cd0f1dd' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T01:05:55.318Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T01:05:55.687Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T01:05:55.911Z] ========================================================= [2020-09-22T01:05:55.911Z] EdgeX Global Pipelines Version Info [2020-09-22T01:05:55.911Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T01:05:57.430Z] ------------------- [2020-09-22T01:05:57.430Z] stable info: [2020-09-22T01:05:57.430Z] ------------------- [2020-09-22T01:05:57.430Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T01:05:57.430Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T01:05:57.430Z] Message: update stable to v1.0.122 [2020-09-22T01:05:58.382Z] ------------------- [2020-09-22T01:05:58.382Z] experimental info: [2020-09-22T01:05:58.382Z] ------------------- [2020-09-22T01:05:58.382Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T01:05:58.382Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-22T01:05:58.382Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T01:05:58.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-22T01:05:59.092Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-22T01:05:59.239Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T01:05:59.391Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T01:05:59.512Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T01:05:59.647Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T01:05:59.770Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T01:05:59.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T01:06:00.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-22T01:06:00.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T01:06:00.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T01:06:00.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-22T01:06:00.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T01:06:00.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T01:06:00.979Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T01:06:01.111Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T01:06:01.253Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T01:06:01.393Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T01:06:01.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T01:06:01.666Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T01:06:01.790Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-22T01:06:01.914Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-22T01:06:02.054Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-498 [Pipeline] echo [2020-09-22T01:06:02.193Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-498 [Pipeline] echo [2020-09-22T01:06:02.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-498 [Pipeline] echo [2020-09-22T01:06:02.443Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 59d924bba760eb91ac66e59a4a5447034f0f1fa0 [Pipeline] echo [2020-09-22T01:06:02.584Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 59d924b [Pipeline] echo [2020-09-22T01:06:02.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T01:06:03.505Z] + git log --format=format:%s -1 59d924bba760eb91ac66e59a4a5447034f0f1fa0 [Pipeline] echo [2020-09-22T01:06:03.596Z] GIT_COMMIT: 59d924bba760eb91ac66e59a4a5447034f0f1fa0, Commit Message: Merge commit 'a28a1e282162ae220bb16baae6b474c93cd0f1dd' into HEAD [Pipeline] echo [2020-09-22T01:06:03.679Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T01:06:04.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T01:06:05.075Z] [2020-09-22T01:06:05.075Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T01:06:05.489Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T01:06:05.489Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T01:06:05.489Z] 31603596830f: Pulling fs layer [2020-09-22T01:06:05.489Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T01:06:05.489Z] 6ca5941a6612: Pulling fs layer [2020-09-22T01:06:05.489Z] ecc8261a40a4: Pulling fs layer [2020-09-22T01:06:05.489Z] ecc8261a40a4: Waiting [2020-09-22T01:06:05.489Z] 2a8b12db71e7: Verifying Checksum [2020-09-22T01:06:05.489Z] 2a8b12db71e7: Download complete [2020-09-22T01:06:05.758Z] 31603596830f: Verifying Checksum [2020-09-22T01:06:05.759Z] 31603596830f: Download complete [2020-09-22T01:06:05.759Z] ecc8261a40a4: Verifying Checksum [2020-09-22T01:06:05.759Z] ecc8261a40a4: Download complete [2020-09-22T01:06:05.759Z] 6ca5941a6612: Verifying Checksum [2020-09-22T01:06:05.759Z] 6ca5941a6612: Download complete [2020-09-22T01:06:06.354Z] 31603596830f: Pull complete [2020-09-22T01:06:06.354Z] 2a8b12db71e7: Pull complete [2020-09-22T01:06:07.328Z] 6ca5941a6612: Pull complete [2020-09-22T01:06:07.328Z] ecc8261a40a4: Pull complete [2020-09-22T01:06:07.328Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T01:06:07.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T01:06:07.328Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T01:06:07.726Z] prd-centos7-docker-4c-2g-719 does not seem to be running inside a container [2020-09-22T01:06:07.787Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-498 -v /w/workspace/ndry_app-functions-sdk-go_PR-498:/w/workspace/ndry_app-functions-sdk-go_PR-498:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-498@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-22T01:06:10.030Z] $ docker top 7415dec5a00b8e094629de10a607a73f54c74615aecb7724d7d7c54b6ea95795 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T01:06:10.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T01:06:10.588Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T01:06:10.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T01:06:10.839Z] $ docker exec 7415dec5a00b8e094629de10a607a73f54c74615aecb7724d7d7c54b6ea95795 ssh-agent [2020-09-22T01:06:11.013Z] SSH_AUTH_SOCK=/tmp/ssh-7BOYBqu9vbAv/agent.13 [2020-09-22T01:06:11.013Z] SSH_AGENT_PID=18 [2020-09-22T01:06:11.025Z] Running ssh-add (command line suppressed) [2020-09-22T01:06:11.143Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_6319898915912189448.key (/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_6319898915912189448.key) [2020-09-22T01:06:11.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T01:06:11.601Z] + git describe --exact-match --tags HEAD [2020-09-22T01:06:11.601Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T01:06:11.651Z] $ docker exec --env ******** --env ******** 7415dec5a00b8e094629de10a607a73f54c74615aecb7724d7d7c54b6ea95795 ssh-agent -k [2020-09-22T01:06:11.761Z] unset SSH_AUTH_SOCK; [2020-09-22T01:06:11.762Z] unset SSH_AGENT_PID; [2020-09-22T01:06:11.762Z] echo Agent pid 18 killed; [2020-09-22T01:06:11.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T01:06:11.985Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T01:06:11.985Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T01:06:12.109Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T01:06:12.109Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T01:06:12.299Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T01:06:12.302Z] $ docker exec 7415dec5a00b8e094629de10a607a73f54c74615aecb7724d7d7c54b6ea95795 ssh-agent [2020-09-22T01:06:12.464Z] SSH_AUTH_SOCK=/tmp/ssh-NcYf8s2rpLeI/agent.46 [2020-09-22T01:06:12.464Z] SSH_AGENT_PID=51 [2020-09-22T01:06:12.473Z] Running ssh-add (command line suppressed) [2020-09-22T01:06:12.587Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_6012080955895056731.key (/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_6012080955895056731.key) [2020-09-22T01:06:12.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T01:06:13.045Z] + git semver init [2020-09-22T01:06:13.046Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T01:06:13.046Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-498/.git [2020-09-22T01:06:13.046Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-498 [2020-09-22T01:06:13.046Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T01:06:13.046Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T01:06:13.046Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T01:06:13.046Z] # $SEMVER_BRANCH = PR-498 [2020-09-22T01:06:13.046Z] # $SEMVER_TEMP = /tmp/semver-408060980 [2020-09-22T01:06:13.046Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-22T01:06:15.623Z] # '/tmp/semver-408060980' -> '/w/workspace/ndry_app-functions-sdk-go_PR-498/.semver' [2020-09-22T01:06:15.623Z] # -> Force: false [2020-09-22T01:06:15.623Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-498/.semver [Pipeline] } [2020-09-22T01:06:15.647Z] $ docker exec --env ******** --env ******** 7415dec5a00b8e094629de10a607a73f54c74615aecb7724d7d7c54b6ea95795 ssh-agent -k [2020-09-22T01:06:15.762Z] unset SSH_AUTH_SOCK; [2020-09-22T01:06:15.763Z] unset SSH_AGENT_PID; [2020-09-22T01:06:15.763Z] echo Agent pid 51 killed; [2020-09-22T01:06:15.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T01:06:16.440Z] + git semver [Pipeline] } [2020-09-22T01:06:16.476Z] $ docker stop --time=1 7415dec5a00b8e094629de10a607a73f54c74615aecb7724d7d7c54b6ea95795 [2020-09-22T01:06:17.977Z] $ docker rm -f 7415dec5a00b8e094629de10a607a73f54c74615aecb7724d7d7c54b6ea95795 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T01:06:20.386Z] Stashed 50 file(s) [Pipeline] echo [2020-09-22T01:06:20.409Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T01:06:20.737Z] 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-22T01:06:36.552Z] Still waiting to schedule task [2020-09-22T01:06:36.552Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-719’ [2020-09-22T01:06:36.576Z] Still waiting to schedule task [2020-09-22T01:06:36.576Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-22T01:08:33.591Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-720 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [Pipeline] { [Pipeline] ws [2020-09-22T01:08:33.747Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-22T01:08:38.682Z] using credential edgex-jenkins-ssh [2020-09-22T01:08:38.744Z] Cloning the remote Git repository [2020-09-22T01:08:38.744Z] Cloning with configured refspecs honoured and without tags [2020-09-22T01:08:38.802Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T01:08:38.906Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-22T01:08:38.972Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T01:08:38.973Z] > git --version # timeout=10 [2020-09-22T01:08:38.997Z] > git --version # 'git version 2.17.1' [2020-09-22T01:08:38.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T01:08:39.073Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T01:08:41.855Z] Fetching without tags [2020-09-22T01:08:42.380Z] Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit 8f310d24cf755648514cea6d337ac61907d910be [Pipeline] } [Pipeline] // ws [2020-09-22T01:08:41.768Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T01:08:41.791Z] > git config --add remote.origin.fetch +refs/pull/498/head:refs/remotes/origin/PR-498 # timeout=10 [2020-09-22T01:08:41.809Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T01:08:41.832Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T01:08:41.864Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T01:08:41.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T01:08:41.877Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T01:08:42.399Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T01:08:42.422Z] > git checkout -f 8f310d24cf755648514cea6d337ac61907d910be # timeout=10 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-22T01:08:42.987Z] Failed in branch arm64 [2020-09-22T01:08:52.581Z] Running on prd-centos7-docker-4c-2g-721 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [Pipeline] { [Pipeline] ws [2020-09-22T01:08:52.713Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-22T01:08:55.393Z] using credential edgex-jenkins-ssh [2020-09-22T01:08:55.442Z] Cloning the remote Git repository [2020-09-22T01:08:55.442Z] Cloning with configured refspecs honoured and without tags [2020-09-22T01:08:55.446Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T01:08:55.522Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-22T01:08:55.657Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T01:08:55.657Z] > git --version # timeout=10 [2020-09-22T01:08:55.666Z] > git --version # 'git version 2.16.5' [2020-09-22T01:08:55.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T01:08:55.696Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T01:08:57.316Z] Fetching without tags [2020-09-22T01:08:57.695Z] Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit 8f310d24cf755648514cea6d337ac61907d910be [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-22T01:08:58.286Z] Failed in branch amd64 [2020-09-22T01:08:57.290Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T01:08:57.295Z] > git config --add remote.origin.fetch +refs/pull/498/head:refs/remotes/origin/PR-498 # timeout=10 [2020-09-22T01:08:57.301Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T01:08:57.313Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T01:08:57.324Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T01:08:57.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T01:08:57.329Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T01:08:57.706Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T01:08:57.713Z] > git checkout -f 8f310d24cf755648514cea6d337ac61907d910be # timeout=10 [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-22T01:09:02.570Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T01:09:03.169Z] ---> package-listing.sh [2020-09-22T01:09:03.169Z] ++ facter osfamily [2020-09-22T01:09:03.169Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T01:09:03.169Z] + OS_FAMILY=redhat [2020-09-22T01:09:03.169Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-498 [2020-09-22T01:09:03.169Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T01:09:03.169Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T01:09:03.169Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T01:09:03.169Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T01:09:03.169Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-498 ']' [2020-09-22T01:09:03.169Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T01:09:03.169Z] + case "${OS_FAMILY}" in [2020-09-22T01:09:03.169Z] + rpm -qa [2020-09-22T01:09:03.169Z] + sort [2020-09-22T01:09:07.391Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T01:09:07.392Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T01:09:07.392Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T01:09:07.392Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-498 ']' [2020-09-22T01:09:07.392Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-498/archives/ [2020-09-22T01:09:07.392Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-498/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-22T01:09:08.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T01:09:08.433Z] [2020-09-22T01:09:08.433Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T01:09:08.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T01:09:08.841Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T01:09:08.841Z] df20fa9351a1: Pulling fs layer [2020-09-22T01:09:08.841Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T01:09:08.841Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T01:09:08.841Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T01:09:08.841Z] 0dadc02b9964: Pulling fs layer [2020-09-22T01:09:08.841Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T01:09:08.841Z] 7a184a31f384: Pulling fs layer [2020-09-22T01:09:08.841Z] 0879bd2ef858: Pulling fs layer [2020-09-22T01:09:08.841Z] 0dadc02b9964: Waiting [2020-09-22T01:09:08.841Z] 0879bd2ef858: Waiting [2020-09-22T01:09:08.841Z] 7a184a31f384: Waiting [2020-09-22T01:09:08.841Z] 46f8f816bc3b: Waiting [2020-09-22T01:09:08.841Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T01:09:08.841Z] 36b3adc4ff6f: Download complete [2020-09-22T01:09:08.841Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T01:09:08.841Z] 46f8f816bc3b: Download complete [2020-09-22T01:09:08.841Z] df20fa9351a1: Verifying Checksum [2020-09-22T01:09:08.841Z] df20fa9351a1: Download complete [2020-09-22T01:09:09.110Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T01:09:09.110Z] ce6a7cf60c04: Download complete [2020-09-22T01:09:09.110Z] 7a184a31f384: Verifying Checksum [2020-09-22T01:09:09.110Z] 7a184a31f384: Download complete [2020-09-22T01:09:09.110Z] 0dadc02b9964: Verifying Checksum [2020-09-22T01:09:09.110Z] 0dadc02b9964: Download complete [2020-09-22T01:09:09.110Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T01:09:09.110Z] 8ad3a11d3b57: Download complete [2020-09-22T01:09:09.373Z] df20fa9351a1: Pull complete [2020-09-22T01:09:09.373Z] 36b3adc4ff6f: Pull complete [2020-09-22T01:09:09.636Z] 0879bd2ef858: Verifying Checksum [2020-09-22T01:09:09.636Z] 0879bd2ef858: Download complete [2020-09-22T01:09:09.900Z] 8ad3a11d3b57: Pull complete [2020-09-22T01:09:10.165Z] 46f8f816bc3b: Pull complete [2020-09-22T01:09:10.427Z] 0dadc02b9964: Pull complete [2020-09-22T01:09:10.427Z] ce6a7cf60c04: Pull complete [2020-09-22T01:09:10.689Z] 7a184a31f384: Pull complete [2020-09-22T01:09:13.248Z] 0879bd2ef858: Pull complete [2020-09-22T01:09:13.248Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T01:09:13.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T01:09:13.248Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T01:09:13.423Z] prd-centos7-docker-4c-2g-719 does not seem to be running inside a container [2020-09-22T01:09:13.473Z] $ 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-498 -v /w/workspace/ndry_app-functions-sdk-go_PR-498:/w/workspace/ndry_app-functions-sdk-go_PR-498:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-498@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-22T01:09:18.370Z] $ docker top 59d0b966fcfa8cbf70d412bc8fe931b546b92112e5f8e88d159620973b1c1cda -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T01:09:19.019Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T01:09:19.348Z] + ls /var/log/sa-host [2020-09-22T01:09:19.348Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T01:09:19.348Z] file_magic: OK [2020-09-22T01:09:19.348Z] HZ: Using current value: 100 [2020-09-22T01:09:19.348Z] file_header: OK [2020-09-22T01:09:19.348Z] 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-22T01:09:19.348Z] Statistics: [2020-09-22T01:09:19.348Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T01:09:19.348Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T01:09:19.348Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T01:09:19.348Z] file_magic: OK [2020-09-22T01:09:19.348Z] HZ: Using current value: 100 [2020-09-22T01:09:19.348Z] file_header: OK [2020-09-22T01:09:19.348Z] 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-22T01:09:19.348Z] Statistics: [2020-09-22T01:09:19.348Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T01:09:19.348Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T01:09:19.496Z] provisioning config files... [2020-09-22T01:09:19.517Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/config2240234678333359007tmp [Pipeline] { [Pipeline] echo [2020-09-22T01:09:19.652Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T01:09:20.004Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T01:09:20.034Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T01:09:20.369Z] ---> logs-deploy.sh [2020-09-22T01:09:20.369Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-498/1 [2020-09-22T01:09:20.369Z] INFO: archiving workspace using pattern(s): [2020-09-22T01:09:21.766Z] Archives upload complete. [2020-09-22T01:09:21.766Z] INFO: archiving logs to Nexus