Pull request #480 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 721d5be76f4fdd71a5bd5fc9dfc6e5a5ded49733+dd68bd8a16b73082b1b414d7611500291c5101af (7c045780fbec506f86914dcfae81ff54234bfc5b) 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, 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-43412 in /w/workspace/ndry_app-functions-sdk-go_PR-480 [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-480 # 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/480/head:refs/remotes/origin/PR-480 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit dd68bd8a16b73082b1b414d7611500291c5101af into PR head commit 721d5be76f4fdd71a5bd5fc9dfc6e5a5ded49733 Merge succeeded, producing e8ae42d40e19f3efe87e10f562b0d91b445a9714 Checking out Revision e8ae42d40e19f3efe87e10f562b0d91b445a9714 (PR-480) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/480/head:refs/remotes/origin/PR-480 # 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/480/head:refs/remotes/origin/PR-480 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 721d5be76f4fdd71a5bd5fc9dfc6e5a5ded49733 # 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 dd68bd8a16b73082b1b414d7611500291c5101af # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8ae42d40e19f3efe87e10f562b0d91b445a9714 # timeout=10 Commit message: "Merge commit 'dd68bd8a16b73082b1b414d7611500291c5101af' into HEAD" > git rev-list --no-walk 721d5be76f4fdd71a5bd5fc9dfc6e5a5ded49733 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-15T22:16:40.015Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-15T22:16:40.315Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-15T22:16:40.500Z] ========================================================= [2020-09-15T22:16:40.500Z] EdgeX Global Pipelines Version Info [2020-09-15T22:16:40.500Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-15T22:16:41.965Z] ------------------- [2020-09-15T22:16:41.965Z] stable info: [2020-09-15T22:16:41.965Z] ------------------- [2020-09-15T22:16:41.965Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-15T22:16:41.965Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-15T22:16:41.965Z] Message: update stable to v1.0.122 [2020-09-15T22:16:42.910Z] ------------------- [2020-09-15T22:16:42.910Z] experimental info: [2020-09-15T22:16:42.910Z] ------------------- [2020-09-15T22:16:42.910Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-15T22:16:42.910Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-15T22:16:42.910Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-15T22:16:43.288Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-15T22:16:43.384Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-15T22:16:43.529Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-15T22:16:43.623Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-15T22:16:43.718Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-15T22:16:43.829Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-15T22:16:43.924Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-15T22:16:44.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-15T22:16:44.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-15T22:16:44.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-15T22:16:44.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-15T22:16:44.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-15T22:16:44.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-15T22:16:44.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-15T22:16:44.774Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T22:16:44.874Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T22:16:44.966Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T22:16:45.058Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T22:16:45.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-15T22:16:45.239Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-15T22:16:45.352Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-15T22:16:45.467Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-15T22:16:45.566Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-480 [Pipeline] echo [2020-09-15T22:16:45.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-480 [Pipeline] echo [2020-09-15T22:16:45.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-480 [Pipeline] echo [2020-09-15T22:16:45.919Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8ae42d40e19f3efe87e10f562b0d91b445a9714 [Pipeline] echo [2020-09-15T22:16:46.007Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8ae42d [Pipeline] echo [2020-09-15T22:16:46.095Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T22:16:46.680Z] + git log --format=format:%s -1 e8ae42d40e19f3efe87e10f562b0d91b445a9714 [Pipeline] echo [2020-09-15T22:16:46.743Z] GIT_COMMIT: e8ae42d40e19f3efe87e10f562b0d91b445a9714, Commit Message: Merge commit 'dd68bd8a16b73082b1b414d7611500291c5101af' into HEAD [Pipeline] echo [2020-09-15T22:16:46.788Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:16:47.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T22:16:47.623Z] [2020-09-15T22:16:47.623Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:16:47.973Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T22:16:47.973Z] latest: Pulling from edgex-devops/git-semver [2020-09-15T22:16:47.973Z] 31603596830f: Pulling fs layer [2020-09-15T22:16:47.973Z] 2a8b12db71e7: Pulling fs layer [2020-09-15T22:16:47.973Z] 6ca5941a6612: Pulling fs layer [2020-09-15T22:16:47.973Z] ecc8261a40a4: Pulling fs layer [2020-09-15T22:16:47.973Z] ecc8261a40a4: Waiting [2020-09-15T22:16:47.973Z] 2a8b12db71e7: Download complete [2020-09-15T22:16:48.235Z] 31603596830f: Verifying Checksum [2020-09-15T22:16:48.235Z] 31603596830f: Download complete [2020-09-15T22:16:48.235Z] 6ca5941a6612: Verifying Checksum [2020-09-15T22:16:48.235Z] 6ca5941a6612: Download complete [2020-09-15T22:16:48.235Z] ecc8261a40a4: Verifying Checksum [2020-09-15T22:16:48.235Z] ecc8261a40a4: Download complete [2020-09-15T22:16:48.496Z] 31603596830f: Pull complete [2020-09-15T22:16:48.758Z] 2a8b12db71e7: Pull complete [2020-09-15T22:16:49.712Z] 6ca5941a6612: Pull complete [2020-09-15T22:16:49.973Z] ecc8261a40a4: Pull complete [2020-09-15T22:16:49.973Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-15T22:16:49.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T22:16:49.973Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-15T22:16:50.074Z] prd-centos7-docker-4c-2g-43412 does not seem to be running inside a container [2020-09-15T22:16:50.121Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-480 -v /w/workspace/ndry_app-functions-sdk-go_PR-480:/w/workspace/ndry_app-functions-sdk-go_PR-480:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-480@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-480@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-15T22:16:52.266Z] $ docker top 8aed9f2092c5364e06112e534d3fc0a2f003ce711bf25ecf39553cd265385ccc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T22:16:52.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T22:16:52.696Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T22:16:52.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T22:16:52.969Z] $ docker exec 8aed9f2092c5364e06112e534d3fc0a2f003ce711bf25ecf39553cd265385ccc ssh-agent [2020-09-15T22:16:53.135Z] SSH_AUTH_SOCK=/tmp/ssh-nuVncutQKQgt/agent.12 [2020-09-15T22:16:53.135Z] SSH_AGENT_PID=18 [2020-09-15T22:16:53.146Z] Running ssh-add (command line suppressed) [2020-09-15T22:16:53.284Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-480@tmp/private_key_2487977789754251138.key (/w/workspace/ndry_app-functions-sdk-go_PR-480@tmp/private_key_2487977789754251138.key) [2020-09-15T22:16:53.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T22:16:53.679Z] + git describe --exact-match --tags HEAD [2020-09-15T22:16:53.679Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-15T22:16:53.702Z] $ docker exec --env ******** --env ******** 8aed9f2092c5364e06112e534d3fc0a2f003ce711bf25ecf39553cd265385ccc ssh-agent -k [2020-09-15T22:16:53.818Z] unset SSH_AUTH_SOCK; [2020-09-15T22:16:53.819Z] unset SSH_AGENT_PID; [2020-09-15T22:16:53.819Z] echo Agent pid 18 killed; [2020-09-15T22:16:53.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-15T22:16:53.951Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-15T22:16:53.951Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-15T22:16:54.048Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T22:16:54.048Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T22:16:54.227Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T22:16:54.233Z] $ docker exec 8aed9f2092c5364e06112e534d3fc0a2f003ce711bf25ecf39553cd265385ccc ssh-agent [2020-09-15T22:16:54.411Z] SSH_AUTH_SOCK=/tmp/ssh-WncqwTrS2WkU/agent.48 [2020-09-15T22:16:54.412Z] SSH_AGENT_PID=53 [2020-09-15T22:16:54.419Z] Running ssh-add (command line suppressed) [2020-09-15T22:16:54.542Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-480@tmp/private_key_6252942664637220214.key (/w/workspace/ndry_app-functions-sdk-go_PR-480@tmp/private_key_6252942664637220214.key) [2020-09-15T22:16:54.592Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T22:16:54.925Z] + git semver init [2020-09-15T22:16:54.926Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T22:16:54.926Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-480/.git [2020-09-15T22:16:54.926Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-480 [2020-09-15T22:16:54.926Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T22:16:54.926Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T22:16:54.926Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T22:16:54.926Z] # $SEMVER_BRANCH = PR-480 [2020-09-15T22:16:54.926Z] # $SEMVER_TEMP = /tmp/semver-004795095 [2020-09-15T22:16:54.926Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-15T22:16:57.493Z] # '/tmp/semver-004795095' -> '/w/workspace/ndry_app-functions-sdk-go_PR-480/.semver' [2020-09-15T22:16:57.493Z] # -> Force: false [2020-09-15T22:16:57.493Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-480/.semver [Pipeline] } [2020-09-15T22:16:57.508Z] $ docker exec --env ******** --env ******** 8aed9f2092c5364e06112e534d3fc0a2f003ce711bf25ecf39553cd265385ccc ssh-agent -k [2020-09-15T22:16:57.639Z] unset SSH_AUTH_SOCK; [2020-09-15T22:16:57.640Z] unset SSH_AGENT_PID; [2020-09-15T22:16:57.640Z] echo Agent pid 53 killed; [2020-09-15T22:16:57.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T22:16:58.147Z] + git semver [Pipeline] } [2020-09-15T22:16:58.166Z] $ docker stop --time=1 8aed9f2092c5364e06112e534d3fc0a2f003ce711bf25ecf39553cd265385ccc [2020-09-15T22:16:59.607Z] $ docker rm -f 8aed9f2092c5364e06112e534d3fc0a2f003ce711bf25ecf39553cd265385ccc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-15T22:17:02.226Z] Stashed 41 file(s) [Pipeline] echo [2020-09-15T22:17:02.229Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-15T22:17:02.361Z] 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-15T22:17:17.764Z] Still waiting to schedule task [2020-09-15T22:17:17.765Z] ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-43413’ is offline; ‘prd-centos7-docker-4c-2g-43414’ is offline [2020-09-15T22:17:17.767Z] Still waiting to schedule task [2020-09-15T22:17:17.767Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-15T22:19:10.780Z] Running on prd-centos7-docker-4c-2g-43424 in /w/workspace/ndry_app-functions-sdk-go_PR-480 [Pipeline] { [Pipeline] ws [2020-09-15T22:19:10.851Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T22:19:12.917Z] ========================================================= [2020-09-15T22:19:12.917Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-15T22:19:12.917Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:19:14.105Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-09-15T22:19:14.105Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/app-functions-sdk-go/2/Dockerfile.build: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-15T22:19:15.624Z] Failed in branch amd64 [2020-09-15T22:19:56.049Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43423 in /w/workspace/ndry_app-functions-sdk-go_PR-480 [Pipeline] { [Pipeline] ws [2020-09-15T22:19:56.162Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T22:19:59.951Z] ========================================================= [2020-09-15T22:19:59.952Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-15T22:19:59.952Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:20:01.628Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-09-15T22:20:02.240Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/app-functions-sdk-go/2/Dockerfile.build: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-15T22:20:03.898Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-15T22:20:06.318Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T22:20:06.888Z] ---> package-listing.sh [2020-09-15T22:20:06.888Z] ++ facter osfamily [2020-09-15T22:20:06.888Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-15T22:20:06.888Z] + OS_FAMILY=redhat [2020-09-15T22:20:06.888Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-480 [2020-09-15T22:20:06.888Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-15T22:20:06.888Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-15T22:20:06.888Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-15T22:20:06.888Z] + PACKAGES=/tmp/packages_start.txt [2020-09-15T22:20:06.888Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-480 ']' [2020-09-15T22:20:06.888Z] + PACKAGES=/tmp/packages_end.txt [2020-09-15T22:20:06.888Z] + case "${OS_FAMILY}" in [2020-09-15T22:20:06.888Z] + rpm -qa [2020-09-15T22:20:06.888Z] + sort [2020-09-15T22:20:11.123Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-15T22:20:11.123Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-15T22:20:11.123Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-15T22:20:11.123Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-480 ']' [2020-09-15T22:20:11.123Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-480/archives/ [2020-09-15T22:20:11.123Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-480/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:20:11.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T22:20:11.620Z] [2020-09-15T22:20:11.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-15T22:20:11.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T22:20:11.980Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-15T22:20:11.980Z] df20fa9351a1: Pulling fs layer [2020-09-15T22:20:11.980Z] 36b3adc4ff6f: Pulling fs layer [2020-09-15T22:20:11.980Z] 8ad3a11d3b57: Pulling fs layer [2020-09-15T22:20:11.980Z] 46f8f816bc3b: Pulling fs layer [2020-09-15T22:20:11.980Z] 0dadc02b9964: Pulling fs layer [2020-09-15T22:20:11.980Z] ce6a7cf60c04: Pulling fs layer [2020-09-15T22:20:11.980Z] 7a184a31f384: Pulling fs layer [2020-09-15T22:20:11.980Z] 0879bd2ef858: Pulling fs layer [2020-09-15T22:20:11.980Z] 0dadc02b9964: Waiting [2020-09-15T22:20:11.980Z] ce6a7cf60c04: Waiting [2020-09-15T22:20:11.980Z] 7a184a31f384: Waiting [2020-09-15T22:20:11.980Z] 0879bd2ef858: Waiting [2020-09-15T22:20:11.980Z] 46f8f816bc3b: Waiting [2020-09-15T22:20:11.980Z] 36b3adc4ff6f: Verifying Checksum [2020-09-15T22:20:11.980Z] 36b3adc4ff6f: Download complete [2020-09-15T22:20:11.980Z] 46f8f816bc3b: Verifying Checksum [2020-09-15T22:20:11.980Z] 46f8f816bc3b: Download complete [2020-09-15T22:20:12.245Z] df20fa9351a1: Verifying Checksum [2020-09-15T22:20:12.245Z] df20fa9351a1: Download complete [2020-09-15T22:20:12.245Z] ce6a7cf60c04: Verifying Checksum [2020-09-15T22:20:12.245Z] ce6a7cf60c04: Download complete [2020-09-15T22:20:12.245Z] 7a184a31f384: Verifying Checksum [2020-09-15T22:20:12.245Z] 7a184a31f384: Download complete [2020-09-15T22:20:12.245Z] 0dadc02b9964: Verifying Checksum [2020-09-15T22:20:12.245Z] 0dadc02b9964: Download complete [2020-09-15T22:20:12.510Z] 8ad3a11d3b57: Verifying Checksum [2020-09-15T22:20:12.510Z] 8ad3a11d3b57: Download complete [2020-09-15T22:20:12.510Z] df20fa9351a1: Pull complete [2020-09-15T22:20:12.774Z] 36b3adc4ff6f: Pull complete [2020-09-15T22:20:12.774Z] 0879bd2ef858: Verifying Checksum [2020-09-15T22:20:12.774Z] 0879bd2ef858: Download complete [2020-09-15T22:20:13.357Z] 8ad3a11d3b57: Pull complete [2020-09-15T22:20:13.357Z] 46f8f816bc3b: Pull complete [2020-09-15T22:20:13.619Z] 0dadc02b9964: Pull complete [2020-09-15T22:20:13.619Z] ce6a7cf60c04: Pull complete [2020-09-15T22:20:13.881Z] 7a184a31f384: Pull complete [2020-09-15T22:20:16.455Z] 0879bd2ef858: Pull complete [2020-09-15T22:20:16.455Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-15T22:20:16.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T22:20:16.455Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-15T22:20:16.585Z] prd-centos7-docker-4c-2g-43412 does not seem to be running inside a container [2020-09-15T22:20:16.629Z] $ 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-480 -v /w/workspace/ndry_app-functions-sdk-go_PR-480:/w/workspace/ndry_app-functions-sdk-go_PR-480:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-480@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-480@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-15T22:20:23.459Z] $ docker top 8d08b0b99252474a2006c9d520f7ccc08205f707ffe82b5b82e864e27cfbed90 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T22:20:24.036Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-15T22:20:24.344Z] + ls /var/log/sa-host [2020-09-15T22:20:24.344Z] + sadf -c /var/log/sa-host/sa05 [2020-09-15T22:20:24.344Z] file_magic: OK [2020-09-15T22:20:24.344Z] HZ: Using current value: 100 [2020-09-15T22:20:24.344Z] file_header: OK [2020-09-15T22:20:24.344Z] 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-15T22:20:24.344Z] Statistics: [2020-09-15T22:20:24.344Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T22:20:24.344Z] File successfully converted to sysstat format version 12.2.1 [2020-09-15T22:20:24.344Z] + sadf -c /var/log/sa-host/sa15 [2020-09-15T22:20:24.344Z] file_magic: OK [2020-09-15T22:20:24.344Z] HZ: Using current value: 100 [2020-09-15T22:20:24.344Z] file_header: OK [2020-09-15T22:20:24.344Z] 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-15T22:20:24.344Z] Statistics: [2020-09-15T22:20:24.344Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T22:20:24.344Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-15T22:20:24.657Z] provisioning config files... [2020-09-15T22:20:24.680Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-480@tmp/config4492118967561618786tmp [Pipeline] { [Pipeline] echo [2020-09-15T22:20:24.750Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T22:20:25.053Z] ---> create-netrc.sh [Pipeline] echo [2020-09-15T22:20:25.065Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T22:20:25.593Z] ---> logs-deploy.sh [2020-09-15T22:20:25.593Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-480/2 [2020-09-15T22:20:25.593Z] INFO: archiving workspace using pattern(s): [2020-09-15T22:20:26.991Z] Archives upload complete. [2020-09-15T22:20:27.259Z] INFO: archiving logs to Nexus