Pull request #467 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 75984c11dd9dca28c99f58cc0c947da040583f2c+337bfa72234b549edc983bc92338d9bbd410e2b1 (d526b0d1c69a5d83f7b89b1fb2ea948b8150b06b) 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 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 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 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 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-467/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 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 # timeout=10 Commit message: "Merge pull request #236 from ernestojeda/update-log-publish-steps" > 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, goVersion:1.13, 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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-1477 in /w/workspace/ndry_app-functions-sdk-go_PR-467 [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-467 # 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/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 337bfa72234b549edc983bc92338d9bbd410e2b1 into PR head commit 75984c11dd9dca28c99f58cc0c947da040583f2c Merge succeeded, producing 7857395b59d28d26f73ec1fde18094e2dbe44679 Checking out Revision 7857395b59d28d26f73ec1fde18094e2dbe44679 (PR-467) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # 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/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75984c11dd9dca28c99f58cc0c947da040583f2c # 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 337bfa72234b549edc983bc92338d9bbd410e2b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7857395b59d28d26f73ec1fde18094e2dbe44679 # timeout=10 Commit message: "Merge commit '337bfa72234b549edc983bc92338d9bbd410e2b1' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-04T19:19:50.199Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-04T19:19:50.521Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-04T19:19:50.725Z] ========================================================= [2020-09-04T19:19:50.725Z] EdgeX Global Pipelines Version Info [2020-09-04T19:19:50.725Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-04T19:19:52.110Z] ------------------- [2020-09-04T19:19:52.110Z] stable info: [2020-09-04T19:19:52.110Z] ------------------- [2020-09-04T19:19:52.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-04T19:19:52.110Z] Commit SHA: 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 [2020-09-04T19:19:52.110Z] Message: update stable to v1.0.118 [2020-09-04T19:19:53.052Z] ------------------- [2020-09-04T19:19:53.052Z] experimental info: [2020-09-04T19:19:53.052Z] ------------------- [2020-09-04T19:19:53.052Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-04T19:19:53.052Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-04T19:19:53.052Z] Message: update experimental to v1.0.119 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-04T19:19:53.467Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-04T19:19:53.601Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-04T19:19:53.713Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-04T19:19:53.918Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-04T19:19:54.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-04T19:19:54.129Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-04T19:19:54.231Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-04T19:19:54.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-04T19:19:54.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-04T19:19:54.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-04T19:19:54.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-04T19:19:54.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-04T19:19:54.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-04T19:19:55.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-04T19:19:55.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-04T19:19:55.298Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-04T19:19:55.406Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-04T19:19:55.510Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-04T19:19:55.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-04T19:19:55.736Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-04T19:19:55.842Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-04T19:19:55.963Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-04T19:19:56.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-467 [Pipeline] echo [2020-09-04T19:19:56.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-467 [Pipeline] echo [2020-09-04T19:19:56.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-467 [Pipeline] echo [2020-09-04T19:19:56.394Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7857395b59d28d26f73ec1fde18094e2dbe44679 [Pipeline] echo [2020-09-04T19:19:56.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7857395 [Pipeline] echo [2020-09-04T19:19:56.655Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-04T19:19:57.321Z] + git log --format=format:%s -1 7857395b59d28d26f73ec1fde18094e2dbe44679 [Pipeline] echo [2020-09-04T19:19:57.399Z] GIT_COMMIT: 7857395b59d28d26f73ec1fde18094e2dbe44679, Commit Message: Merge commit '337bfa72234b549edc983bc92338d9bbd410e2b1' into HEAD [Pipeline] echo [2020-09-04T19:19:57.464Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-04T19:19:57.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-04T19:19:58.245Z] [2020-09-04T19:19:58.245Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-04T19:19:58.621Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-04T19:19:58.621Z] latest: Pulling from edgex-devops/git-semver [2020-09-04T19:19:58.621Z] 31603596830f: Pulling fs layer [2020-09-04T19:19:58.621Z] 2a8b12db71e7: Pulling fs layer [2020-09-04T19:19:58.621Z] 6ca5941a6612: Pulling fs layer [2020-09-04T19:19:58.621Z] ecc8261a40a4: Pulling fs layer [2020-09-04T19:19:58.621Z] ecc8261a40a4: Waiting [2020-09-04T19:19:58.621Z] 2a8b12db71e7: Verifying Checksum [2020-09-04T19:19:58.621Z] 2a8b12db71e7: Download complete [2020-09-04T19:19:58.621Z] 31603596830f: Download complete [2020-09-04T19:19:58.885Z] 6ca5941a6612: Verifying Checksum [2020-09-04T19:19:58.885Z] 6ca5941a6612: Download complete [2020-09-04T19:19:58.885Z] ecc8261a40a4: Verifying Checksum [2020-09-04T19:19:58.885Z] ecc8261a40a4: Download complete [2020-09-04T19:19:59.147Z] 31603596830f: Pull complete [2020-09-04T19:19:59.147Z] 2a8b12db71e7: Pull complete [2020-09-04T19:20:00.091Z] 6ca5941a6612: Pull complete [2020-09-04T19:20:00.664Z] ecc8261a40a4: Pull complete [2020-09-04T19:20:00.664Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-04T19:20:00.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-04T19:20:00.925Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-04T19:20:01.047Z] prd-centos7-docker-4c-2g-1477 does not seem to be running inside a container [2020-09-04T19:20:01.096Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-467 -v /w/workspace/ndry_app-functions-sdk-go_PR-467:/w/workspace/ndry_app-functions-sdk-go_PR-467:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-467@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-467@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-04T19:20:02.666Z] $ docker top 67391f86e6c93618763bb535a82dad4256183af0329a03e5d285eacc9617f81e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-04T19:20:03.078Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-04T19:20:03.078Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-04T19:20:03.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-04T19:20:03.283Z] $ docker exec 67391f86e6c93618763bb535a82dad4256183af0329a03e5d285eacc9617f81e ssh-agent [2020-09-04T19:20:03.443Z] SSH_AUTH_SOCK=/tmp/ssh-HikI1gVO06Uo/agent.11 [2020-09-04T19:20:03.443Z] SSH_AGENT_PID=16 [2020-09-04T19:20:03.453Z] Running ssh-add (command line suppressed) [2020-09-04T19:20:03.574Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-467@tmp/private_key_2218479669768730122.key (/w/workspace/ndry_app-functions-sdk-go_PR-467@tmp/private_key_2218479669768730122.key) [2020-09-04T19:20:03.618Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-04T19:20:04.011Z] + git describe --exact-match --tags HEAD [2020-09-04T19:20:04.011Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-04T19:20:04.049Z] $ docker exec --env ******** --env ******** 67391f86e6c93618763bb535a82dad4256183af0329a03e5d285eacc9617f81e ssh-agent -k [2020-09-04T19:20:04.155Z] unset SSH_AUTH_SOCK; [2020-09-04T19:20:04.155Z] unset SSH_AGENT_PID; [2020-09-04T19:20:04.155Z] echo Agent pid 16 killed; [2020-09-04T19:20:04.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-04T19:20:04.335Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-04T19:20:04.335Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-04T19:20:04.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-04T19:20:04.440Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-04T19:20:04.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-04T19:20:04.601Z] $ docker exec 67391f86e6c93618763bb535a82dad4256183af0329a03e5d285eacc9617f81e ssh-agent [2020-09-04T19:20:04.748Z] SSH_AUTH_SOCK=/tmp/ssh-ImLgajkwtJYL/agent.45 [2020-09-04T19:20:04.748Z] SSH_AGENT_PID=50 [2020-09-04T19:20:04.754Z] Running ssh-add (command line suppressed) [2020-09-04T19:20:04.870Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-467@tmp/private_key_3891074118215162540.key (/w/workspace/ndry_app-functions-sdk-go_PR-467@tmp/private_key_3891074118215162540.key) [2020-09-04T19:20:04.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-04T19:20:05.288Z] + git semver init [2020-09-04T19:20:05.288Z] # -> Open(): unable to determine branch for HEAD [2020-09-04T19:20:05.288Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-467/.git [2020-09-04T19:20:05.288Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-467 [2020-09-04T19:20:05.288Z] # $SEMVER_REMOTE_NAME = origin [2020-09-04T19:20:05.288Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-04T19:20:05.288Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-04T19:20:05.288Z] # $SEMVER_BRANCH = PR-467 [2020-09-04T19:20:05.288Z] # $SEMVER_TEMP = /tmp/semver-428932934 [2020-09-04T19:20:05.288Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-04T19:20:07.834Z] # '/tmp/semver-428932934' -> '/w/workspace/ndry_app-functions-sdk-go_PR-467/.semver' [2020-09-04T19:20:07.834Z] # -> Force: false [2020-09-04T19:20:07.834Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-467/.semver [Pipeline] } [2020-09-04T19:20:07.856Z] $ docker exec --env ******** --env ******** 67391f86e6c93618763bb535a82dad4256183af0329a03e5d285eacc9617f81e ssh-agent -k [2020-09-04T19:20:07.963Z] unset SSH_AUTH_SOCK; [2020-09-04T19:20:07.964Z] unset SSH_AGENT_PID; [2020-09-04T19:20:07.964Z] echo Agent pid 50 killed; [2020-09-04T19:20:08.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-04T19:20:08.544Z] + git semver [Pipeline] } [2020-09-04T19:20:08.574Z] $ docker stop --time=1 67391f86e6c93618763bb535a82dad4256183af0329a03e5d285eacc9617f81e [2020-09-04T19:20:10.063Z] $ docker rm -f 67391f86e6c93618763bb535a82dad4256183af0329a03e5d285eacc9617f81e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-04T19:20:12.753Z] Stashed 37 file(s) [Pipeline] echo [2020-09-04T19:20:12.778Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-04T19:20:12.915Z] 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-04T19:20:28.532Z] Still waiting to schedule task [2020-09-04T19:20:28.532Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-04T19:20:28.554Z] Still waiting to schedule task [2020-09-04T19:20:28.554Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-04T19:22:27.997Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1478 in /w/workspace/ndry_app-functions-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-09-04T19:22:28.099Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-04T19:22:33.306Z] using credential edgex-jenkins-ssh [2020-09-04T19:22:33.380Z] Cloning the remote Git repository [2020-09-04T19:22:33.380Z] Cloning with configured refspecs honoured and without tags [2020-09-04T19:22:33.441Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-04T19:22:33.549Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-04T19:22:33.618Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-04T19:22:33.619Z] > git --version # timeout=10 [2020-09-04T19:22:33.646Z] > git --version # 'git version 2.17.1' [2020-09-04T19:22:33.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-04T19:22:33.729Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-04T19:22:36.803Z] Fetching without tags [2020-09-04T19:22:36.716Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-04T19:22:36.732Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-09-04T19:22:36.749Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-04T19:22:36.781Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-04T19:22:36.819Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-04T19:22:36.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-04T19:22:36.832Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-04T19:22:37.268Z] Merging remotes/origin/master commit 337bfa72234b549edc983bc92338d9bbd410e2b1 into PR head commit 75984c11dd9dca28c99f58cc0c947da040583f2c [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-04T19:22:37.841Z] Failed in branch arm64 [2020-09-04T19:22:37.292Z] > git config core.sparsecheckout # timeout=10 [2020-09-04T19:22:37.321Z] > git checkout -f 75984c11dd9dca28c99f58cc0c947da040583f2c # timeout=10 [2020-09-04T19:24:09.232Z] Running on prd-centos7-docker-4c-2g-1479 in /w/workspace/ndry_app-functions-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-09-04T19:24:09.305Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-04T19:24:14.857Z] using credential edgex-jenkins-ssh [2020-09-04T19:24:14.904Z] Cloning the remote Git repository [2020-09-04T19:24:14.904Z] Cloning with configured refspecs honoured and without tags [2020-09-04T19:24:14.967Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-04T19:24:15.044Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2020-09-04T19:24:15.115Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-04T19:24:15.115Z] > git --version # timeout=10 [2020-09-04T19:24:15.143Z] > git --version # 'git version 2.16.5' [2020-09-04T19:24:15.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-04T19:24:15.199Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-04T19:24:16.895Z] Fetching without tags [2020-09-04T19:24:17.306Z] Merging remotes/origin/master commit 337bfa72234b549edc983bc92338d9bbd410e2b1 into PR head commit 75984c11dd9dca28c99f58cc0c947da040583f2c [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2020-09-04T19:24:16.855Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-04T19:24:16.871Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-09-04T19:24:16.877Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-04T19:24:16.889Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-04T19:24:16.913Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-04T19:24:16.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-04T19:24:16.918Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-04T19:24:17.327Z] > git config core.sparsecheckout # timeout=10 [2020-09-04T19:24:17.335Z] > git checkout -f 75984c11dd9dca28c99f58cc0c947da040583f2c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-04T19:24:17.820Z] Failed in branch amd64 [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-04T19:24:21.003Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-04T19:24:21.599Z] ---> package-listing.sh [2020-09-04T19:24:21.600Z] ++ facter osfamily [2020-09-04T19:24:21.600Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-04T19:24:21.600Z] + OS_FAMILY=redhat [2020-09-04T19:24:21.600Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-467 [2020-09-04T19:24:21.600Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-04T19:24:21.600Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-04T19:24:21.600Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-04T19:24:21.600Z] + PACKAGES=/tmp/packages_start.txt [2020-09-04T19:24:21.600Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-467 ']' [2020-09-04T19:24:21.600Z] + PACKAGES=/tmp/packages_end.txt [2020-09-04T19:24:21.600Z] + case "${OS_FAMILY}" in [2020-09-04T19:24:21.600Z] + rpm -qa [2020-09-04T19:24:21.600Z] + sort [2020-09-04T19:24:25.832Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-04T19:24:25.832Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-04T19:24:25.832Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-04T19:24:25.832Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-467 ']' [2020-09-04T19:24:25.832Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-467/archives/ [2020-09-04T19:24:25.832Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-467/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-04T19:24:26.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-04T19:24:26.297Z] [2020-09-04T19:24:26.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-04T19:24:26.675Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-04T19:24:26.675Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-04T19:24:26.675Z] df20fa9351a1: Pulling fs layer [2020-09-04T19:24:26.675Z] 36b3adc4ff6f: Pulling fs layer [2020-09-04T19:24:26.675Z] 8ad3a11d3b57: Pulling fs layer [2020-09-04T19:24:26.675Z] 46f8f816bc3b: Pulling fs layer [2020-09-04T19:24:26.675Z] 0dadc02b9964: Pulling fs layer [2020-09-04T19:24:26.675Z] ce6a7cf60c04: Pulling fs layer [2020-09-04T19:24:26.675Z] 7a184a31f384: Pulling fs layer [2020-09-04T19:24:26.675Z] 0879bd2ef858: Pulling fs layer [2020-09-04T19:24:26.675Z] 0dadc02b9964: Waiting [2020-09-04T19:24:26.675Z] ce6a7cf60c04: Waiting [2020-09-04T19:24:26.675Z] 7a184a31f384: Waiting [2020-09-04T19:24:26.675Z] 0879bd2ef858: Waiting [2020-09-04T19:24:26.675Z] 46f8f816bc3b: Waiting [2020-09-04T19:24:26.675Z] 36b3adc4ff6f: Verifying Checksum [2020-09-04T19:24:26.675Z] 36b3adc4ff6f: Download complete [2020-09-04T19:24:26.675Z] 46f8f816bc3b: Verifying Checksum [2020-09-04T19:24:26.675Z] 46f8f816bc3b: Download complete [2020-09-04T19:24:26.675Z] df20fa9351a1: Verifying Checksum [2020-09-04T19:24:26.675Z] ce6a7cf60c04: Verifying Checksum [2020-09-04T19:24:26.675Z] ce6a7cf60c04: Download complete [2020-09-04T19:24:26.675Z] 7a184a31f384: Download complete [2020-09-04T19:24:26.675Z] 0dadc02b9964: Verifying Checksum [2020-09-04T19:24:26.675Z] 0dadc02b9964: Download complete [2020-09-04T19:24:26.943Z] 8ad3a11d3b57: Verifying Checksum [2020-09-04T19:24:26.943Z] 8ad3a11d3b57: Download complete [2020-09-04T19:24:27.208Z] df20fa9351a1: Pull complete [2020-09-04T19:24:27.208Z] 0879bd2ef858: Verifying Checksum [2020-09-04T19:24:27.208Z] 0879bd2ef858: Download complete [2020-09-04T19:24:27.474Z] 36b3adc4ff6f: Pull complete [2020-09-04T19:24:28.052Z] 8ad3a11d3b57: Pull complete [2020-09-04T19:24:28.052Z] 46f8f816bc3b: Pull complete [2020-09-04T19:24:28.313Z] 0dadc02b9964: Pull complete [2020-09-04T19:24:28.313Z] ce6a7cf60c04: Pull complete [2020-09-04T19:24:28.574Z] 7a184a31f384: Pull complete [2020-09-04T19:24:31.142Z] 0879bd2ef858: Pull complete [2020-09-04T19:24:31.142Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-04T19:24:31.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-04T19:24:31.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-04T19:24:31.341Z] prd-centos7-docker-4c-2g-1477 does not seem to be running inside a container [2020-09-04T19:24:31.386Z] $ 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-467 -v /w/workspace/ndry_app-functions-sdk-go_PR-467:/w/workspace/ndry_app-functions-sdk-go_PR-467:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-467@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-467@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:10003/edgex-lftools-log-publisher:alpine cat [2020-09-04T19:24:34.217Z] $ docker top 6ba69256b15089d57021644a30d7bb18686ef633196602cc3d7ab84b7e6099a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-04T19:24:34.961Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-04T19:24:35.271Z] + ls /var/log/sa-host [2020-09-04T19:24:35.272Z] + sadf -c /var/log/sa-host/sa04 [2020-09-04T19:24:35.272Z] file_magic: OK [2020-09-04T19:24:35.272Z] HZ: Using current value: 100 [2020-09-04T19:24:35.272Z] file_header: OK [2020-09-04T19:24:35.272Z] 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-04T19:24:35.272Z] Statistics: [2020-09-04T19:24:35.272Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-04T19:24:35.272Z] File successfully converted to sysstat format version 12.2.1 [2020-09-04T19:24:35.272Z] + sadf -c /var/log/sa-host/sa05 [2020-09-04T19:24:35.272Z] file_magic: OK [2020-09-04T19:24:35.272Z] HZ: Using current value: 100 [2020-09-04T19:24:35.272Z] file_header: OK [2020-09-04T19:24:35.272Z] 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-04T19:24:35.272Z] Statistics: [2020-09-04T19:24:35.272Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-04T19:24:35.272Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-04T19:24:35.388Z] provisioning config files... [2020-09-04T19:24:35.410Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-467@tmp/config6936666929508550802tmp [Pipeline] { [Pipeline] echo [2020-09-04T19:24:35.503Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-04T19:24:35.829Z] ---> create-netrc.sh [Pipeline] echo [2020-09-04T19:24:35.858Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-04T19:24:36.195Z] ---> logs-deploy.sh [2020-09-04T19:24:36.195Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-467/1 [2020-09-04T19:24:36.195Z] INFO: archiving workspace using pattern(s): [2020-09-04T19:24:37.585Z] Archives upload complete. [2020-09-04T19:24:37.585Z] INFO: archiving logs to Nexus