Pull request #921 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6d132b8421f69010050837770f9829ee73233466+85ec21c5d3ad693b2638d710fad0e2a53cc19912 (70603e1c0700fc6a11c09213ed937bfd9a9af2fa) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1605942427985002540.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1587911094669287352.key > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-921/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-921/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5649600586467694070.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1460116076522143714.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-921/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-921/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4599741814622837541.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Ready to run at Thu Aug 19 17:10:36 UTC 2021 Resuming build at Thu Aug 19 17:10:36 UTC 2021 after Jenkins restart Running on prd-centos7-docker-4c-2g-309 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-921 # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/jenkins-gitclient-ssh1616923384189667002.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit 6d132b8421f69010050837770f9829ee73233466 Merge succeeded, producing 6d132b8421f69010050837770f9829ee73233466 Checking out Revision 6d132b8421f69010050837770f9829ee73233466 (PR-921) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/jenkins-gitclient-ssh6042401341577079328.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d132b8421f69010050837770f9829ee73233466 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/jenkins-gitclient-ssh2292638756667189448.key > git merge 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d132b8421f69010050837770f9829ee73233466 # timeout=10 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/google/uuid-1.3.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 98dcd45b9d63f1c9818831586b1da897cf991a45 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo ========================================================= EdgeX Global Pipelines Version Info ========================================================= [Pipeline] libraryResource [Pipeline] sh ------------------- stable info: ------------------- Commited By: Ernesto Ojeda ernesto.ojeda@intel.com Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Message: update stable to v1.0.205 ------------------- experimental info: ------------------- Commited By: **** collab-it+edgex@linuxfoundation.org Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-921 [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-921 [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-921 [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d132b8421f69010050837770f9829ee73233466 [Pipeline] echo [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d132b8 [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh + git log --format=format:%s -1 6d132b8421f69010050837770f9829ee73233466 [Pipeline] echo GIT_COMMIT: 6d132b8421f69010050837770f9829ee73233466, Commit Message: Merge branch 'main' into dependabot/go_modules/github.com/google/uuid-1.3.0 [Pipeline] echo This is not a build commit. [Pipeline] isUnix [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest latest: Pulling from edgex-devops/git-semver 31603596830f: Pulling fs layer 04fac38145f0: Pulling fs layer 701f6daf10bf: Pulling fs layer 24f72da36158: Pulling fs layer 24f72da36158: Waiting 04fac38145f0: Verifying Checksum 04fac38145f0: Download complete 31603596830f: Verifying Checksum 31603596830f: Download complete 31603596830f: Pull complete 24f72da36158: Verifying Checksum 24f72da36158: Download complete 04fac38145f0: Pull complete 701f6daf10bf: Verifying Checksum 701f6daf10bf: Download complete 701f6daf10bf: Pull complete 24f72da36158: Pull complete Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-309 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-921 -v /w/workspace/ndry_app-functions-sdk-go_PR-921:/w/workspace/ndry_app-functions-sdk-go_PR-921:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-921@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat $ docker top 1f180ac534ec267857e31a5d28923a04b6c7e2d3339a3bc77a8dc36cf677a84c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec 1f180ac534ec267857e31a5d28923a04b6c7e2d3339a3bc77a8dc36cf677a84c ssh-agent SSH_AUTH_SOCK=/tmp/ssh-0NMnZ8YxoY9I/agent.14 SSH_AGENT_PID=21 Running ssh-add (command line suppressed) Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_6376107579144190793.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_6376107579144190793.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git tag --points-at HEAD [Pipeline] } $ docker exec --env ******** --env ******** 1f180ac534ec267857e31a5d28923a04b6c7e2d3339a3bc77a8dc36cf677a84c ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 21 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec 1f180ac534ec267857e31a5d28923a04b6c7e2d3339a3bc77a8dc36cf677a84c ssh-agent SSH_AUTH_SOCK=/tmp/ssh-vXa0bZ5ybu7l/agent.56 SSH_AGENT_PID=62 Running ssh-add (command line suppressed) Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_6409196581385556118.key (/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/private_key_6409196581385556118.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git semver init # -> Open(): unable to determine branch for HEAD # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.git # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-921 # $SEMVER_REMOTE_NAME = origin # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org # $SEMVER_USER_NAME = edgex-jenkins # $SEMVER_BRANCH = PR-921 # $SEMVER_TEMP = /tmp/semver-437557739 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP # '/tmp/semver-437557739' -> '/w/workspace/ndry_app-functions-sdk-go_PR-921/.semver' # -> Force: false # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-921/.semver [Pipeline] } $ docker exec --env ******** --env ******** 1f180ac534ec267857e31a5d28923a04b6c7e2d3339a3bc77a8dc36cf677a84c ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 62 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh + git semver [Pipeline] } $ docker stop --time=1 1f180ac534ec267857e31a5d28923a04b6c7e2d3339a3bc77a8dc36cf677a84c $ docker rm -f 1f180ac534ec267857e31a5d28923a04b6c7e2d3339a3bc77a8dc36cf677a84c [Pipeline] // withDockerContainer [Pipeline] sh + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash Stashed 1 file(s) [Pipeline] echo [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 Running on prd-ubuntu18.04-docker-arm64-4c-16g-325 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws Running in /w/workspace/app-functions-sdk-go/13 [Pipeline] { [Pipeline] checkout The recommended git tool is: git 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/app-functions-sdk-go/13 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit 6d132b8421f69010050837770f9829ee73233466 Merge succeeded, producing 6d132b8421f69010050837770f9829ee73233466 Checking out Revision 6d132b8421f69010050837770f9829ee73233466 (PR-921) > git config core.sparsecheckout # timeout=10 > git checkout -f 6d132b8421f69010050837770f9829ee73233466 # 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 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d132b8421f69010050837770f9829ee73233466 # timeout=10 Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/google/uuid-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo ========================================================= [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 595b0fe564bb: Pulling fs layer 24495759ef45: Pulling fs layer d148012ef14d: Pulling fs layer e90a11edd702: Pulling fs layer d77568369979: Pulling fs layer fc1c9f9a7f3b: Pulling fs layer 170f2ba95c9a: Pulling fs layer 97ac5df62f85: Pulling fs layer e90a11edd702: Waiting fc1c9f9a7f3b: Waiting 170f2ba95c9a: Waiting 97ac5df62f85: Waiting d148012ef14d: Download complete 24495759ef45: Verifying Checksum 24495759ef45: Download complete d77568369979: Verifying Checksum d77568369979: Download complete fc1c9f9a7f3b: Verifying Checksum fc1c9f9a7f3b: Download complete 595b0fe564bb: Download complete 595b0fe564bb: Pull complete 24495759ef45: Pull complete d148012ef14d: Pull complete 97ac5df62f85: Verifying Checksum 97ac5df62f85: Download complete e90a11edd702: Verifying Checksum e90a11edd702: Download complete e90a11edd702: Pull complete d77568369979: Pull complete fc1c9f9a7f3b: Pull complete 170f2ba95c9a: Pull complete 97ac5df62f85: Pull complete Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh + docker inspect -f . ci-base-image-arm64 . [Pipeline] withDockerContainer prd-ubuntu18.04-docker-arm64-4c-16g-325 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/13 -v /w/workspace/app-functions-sdk-go/13:/w/workspace/app-functions-sdk-go/13:rw,z -v /w/workspace/app-functions-sdk-go/13@tmp:/w/workspace/app-functions-sdk-go/13@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat $ docker top 9bc9a6627106f57e4711c8c590c421f14e581c7afb4f6af00b5f1b32ec65723b -eo pid,comm [Pipeline] { [Pipeline] sh + go version go version go1.16.6 linux/arm64 [Pipeline] } $ docker stop --time=1 9bc9a6627106f57e4711c8c590c421f14e581c7afb4f6af00b5f1b32ec65723b $ docker rm -f 9bc9a6627106f57e4711c8c590c421f14e581c7afb4f6af00b5f1b32ec65723b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . ci-base-image-arm64 . [Pipeline] withDockerContainer prd-ubuntu18.04-docker-arm64-4c-16g-325 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/13 -v /w/workspace/app-functions-sdk-go/13:/w/workspace/app-functions-sdk-go/13:rw,z -v /w/workspace/app-functions-sdk-go/13@tmp:/w/workspace/app-functions-sdk-go/13@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat $ docker top 854b23122aaaad014af440f33b23bce31ab51d7ec92f7b38f4b04c7c29159d03 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh + make test make -C ./app-service-template build make[1]: Entering directory '/w/workspace/app-functions-sdk-go/13/app-service-template' CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires github.com/google/uuid@v1.3.0: missing go.sum entry; to add it: go mod download github.com/google/uuid make[1]: *** [Makefile:40: build] Error 1 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/13/app-service-template' make: *** [Makefile:22: build] Error 2 [Pipeline] } $ docker stop --time=1 854b23122aaaad014af440f33b23bce31ab51d7ec92f7b38f4b04c7c29159d03 $ docker rm -f 854b23122aaaad014af440f33b23bce31ab51d7ec92f7b38f4b04c7c29159d03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 arm64: Pulling from edgex-lftools-log-publisher 448f6bf000e3: Pulling fs layer f757da607395: Pulling fs layer 05883995daec: Pulling fs layer 8603b9c90790: Pulling fs layer 1560dd03e051: Pulling fs layer 27f5ce0e4adf: Pulling fs layer c2d8d7efcc4b: Pulling fs layer 1560dd03e051: Waiting 8603b9c90790: Waiting 27f5ce0e4adf: Waiting c2d8d7efcc4b: Waiting f757da607395: Verifying Checksum f757da607395: Download complete 8603b9c90790: Verifying Checksum 1560dd03e051: Verifying Checksum 1560dd03e051: Download complete 27f5ce0e4adf: Download complete 05883995daec: Download complete 448f6bf000e3: Verifying Checksum 448f6bf000e3: Download complete c2d8d7efcc4b: Verifying Checksum c2d8d7efcc4b: Download complete 448f6bf000e3: Pull complete f757da607395: Pull complete 05883995daec: Pull complete 8603b9c90790: Pull complete 1560dd03e051: Pull complete 27f5ce0e4adf: Pull complete c2d8d7efcc4b: Pull complete Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer prd-ubuntu18.04-docker-arm64-4c-16g-325 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/13 -v /w/workspace/app-functions-sdk-go/13:/w/workspace/app-functions-sdk-go/13:rw,z -v /w/workspace/app-functions-sdk-go/13@tmp:/w/workspace/app-functions-sdk-go/13@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat $ docker top 50b73a5e64a98583e8692e63b4a615c5b5e1aead9c2a67164857c829e5c6a792 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [Pipeline] sh + + catcut /w/workspace/app-functions-sdk-go/13/archives/cost.csv -d, -f6 [Pipeline] lock Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-13-stack-cost] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-13-stack-cost] did not exist. Created. Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh + echo total: 0.10999999940395355 [Pipeline] stash Stashed 1 file(s) [Pipeline] } Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-13-stack-cost] [Pipeline] // lock [Pipeline] } $ docker stop --time=1 50b73a5e64a98583e8692e63b4a615c5b5e1aead9c2a67164857c829e5c6a792 $ docker rm -f 50b73a5e64a98583e8692e63b4a615c5b5e1aead9c2a67164857c829e5c6a792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch arm64 Running on prd-centos7-docker-4c-2g-331 in /w/workspace/ndry_app-functions-sdk-go_PR-921 [Pipeline] { [Pipeline] ws Running in /w/workspace/app-functions-sdk-go/13 [Pipeline] { [Pipeline] checkout The recommended git tool is: git 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/app-functions-sdk-go/13 # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/13@tmp/jenkins-gitclient-ssh6033053181025010201.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 85ec21c5d3ad693b2638d710fad0e2a53cc19912 into PR head commit 6d132b8421f69010050837770f9829ee73233466 Merge succeeded, producing 6d132b8421f69010050837770f9829ee73233466 Checking out Revision 6d132b8421f69010050837770f9829ee73233466 (PR-921) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/13@tmp/jenkins-gitclient-ssh8371849491402889301.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/921/head:refs/remotes/origin/PR-921 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d132b8421f69010050837770f9829ee73233466 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/13@tmp/jenkins-gitclient-ssh6310657775496203465.key > git merge 85ec21c5d3ad693b2638d710fad0e2a53cc19912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d132b8421f69010050837770f9829ee73233466 # timeout=10 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/google/uuid-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo ========================================================= [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 540db60ca938: Pulling fs layer adcc1eea9eea: Pulling fs layer 4c4ab2625f07: Pulling fs layer db62176df00c: Pulling fs layer 3b30891b0d05: Pulling fs layer 06b49ca38bd5: Pulling fs layer c788192a36de: Pulling fs layer a77e37c0d609: Pulling fs layer c3185cebc471: Pulling fs layer 06b49ca38bd5: Waiting c788192a36de: Waiting a77e37c0d609: Waiting c3185cebc471: Waiting db62176df00c: Waiting 3b30891b0d05: Waiting 4c4ab2625f07: Verifying Checksum 4c4ab2625f07: Download complete adcc1eea9eea: Verifying Checksum adcc1eea9eea: Download complete 3b30891b0d05: Verifying Checksum 3b30891b0d05: Download complete 06b49ca38bd5: Verifying Checksum 06b49ca38bd5: Download complete c788192a36de: Download complete 540db60ca938: Verifying Checksum 540db60ca938: Download complete 540db60ca938: Pull complete adcc1eea9eea: Pull complete 4c4ab2625f07: Pull complete a77e37c0d609: Verifying Checksum a77e37c0d609: Download complete c3185cebc471: Verifying Checksum c3185cebc471: Download complete db62176df00c: Verifying Checksum db62176df00c: Download complete db62176df00c: Pull complete 3b30891b0d05: Pull complete 06b49ca38bd5: Pull complete c788192a36de: Pull complete a77e37c0d609: Pull complete c3185cebc471: Pull complete Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh + docker inspect -f . ci-base-image-x86_64 . [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-331 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/13 -v /w/workspace/app-functions-sdk-go/13:/w/workspace/app-functions-sdk-go/13:rw,z -v /w/workspace/app-functions-sdk-go/13@tmp:/w/workspace/app-functions-sdk-go/13@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat $ docker top 57c76a5f93707b8ad5de384082092d2197d820113fdc43589bb55b9239ce5168 -eo pid,comm [Pipeline] { [Pipeline] sh + go version go version go1.16.6 linux/amd64 [Pipeline] } $ docker stop --time=1 57c76a5f93707b8ad5de384082092d2197d820113fdc43589bb55b9239ce5168 $ docker rm -f 57c76a5f93707b8ad5de384082092d2197d820113fdc43589bb55b9239ce5168 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . ci-base-image-x86_64 . [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-331 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/13 -v /w/workspace/app-functions-sdk-go/13:/w/workspace/app-functions-sdk-go/13:rw,z -v /w/workspace/app-functions-sdk-go/13@tmp:/w/workspace/app-functions-sdk-go/13@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat $ docker top 6de3060b31e755e5dffdfcabbc993ce9a78b4c0787bda65bd8ede06efc80fb87 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh + make test make -C ./app-service-template build make[1]: Entering directory '/w/workspace/app-functions-sdk-go/13/app-service-template' CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.1 requires github.com/google/uuid@v1.3.0: missing go.sum entry; to add it: go mod download github.com/google/uuid make[1]: *** [Makefile:40: build] Error 1 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/13/app-service-template' make: *** [Makefile:22: build] Error 2 [Pipeline] } $ docker stop --time=1 6de3060b31e755e5dffdfcabbc993ce9a78b4c0787bda65bd8ede06efc80fb87 $ docker rm -f 6de3060b31e755e5dffdfcabbc993ce9a78b4c0787bda65bd8ede06efc80fb87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest latest: Pulling from edgex-lftools-log-publisher b4d181a07f80: Pulling fs layer a1111a8f2ec3: Pulling fs layer ed53099fbce6: Pulling fs layer dc539afda2c1: Pulling fs layer 77bc0d833cb6: Pulling fs layer 9065ff56babe: Pulling fs layer d287ab97295c: Pulling fs layer dc539afda2c1: Waiting 77bc0d833cb6: Waiting 9065ff56babe: Waiting d287ab97295c: Waiting a1111a8f2ec3: Download complete dc539afda2c1: Verifying Checksum dc539afda2c1: Download complete 77bc0d833cb6: Verifying Checksum 77bc0d833cb6: Download complete ed53099fbce6: Verifying Checksum ed53099fbce6: Download complete 9065ff56babe: Verifying Checksum 9065ff56babe: Download complete b4d181a07f80: Verifying Checksum b4d181a07f80: Download complete b4d181a07f80: Pull complete a1111a8f2ec3: Pull complete ed53099fbce6: Pull complete dc539afda2c1: Pull complete 77bc0d833cb6: Pull complete 9065ff56babe: Pull complete d287ab97295c: Verifying Checksum d287ab97295c: Download complete d287ab97295c: Pull complete Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-331 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/13 -v /w/workspace/app-functions-sdk-go/13:/w/workspace/app-functions-sdk-go/13:rw,z -v /w/workspace/app-functions-sdk-go/13@tmp:/w/workspace/app-functions-sdk-go/13@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat $ docker top b12dd6b7b304461a2eee795ffd705ab65a7c56b69cdf5842b87e3c53b4d66d23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-2 INFO: Archiving Costs [Pipeline] sh + cat /w/workspace/app-functions-sdk-go/13/archives/cost.csv + cut -d, -f6 [Pipeline] lock Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-13-stack-cost] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-13-stack-cost] did not exist. Created. Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh /w/workspace/app-functions-sdk-go/13@tmp/durable-885e27fb/script.sh: 1: /w/workspace/app-functions-sdk-go/13@tmp/durable-885e27fb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh + echo total: 0.05999999865889549 [Pipeline] stash Warning: overwriting stash ‘stack-cost’ Stashed 1 file(s) [Pipeline] } Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-921-13-stack-cost] [Pipeline] // lock [Pipeline] } $ docker stop --time=1 b12dd6b7b304461a2eee795ffd705ab65a7c56b69cdf5842b87e3c53b4d66d23 $ docker rm -f b12dd6b7b304461a2eee795ffd705ab65a7c56b69cdf5842b87e3c53b4d66d23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 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 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] sh + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-921/archives ']' [Pipeline] libraryResource [Pipeline] sh ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=redhat + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-921 + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + sort + rpm -qa + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/ndry_app-functions-sdk-go_PR-921 ']' + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-921/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-921/archives/ [Pipeline] echo 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-921/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh + facter operatingsystem [Pipeline] isUnix [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest latest: Pulling from edgex-lftools-log-publisher b4d181a07f80: Pulling fs layer a1111a8f2ec3: Pulling fs layer ed53099fbce6: Pulling fs layer dc539afda2c1: Pulling fs layer 77bc0d833cb6: Pulling fs layer 9065ff56babe: Pulling fs layer d287ab97295c: Pulling fs layer dc539afda2c1: Waiting 77bc0d833cb6: Waiting 9065ff56babe: Waiting d287ab97295c: Waiting a1111a8f2ec3: Verifying Checksum a1111a8f2ec3: Download complete dc539afda2c1: Verifying Checksum dc539afda2c1: Download complete 77bc0d833cb6: Verifying Checksum 77bc0d833cb6: Download complete 9065ff56babe: Verifying Checksum 9065ff56babe: Download complete ed53099fbce6: Verifying Checksum ed53099fbce6: Download complete b4d181a07f80: Verifying Checksum b4d181a07f80: Download complete b4d181a07f80: Pull complete a1111a8f2ec3: Pull complete ed53099fbce6: Pull complete dc539afda2c1: Pull complete 77bc0d833cb6: Pull complete 9065ff56babe: Pull complete d287ab97295c: Verifying Checksum d287ab97295c: Download complete d287ab97295c: Pull complete Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-309 does not seem to be running inside a container $ 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-921/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-921 -v /w/workspace/ndry_app-functions-sdk-go_PR-921:/w/workspace/ndry_app-functions-sdk-go_PR-921:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-921@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-921@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat $ docker top 2b9590124abe0c613b0d71064a58f9446c8d45728a967788f119e5e7bd449046 -eo pid,comm [Pipeline] { [Pipeline] sh + touch /tmp/pre-build-complete [Pipeline] sh + mkdir -p /var/log/sysstat [Pipeline] sh + ls /var/log/sa-host + sadf -c /var/log/sa-host/sa19 file_magic: OK HZ: Using current value: 100 file_header: OK 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 Statistics: HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-921@tmp/config6055094176898335956tmp [Pipeline] { [Pipeline] echo Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh ---> create-netrc.sh [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh ---> python-tools-install.sh [Pipeline] echo Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh ---> sudo-logs.sh Archiving 'sudo' log.. sudo: unable to resolve host prd-centos7-docker-4c-2g-309.vexxhost.local: Name or service not known sudo: unable to resolve host prd-centos7-docker-4c-2g-309.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING DEBUG: total: 0.05999999865889549 INFO: Retrieving Stack Cost... INFO: Retrieving Pricing Info for: v3-standard-2 INFO: Archiving Costs [Pipeline] echo Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh ---> logs-deploy.sh lf-activate-venv: SKIPPING INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-921/13 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus