Pull request #984 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 2b7ac9ebab8e51d179f7c2783895999aa23a0881+9cffd47191c984938c468f886111698baecf4146 (e1c29b918f7bc683b04a7995737dcccf2774d30b) 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-ssh2847506771516949146.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh8540580741671535181.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-984/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-984/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3731746674490660305.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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-ssh7943694949892119412.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-984/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-984/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3303267050269947750.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-11253 in /w/workspace/ndry_app-functions-sdk-go_PR-984 [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-984 # 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-984@tmp/jenkins-gitclient-ssh6280979750221877763.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 9cffd47191c984938c468f886111698baecf4146 into PR head commit 2b7ac9ebab8e51d179f7c2783895999aa23a0881 Merge succeeded, producing 39b2b0e639711ebc38605b0661a1233adeaa1489 Checking out Revision 39b2b0e639711ebc38605b0661a1233adeaa1489 (PR-984) > 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-984@tmp/jenkins-gitclient-ssh7381032408720791741.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/984/head:refs/remotes/origin/PR-984 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b7ac9ebab8e51d179f7c2783895999aa23a0881 # 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-984@tmp/jenkins-gitclient-ssh5658850034196029839.key > git merge 9cffd47191c984938c468f886111698baecf4146 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39b2b0e639711ebc38605b0661a1233adeaa1489 # timeout=10 Commit message: "Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-28T20:42:03.914Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T20:42:03.956Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T20:42:03.969Z] ========================================================= [2021-10-28T20:42:03.969Z] EdgeX Global Pipelines Version Info [2021-10-28T20:42:03.969Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 153cb3add9e5fbc81fc9d33f54295da7e8a8988b # timeout=10 [2021-10-28T20:42:05.097Z] ------------------- [2021-10-28T20:42:05.097Z] stable info: [2021-10-28T20:42:05.097Z] ------------------- [2021-10-28T20:42:05.097Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T20:42:05.097Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T20:42:05.097Z] Message: update stable to v1.0.210 [2021-10-28T20:42:05.678Z] ------------------- [2021-10-28T20:42:05.678Z] experimental info: [2021-10-28T20:42:05.678Z] ------------------- [2021-10-28T20:42:05.678Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T20:42:05.678Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T20:42:05.678Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T20:42:05.755Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-10-28T20:42:05.762Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-10-28T20:42:05.769Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T20:42:05.778Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T20:42:05.786Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T20:42:05.793Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T20:42:05.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T20:42:05.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-28T20:42:05.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T20:42:05.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T20:42:05.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T20:42:05.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-10-28T20:42:05.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T20:42:05.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T20:42:05.884Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T20:42:05.894Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T20:42:05.905Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T20:42:05.914Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T20:42:05.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T20:42:05.939Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-28T20:42:05.951Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-28T20:42:05.961Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-28T20:42:05.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T20:42:05.984Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T20:42:05.991Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-28T20:42:05.998Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T20:42:06.005Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-984 [Pipeline] echo [2021-10-28T20:42:06.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-984 [Pipeline] echo [2021-10-28T20:42:06.019Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-984 [Pipeline] echo [2021-10-28T20:42:06.029Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39b2b0e639711ebc38605b0661a1233adeaa1489 [Pipeline] echo [2021-10-28T20:42:06.037Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39b2b0e [Pipeline] echo [2021-10-28T20:42:06.046Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T20:42:06.462Z] + git log --format=format:%s -1 39b2b0e639711ebc38605b0661a1233adeaa1489 [Pipeline] echo [2021-10-28T20:42:06.497Z] GIT_COMMIT: 39b2b0e639711ebc38605b0661a1233adeaa1489, Commit Message: Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD [Pipeline] echo [2021-10-28T20:42:06.506Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T20:42:07.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T20:42:07.134Z] [2021-10-28T20:42:07.134Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T20:42:07.448Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T20:42:07.448Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T20:42:07.448Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T20:42:07.448Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T20:42:07.448Z] 4c7163046ea9: Pulling fs layer [2021-10-28T20:42:07.448Z] 0c2d73faf560: Pulling fs layer [2021-10-28T20:42:07.448Z] 0c2d73faf560: Waiting [2021-10-28T20:42:07.448Z] 3e5f54012d9b: Verifying Checksum [2021-10-28T20:42:07.448Z] 3e5f54012d9b: Download complete [2021-10-28T20:42:07.448Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T20:42:07.448Z] a0d0a0d46f8b: Download complete [2021-10-28T20:42:07.714Z] 0c2d73faf560: Verifying Checksum [2021-10-28T20:42:07.714Z] 0c2d73faf560: Download complete [2021-10-28T20:42:07.714Z] 4c7163046ea9: Verifying Checksum [2021-10-28T20:42:07.714Z] 4c7163046ea9: Download complete [2021-10-28T20:42:07.714Z] a0d0a0d46f8b: Pull complete [2021-10-28T20:42:07.714Z] 3e5f54012d9b: Pull complete [2021-10-28T20:42:07.977Z] 4c7163046ea9: Pull complete [2021-10-28T20:42:08.242Z] 0c2d73faf560: Pull complete [2021-10-28T20:42:08.242Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T20:42:08.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T20:42:08.242Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T20:42:08.316Z] prd-centos7-docker-4c-2g-11253 does not seem to be running inside a container [2021-10-28T20:42:08.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-984 -v /w/workspace/ndry_app-functions-sdk-go_PR-984:/w/workspace/ndry_app-functions-sdk-go_PR-984:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-984@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T20:42:09.003Z] $ docker top a0bb33ed3ee5736e2d505653e547ccda48426b4fdbec8888106ded37e636aa5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T20:42:09.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T20:42:09.088Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T20:42:09.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T20:42:09.190Z] $ docker exec a0bb33ed3ee5736e2d505653e547ccda48426b4fdbec8888106ded37e636aa5f ssh-agent [2021-10-28T20:42:09.283Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXANMncb/agent.13 [2021-10-28T20:42:09.283Z] SSH_AGENT_PID=19 [2021-10-28T20:42:09.290Z] Running ssh-add (command line suppressed) [2021-10-28T20:42:09.397Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_1210999597865473982.key (/w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_1210999597865473982.key) [2021-10-28T20:42:09.412Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T20:42:09.712Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T20:42:09.725Z] $ docker exec --env ******** --env ******** a0bb33ed3ee5736e2d505653e547ccda48426b4fdbec8888106ded37e636aa5f ssh-agent -k [2021-10-28T20:42:09.830Z] unset SSH_AUTH_SOCK; [2021-10-28T20:42:09.830Z] unset SSH_AGENT_PID; [2021-10-28T20:42:09.830Z] echo Agent pid 19 killed; [2021-10-28T20:42:09.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T20:42:09.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T20:42:09.866Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T20:42:09.988Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T20:42:09.992Z] $ docker exec a0bb33ed3ee5736e2d505653e547ccda48426b4fdbec8888106ded37e636aa5f ssh-agent [2021-10-28T20:42:10.101Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjDEfei/agent.54 [2021-10-28T20:42:10.101Z] SSH_AGENT_PID=60 [2021-10-28T20:42:10.106Z] Running ssh-add (command line suppressed) [2021-10-28T20:42:10.206Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_9031914101284529897.key (/w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/private_key_9031914101284529897.key) [2021-10-28T20:42:10.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T20:42:10.522Z] + git semver init [2021-10-28T20:42:10.523Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T20:42:10.523Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-984/.git [2021-10-28T20:42:10.523Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-984 [2021-10-28T20:42:10.523Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T20:42:10.523Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T20:42:10.523Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T20:42:10.523Z] # $SEMVER_BRANCH = PR-984 [2021-10-28T20:42:10.523Z] # $SEMVER_TEMP = /tmp/semver-994531610 [2021-10-28T20:42:10.523Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-10-28T20:42:12.446Z] # '/tmp/semver-994531610' -> '/w/workspace/ndry_app-functions-sdk-go_PR-984/.semver' [2021-10-28T20:42:12.446Z] # -> Force: false [2021-10-28T20:42:12.446Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-984/.semver [Pipeline] } [2021-10-28T20:42:12.457Z] $ docker exec --env ******** --env ******** a0bb33ed3ee5736e2d505653e547ccda48426b4fdbec8888106ded37e636aa5f ssh-agent -k [2021-10-28T20:42:12.543Z] unset SSH_AUTH_SOCK; [2021-10-28T20:42:12.544Z] unset SSH_AGENT_PID; [2021-10-28T20:42:12.544Z] echo Agent pid 60 killed; [2021-10-28T20:42:12.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T20:42:12.857Z] + git semver [Pipeline] } [2021-10-28T20:42:12.870Z] $ docker stop --time=1 a0bb33ed3ee5736e2d505653e547ccda48426b4fdbec8888106ded37e636aa5f [2021-10-28T20:42:14.233Z] $ docker rm -f a0bb33ed3ee5736e2d505653e547ccda48426b4fdbec8888106ded37e636aa5f [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T20:42:14.591Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T20:42:14.816Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T20:42:14.818Z] [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 [2021-10-28T20:42:29.959Z] Still waiting to schedule task [2021-10-28T20:42:29.959Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-28T20:42:29.962Z] Still waiting to schedule task [2021-10-28T20:42:29.962Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-28T20:45:40.345Z] Running on prd-centos7-docker-4c-2g-11615 in /w/workspace/ndry_app-functions-sdk-go_PR-984 [Pipeline] { [Pipeline] ws [2021-10-28T20:45:40.366Z] Running in /w/workspace/app-functions-sdk-go/10 [Pipeline] { [Pipeline] checkout [2021-10-28T20:45:40.458Z] The recommended git tool is: git [2021-10-28T20:45:42.644Z] using credential edgex-jenkins-ssh [2021-10-28T20:45:42.663Z] Cloning the remote Git repository [2021-10-28T20:45:42.694Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-28T20:45:42.757Z] > git init /w/workspace/app-functions-sdk-go/10 # timeout=10 [2021-10-28T20:45:42.797Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-28T20:45:42.798Z] > git --version # timeout=10 [2021-10-28T20:45:42.806Z] > git --version # 'git version 2.24.4' [2021-10-28T20:45:42.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T20:45:42.828Z] [INFO] Currently running in a labeled security context [2021-10-28T20:45:42.828Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T20:45:42.828Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/10@tmp/jenkins-gitclient-ssh4140031170834786496.key [2021-10-28T20:45:42.851Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T20:45:47.235Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-28T20:45:47.249Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T20:45:47.260Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-28T20:45:47.276Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-28T20:45:47.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T20:45:47.277Z] [INFO] Currently running in a labeled security context [2021-10-28T20:45:47.277Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T20:45:47.277Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/10@tmp/jenkins-gitclient-ssh6706582658489901218.key [2021-10-28T20:45:47.291Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/984/head:refs/remotes/origin/PR-984 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T20:45:47.873Z] Merging remotes/origin/main commit 9cffd47191c984938c468f886111698baecf4146 into PR head commit 2b7ac9ebab8e51d179f7c2783895999aa23a0881 [2021-10-28T20:45:48.005Z] Merge succeeded, producing 827d031469b145623614dfe42cd1ae1275a47062 [2021-10-28T20:45:48.006Z] Checking out Revision 827d031469b145623614dfe42cd1ae1275a47062 (PR-984) [2021-10-28T20:45:47.884Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T20:45:47.902Z] > git checkout -f 2b7ac9ebab8e51d179f7c2783895999aa23a0881 # timeout=10 [2021-10-28T20:45:47.945Z] > git remote # timeout=10 [2021-10-28T20:45:47.951Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T20:45:47.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T20:45:47.961Z] [INFO] Currently running in a labeled security context [2021-10-28T20:45:47.962Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T20:45:47.962Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/10@tmp/jenkins-gitclient-ssh2288148719109893953.key [2021-10-28T20:45:47.966Z] > git merge 9cffd47191c984938c468f886111698baecf4146 # timeout=10 [2021-10-28T20:45:47.999Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T20:45:48.010Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T20:45:48.015Z] > git checkout -f 827d031469b145623614dfe42cd1ae1275a47062 # timeout=10 [2021-10-28T20:45:51.626Z] Commit message: "Merge commit '9cffd47191c984938c468f886111698baecf4146' into HEAD" [2021-10-28T20:45:51.633Z] > git rev-list --no-walk 153cb3add9e5fbc81fc9d33f54295da7e8a8988b # timeout=10 [2021-10-28T20:45:51.643Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-28T20:45:52.372Z] ========================================================= [2021-10-28T20:45:52.372Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T20:45:52.372Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-28T20:45:52.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T20:45:52.757Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T20:45:52.757Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T20:45:52.757Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T20:45:52.757Z] b8b176561691: Pulling fs layer [2021-10-28T20:45:52.757Z] 4527c011a84f: Pulling fs layer [2021-10-28T20:45:52.757Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T20:45:52.757Z] e0aca202a116: Pulling fs layer [2021-10-28T20:45:52.757Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T20:45:52.757Z] 34cad66bf833: Pulling fs layer [2021-10-28T20:45:52.757Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T20:45:52.757Z] 5d74067f8e1e: Waiting [2021-10-28T20:45:52.757Z] e0aca202a116: Waiting [2021-10-28T20:45:52.757Z] 3a43be97a3b4: Waiting [2021-10-28T20:45:52.757Z] 34cad66bf833: Waiting [2021-10-28T20:45:52.757Z] b4e3c513aaa6: Waiting [2021-10-28T20:45:52.757Z] 4527c011a84f: Waiting [2021-10-28T20:45:52.757Z] b8b176561691: Download complete [2021-10-28T20:45:52.757Z] 31adcdaf11c8: Download complete [2021-10-28T20:45:53.032Z] 5d74067f8e1e: Verifying Checksum [2021-10-28T20:45:53.032Z] 5d74067f8e1e: Download complete [2021-10-28T20:45:53.032Z] e0aca202a116: Verifying Checksum [2021-10-28T20:45:53.032Z] e0aca202a116: Download complete [2021-10-28T20:45:53.032Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T20:45:53.032Z] a0d0a0d46f8b: Download complete [2021-10-28T20:45:53.032Z] 3a43be97a3b4: Verifying Checksum [2021-10-28T20:45:53.032Z] 3a43be97a3b4: Download complete [2021-10-28T20:45:53.032Z] 34cad66bf833: Verifying Checksum [2021-10-28T20:45:53.032Z] 34cad66bf833: Download complete [2021-10-28T20:45:53.620Z] 4527c011a84f: Verifying Checksum [2021-10-28T20:45:53.620Z] 4527c011a84f: Download complete [2021-10-28T20:45:53.620Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T20:45:53.620Z] b4e3c513aaa6: Download complete [2021-10-28T20:45:53.620Z] a0d0a0d46f8b: Pull complete [2021-10-28T20:45:53.880Z] 31adcdaf11c8: Pull complete [2021-10-28T20:45:53.880Z] b8b176561691: Pull complete [2021-10-28T20:45:58.123Z] 4527c011a84f: Pull complete [2021-10-28T20:45:58.123Z] 5d74067f8e1e: Pull complete [2021-10-28T20:45:58.123Z] e0aca202a116: Pull complete [2021-10-28T20:45:58.123Z] 3a43be97a3b4: Pull complete [2021-10-28T20:45:58.123Z] 34cad66bf833: Pull complete [2021-10-28T20:46:01.450Z] b4e3c513aaa6: Pull complete [2021-10-28T20:46:01.450Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T20:46:01.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T20:46:01.450Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-10-28T20:46:01.784Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T20:46:02.129Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T20:46:02.129Z] . [Pipeline] withDockerContainer [2021-10-28T20:46:02.244Z] prd-centos7-docker-4c-2g-11615 does not seem to be running inside a container [2021-10-28T20:46:02.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T20:46:04.680Z] $ docker top 8b2507dd79c0f0b007a0c91a830efe4643ec72d536bffe44fc2b7491898c0ebf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T20:46:05.049Z] + go version [2021-10-28T20:46:05.049Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-28T20:46:05.061Z] $ docker stop --time=1 8b2507dd79c0f0b007a0c91a830efe4643ec72d536bffe44fc2b7491898c0ebf [2021-10-28T20:46:06.234Z] $ docker rm -f 8b2507dd79c0f0b007a0c91a830efe4643ec72d536bffe44fc2b7491898c0ebf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T20:46:06.681Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T20:46:06.681Z] . [Pipeline] withDockerContainer [2021-10-28T20:46:06.738Z] prd-centos7-docker-4c-2g-11615 does not seem to be running inside a container [2021-10-28T20:46:06.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T20:46:07.139Z] $ docker top ff6eb9aa8cf8549c6900248e2a628495e6627d001536525e1c3c2ec903e09996 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T20:46:07.528Z] + make test [2021-10-28T20:46:07.528Z] make -C ./app-service-template build [2021-10-28T20:46:07.528Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/10/app-service-template' [2021-10-28T20:46:07.528Z] go mod tidy [2021-10-28T20:46:08.921Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.26 [2021-10-28T20:46:08.921Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-28T20:46:08.921Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-28T20:46:09.191Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.15 [2021-10-28T20:46:09.191Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 [2021-10-28T20:46:09.191Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-10-28T20:46:09.191Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-28T20:46:09.191Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-28T20:46:09.191Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-28T20:46:09.191Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-10-28T20:46:09.191Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-28T20:46:09.456Z] go: downloading github.com/AlexCuse/etm v0.0.0-20211022124535-b53962804cd5 [2021-10-28T20:46:09.456Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-28T20:46:09.456Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-28T20:46:09.456Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-28T20:46:09.456Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-28T20:46:09.456Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-10-28T20:46:09.456Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-10-28T20:46:09.456Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.7 [2021-10-28T20:46:09.456Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-10-28T20:46:09.456Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-28T20:46:09.456Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-28T20:46:09.456Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-28T20:46:09.719Z] go: downloading golang.org/x/text v0.3.6 [2021-10-28T20:46:09.719Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-28T20:46:09.719Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-28T20:46:10.676Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-28T20:46:10.676Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-28T20:46:10.676Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-28T20:46:10.676Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-28T20:46:10.676Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-28T20:46:10.676Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-10-28T20:46:10.676Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-10-28T20:46:10.938Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-10-28T20:46:10.938Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-28T20:46:10.938Z] go: downloading github.com/kr/pretty v0.3.0 [2021-10-28T20:46:10.938Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-10-28T20:46:10.938Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-28T20:46:10.938Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-28T20:46:11.202Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-28T20:46:11.202Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-28T20:46:11.202Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-28T20:46:11.202Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-28T20:46:11.202Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-28T20:46:11.202Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-10-28T20:46:11.202Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-28T20:46:11.202Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-28T20:46:11.202Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-28T20:46:11.469Z] go: downloading github.com/kr/text v0.2.0 [2021-10-28T20:46:11.469Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-10-28T20:46:11.469Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-28T20:46:11.469Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-28T20:46:11.469Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-28T20:46:11.469Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-28T20:46:11.469Z] go: downloading github.com/pkg/errors v0.9.1 [2021-10-28T20:46:11.469Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-28T20:46:11.469Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-28T20:46:11.469Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-28T20:46:11.469Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-10-28T20:46:11.469Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-28T20:46:11.469Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-28T20:46:11.729Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-28T20:46:11.729Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-28T20:46:11.729Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-28T20:46:11.729Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-28T20:46:11.729Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-28T20:46:11.729Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-28T20:46:11.729Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-28T20:46:11.729Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-28T20:46:11.729Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-28T20:46:11.730Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-28T20:46:11.730Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-28T20:46:11.730Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-10-28T20:46:12.011Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-28T20:46:12.011Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-28T20:46:12.011Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-10-28T20:46:12.011Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-28T20:46:12.011Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-28T20:46:12.011Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-10-28T20:46:12.280Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-10-28T20:46:12.280Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-10-28T20:46:12.280Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-10-28T20:46:12.280Z] 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 [2021-10-28T20:46:27.298Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/10/app-service-template' [2021-10-28T20:46:27.298Z] make -C ./app-service-template test [2021-10-28T20:46:27.298Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/10/app-service-template' [2021-10-28T20:46:27.298Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-28T20:46:37.391Z] ok new-app-service 0.018s coverage: 48.1% of statements [2021-10-28T20:46:37.391Z] ? new-app-service/config [no test files] [2021-10-28T20:46:37.391Z] ok new-app-service/functions 0.009s [2021-10-28T20:46:37.391Z] CGO_ENABLED=1 go vet ./... [2021-10-28T20:46:45.593Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T20:46:45.593Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T20:46:45.593Z] ./bin/test-attribution-txt.sh [2021-10-28T20:46:45.593Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/10/app-service-template' [2021-10-28T20:46:45.593Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-28T20:46:45.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-10-28T20:46:47.541Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 67.0% of statements [2021-10-28T20:46:47.541Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-10-28T20:46:47.541Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.014s coverage: 93.7% of statements [2021-10-28T20:46:47.541Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-10-28T20:46:48.121Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.031s coverage: 61.8% of statements [2021-10-28T20:46:48.121Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-10-28T20:46:48.121Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s [2021-10-28T20:46:48.395Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.011s coverage: 100.0% of statements [2021-10-28T20:46:48.984Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.038s coverage: 75.7% of statements [2021-10-28T20:46:48.984Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-10-28T20:46:48.984Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-10-28T20:46:48.984Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-10-28T20:46:48.984Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-10-28T20:46:48.984Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-10-28T20:46:48.984Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-10-28T20:46:48.984Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.3% of statements [2021-10-28T20:46:48.984Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T20:46:49.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.008s coverage: 10.5% of statements [2021-10-28T20:46:53.489Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.056s coverage: 77.0% of statements [2021-10-28T20:46:53.489Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-10-28T20:46:53.489Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 14.9% of statements [2021-10-28T20:46:53.489Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements [2021-10-28T20:46:53.489Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-10-28T20:46:53.489Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-10-28T20:46:53.489Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements [2021-10-28T20:47:20.075Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.030s coverage: 78.9% of statements [2021-10-28T20:47:20.075Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.012s coverage: 94.4% of statements [2021-10-28T20:47:20.075Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-28T20:47:20.075Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T20:47:20.075Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-28T20:47:35.112Z] $ docker stop --time=1 ff6eb9aa8cf8549c6900248e2a628495e6627d001536525e1c3c2ec903e09996 [2021-10-28T20:47:36.463Z] $ docker rm -f ff6eb9aa8cf8549c6900248e2a628495e6627d001536525e1c3c2ec903e09996 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T20:47:37.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T20:47:37.477Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T20:47:38.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T20:47:38.134Z] [2021-10-28T20:47:38.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T20:47:38.443Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T20:47:38.443Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T20:47:38.443Z] b4d181a07f80: Pulling fs layer [2021-10-28T20:47:38.443Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T20:47:38.443Z] ed53099fbce6: Pulling fs layer [2021-10-28T20:47:38.443Z] dc539afda2c1: Pulling fs layer [2021-10-28T20:47:38.443Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T20:47:38.443Z] 9065ff56babe: Pulling fs layer [2021-10-28T20:47:38.443Z] d287ab97295c: Pulling fs layer [2021-10-28T20:47:38.443Z] 77bc0d833cb6: Waiting [2021-10-28T20:47:38.443Z] 9065ff56babe: Waiting [2021-10-28T20:47:38.443Z] d287ab97295c: Waiting [2021-10-28T20:47:38.443Z] dc539afda2c1: Waiting [2021-10-28T20:47:38.443Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T20:47:38.443Z] a1111a8f2ec3: Download complete [2021-10-28T20:47:38.711Z] dc539afda2c1: Verifying Checksum [2021-10-28T20:47:38.711Z] dc539afda2c1: Download complete [2021-10-28T20:47:38.711Z] ed53099fbce6: Verifying Checksum [2021-10-28T20:47:38.711Z] ed53099fbce6: Download complete [2021-10-28T20:47:38.711Z] 9065ff56babe: Verifying Checksum [2021-10-28T20:47:38.711Z] 9065ff56babe: Download complete [2021-10-28T20:47:38.711Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T20:47:38.711Z] 77bc0d833cb6: Download complete [2021-10-28T20:47:38.711Z] b4d181a07f80: Verifying Checksum [2021-10-28T20:47:38.711Z] b4d181a07f80: Download complete [2021-10-28T20:47:39.310Z] d287ab97295c: Verifying Checksum [2021-10-28T20:47:39.310Z] d287ab97295c: Download complete [2021-10-28T20:47:40.253Z] b4d181a07f80: Pull complete [2021-10-28T20:47:40.516Z] a1111a8f2ec3: Pull complete [2021-10-28T20:47:41.094Z] ed53099fbce6: Pull complete [2021-10-28T20:47:41.364Z] dc539afda2c1: Pull complete [2021-10-28T20:47:41.628Z] 77bc0d833cb6: Pull complete [2021-10-28T20:47:41.628Z] 9065ff56babe: Pull complete [2021-10-28T20:47:46.961Z] d287ab97295c: Pull complete [2021-10-28T20:47:46.961Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T20:47:46.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T20:47:46.961Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T20:47:47.038Z] prd-centos7-docker-4c-2g-11615 does not seem to be running inside a container [2021-10-28T20:47:47.081Z] $ 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/10 -v /w/workspace/app-functions-sdk-go/10:/w/workspace/app-functions-sdk-go/10:rw,z -v /w/workspace/app-functions-sdk-go/10@tmp:/w/workspace/app-functions-sdk-go/10@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T20:47:49.582Z] $ docker top d885e7c2a7457f84354040ab5d0de583eee9c420354a4eb4431e9ba17638ca5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T20:47:50.078Z] ---> job-cost.sh [2021-10-28T20:47:50.079Z] lf-activate-venv: SKIPPING [2021-10-28T20:47:50.079Z] INFO: No Stack... [2021-10-28T20:47:50.339Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T20:47:50.916Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T20:47:51.218Z] + cat /w/workspace/app-functions-sdk-go/10/archives/cost.csv [2021-10-28T20:47:51.218Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T20:47:51.246Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-10-stack-cost] [2021-10-28T20:47:51.256Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-10-stack-cost] did not exist. Created. [2021-10-28T20:47:51.256Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T20:47:51.556Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T20:47:51.589Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T20:47:51.602Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-984-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T20:47:51.620Z] $ docker stop --time=1 d885e7c2a7457f84354040ab5d0de583eee9c420354a4eb4431e9ba17638ca5d [2021-10-28T20:47:52.754Z] $ docker rm -f d885e7c2a7457f84354040ab5d0de583eee9c420354a4eb4431e9ba17638ca5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T21:19:20.922Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13284 in /w/workspace/ndry_app-functions-sdk-go_PR-984 [Pipeline] { [Pipeline] ws [2021-10-28T21:19:20.932Z] Running in /w/workspace/app-functions-sdk-go/10 [Pipeline] { [Pipeline] checkout [2021-10-28T21:19:21.172Z] The recommended git tool is: git [2021-10-28T21:19:28.024Z] using credential edgex-jenkins-ssh [2021-10-28T21:19:28.043Z] Cloning the remote Git repository [2021-10-28T21:19:28.092Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-28T21:19:28.208Z] > git init /w/workspace/app-functions-sdk-go/10 # timeout=10 [2021-10-28T21:19:28.325Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-28T21:19:28.326Z] > git --version # timeout=10 [2021-10-28T21:19:28.353Z] > git --version # 'git version 2.17.1' [2021-10-28T21:19:28.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T21:19:28.430Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T21:19:34.099Z] Merging remotes/origin/main commit 9cffd47191c984938c468f886111698baecf4146 into PR head commit 2b7ac9ebab8e51d179f7c2783895999aa23a0881 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T21:19:34.337Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [2021-10-28T21:19:33.250Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-28T21:19:33.269Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T21:19:33.299Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-28T21:19:33.342Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-28T21:19:33.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T21:19:33.358Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/984/head:refs/remotes/origin/PR-984 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T21:19:34.115Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T21:19:34.137Z] > git checkout -f 2b7ac9ebab8e51d179f7c2783895999aa23a0881 # timeout=10 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 [2021-10-28T21:19:35.596Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-984/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:19:35.906Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:19:36.477Z] ---> package-listing.sh [2021-10-28T21:19:36.478Z] ++ facter osfamily [2021-10-28T21:19:36.478Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T21:19:36.739Z] + OS_FAMILY=redhat [2021-10-28T21:19:36.739Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-984 [2021-10-28T21:19:36.739Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T21:19:36.739Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T21:19:36.739Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T21:19:36.739Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T21:19:36.739Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-984 ']' [2021-10-28T21:19:36.739Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T21:19:36.739Z] + case "${OS_FAMILY}" in [2021-10-28T21:19:36.739Z] + rpm -qa [2021-10-28T21:19:36.739Z] + sort [2021-10-28T21:19:37.318Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T21:19:37.318Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T21:19:37.318Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T21:19:37.318Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-984 ']' [2021-10-28T21:19:37.318Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-984/archives/ [2021-10-28T21:19:37.318Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-984/archives/ [Pipeline] echo [2021-10-28T21:19:37.329Z] 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-984/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-28T21:19:37.614Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:19:38.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T21:19:38.174Z] [2021-10-28T21:19:38.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:19:38.486Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T21:19:38.487Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T21:19:38.487Z] b4d181a07f80: Pulling fs layer [2021-10-28T21:19:38.487Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T21:19:38.487Z] ed53099fbce6: Pulling fs layer [2021-10-28T21:19:38.487Z] dc539afda2c1: Pulling fs layer [2021-10-28T21:19:38.487Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T21:19:38.487Z] 9065ff56babe: Pulling fs layer [2021-10-28T21:19:38.487Z] d287ab97295c: Pulling fs layer [2021-10-28T21:19:38.487Z] dc539afda2c1: Waiting [2021-10-28T21:19:38.487Z] 77bc0d833cb6: Waiting [2021-10-28T21:19:38.487Z] 9065ff56babe: Waiting [2021-10-28T21:19:38.487Z] d287ab97295c: Waiting [2021-10-28T21:19:38.487Z] a1111a8f2ec3: Download complete [2021-10-28T21:19:38.487Z] dc539afda2c1: Verifying Checksum [2021-10-28T21:19:38.487Z] dc539afda2c1: Download complete [2021-10-28T21:19:38.487Z] ed53099fbce6: Verifying Checksum [2021-10-28T21:19:38.487Z] ed53099fbce6: Download complete [2021-10-28T21:19:38.487Z] 9065ff56babe: Verifying Checksum [2021-10-28T21:19:38.487Z] 9065ff56babe: Download complete [2021-10-28T21:19:38.754Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T21:19:38.754Z] 77bc0d833cb6: Download complete [2021-10-28T21:19:38.754Z] b4d181a07f80: Verifying Checksum [2021-10-28T21:19:38.754Z] b4d181a07f80: Download complete [2021-10-28T21:19:39.335Z] d287ab97295c: Verifying Checksum [2021-10-28T21:19:39.335Z] d287ab97295c: Download complete [2021-10-28T21:19:40.311Z] b4d181a07f80: Pull complete [2021-10-28T21:19:40.311Z] a1111a8f2ec3: Pull complete [2021-10-28T21:19:40.898Z] ed53099fbce6: Pull complete [2021-10-28T21:19:40.898Z] dc539afda2c1: Pull complete [2021-10-28T21:19:41.472Z] 77bc0d833cb6: Pull complete [2021-10-28T21:19:41.472Z] 9065ff56babe: Pull complete [2021-10-28T21:19:46.836Z] d287ab97295c: Pull complete [2021-10-28T21:19:46.836Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T21:19:46.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T21:19:46.836Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T21:19:46.911Z] prd-centos7-docker-4c-2g-11253 does not seem to be running inside a container [2021-10-28T21:19:46.952Z] $ 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-984/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-984 -v /w/workspace/ndry_app-functions-sdk-go_PR-984:/w/workspace/ndry_app-functions-sdk-go_PR-984:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-984@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-984@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 [2021-10-28T21:19:49.907Z] $ docker top 342aaacccb27740c07b257f15d21dd6cf198c9317aafc4359240caa679b1ce83 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T21:19:50.260Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T21:19:50.549Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T21:19:50.844Z] + ls /var/log/sa-host [2021-10-28T21:19:50.845Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T21:19:50.845Z] file_magic: OK [2021-10-28T21:19:50.845Z] HZ: Using current value: 100 [2021-10-28T21:19:50.845Z] file_header: OK [2021-10-28T21:19:50.845Z] 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 [2021-10-28T21:19:50.845Z] Statistics: [2021-10-28T21:19:50.845Z] 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... [2021-10-28T21:19:50.845Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T21:19:50.845Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T21:19:50.845Z] file_magic: OK [2021-10-28T21:19:50.845Z] HZ: Using current value: 100 [2021-10-28T21:19:50.845Z] file_header: OK [2021-10-28T21:19:50.845Z] 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 [2021-10-28T21:19:50.845Z] Statistics: [2021-10-28T21:19:50.845Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T21:19:50.845Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T21:19:50.943Z] provisioning config files... [2021-10-28T21:19:50.958Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-984@tmp/config527993686067649170tmp [Pipeline] { [Pipeline] echo [2021-10-28T21:19:50.977Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:19:51.268Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T21:19:51.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:19:51.614Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T21:19:51.623Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:19:51.928Z] ---> sudo-logs.sh [2021-10-28T21:19:51.928Z] Archiving 'sudo' log.. [2021-10-28T21:19:51.928Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-11253.novalocal: Name or service not known [2021-10-28T21:19:51.928Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-11253.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T21:19:51.972Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:19:52.267Z] ---> job-cost.sh [2021-10-28T21:19:52.267Z] lf-activate-venv: SKIPPING [2021-10-28T21:19:52.267Z] DEBUG: total: 0.05999999865889549 [2021-10-28T21:19:52.267Z] INFO: Retrieving Stack Cost... [2021-10-28T21:19:53.214Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T21:19:53.475Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T21:19:53.486Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:19:53.778Z] ---> logs-deploy.sh [2021-10-28T21:19:53.778Z] lf-activate-venv: SKIPPING [2021-10-28T21:19:53.778Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-984/10 [2021-10-28T21:19:53.778Z] INFO: archiving workspace using pattern(s): [2021-10-28T21:19:54.361Z] Archives upload complete. [2021-10-28T21:19:54.623Z] INFO: archiving logs to Nexus