Pull request #856 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b79c910887216c127864ad0f6df5d9a0c6a032a8+d73e4bf6f6fffa39d14152b7db1821ea00020699 (7f29691c6557e055a7c975ce5850fcb1eb7735fc) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5088359315516084563.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5333796461680218594.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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-856/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-856/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh586643961363377381.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-856/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6655710447663626025.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4554759957767486168.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-856/workspace@libs/lf-pipelines # timeout=10 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-856/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh378987844913587266.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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: 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Ready to run at Mon May 24 23:33:58 UTC 2021 Resuming build at Mon May 24 23:33:58 UTC 2021 after Jenkins restart Queue item for node block in EdgeX Foundry Project » app-functions-sdk-go » PR-856 #1 is missing (perhaps JENKINS-34281); rescheduling Running on prd-centos7-docker-4c-2g-16926 in /w/workspace/ndry_app-functions-sdk-go_PR-856 [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-856 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-856@tmp/jenkins-gitclient-ssh7822592984122999954.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/master commit d73e4bf6f6fffa39d14152b7db1821ea00020699 into PR head commit b79c910887216c127864ad0f6df5d9a0c6a032a8 > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-856@tmp/jenkins-gitclient-ssh2513108063455616844.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing b79c910887216c127864ad0f6df5d9a0c6a032a8 Checking out Revision b79c910887216c127864ad0f6df5d9a0c6a032a8 (PR-856) > git config core.sparsecheckout # timeout=10 > git checkout -f b79c910887216c127864ad0f6df5d9a0c6a032a8 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-856@tmp/jenkins-gitclient-ssh1619997537606679482.key > git merge d73e4bf6f6fffa39d14152b7db1821ea00020699 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b79c910887216c127864ad0f6df5d9a0c6a032a8 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Could not update commit status. Message: Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/rate_limit [Pipeline] } [Pipeline] // stage [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: 9d0281235b943b7ad605f650702698f9078b2862 Message: update stable to v1.0.192 ------------------- experimental info: ------------------- Commited By: **** collab-it+edgex@linuxfoundation.org Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 Message: update experimental to v1.0.192 [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_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-856 [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-856 [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-856 [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b79c910887216c127864ad0f6df5d9a0c6a032a8 [Pipeline] echo [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b79c910 [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 b79c910887216c127864ad0f6df5d9a0c6a032a8 [Pipeline] echo GIT_COMMIT: b79c910887216c127864ad0f6df5d9a0c6a032a8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [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 54011a49482f: Pulling fs layer a6820b24f6d8: Pulling fs layer f581987b2513: Pulling fs layer f581987b2513: Waiting 54011a49482f: Verifying Checksum 54011a49482f: Download complete 31603596830f: Verifying Checksum 31603596830f: Download complete f581987b2513: Verifying Checksum f581987b2513: Download complete a6820b24f6d8: Verifying Checksum a6820b24f6d8: Download complete 31603596830f: Pull complete 54011a49482f: Pull complete a6820b24f6d8: Pull complete f581987b2513: Pull complete Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 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-16926 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-856 -v /w/workspace/ndry_app-functions-sdk-go_PR-856:/w/workspace/ndry_app-functions-sdk-go_PR-856:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-856@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-856@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat $ docker top 6311e65dc0df9c243ab9fcd3d0c9e6bd4f65f5bb0922173c52407ab0c2b22c5b -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 6311e65dc0df9c243ab9fcd3d0c9e6bd4f65f5bb0922173c52407ab0c2b22c5b ssh-agent SSH_AUTH_SOCK=/tmp/ssh-0rCOSaGQVkYR/agent.14 SSH_AGENT_PID=21 Running ssh-add (command line suppressed) Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-856@tmp/private_key_1903944367829953175.key (/w/workspace/ndry_app-functions-sdk-go_PR-856@tmp/private_key_1903944367829953175.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git tag --points-at HEAD [Pipeline] } $ docker exec --env ******** --env ******** 6311e65dc0df9c243ab9fcd3d0c9e6bd4f65f5bb0922173c52407ab0c2b22c5b 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 6311e65dc0df9c243ab9fcd3d0c9e6bd4f65f5bb0922173c52407ab0c2b22c5b ssh-agent SSH_AUTH_SOCK=/tmp/ssh-PloDikRmz95S/agent.54 SSH_AGENT_PID=61 Running ssh-add (command line suppressed) Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-856@tmp/private_key_334603893215059512.key (/w/workspace/ndry_app-functions-sdk-go_PR-856@tmp/private_key_334603893215059512.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-856/.git # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-856 # $SEMVER_REMOTE_NAME = origin # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org # $SEMVER_USER_NAME = edgex-jenkins # $SEMVER_BRANCH = PR-856 # $SEMVER_TEMP = /tmp/semver-234417912 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP # '/tmp/semver-234417912' -> '/w/workspace/ndry_app-functions-sdk-go_PR-856/.semver' # -> Force: false # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-856/.semver [Pipeline] } $ docker exec --env ******** --env ******** 6311e65dc0df9c243ab9fcd3d0c9e6bd4f65f5bb0922173c52407ab0c2b22c5b ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 61 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh + git semver [Pipeline] } $ docker stop --time=1 6311e65dc0df9c243ab9fcd3d0c9e6bd4f65f5bb0922173c52407ab0c2b22c5b $ docker rm -f 6311e65dc0df9c243ab9fcd3d0c9e6bd4f65f5bb0922173c52407ab0c2b22c5b [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-centos7-docker-4c-2g-16925 in /w/workspace/ndry_app-functions-sdk-go_PR-856 [Pipeline] { [Pipeline] ws Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout Running on prd-ubuntu18.04-docker-arm64-4c-16g-16916 in /w/workspace/ndry_app-functions-sdk-go_PR-856 [Pipeline] { The recommended git tool is: git [Pipeline] ws Running in /w/workspace/app-functions-sdk-go/1 [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/1 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh2922419730103728421.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/master commit d73e4bf6f6fffa39d14152b7db1821ea00020699 into PR head commit b79c910887216c127864ad0f6df5d9a0c6a032a8 Merge succeeded, producing b79c910887216c127864ad0f6df5d9a0c6a032a8 Checking out Revision b79c910887216c127864ad0f6df5d9a0c6a032a8 (PR-856) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh8283360625729473505.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b79c910887216c127864ad0f6df5d9a0c6a032a8 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh7185366449161404249.key > git merge d73e4bf6f6fffa39d14152b7db1821ea00020699 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b79c910887216c127864ad0f6df5d9a0c6a032a8 # timeout=10 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/1 # 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 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Merging remotes/origin/master commit d73e4bf6f6fffa39d14152b7db1821ea00020699 into PR head commit b79c910887216c127864ad0f6df5d9a0c6a032a8 Merge succeeded, producing b79c910887216c127864ad0f6df5d9a0c6a032a8 Checking out Revision b79c910887216c127864ad0f6df5d9a0c6a032a8 (PR-856) > 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/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b79c910887216c127864ad0f6df5d9a0c6a032a8 # 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 d73e4bf6f6fffa39d14152b7db1821ea00020699 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b79c910887216c127864ad0f6df5d9a0c6a032a8 # timeout=10 Could not update commit status. Message: Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/rate_limit [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh + true + sudo service docker restart Redirecting to /bin/systemctl restart docker.service Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" > git --version # timeout=10 > git --version # 'git version 2.17.1' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Could not update commit status. Message: Server returned HTTP response code: -1, message: 'null' for URL: https://api.github.com/rate_limit [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh + sudo+ service docker restarttrue [Pipeline] unstash [Pipeline] echo ========================================================= [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] ========================================================= [Pipeline] isUnix [Pipeline] sh + 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 . Sending build context to Docker daemon 19.58MB Step 1/8 : ARG BASE=golang:1.16-alpine3.12 Step 2/8 : FROM ${BASE} 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 540db60ca938: Pulling fs layer adcc1eea9eea: Pulling fs layer 4c4ab2625f07: Pulling fs layer 0510c868ecb4: Pulling fs layer afea3b2eda06: Pulling fs layer 7809a108b3ef: Pulling fs layer f706445af74f: Pulling fs layer 0510c868ecb4: Waiting afea3b2eda06: Waiting 7809a108b3ef: Waiting f706445af74f: Waiting 4c4ab2625f07: Verifying Checksum 4c4ab2625f07: Download complete adcc1eea9eea: Verifying Checksum adcc1eea9eea: Download complete afea3b2eda06: Verifying Checksum afea3b2eda06: Download complete 7809a108b3ef: Verifying Checksum 7809a108b3ef: Download complete 540db60ca938: Verifying Checksum 540db60ca938: Download complete 540db60ca938: Pull complete adcc1eea9eea: Pull complete 4c4ab2625f07: Pull complete f706445af74f: Verifying Checksum f706445af74f: Download complete 0510c868ecb4: Verifying Checksum 0510c868ecb4: Download complete [Pipeline] unstash [Pipeline] echo ========================================================= [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] ========================================================= [Pipeline] isUnix [Pipeline] sh + 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 . Sending build context to Docker daemon 19.58MB Step 1/8 : ARG BASE=golang:1.16-alpine3.12 Step 2/8 : FROM ${BASE} 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 595b0fe564bb: Pulling fs layer 7186ed65a4f7: Pulling fs layer 316046926c0a: Pulling fs layer 4ebd0625c992: Pulling fs layer 207e8628e3a3: Pulling fs layer c791037a9be2: Pulling fs layer ffd874e62e21: Pulling fs layer 4ebd0625c992: Waiting 207e8628e3a3: Waiting c791037a9be2: Waiting ffd874e62e21: Waiting 316046926c0a: Download complete 7186ed65a4f7: Verifying Checksum 7186ed65a4f7: Download complete 207e8628e3a3: Download complete c791037a9be2: Verifying Checksum c791037a9be2: Download complete 595b0fe564bb: Download complete 0510c868ecb4: Pull complete afea3b2eda06: Pull complete 595b0fe564bb: Pull complete 7809a108b3ef: Pull complete 7186ed65a4f7: Pull complete 316046926c0a: Pull complete f706445af74f: Pull complete Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ---> b068be0155e3 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20.10.0: Pulling from library/docker 05e7bc50f07f: Pulling fs layer 6db28d0fdbf6: Pulling fs layer 292df0bc6bf3: Pulling fs layer 2e060f4bd70b: Pulling fs layer 80e8d568a223: Pulling fs layer 8dc6ef1a942a: Pulling fs layer 2312dd95470a: Pulling fs layer 80e8d568a223: Waiting 8dc6ef1a942a: Waiting 2312dd95470a: Waiting 2e060f4bd70b: Waiting ffd874e62e21: Verifying Checksum ffd874e62e21: Download complete 292df0bc6bf3: Verifying Checksum 292df0bc6bf3: Download complete 6db28d0fdbf6: Verifying Checksum 6db28d0fdbf6: Download complete 80e8d568a223: Verifying Checksum 80e8d568a223: Download complete 8dc6ef1a942a: Download complete 05e7bc50f07f: Verifying Checksum 05e7bc50f07f: Download complete 2312dd95470a: Verifying Checksum 2312dd95470a: Download complete 05e7bc50f07f: Pull complete 6db28d0fdbf6: Pull complete 292df0bc6bf3: Pull complete 4ebd0625c992: Verifying Checksum 4ebd0625c992: Download complete 2e060f4bd70b: Verifying Checksum 2e060f4bd70b: Download complete 2e060f4bd70b: Pull complete 80e8d568a223: Pull complete 8dc6ef1a942a: Pull complete 2312dd95470a: Pull complete Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 Status: Downloaded newer image for docker:20.10.0 4ebd0625c992: Pull complete 207e8628e3a3: Pull complete c791037a9be2: Pull complete ffd874e62e21: Pull complete Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ---> cfc18b08335c Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20.10.0: Pulling from library/docker a3cc7d3b244e: Pulling fs layer 02a3295e0d61: Pulling fs layer 0f4f2e6d8100: Pulling fs layer 330b718f631f: Pulling fs layer a93816041522: Pulling fs layer bdb6da89ff94: Pulling fs layer 2a70c0c122f4: Pulling fs layer 330b718f631f: Waiting a93816041522: Waiting bdb6da89ff94: Waiting 2a70c0c122f4: Waiting 0f4f2e6d8100: Verifying Checksum 0f4f2e6d8100: Download complete 02a3295e0d61: Verifying Checksum 02a3295e0d61: Download complete a3cc7d3b244e: Download complete a93816041522: Verifying Checksum a93816041522: Download complete 2a70c0c122f4: Verifying Checksum 2a70c0c122f4: Download complete bdb6da89ff94: Verifying Checksum bdb6da89ff94: Download complete ---> aae2c3b438ce Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' ---> Running in 519d61a0eef7 Removing intermediate container 519d61a0eef7 ---> a6319805f940 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash ---> Running in 86b98d1da14f fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz a3cc7d3b244e: Pull complete fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02a3295e0d61: Pull complete (1/5) Installing libsodium (1.0.18-r0) 0f4f2e6d8100: Pull complete 330b718f631f: Verifying Checksum 330b718f631f: Download complete (2/5) Installing libzmq (4.3.3-r1) (3/5) Installing pkgconf (1.7.3-r0) (4/5) Installing libsodium-dev (1.0.18-r0) (5/5) Installing zeromq-dev (4.3.3-r1) Executing busybox-1.32.1-r6.trigger OK: 150 MiB in 45 packages Removing intermediate container 86b98d1da14f ---> 2cd4674ae6f0 Step 6/8 : WORKDIR /build ---> Running in f427a7198edd Removing intermediate container f427a7198edd ---> 64f4880d96b8 Step 7/8 : COPY go.mod . ---> 3c445b2fcd0b Step 8/8 : RUN go mod download ---> Running in 045b7cc8ca85 330b718f631f: Pull complete a93816041522: Pull complete bdb6da89ff94: Pull complete 2a70c0c122f4: Pull complete Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 Status: Downloaded newer image for docker:20.10.0 ---> 8602458fc2ab Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' ---> Running in e55994f0e94c Removing intermediate container e55994f0e94c ---> 61ca2dabfe03 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash ---> Running in 43c540cf85b5 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz (1/5) Installing libsodium (1.0.18-r0) (2/5) Installing libzmq (4.3.3-r1) (3/5) Installing pkgconf (1.7.3-r0) (4/5) Installing libsodium-dev (1.0.18-r0) (5/5) Installing zeromq-dev (4.3.3-r1) Executing busybox-1.32.1-r6.trigger OK: 139 MiB in 45 packages Removing intermediate container 43c540cf85b5 ---> 1e187831f881 Step 6/8 : WORKDIR /build ---> Running in dfcf78bec616 Removing intermediate container dfcf78bec616 ---> b71adfbd69c0 Step 7/8 : COPY go.mod . ---> 08c907d0f595 Step 8/8 : RUN go mod download ---> Running in d0cfd0f008a8 Removing intermediate container 045b7cc8ca85 ---> 0d67e962fe8d Successfully built 0d67e962fe8d Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh + docker inspect -f . ci-base-image-x86_64 . [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-16925 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-x86_64 cat $ docker top a1e688eee7ad4d047e39caa3238060a72264132c49f85bc7ac1330d1ff1b8a78 -eo pid,comm [Pipeline] { [Pipeline] sh + go version go version go1.16.3 linux/amd64 [Pipeline] } $ docker stop --time=1 a1e688eee7ad4d047e39caa3238060a72264132c49f85bc7ac1330d1ff1b8a78 $ docker rm -f a1e688eee7ad4d047e39caa3238060a72264132c49f85bc7ac1330d1ff1b8a78 [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-16925 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-x86_64 cat $ docker top 58acd1208c193fe9a7879be0c3e357b6bb85bf0aa0de3243e2549825af95e7be -eo pid,comm [Pipeline] { [Pipeline] sh + go mod tidy [Pipeline] sh + make test make -C ./app-service-template build make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' go mod tidy CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' make -C ./app-service-template test make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' go mod tidy CGO_ENABLED=1 go test -coverprofile=coverage.out ./... Removing intermediate container d0cfd0f008a8 ---> f06fb07653d2 Successfully built f06fb07653d2 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh + docker inspect -f . ci-base-image-arm64 . [Pipeline] withDockerContainer prd-ubuntu18.04-docker-arm64-4c-16g-16916 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat $ docker top 2f35afe346fffa8d4ebbc44dcad899ece83e0defb54954e5a2c22bb1de29f7e1 -eo pid,comm [Pipeline] { ok new-app-service 0.027s coverage: 47.8% of statements ? new-app-service/config [no test files] ok new-app-service/functions 0.007s CGO_ENABLED=1 go vet ./... [Pipeline] sh + go version go version go1.16.3 linux/arm64 [Pipeline] } $ docker stop --time=1 2f35afe346fffa8d4ebbc44dcad899ece83e0defb54954e5a2c22bb1de29f7e1 $ docker rm -f 2f35afe346fffa8d4ebbc44dcad899ece83e0defb54954e5a2c22bb1de29f7e1 [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-16916 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat gofmt -l . [ "`gofmt -l .`" = "" ] ./bin/test-attribution-txt.sh $ docker top 2b087d40066a053b38428ea6cdb2b8380a0aa2013b92372c446da5b8de430314 -eo pid,comm make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' go mod tidy CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] { [Pipeline] sh ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] + go mod tidy ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.014s coverage: 56.5% of statements ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.013s coverage: 92.5% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [Pipeline] sh ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.009s coverage: 61.5% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s + make test make -C ./app-service-template build make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' go mod tidy ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.024s coverage: 75.4% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.021s coverage: 97.0% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 10.5% of statements CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.733s coverage: 76.9% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.048s coverage: 81.9% of statements ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements CGO_ENABLED=1 GO111MODULE=on go vet ./... gofmt -l . [ "`gofmt -l .`" = "" ] [Pipeline] } $ docker stop --time=1 58acd1208c193fe9a7879be0c3e357b6bb85bf0aa0de3243e2549825af95e7be $ docker rm -f 58acd1208c193fe9a7879be0c3e357b6bb85bf0aa0de3243e2549825af95e7be [Pipeline] // withDockerContainer [Pipeline] sh + sudo chown -R jenkins:jenkins . [Pipeline] stash Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OqjY make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' make -C ./app-service-template test make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' go mod tidy CGO_ENABLED=1 go test -coverprofile=coverage.out ./... lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient lf-activate-venv(): INFO: Adding /tmp/venv-OqjY/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-2 INFO: Archiving Costs [Pipeline] sh + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv + cut -d, -f6 [Pipeline] lock Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-856-1-stack-cost] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-856-1-stack-cost] did not exist. Created. Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-856-1-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-856-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } ok new-app-service 0.042s coverage: 47.8% of statements ? new-app-service/config [no test files] ok new-app-service/functions 0.040s CGO_ENABLED=1 go vet ./... gofmt -l . [ "`gofmt -l .`" = "" ] ./bin/test-attribution-txt.sh make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' go mod tidy CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.095s coverage: 56.5% of statements ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.043s coverage: 92.5% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.073s coverage: 61.5% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.061s ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.071s coverage: 75.4% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.017s coverage: 97.0% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.060s coverage: 10.5% of statements ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.871s coverage: 76.9% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.079s coverage: 12.5% of statements ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.146s coverage: 27.3% of statements ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.069s coverage: 51.4% of statements ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.100s coverage: 81.9% of statements ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.029s coverage: 94.4% of statements CGO_ENABLED=1 GO111MODULE=on go vet ./... gofmt -l . [ "`gofmt -l .`" = "" ] [Pipeline] } $ docker stop --time=1 2b087d40066a053b38428ea6cdb2b8380a0aa2013b92372c446da5b8de430314 $ docker rm -f 2b087d40066a053b38428ea6cdb2b8380a0aa2013b92372c446da5b8de430314 [Pipeline] // withDockerContainer [Pipeline] sh + sudo chown -R jenkins:jenkins . [Pipeline] stash Warning: overwriting stash ‘coverage-report’ Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qmBh lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient lf-activate-venv(): INFO: Adding /tmp/venv-qmBh/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-standard-4 INFO: Archiving Costs [Pipeline] sh + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv + cut -d, -f6 [Pipeline] lock Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-856-1-stack-cost] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-856-1-stack-cost] did not exist. Created. Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-856-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh /w/workspace/app-functions-sdk-go/1@tmp/durable-d2046c57/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-d2046c57/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh + echo total: 1.0800000429153442 [Pipeline] stash Warning: overwriting stash ‘stack-cost’ Stashed 1 file(s) [Pipeline] } Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-856-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider provisioning config files... copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-856@tmp/config2350028219336555901tmp [Pipeline] { [Pipeline] sh + set +x + bash -s -- + curl -s https://codecov.io/bash _____ _ / ____| | | | | ___ __| | ___ ___ _____ __ | | / _ \ / _` |/ _ \/ __/ _ \ \ / / | |___| (_) | (_| | __/ (_| (_) \ V / \_____\___/ \__,_|\___|\___\___/ \_/ Bash-1.0.3 ==> git version 2.24.4 found ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets ==> Jenkins CI detected. project root: . --> token set from env Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml ==> Running gcov in . (disable via -X gcov) ==> Python coveragepy not found ==> Searching for coverage reports in: + . -> Found 2 reports ==> Detecting git/mercurial file structure ==> Reading reports + ./app-service-template/coverage.out bytes=1055 + ./coverage.out bytes=87124 ==> Appending adjustments https://docs.codecov.io/docs/fixing-reports + Found adjustments ==> Gzipping contents 16K /tmp/codecov.xQrLVZ.gz ==> Uploading reports url: https://codecov.io query: branch=PR-856&commit=b79c910887216c127864ad0f6df5d9a0c6a032a8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-856%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=856&job=&cmd_args= -> Pinging Codecov https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-856&commit=b79c910887216c127864ad0f6df5d9a0c6a032a8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-856%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=856&job=&cmd_args= -> Uploading to https://storage.googleapis.com/codecov/v4/raw/2021-05-24/3D8B5DFFC46A037C893635FACE044666/b79c910887216c127864ad0f6df5d9a0c6a032a8/79cd4a06-33b9-4cfd-b7bb-5843f8108c0c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210524T234124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=50dd8f8dd9d60c52a1022b5c26c001de1a1c311b7e945f30a9be095d9dc2707e % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15343 0 0 100 15343 0 37393 --:--:-- --:--:-- --:--:-- 37421 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/b79c910887216c127864ad0f6df5d9a0c6a032a8 [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=redhat + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-856 + 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-856 ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + rpm -qa + sort + '[' -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-856 ']' + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-856/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-856/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-856/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:alpine Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine alpine: Pulling from edgex-lftools-log-publisher df20fa9351a1: Pulling fs layer 36b3adc4ff6f: Pulling fs layer 8ad3a11d3b57: Pulling fs layer 46f8f816bc3b: Pulling fs layer 93b61091891f: Pulling fs layer 93b9cdb0e59b: Pulling fs layer 5e14af77c1be: Pulling fs layer 01666e4c0597: Pulling fs layer aa168da1d23b: Pulling fs layer 93b9cdb0e59b: Waiting 5e14af77c1be: Waiting 01666e4c0597: Waiting aa168da1d23b: Waiting 46f8f816bc3b: Waiting 93b61091891f: Waiting 36b3adc4ff6f: Download complete 46f8f816bc3b: Verifying Checksum 46f8f816bc3b: Download complete df20fa9351a1: Verifying Checksum 93b9cdb0e59b: Verifying Checksum 93b9cdb0e59b: Download complete 5e14af77c1be: Verifying Checksum 5e14af77c1be: Download complete 01666e4c0597: Verifying Checksum 01666e4c0597: Download complete 93b61091891f: Verifying Checksum 93b61091891f: Download complete df20fa9351a1: Pull complete 36b3adc4ff6f: Pull complete 8ad3a11d3b57: Verifying Checksum 8ad3a11d3b57: Download complete 8ad3a11d3b57: Pull complete 46f8f816bc3b: Pull complete 93b61091891f: Pull complete 93b9cdb0e59b: Pull complete 5e14af77c1be: Pull complete 01666e4c0597: Pull complete aa168da1d23b: Verifying Checksum aa168da1d23b: Download complete aa168da1d23b: Pull complete Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-16926 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-856/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-856 -v /w/workspace/ndry_app-functions-sdk-go_PR-856:/w/workspace/ndry_app-functions-sdk-go_PR-856:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-856@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-856@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat $ docker top ece8f08e00759b62cd88478db40564e3c862f6ed16bda6ce4c0e78cf45fd9736 -eo pid,comm [Pipeline] { [Pipeline] sh + touch /tmp/pre-build-complete [Pipeline] sh + mkdir -p /var/log/sa [Pipeline] sh + ls /var/log/sa-host + sadf -c /var/log/sa-host/sa05 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: Hnuu...uuuununununu...Hnuu...uuuununununu... File successfully converted to sysstat format version 12.2.1 + sadf -c /var/log/sa-host/sa24 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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...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.2.1 [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-856@tmp/config7400224502716721tmp [Pipeline] { [Pipeline] echo Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh ---> create-netrc.sh [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo Running shell/python-tools-install.sh [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.. [Pipeline] unstash [Pipeline] echo Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING DEBUG: total: 1.0800000429153442 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-856/1 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus