Pull request #817 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ec53dccb3560526193d34fe4441dd5a5118fe129+89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c (7726f34ce71770295bee5e64d30b18ac46b5c2ca) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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:lfit/releng-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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3404 in /w/workspace/ndry_app-functions-sdk-go_PR-817 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-817 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # 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/heads/*:refs/remotes/origin/* # 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 --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/817/head:refs/remotes/origin/PR-817 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c into PR head commit ec53dccb3560526193d34fe4441dd5a5118fe129 Merge succeeded, producing a5c7d29772a8b087fd4d093fd247424c81448dc1 Checking out Revision a5c7d29772a8b087fd4d093fd247424c81448dc1 (PR-817) > git config core.sparsecheckout # timeout=10 > git checkout -f ec53dccb3560526193d34fe4441dd5a5118fe129 # 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 89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5c7d29772a8b087fd4d093fd247424c81448dc1 # timeout=10 Commit message: "Merge commit '89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c' into HEAD" > git rev-list --no-walk ec53dccb3560526193d34fe4441dd5a5118fe129 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:12:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:12:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:12:55 ========================================================= 23:12:55 EdgeX Global Pipelines Version Info 23:12:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:12:56 ------------------- 23:12:56 stable info: 23:12:56 ------------------- 23:12:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:12:56 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 23:12:56 Message: update stable to v1.0.191 23:12:57 ------------------- 23:12:57 experimental info: 23:12:57 ------------------- 23:12:57 Commited By: **** collab-it+edgex@linuxfoundation.org 23:12:57 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 23:12:57 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:12:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:12:57 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:12:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-817 [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-817 [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-817 [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5c7d29772a8b087fd4d093fd247424c81448dc1 [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5c7d29 [Pipeline] echo 23:12:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:59 + git log --format=format:%s -1 a5c7d29772a8b087fd4d093fd247424c81448dc1 [Pipeline] echo 23:12:59 GIT_COMMIT: a5c7d29772a8b087fd4d093fd247424c81448dc1, Commit Message: Merge commit '89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c' into HEAD [Pipeline] echo 23:12:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:12:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:13:00 23:13:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:13:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:13:00 latest: Pulling from edgex-devops/git-semver 23:13:00 31603596830f: Pulling fs layer 23:13:00 54011a49482f: Pulling fs layer 23:13:00 a6820b24f6d8: Pulling fs layer 23:13:00 f581987b2513: Pulling fs layer 23:13:00 f581987b2513: Waiting 23:13:00 54011a49482f: Verifying Checksum 23:13:00 54011a49482f: Download complete 23:13:00 31603596830f: Verifying Checksum 23:13:00 31603596830f: Download complete 23:13:00 a6820b24f6d8: Verifying Checksum 23:13:00 a6820b24f6d8: Download complete 23:13:00 f581987b2513: Verifying Checksum 23:13:00 f581987b2513: Download complete 23:13:01 31603596830f: Pull complete 23:13:01 54011a49482f: Pull complete 23:13:02 a6820b24f6d8: Pull complete 23:13:02 f581987b2513: Pull complete 23:13:02 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 23:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:13:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:13:03 prd-centos7-docker-4c-2g-3404 does not seem to be running inside a container 23:13:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-817 -v /w/workspace/ndry_app-functions-sdk-go_PR-817:/w/workspace/ndry_app-functions-sdk-go_PR-817:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-817@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-817@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:13:05 $ docker top 31d746f19756f6548fbcac944e02dcecf287ebba3a17eb42cc39d76e4c70328e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:13:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:13:05 [ssh-agent] Looking for ssh-agent implementation... 23:13:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:13:05 $ docker exec 31d746f19756f6548fbcac944e02dcecf287ebba3a17eb42cc39d76e4c70328e ssh-agent 23:13:06 SSH_AUTH_SOCK=/tmp/ssh-xlWN6dZfFgLI/agent.12 23:13:06 SSH_AGENT_PID=17 23:13:06 Running ssh-add (command line suppressed) 23:13:06 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-817@tmp/private_key_4318105378464342248.key (/w/workspace/ndry_app-functions-sdk-go_PR-817@tmp/private_key_4318105378464342248.key) 23:13:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:13:06 + git tag --points-at HEAD [Pipeline] } 23:13:06 $ docker exec --env ******** --env ******** 31d746f19756f6548fbcac944e02dcecf287ebba3a17eb42cc39d76e4c70328e ssh-agent -k 23:13:06 unset SSH_AUTH_SOCK; 23:13:06 unset SSH_AGENT_PID; 23:13:06 echo Agent pid 17 killed; 23:13:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:13:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:13:06 [ssh-agent] Looking for ssh-agent implementation... 23:13:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:13:07 $ docker exec 31d746f19756f6548fbcac944e02dcecf287ebba3a17eb42cc39d76e4c70328e ssh-agent 23:13:07 SSH_AUTH_SOCK=/tmp/ssh-vW57OKnqzW76/agent.46 23:13:07 SSH_AGENT_PID=51 23:13:07 Running ssh-add (command line suppressed) 23:13:07 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-817@tmp/private_key_1126610937076062680.key (/w/workspace/ndry_app-functions-sdk-go_PR-817@tmp/private_key_1126610937076062680.key) 23:13:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:13:07 + git semver init 23:13:07 # -> Open(): unable to determine branch for HEAD 23:13:07 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-817/.git 23:13:07 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-817 23:13:07 # $SEMVER_REMOTE_NAME = origin 23:13:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:13:07 # $SEMVER_USER_NAME = edgex-jenkins 23:13:07 # $SEMVER_BRANCH = PR-817 23:13:07 # $SEMVER_TEMP = /tmp/semver-629556442 23:13:07 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:13:11 # '/tmp/semver-629556442' -> '/w/workspace/ndry_app-functions-sdk-go_PR-817/.semver' 23:13:11 # -> Force: false 23:13:11 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-817/.semver [Pipeline] } 23:13:11 $ docker exec --env ******** --env ******** 31d746f19756f6548fbcac944e02dcecf287ebba3a17eb42cc39d76e4c70328e ssh-agent -k 23:13:11 unset SSH_AUTH_SOCK; 23:13:11 unset SSH_AGENT_PID; 23:13:11 echo Agent pid 51 killed; 23:13:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:13:11 + git semver [Pipeline] } 23:13:11 $ docker stop --time=1 31d746f19756f6548fbcac944e02dcecf287ebba3a17eb42cc39d76e4c70328e 23:13:13 $ docker rm -f 31d746f19756f6548fbcac944e02dcecf287ebba3a17eb42cc39d76e4c70328e [Pipeline] // withDockerContainer [Pipeline] sh 23:13:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:13:13 Stashed 1 file(s) [Pipeline] echo 23:13:13 [edgeXSemver]: initialized semver on 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 23:13:29 Still waiting to schedule task 23:13:29 ‘prd-centos7-builder-2c-1g-3402’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3364’ is offline; ‘prd-centos7-docker-4c-2g-3369’ is offline; ‘prd-centos7-docker-4c-2g-3372’ is offline; ‘prd-centos7-docker-4c-2g-3405’ is offline; ‘prd-centos7-docker-4c-2g-3406’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-3394’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-3395’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3389’ doesn’t have label ‘centos7-docker-4c-2g’ 23:13:29 Still waiting to schedule task 23:13:29 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:14:55 Running on prd-centos7-docker-4c-2g-3409 in /w/workspace/ndry_app-functions-sdk-go_PR-817 [Pipeline] { [Pipeline] ws 23:14:55 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:14:58 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:14:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:14:59 + true 23:14:59 + sudo service docker restart 23:14:59 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 23:15:02 ========================================================= 23:15:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:15:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:15:02 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 23:15:02 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 Post stage [Pipeline] libraryResource [Pipeline] sh 23:15:03 ---> job-cost.sh 23:15:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gfuC 23:15:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:16:09 lf-activate-venv(): INFO: Adding /tmp/venv-gfuC/bin to PATH 23:16:09 INFO: No Stack... 23:16:09 INFO: Retrieving Pricing Info for: v1-standard-2 23:16:09 INFO: Archiving Costs [Pipeline] sh 23:16:09 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 23:16:09 + cut -d, -f6 [Pipeline] lock 23:16:10 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-817-2-stack-cost] 23:16:10 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-817-2-stack-cost] did not exist. Created. 23:16:10 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-817-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:16:10 + echo total: 0.029999999329447746 [Pipeline] stash 23:16:11 Stashed 1 file(s) [Pipeline] } 23:16:11 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-817-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:16:11 Failed in branch amd64 23:18:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3415 in /w/workspace/ndry_app-functions-sdk-go_PR-817 [Pipeline] { [Pipeline] ws 23:18:33 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:18:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:18:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:18:36 + sudo service docker restart 23:18:36 + true [Pipeline] unstash [Pipeline] echo 23:18:39 ========================================================= 23:18:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:18:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:18:40 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 23:18:40 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 Post stage [Pipeline] libraryResource [Pipeline] sh 23:18:41 ---> job-cost.sh 23:18:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-p9Lg 23:19:20 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:20:42 lf-activate-venv(): INFO: Adding /tmp/venv-p9Lg/bin to PATH 23:20:42 INFO: No Stack... 23:20:42 INFO: Retrieving Pricing Info for: lf-standard-4 23:20:42 INFO: Archiving Costs [Pipeline] sh 23:20:42 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 23:20:42 + cut -d, -f6 [Pipeline] lock 23:20:42 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-817-2-stack-cost] 23:20:42 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-817-2-stack-cost] did not exist. Created. 23:20:42 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-817-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:20:43 /w/workspace/app-functions-sdk-go/2@tmp/durable-266a9a97/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-266a9a97/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:20:43 + echo total: 0.20999999344348907 [Pipeline] stash 23:20:43 Warning: overwriting stash ‘stack-cost’ 23:20:44 Stashed 1 file(s) [Pipeline] } 23:20:44 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-817-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:20:44 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 Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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 23:20:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:20:45 ---> package-listing.sh 23:20:45 ++ facter osfamily 23:20:45 ++ tr '[:upper:]' '[:lower:]' 23:20:45 + OS_FAMILY=redhat 23:20:45 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-817 23:20:45 + START_PACKAGES=/tmp/packages_start.txt 23:20:45 + END_PACKAGES=/tmp/packages_end.txt 23:20:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:20:45 + PACKAGES=/tmp/packages_start.txt 23:20:45 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-817 ']' 23:20:45 + PACKAGES=/tmp/packages_end.txt 23:20:45 + case "${OS_FAMILY}" in 23:20:45 + rpm -qa 23:20:45 + sort 23:20:52 + '[' -f /tmp/packages_start.txt ']' 23:20:52 + '[' -f /tmp/packages_end.txt ']' 23:20:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:20:52 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-817 ']' 23:20:52 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-817/archives/ 23:20:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-817/archives/ [Pipeline] echo 23:20:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-817/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:20:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:20:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:20:53 23:20:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:20:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:20:53 alpine: Pulling from edgex-lftools-log-publisher 23:20:53 df20fa9351a1: Pulling fs layer 23:20:53 36b3adc4ff6f: Pulling fs layer 23:20:53 8ad3a11d3b57: Pulling fs layer 23:20:53 46f8f816bc3b: Pulling fs layer 23:20:53 93b61091891f: Pulling fs layer 23:20:53 93b9cdb0e59b: Pulling fs layer 23:20:53 5e14af77c1be: Pulling fs layer 23:20:53 01666e4c0597: Pulling fs layer 23:20:53 aa168da1d23b: Pulling fs layer 23:20:53 93b9cdb0e59b: Waiting 23:20:53 5e14af77c1be: Waiting 23:20:53 46f8f816bc3b: Waiting 23:20:53 aa168da1d23b: Waiting 23:20:53 01666e4c0597: Waiting 23:20:53 93b61091891f: Waiting 23:20:53 36b3adc4ff6f: Verifying Checksum 23:20:53 36b3adc4ff6f: Download complete 23:20:53 46f8f816bc3b: Verifying Checksum 23:20:53 46f8f816bc3b: Download complete 23:20:53 df20fa9351a1: Download complete 23:20:53 93b9cdb0e59b: Verifying Checksum 23:20:53 93b9cdb0e59b: Download complete 23:20:53 5e14af77c1be: Verifying Checksum 23:20:53 5e14af77c1be: Download complete 23:20:53 93b61091891f: Download complete 23:20:53 01666e4c0597: Verifying Checksum 23:20:53 01666e4c0597: Download complete 23:20:53 8ad3a11d3b57: Verifying Checksum 23:20:53 8ad3a11d3b57: Download complete 23:20:53 df20fa9351a1: Pull complete 23:20:54 36b3adc4ff6f: Pull complete 23:20:55 8ad3a11d3b57: Pull complete 23:20:55 aa168da1d23b: Verifying Checksum 23:20:55 aa168da1d23b: Download complete 23:20:55 46f8f816bc3b: Pull complete 23:20:56 93b61091891f: Pull complete 23:20:56 93b9cdb0e59b: Pull complete 23:20:56 5e14af77c1be: Pull complete 23:20:56 01666e4c0597: Pull complete 23:21:04 aa168da1d23b: Pull complete 23:21:04 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:21:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:21:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:21:04 prd-centos7-docker-4c-2g-3404 does not seem to be running inside a container 23:21:05 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-817/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-817 -v /w/workspace/ndry_app-functions-sdk-go_PR-817:/w/workspace/ndry_app-functions-sdk-go_PR-817:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-817@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-817@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:21:08 $ docker top 4bd97e83bdb53dc71383780ea293da52ac3046bc284a954df182a79c63395239 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:08 + touch /tmp/pre-build-complete [Pipeline] sh 23:21:09 + mkdir -p /var/log/sa [Pipeline] sh 23:21:09 + ls /var/log/sa-host 23:21:09 + sadf -c /var/log/sa-host/sa06 23:21:09 file_magic: OK 23:21:09 HZ: Using current value: 100 23:21:09 file_header: OK 23:21:09 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 23:21:09 Statistics: 23:21:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:21:09 File successfully converted to sysstat format version 12.2.1 23:21:09 + sadf -c /var/log/sa-host/sa23 23:21:09 file_magic: OK 23:21:09 HZ: Using current value: 100 23:21:09 file_header: OK 23:21:09 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 23:21:09 Statistics: 23:21:09 Hnuu...uuuununununu... 23:21:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:09 provisioning config files... 23:21:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-817@tmp/config3145734866216034375tmp [Pipeline] { [Pipeline] echo 23:21:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:21:10 ---> create-netrc.sh [Pipeline] } 23:21:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:21:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:21:10 ---> python-tools-install.sh [Pipeline] echo 23:21:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:21:11 ---> sudo-logs.sh 23:21:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:21:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:21:11 ---> job-cost.sh 23:21:11 lf-activate-venv: SKIPPING 23:21:11 DEBUG: total: 0.20999999344348907 23:21:11 INFO: Retrieving Stack Cost... 23:21:13 INFO: Retrieving Pricing Info for: v1-standard-2 23:21:13 INFO: Archiving Costs [Pipeline] echo 23:21:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:21:13 ---> logs-deploy.sh 23:21:13 lf-activate-venv: SKIPPING 23:21:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-817/2 23:21:13 INFO: archiving workspace using pattern(s): 23:21:15 Archives upload complete. 23:21:15 INFO: archiving logs to Nexus