Pull request #967 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 78af7e0c20431cf36dc93ef31ba5d384daa2279e+1d599202cd64a06a276f3b3191668ff2dfc96df6 (16f1f12523c2fe6fe76aa24235dd75f2a7d65c38) 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-ssh7279590006375395404.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh4846591161421650604.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 f1d79d91c36788821211008368c3015072ca53ca 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-967/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-967/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1350035514346322393.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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-ssh6298546375922145097.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-967/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-967/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5893572123239020907.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-512 in /w/workspace/ndry_app-functions-sdk-go_PR-967 [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-967 # 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-967@tmp/jenkins-gitclient-ssh8018922652063866187.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 1d599202cd64a06a276f3b3191668ff2dfc96df6 into PR head commit 78af7e0c20431cf36dc93ef31ba5d384daa2279e Merge succeeded, producing 78af7e0c20431cf36dc93ef31ba5d384daa2279e Checking out Revision 78af7e0c20431cf36dc93ef31ba5d384daa2279e (PR-967) > 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-967@tmp/jenkins-gitclient-ssh8192331253395475408.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/967/head:refs/remotes/origin/PR-967 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78af7e0c20431cf36dc93ef31ba5d384daa2279e # 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-967@tmp/jenkins-gitclient-ssh5640836994891455268.key > git merge 1d599202cd64a06a276f3b3191668ff2dfc96df6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78af7e0c20431cf36dc93ef31ba5d384daa2279e # timeout=10 Commit message: "refactor(triggers): Normalize Orchestration" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk fef4bc0d75563982c954fa5b8228099ecc324717 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:08:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:08:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:08:55 ========================================================= 00:08:55 EdgeX Global Pipelines Version Info 00:08:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:08:56 ------------------- 00:08:56 stable info: 00:08:56 ------------------- 00:08:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:08:56 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 00:08:56 Message: update stable to v1.0.209 00:08:57 ------------------- 00:08:57 experimental info: 00:08:57 ------------------- 00:08:57 Commited By: **** collab-it+edgex@linuxfoundation.org 00:08:57 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 00:08:57 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:08:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-967 [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-967 [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-967 [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78af7e0c20431cf36dc93ef31ba5d384daa2279e [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78af7e0 [Pipeline] echo 00:08:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:08:58 + git log --format=format:%s -1 78af7e0c20431cf36dc93ef31ba5d384daa2279e [Pipeline] echo 00:08:58 GIT_COMMIT: 78af7e0c20431cf36dc93ef31ba5d384daa2279e, Commit Message: refactor(triggers): Normalize Orchestration [Pipeline] echo 00:08:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:08:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:08:59 00:08:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:08:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:08:59 latest: Pulling from edgex-devops/git-semver 00:08:59 a0d0a0d46f8b: Pulling fs layer 00:08:59 3e5f54012d9b: Pulling fs layer 00:08:59 4c7163046ea9: Pulling fs layer 00:08:59 0c2d73faf560: Pulling fs layer 00:08:59 0c2d73faf560: Waiting 00:08:59 3e5f54012d9b: Verifying Checksum 00:08:59 3e5f54012d9b: Download complete 00:08:59 a0d0a0d46f8b: Verifying Checksum 00:08:59 a0d0a0d46f8b: Download complete 00:08:59 4c7163046ea9: Verifying Checksum 00:08:59 4c7163046ea9: Download complete 00:08:59 0c2d73faf560: Verifying Checksum 00:08:59 0c2d73faf560: Download complete 00:08:59 a0d0a0d46f8b: Pull complete 00:08:59 3e5f54012d9b: Pull complete 00:09:00 4c7163046ea9: Pull complete 00:09:00 0c2d73faf560: Pull complete 00:09:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:09:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:09:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:09:00 prd-centos7-docker-4c-2g-512 does not seem to be running inside a container 00:09:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-967 -v /w/workspace/ndry_app-functions-sdk-go_PR-967:/w/workspace/ndry_app-functions-sdk-go_PR-967:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-967@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-967@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:09:01 $ docker top 1df4fe76a46396d620203f6b1dc8a5bf12f4861aba0a7af7e58f8b1914b67fc3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:09:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:01 [ssh-agent] Looking for ssh-agent implementation... 00:09:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:01 $ docker exec 1df4fe76a46396d620203f6b1dc8a5bf12f4861aba0a7af7e58f8b1914b67fc3 ssh-agent 00:09:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbMkhBJ/agent.14 00:09:01 SSH_AGENT_PID=20 00:09:01 Running ssh-add (command line suppressed) 00:09:01 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_7957407812797863399.key (/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_7957407812797863399.key) 00:09:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:01 + git tag --points-at HEAD [Pipeline] } 00:09:01 $ docker exec --env ******** --env ******** 1df4fe76a46396d620203f6b1dc8a5bf12f4861aba0a7af7e58f8b1914b67fc3 ssh-agent -k 00:09:02 unset SSH_AUTH_SOCK; 00:09:02 unset SSH_AGENT_PID; 00:09:02 echo Agent pid 20 killed; 00:09:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:09:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:02 [ssh-agent] Looking for ssh-agent implementation... 00:09:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:02 $ docker exec 1df4fe76a46396d620203f6b1dc8a5bf12f4861aba0a7af7e58f8b1914b67fc3 ssh-agent 00:09:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJICIMP/agent.55 00:09:02 SSH_AGENT_PID=61 00:09:02 Running ssh-add (command line suppressed) 00:09:02 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_9037927802431502474.key (/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/private_key_9037927802431502474.key) 00:09:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:02 + git semver init 00:09:02 # -> Open(): unable to determine branch for HEAD 00:09:02 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-967/.git 00:09:02 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-967 00:09:02 # $SEMVER_REMOTE_NAME = origin 00:09:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:09:02 # $SEMVER_USER_NAME = edgex-jenkins 00:09:02 # $SEMVER_BRANCH = PR-967 00:09:02 # $SEMVER_TEMP = /tmp/semver-071200167 00:09:02 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:09:05 # '/tmp/semver-071200167' -> '/w/workspace/ndry_app-functions-sdk-go_PR-967/.semver' 00:09:05 # -> Force: false 00:09:05 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-967/.semver [Pipeline] } 00:09:05 $ docker exec --env ******** --env ******** 1df4fe76a46396d620203f6b1dc8a5bf12f4861aba0a7af7e58f8b1914b67fc3 ssh-agent -k 00:09:05 unset SSH_AUTH_SOCK; 00:09:05 unset SSH_AGENT_PID; 00:09:05 echo Agent pid 61 killed; 00:09:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:09:05 + git semver [Pipeline] } 00:09:05 $ docker stop --time=1 1df4fe76a46396d620203f6b1dc8a5bf12f4861aba0a7af7e58f8b1914b67fc3 00:09:07 $ docker rm -f 1df4fe76a46396d620203f6b1dc8a5bf12f4861aba0a7af7e58f8b1914b67fc3 [Pipeline] // withDockerContainer [Pipeline] sh 00:09:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:09:07 Stashed 1 file(s) [Pipeline] echo 00:09:07 [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 00:09:22 Still waiting to schedule task 00:09:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:09:22 Still waiting to schedule task 00:09:22 ‘prd-ubuntu18.04-docker-arm64-4c-16g-510’ is offline 00:11:14 Running on prd-centos7-docker-4c-2g-514 in /w/workspace/ndry_app-functions-sdk-go_PR-967 [Pipeline] { [Pipeline] ws 00:11:14 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 00:11:14 The recommended git tool is: git 00:11:16 using credential edgex-jenkins-ssh 00:11:16 Cloning the remote Git repository 00:11:16 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:11:16 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 00:11:16 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:11:16 > git --version # timeout=10 00:11:16 > git --version # 'git version 2.24.4' 00:11:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:11:16 [INFO] Currently running in a labeled security context 00:11:16 [INFO] Currently SELinux is 'enforcing' on the host 00:11:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh8214177154040391484.key 00:11:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:11:17 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:11:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:11:17 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:11:17 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:11:17 using GIT_SSH to set credentials SSH Credentials for GitHub 00:11:17 [INFO] Currently running in a labeled security context 00:11:17 [INFO] Currently SELinux is 'enforcing' on the host 00:11:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh4689836013097503870.key 00:11:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/967/head:refs/remotes/origin/PR-967 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:11:18 Merging remotes/origin/main commit 1d599202cd64a06a276f3b3191668ff2dfc96df6 into PR head commit 78af7e0c20431cf36dc93ef31ba5d384daa2279e 00:11:18 Merge succeeded, producing 78af7e0c20431cf36dc93ef31ba5d384daa2279e 00:11:18 Checking out Revision 78af7e0c20431cf36dc93ef31ba5d384daa2279e (PR-967) 00:11:18 > git config core.sparsecheckout # timeout=10 00:11:18 > git checkout -f 78af7e0c20431cf36dc93ef31ba5d384daa2279e # timeout=10 00:11:18 > git remote # timeout=10 00:11:18 > git config --get remote.origin.url # timeout=10 00:11:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:11:18 [INFO] Currently running in a labeled security context 00:11:18 [INFO] Currently SELinux is 'enforcing' on the host 00:11:18 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh3859344466747630952.key 00:11:18 > git merge 1d599202cd64a06a276f3b3191668ff2dfc96df6 # timeout=10 00:11:18 > git rev-parse HEAD^{commit} # timeout=10 00:11:18 > git config core.sparsecheckout # timeout=10 00:11:18 > git checkout -f 78af7e0c20431cf36dc93ef31ba5d384daa2279e # timeout=10 00:11:21 Commit message: "refactor(triggers): Normalize Orchestration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:11:22 ========================================================= 00:11:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:11:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:11:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:11:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:11:22 4e9f2cdf4387: Pulling fs layer 00:11:22 57d31006c564: Pulling fs layer 00:11:22 bd5ccded8296: Pulling fs layer 00:11:22 304dd3a0f381: Pulling fs layer 00:11:22 d37cda54a23b: Pulling fs layer 00:11:22 bae75c0f2455: Pulling fs layer 00:11:22 806579b3d29a: Pulling fs layer 00:11:22 c77eb801bf70: Pulling fs layer 00:11:22 6d0567d44e1a: Pulling fs layer 00:11:22 bae75c0f2455: Waiting 00:11:22 806579b3d29a: Waiting 00:11:22 c77eb801bf70: Waiting 00:11:22 6d0567d44e1a: Waiting 00:11:22 304dd3a0f381: Waiting 00:11:22 d37cda54a23b: Waiting 00:11:22 bd5ccded8296: Verifying Checksum 00:11:22 bd5ccded8296: Download complete 00:11:22 57d31006c564: Download complete 00:11:22 d37cda54a23b: Verifying Checksum 00:11:22 d37cda54a23b: Download complete 00:11:22 bae75c0f2455: Verifying Checksum 00:11:22 bae75c0f2455: Download complete 00:11:22 806579b3d29a: Verifying Checksum 00:11:22 806579b3d29a: Download complete 00:11:22 4e9f2cdf4387: Verifying Checksum 00:11:22 4e9f2cdf4387: Download complete 00:11:23 c77eb801bf70: Verifying Checksum 00:11:23 c77eb801bf70: Download complete 00:11:23 6d0567d44e1a: Verifying Checksum 00:11:23 6d0567d44e1a: Download complete 00:11:23 304dd3a0f381: Verifying Checksum 00:11:23 304dd3a0f381: Download complete 00:11:23 4e9f2cdf4387: Pull complete 00:11:23 57d31006c564: Pull complete 00:11:23 bd5ccded8296: Pull complete 00:11:27 304dd3a0f381: Pull complete 00:11:27 d37cda54a23b: Pull complete 00:11:27 bae75c0f2455: Pull complete 00:11:27 806579b3d29a: Pull complete 00:11:27 c77eb801bf70: Pull complete 00:11:29 6d0567d44e1a: Pull complete 00:11:29 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 00:11:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:11:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 00:11:30 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 00:11:30 + docker inspect -f . ci-base-image-x86_64 00:11:30 . [Pipeline] withDockerContainer 00:11:30 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 00:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:11:34 $ docker top f10899141d657e1a5de9806a152fabf6dcba067dab5a221ade53069f3598a1b4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:34 + go version 00:11:34 go version go1.16.8 linux/amd64 [Pipeline] } 00:11:34 $ docker stop --time=1 f10899141d657e1a5de9806a152fabf6dcba067dab5a221ade53069f3598a1b4 00:11:35 $ docker rm -f f10899141d657e1a5de9806a152fabf6dcba067dab5a221ade53069f3598a1b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:11:36 + docker inspect -f . ci-base-image-x86_64 00:11:36 . [Pipeline] withDockerContainer 00:11:36 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 00:11:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:11:36 $ docker top bc5e7c8397208eb68acec4b982bda3c51c19d74d3e88e703a5ee5136f71223ae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:11:37 + make test 00:11:37 make -C ./app-service-template build 00:11:37 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:11:37 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 00:11:37 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 00:11:37 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 00:11:37 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 00:11:37 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 00:11:37 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 00:11:37 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:11:37 go: downloading github.com/gorilla/mux v1.8.0 00:11:37 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:11:37 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 00:11:37 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 00:11:37 go: downloading github.com/go-kit/kit v0.9.0 00:11:38 go: downloading github.com/google/uuid v1.3.0 00:11:38 go: downloading github.com/mitchellh/copystructure v1.0.0 00:11:38 go: downloading github.com/go-playground/validator/v10 v10.6.1 00:11:38 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:11:38 go: downloading github.com/gorilla/websocket v1.4.2 00:11:38 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 00:11:38 go: downloading github.com/pelletier/go-toml v1.9.2 00:11:38 go: downloading github.com/hashicorp/errwrap v1.0.0 00:11:38 go: downloading github.com/hashicorp/consul/api v1.8.1 00:11:38 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:11:38 go: downloading github.com/go-logfmt/logfmt v0.4.0 00:11:38 go: downloading github.com/x448/float16 v0.8.4 00:11:38 go: downloading github.com/go-playground/universal-translator v0.17.0 00:11:38 go: downloading github.com/leodido/go-urn v1.2.0 00:11:38 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 00:11:38 go: downloading golang.org/x/text v0.3.2 00:11:38 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:11:38 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:11:38 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:11:38 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:11:38 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:11:38 go: downloading github.com/hashicorp/serf v0.9.5 00:11:38 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:11:38 go: downloading github.com/go-playground/locales v0.13.0 00:11:39 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:11:39 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:11:39 go: downloading github.com/pebbe/zmq4 v1.2.7 00:11:39 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:11:39 go: downloading github.com/fatih/color v1.9.0 00:11:39 go: downloading github.com/mattn/go-isatty v0.0.12 00:11:39 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:11:39 go: downloading github.com/mattn/go-colorable v0.1.6 00:11:39 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 00:11:39 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:11:39 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:11:51 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:11:51 make -C ./app-service-template test 00:11:51 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:11:51 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:11:51 go: downloading github.com/stretchr/testify v1.7.0 00:11:51 go: downloading github.com/davecgh/go-spew v1.1.1 00:11:51 go: downloading github.com/pmezard/go-difflib v1.0.0 00:11:51 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 00:11:51 go: downloading github.com/stretchr/objx v0.1.0 00:12:00 ok new-app-service 0.009s coverage: 48.1% of statements 00:12:00 ? new-app-service/config [no test files] 00:12:00 ok new-app-service/functions 0.007s 00:12:00 CGO_ENABLED=1 go vet ./... 00:12:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:12:06 ./bin/test-attribution-txt.sh 00:12:06 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:12:06 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:12:06 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:12:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:12:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:12:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.016s coverage: 67.1% of statements 00:12:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.014s coverage: 93.7% of statements 00:12:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:12:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements 00:12:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:12:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.017s 00:12:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.070s coverage: 75.7% of statements 00:12:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:12:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:12:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:12:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:12:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:12:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:12:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.3% of statements 00:12:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:12:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 00:12:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 97.4% of statements 00:12:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 00:12:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.633s coverage: 80.4% of statements 00:12:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 00:12:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 00:12:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.016s coverage: 34.2% of statements 00:12:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 00:12:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements 00:12:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements 00:12:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:12:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:12:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements 00:12:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.046s coverage: 77.3% of statements 00:12:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.018s coverage: 94.4% of statements 00:12:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:12:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 00:12:39 $ docker stop --time=1 bc5e7c8397208eb68acec4b982bda3c51c19d74d3e88e703a5ee5136f71223ae 00:12:40 $ docker rm -f bc5e7c8397208eb68acec4b982bda3c51c19d74d3e88e703a5ee5136f71223ae [Pipeline] // withDockerContainer [Pipeline] sh 00:12:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:41 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 00:12:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:42 00:12:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:12:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:42 latest: Pulling from edgex-lftools-log-publisher 00:12:42 b4d181a07f80: Pulling fs layer 00:12:42 a1111a8f2ec3: Pulling fs layer 00:12:42 ed53099fbce6: Pulling fs layer 00:12:42 dc539afda2c1: Pulling fs layer 00:12:42 77bc0d833cb6: Pulling fs layer 00:12:42 9065ff56babe: Pulling fs layer 00:12:42 d287ab97295c: Pulling fs layer 00:12:42 dc539afda2c1: Waiting 00:12:42 77bc0d833cb6: Waiting 00:12:42 9065ff56babe: Waiting 00:12:42 d287ab97295c: Waiting 00:12:42 a1111a8f2ec3: Verifying Checksum 00:12:42 a1111a8f2ec3: Download complete 00:12:42 dc539afda2c1: Verifying Checksum 00:12:42 dc539afda2c1: Download complete 00:12:42 ed53099fbce6: Verifying Checksum 00:12:42 ed53099fbce6: Download complete 00:12:42 9065ff56babe: Verifying Checksum 00:12:42 9065ff56babe: Download complete 00:12:42 77bc0d833cb6: Verifying Checksum 00:12:42 77bc0d833cb6: Download complete 00:12:42 b4d181a07f80: Verifying Checksum 00:12:42 b4d181a07f80: Download complete 00:12:43 d287ab97295c: Verifying Checksum 00:12:43 d287ab97295c: Download complete 00:12:44 b4d181a07f80: Pull complete 00:12:44 a1111a8f2ec3: Pull complete 00:12:45 ed53099fbce6: Pull complete 00:12:45 dc539afda2c1: Pull complete 00:12:45 77bc0d833cb6: Pull complete 00:12:45 9065ff56babe: Pull complete 00:12:50 d287ab97295c: Pull complete 00:12:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:12:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:12:50 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 00:12:50 $ 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/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:12:53 $ docker top c2fa098f24b677456f8d1461654fca845af0a743c17312fbaf9b07b6ddcd3584 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:53 ---> job-cost.sh 00:12:53 lf-activate-venv: SKIPPING 00:12:53 INFO: No Stack... 00:13:00 INFO: Retrieving Pricing Info for: v3-standard-2 00:13:00 INFO: Archiving Costs [Pipeline] sh 00:13:00 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 00:13:00 + cut -d, -f6 [Pipeline] lock 00:13:01 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-2-stack-cost] 00:13:01 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-2-stack-cost] did not exist. Created. 00:13:01 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:01 + echo total: 0.05999999865889549 [Pipeline] stash 00:13:01 Stashed 1 file(s) [Pipeline] } 00:13:01 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:01 $ docker stop --time=1 c2fa098f24b677456f8d1461654fca845af0a743c17312fbaf9b07b6ddcd3584 00:13:02 $ docker rm -f c2fa098f24b677456f8d1461654fca845af0a743c17312fbaf9b07b6ddcd3584 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:16:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-518 in /w/workspace/ndry_app-functions-sdk-go_PR-967 [Pipeline] { [Pipeline] ws 00:16:07 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 00:16:08 The recommended git tool is: git 00:16:14 using credential edgex-jenkins-ssh 00:16:14 Cloning the remote Git repository 00:16:14 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:16:14 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 00:16:14 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:16:14 > git --version # timeout=10 00:16:14 > git --version # 'git version 2.17.1' 00:16:14 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:18 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:16:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:18 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:16:18 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:16:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/967/head:refs/remotes/origin/PR-967 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:16:19 Merging remotes/origin/main commit 1d599202cd64a06a276f3b3191668ff2dfc96df6 into PR head commit 78af7e0c20431cf36dc93ef31ba5d384daa2279e 00:16:19 Merge succeeded, producing 78af7e0c20431cf36dc93ef31ba5d384daa2279e 00:16:19 Checking out Revision 78af7e0c20431cf36dc93ef31ba5d384daa2279e (PR-967) 00:16:19 > git config core.sparsecheckout # timeout=10 00:16:19 > git checkout -f 78af7e0c20431cf36dc93ef31ba5d384daa2279e # timeout=10 00:16:19 > git remote # timeout=10 00:16:19 > git config --get remote.origin.url # timeout=10 00:16:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:19 > git merge 1d599202cd64a06a276f3b3191668ff2dfc96df6 # timeout=10 00:16:19 > git rev-parse HEAD^{commit} # timeout=10 00:16:19 > git config core.sparsecheckout # timeout=10 00:16:19 > git checkout -f 78af7e0c20431cf36dc93ef31ba5d384daa2279e # timeout=10 00:16:24 Commit message: "refactor(triggers): Normalize Orchestration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:16:25 ========================================================= 00:16:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:16:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:16:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:16:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:16:28 bbf911997326: Pulling fs layer 00:16:28 58ec367f63d7: Pulling fs layer 00:16:28 1b4a6ffa7d45: Pulling fs layer 00:16:28 fc5181fea5dc: Pulling fs layer 00:16:28 9c418107303f: Pulling fs layer 00:16:28 284eca6f2348: Pulling fs layer 00:16:28 842844d905b1: Pulling fs layer 00:16:28 901a3a57568e: Pulling fs layer 00:16:28 fc5181fea5dc: Waiting 00:16:28 842844d905b1: Waiting 00:16:28 9c418107303f: Waiting 00:16:28 901a3a57568e: Waiting 00:16:28 284eca6f2348: Waiting 00:16:28 1b4a6ffa7d45: Download complete 00:16:28 58ec367f63d7: Download complete 00:16:28 9c418107303f: Download complete 00:16:28 284eca6f2348: Verifying Checksum 00:16:28 284eca6f2348: Download complete 00:16:28 842844d905b1: Download complete 00:16:28 bbf911997326: Verifying Checksum 00:16:28 bbf911997326: Download complete 00:16:29 bbf911997326: Pull complete 00:16:30 58ec367f63d7: Pull complete 00:16:30 1b4a6ffa7d45: Pull complete 00:16:30 901a3a57568e: Verifying Checksum 00:16:30 901a3a57568e: Download complete 00:16:31 fc5181fea5dc: Verifying Checksum 00:16:31 fc5181fea5dc: Download complete 00:16:41 fc5181fea5dc: Pull complete 00:16:41 9c418107303f: Pull complete 00:16:42 284eca6f2348: Pull complete 00:16:42 842844d905b1: Pull complete 00:16:49 901a3a57568e: Pull complete 00:16:49 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 00:16:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:16:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 00:16:49 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 00:16:49 + docker inspect -f . ci-base-image-arm64 00:16:49 . [Pipeline] withDockerContainer 00:16:50 prd-ubuntu18.04-docker-arm64-4c-16g-518 does not seem to be running inside a container 00:16:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:16:58 $ docker top 4de18ad6b4e8d40ae83df68bd433383c4742ebf8470a55e3b0c188c027ce98c6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:59 + go version 00:16:59 go version go1.16.8 linux/arm64 [Pipeline] } 00:16:59 $ docker stop --time=1 4de18ad6b4e8d40ae83df68bd433383c4742ebf8470a55e3b0c188c027ce98c6 00:17:01 $ docker rm -f 4de18ad6b4e8d40ae83df68bd433383c4742ebf8470a55e3b0c188c027ce98c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:02 + docker inspect -f . ci-base-image-arm64 00:17:02 . [Pipeline] withDockerContainer 00:17:02 prd-ubuntu18.04-docker-arm64-4c-16g-518 does not seem to be running inside a container 00:17:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:17:03 $ docker top 03c8ae45913e81b021d595f32cdca7318541cd8f4f90aa8d8c8175a88bb52348 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:17:04 + make test 00:17:04 make -C ./app-service-template build 00:17:04 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:17:04 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 00:17:06 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 00:17:06 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 00:17:06 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 00:17:06 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 00:17:06 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 00:17:06 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:17:06 go: downloading github.com/gorilla/mux v1.8.0 00:17:06 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:17:06 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 00:17:06 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 00:17:06 go: downloading github.com/google/uuid v1.3.0 00:17:06 go: downloading github.com/go-kit/kit v0.9.0 00:17:06 go: downloading github.com/go-playground/validator/v10 v10.6.1 00:17:06 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:17:06 go: downloading github.com/pelletier/go-toml v1.9.2 00:17:06 go: downloading github.com/mitchellh/copystructure v1.0.0 00:17:06 go: downloading github.com/hashicorp/errwrap v1.0.0 00:17:06 go: downloading github.com/gorilla/websocket v1.4.2 00:17:06 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 00:17:06 go: downloading github.com/hashicorp/consul/api v1.8.1 00:17:07 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:17:07 go: downloading github.com/x448/float16 v0.8.4 00:17:07 go: downloading github.com/go-playground/universal-translator v0.17.0 00:17:07 go: downloading github.com/leodido/go-urn v1.2.0 00:17:07 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 00:17:07 go: downloading golang.org/x/text v0.3.2 00:17:07 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:17:07 go: downloading github.com/go-logfmt/logfmt v0.4.0 00:17:07 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:17:07 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:17:07 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:17:07 go: downloading github.com/pebbe/zmq4 v1.2.7 00:17:08 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:17:08 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:17:08 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:17:08 go: downloading github.com/hashicorp/serf v0.9.5 00:17:08 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:17:08 go: downloading github.com/go-playground/locales v0.13.0 00:17:08 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:17:08 go: downloading github.com/fatih/color v1.9.0 00:17:08 go: downloading github.com/mattn/go-isatty v0.0.12 00:17:08 go: downloading github.com/mattn/go-colorable v0.1.6 00:17:08 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 00:17:08 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:17:08 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:17:08 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:17:48 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:17:48 make -C ./app-service-template test 00:17:48 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:17:48 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:17:48 go: downloading github.com/stretchr/testify v1.7.0 00:17:48 go: downloading github.com/pmezard/go-difflib v1.0.0 00:17:48 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 00:17:48 go: downloading github.com/stretchr/objx v0.1.0 00:17:48 go: downloading github.com/davecgh/go-spew v1.1.1 00:18:20 ok new-app-service 0.048s coverage: 48.1% of statements 00:18:20 ? new-app-service/config [no test files] 00:18:20 ok new-app-service/functions 0.037s 00:18:20 CGO_ENABLED=1 go vet ./... 00:18:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:18:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:18:47 ./bin/test-attribution-txt.sh 00:18:47 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:18:47 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:18:47 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:18:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:18:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:18:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.115s coverage: 67.1% of statements 00:18:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.063s coverage: 93.7% of statements 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:18:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.071s coverage: 61.8% of statements 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:18:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.087s 00:18:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.132s coverage: 75.7% of statements 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:18:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.031s coverage: 97.3% of statements 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 00:18:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.061s coverage: 97.4% of statements 00:18:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 00:19:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.714s coverage: 80.4% of statements 00:19:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 00:19:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 00:19:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.067s coverage: 34.2% of statements 00:19:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 00:19:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.035s coverage: 12.5% of statements 00:19:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.102s coverage: 27.3% of statements 00:19:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:19:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:19:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.045s coverage: 51.4% of statements 00:19:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.105s coverage: 77.3% of statements 00:19:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.035s coverage: 94.4% of statements 00:19:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:19:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:19:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 00:19:39 $ docker stop --time=1 03c8ae45913e81b021d595f32cdca7318541cd8f4f90aa8d8c8175a88bb52348 00:19:41 $ docker rm -f 03c8ae45913e81b021d595f32cdca7318541cd8f4f90aa8d8c8175a88bb52348 [Pipeline] // withDockerContainer [Pipeline] sh 00:19:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:19:44 Warning: overwriting stash ‘coverage-report’ 00:19:45 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:19:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:46 00:19:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:19:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:46 arm64: Pulling from edgex-lftools-log-publisher 00:19:46 448f6bf000e3: Pulling fs layer 00:19:46 f757da607395: Pulling fs layer 00:19:46 05883995daec: Pulling fs layer 00:19:46 8603b9c90790: Pulling fs layer 00:19:46 1560dd03e051: Pulling fs layer 00:19:46 27f5ce0e4adf: Pulling fs layer 00:19:46 c2d8d7efcc4b: Pulling fs layer 00:19:46 8603b9c90790: Waiting 00:19:46 1560dd03e051: Waiting 00:19:46 c2d8d7efcc4b: Waiting 00:19:46 27f5ce0e4adf: Waiting 00:19:47 f757da607395: Verifying Checksum 00:19:47 f757da607395: Download complete 00:19:47 8603b9c90790: Verifying Checksum 00:19:47 8603b9c90790: Download complete 00:19:47 05883995daec: Verifying Checksum 00:19:47 05883995daec: Download complete 00:19:47 27f5ce0e4adf: Verifying Checksum 00:19:47 27f5ce0e4adf: Download complete 00:19:47 1560dd03e051: Verifying Checksum 00:19:47 1560dd03e051: Download complete 00:19:47 448f6bf000e3: Download complete 00:19:51 c2d8d7efcc4b: Verifying Checksum 00:19:51 c2d8d7efcc4b: Download complete 00:19:51 448f6bf000e3: Pull complete 00:19:52 f757da607395: Pull complete 00:19:54 05883995daec: Pull complete 00:19:54 8603b9c90790: Pull complete 00:19:55 1560dd03e051: Pull complete 00:19:55 27f5ce0e4adf: Pull complete 00:20:10 c2d8d7efcc4b: Pull complete 00:20:10 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:20:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:20:10 prd-ubuntu18.04-docker-arm64-4c-16g-518 does not seem to be running inside a container 00:20:10 $ 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/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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:arm64 cat 00:20:17 $ docker top ad44d1f3ac9447b3d0ceaa3e58a0e1845501ea84d6c64c059f0893c826295dd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:20:18 ---> job-cost.sh 00:20:18 lf-activate-venv: SKIPPING 00:20:18 INFO: No Stack... 00:20:31 INFO: Retrieving Pricing Info for: v3-standard-4 00:20:31 INFO: Archiving Costs [Pipeline] sh 00:20:31 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 00:20:31 + cut -d, -f6 [Pipeline] lock 00:20:31 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-2-stack-cost] 00:20:31 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-2-stack-cost] did not exist. Created. 00:20:31 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:20:32 /w/workspace/app-functions-sdk-go/2@tmp/durable-653feb68/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-653feb68/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:20:33 + echo total: 0.10999999940395355 [Pipeline] stash 00:20:33 Warning: overwriting stash ‘stack-cost’ 00:20:33 Stashed 1 file(s) [Pipeline] } 00:20:33 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-967-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:20:33 $ docker stop --time=1 ad44d1f3ac9447b3d0ceaa3e58a0e1845501ea84d6c64c059f0893c826295dd3 00:20:35 $ docker rm -f ad44d1f3ac9447b3d0ceaa3e58a0e1845501ea84d6c64c059f0893c826295dd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 00:20:36 provisioning config files... 00:20:36 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/config3961979091956257236tmp [Pipeline] { [Pipeline] sh 00:20:36 + set +x 00:20:36 + curl -s https://codecov.io/bash 00:20:36 + bash -s -- 00:20:36 00:20:36 _____ _ 00:20:36 / ____| | | 00:20:36 | | ___ __| | ___ ___ _____ __ 00:20:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:20:36 | |___| (_) | (_| | __/ (_| (_) \ V / 00:20:36 \_____\___/ \__,_|\___|\___\___/ \_/ 00:20:36 Bash-1.0.6 00:20:36 00:20:36 00:20:36 ==> git version 2.24.4 found 00:20:36 ==> 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 00:20:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:20:36 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:20:36 ==> Jenkins CI detected. 00:20:36 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-967 00:20:36 project root: . 00:20:36 --> token set from env 00:20:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:20:36 ==> Running gcov in . (disable via -X gcov) 00:20:36 ==> Python coveragepy not found 00:20:36 ==> Searching for coverage reports in: 00:20:36 + . 00:20:36 -> Found 2 reports 00:20:36 ==> Detecting git/mercurial file structure 00:20:36 ==> Reading reports 00:20:36 + ./app-service-template/coverage.out bytes=1219 00:20:36 + ./coverage.out bytes=106034 00:20:36 ==> Appending adjustments 00:20:36 https://docs.codecov.io/docs/fixing-reports 00:20:36 + Found adjustments 00:20:36 ==> Gzipping contents 00:20:36 20K /tmp/codecov.X8vEZD.gz 00:20:36 ==> Uploading reports 00:20:36 url: https://codecov.io 00:20:36 query: branch=PR-967&commit=78af7e0c20431cf36dc93ef31ba5d384daa2279e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-967%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=967&job=&cmd_args= 00:20:36 -> Pinging Codecov 00:20:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-967&commit=78af7e0c20431cf36dc93ef31ba5d384daa2279e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-967%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=967&job=&cmd_args= 00:20:37 -> Uploading to 00:20:37 https://storage.googleapis.com/codecov/v4/raw/2021-10-12/3D8B5DFFC46A037C893635FACE044666/78af7e0c20431cf36dc93ef31ba5d384daa2279e/3923c79b-b526-4e1e-9dd0-166a24c8eb29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211012T002037Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0db5703fd8d08727a0c4e0dbde97d71305a12558ad78d713dbaa296518806850 00:20:37 % Total % Received % Xferd Average Speed Time Time Time Current 00:20:37 Dload Upload Total Spent Left Speed 00:20:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18321 0 0 100 18321 0 59085 --:--:-- --:--:-- --:--:-- 59100 100 18321 0 0 100 18321 0 59058 --:--:-- --:--:-- --:--:-- 58909 00:20:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/78af7e0c20431cf36dc93ef31ba5d384daa2279e [Pipeline] } 00:20:37 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] sh 00:20:38 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-967/archives ']' [Pipeline] libraryResource [Pipeline] sh 00:20:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:20:39 ---> package-listing.sh 00:20:39 ++ facter osfamily 00:20:39 ++ tr '[:upper:]' '[:lower:]' 00:20:40 + OS_FAMILY=redhat 00:20:40 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-967 00:20:40 + START_PACKAGES=/tmp/packages_start.txt 00:20:40 + END_PACKAGES=/tmp/packages_end.txt 00:20:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:20:40 + PACKAGES=/tmp/packages_start.txt 00:20:40 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-967 ']' 00:20:40 + PACKAGES=/tmp/packages_end.txt 00:20:40 + case "${OS_FAMILY}" in 00:20:40 + rpm -qa 00:20:40 + sort 00:20:40 + '[' -f /tmp/packages_start.txt ']' 00:20:40 + '[' -f /tmp/packages_end.txt ']' 00:20:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:20:40 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-967 ']' 00:20:40 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-967/archives/ 00:20:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-967/archives/ [Pipeline] echo 00:20:40 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-967/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:20:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:20:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:20:41 00:20:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:20:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:20:41 latest: Pulling from edgex-lftools-log-publisher 00:20:41 b4d181a07f80: Pulling fs layer 00:20:41 a1111a8f2ec3: Pulling fs layer 00:20:41 ed53099fbce6: Pulling fs layer 00:20:41 dc539afda2c1: Pulling fs layer 00:20:41 77bc0d833cb6: Pulling fs layer 00:20:41 9065ff56babe: Pulling fs layer 00:20:41 d287ab97295c: Pulling fs layer 00:20:41 77bc0d833cb6: Waiting 00:20:41 9065ff56babe: Waiting 00:20:41 d287ab97295c: Waiting 00:20:41 dc539afda2c1: Waiting 00:20:41 a1111a8f2ec3: Verifying Checksum 00:20:41 a1111a8f2ec3: Download complete 00:20:41 dc539afda2c1: Verifying Checksum 00:20:41 dc539afda2c1: Download complete 00:20:41 ed53099fbce6: Verifying Checksum 00:20:41 ed53099fbce6: Download complete 00:20:42 9065ff56babe: Verifying Checksum 00:20:42 9065ff56babe: Download complete 00:20:42 77bc0d833cb6: Verifying Checksum 00:20:42 77bc0d833cb6: Download complete 00:20:42 b4d181a07f80: Verifying Checksum 00:20:42 b4d181a07f80: Download complete 00:20:42 d287ab97295c: Verifying Checksum 00:20:42 d287ab97295c: Download complete 00:20:43 b4d181a07f80: Pull complete 00:20:43 a1111a8f2ec3: Pull complete 00:20:44 ed53099fbce6: Pull complete 00:20:44 dc539afda2c1: Pull complete 00:20:44 77bc0d833cb6: Pull complete 00:20:44 9065ff56babe: Pull complete 00:20:49 d287ab97295c: Pull complete 00:20:49 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:20:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:20:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:20:49 prd-centos7-docker-4c-2g-512 does not seem to be running inside a container 00:20:49 $ 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-967/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-967 -v /w/workspace/ndry_app-functions-sdk-go_PR-967:/w/workspace/ndry_app-functions-sdk-go_PR-967:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-967@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-967@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:10003/edgex-lftools-log-publisher:latest cat 00:20:52 $ docker top 746dcbf61e7fa910c8eab239d6058ed0a04c30f18cc545177d43a287e534ef6d -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:52 + touch /tmp/pre-build-complete [Pipeline] sh 00:20:52 + mkdir -p /var/log/sysstat [Pipeline] sh 00:20:53 + ls /var/log/sa-host 00:20:53 + sadf -c /var/log/sa-host/sa12 00:20:53 file_magic: OK 00:20:53 HZ: Using current value: 100 00:20:53 file_header: OK 00:20:53 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 00:20:53 Statistics: 00:20:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:20:53 File successfully converted to sysstat format version 12.0.3 00:20:53 + sadf -c /var/log/sa-host/sa30 00:20:53 file_magic: OK 00:20:53 HZ: Using current value: 100 00:20:53 file_header: OK 00:20:53 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 00:20:53 Statistics: 00:20:53 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:20:53 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:20:53 provisioning config files... 00:20:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-967@tmp/config5987697273881261754tmp [Pipeline] { [Pipeline] echo 00:20:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:20:53 ---> create-netrc.sh [Pipeline] } 00:20:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:20:54 ---> python-tools-install.sh [Pipeline] echo 00:20:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:20:54 ---> sudo-logs.sh 00:20:54 Archiving 'sudo' log.. 00:20:54 sudo: unable to resolve host prd-centos7-docker-4c-2g-512.novalocal: Name or service not known 00:20:54 sudo: unable to resolve host prd-centos7-docker-4c-2g-512.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:20:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:20:54 ---> job-cost.sh 00:20:54 lf-activate-venv: SKIPPING 00:20:54 DEBUG: total: 0.10999999940395355 00:20:54 INFO: Retrieving Stack Cost... 00:20:55 INFO: Retrieving Pricing Info for: v3-standard-2 00:20:55 INFO: Archiving Costs [Pipeline] echo 00:20:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:20:55 ---> logs-deploy.sh 00:20:55 lf-activate-venv: SKIPPING 00:20:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-967/2 00:20:55 INFO: archiving workspace using pattern(s): 00:20:56 Archives upload complete. 00:20:56 INFO: archiving logs to Nexus 00:20:57 ---> uname -a: 00:20:57 Linux prd-centos7-docker-4c-2g-512.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 00:20:57 00:20:57 00:20:57 ---> lscpu: 00:20:57 Architecture: x86_64 00:20:57 CPU op-mode(s): 32-bit, 64-bit 00:20:57 Byte Order: Little Endian 00:20:57 Address sizes: 40 bits physical, 48 bits virtual 00:20:57 CPU(s): 2 00:20:57 On-line CPU(s) list: 0,1 00:20:57 Thread(s) per core: 1 00:20:57 Core(s) per socket: 1 00:20:57 Socket(s): 2 00:20:57 NUMA node(s): 1 00:20:57 Vendor ID: AuthenticAMD 00:20:57 CPU family: 23 00:20:57 Model: 49 00:20:57 Model name: AMD EPYC-Rome Processor 00:20:57 Stepping: 0 00:20:57 CPU MHz: 2800.000 00:20:57 BogoMIPS: 5600.00 00:20:57 Virtualization: AMD-V 00:20:57 Hypervisor vendor: KVM 00:20:57 Virtualization type: full 00:20:57 L1d cache: 32K 00:20:57 L1i cache: 32K 00:20:57 L2 cache: 512K 00:20:57 L3 cache: 16384K 00:20:57 NUMA node0 CPU(s): 0,1 00:20:57 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 00:20:57 00:20:57 00:20:57 ---> nproc: 00:20:57 2 00:20:57 00:20:57 00:20:57 ---> df -h: 00:20:57 Filesystem Size Used Avail Use% Mounted on 00:20:57 overlay 40G 7.7G 33G 20% / 00:20:57 tmpfs 64M 0 64M 0% /dev 00:20:57 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 00:20:57 shm 64M 0 64M 0% /dev/shm 00:20:57 /dev/vda1 40G 7.7G 33G 20% /facter-os 00:20:57 00:20:57 00:20:57 ---> sar -b -r -n DEV: 00:20:57 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/12/21 _x86_64_ (2 CPU) 00:20:57 00:20:57 00:08:12 LINUX RESTART (2 CPU) 00:20:57 00:20:57 00:09:01 tps rtps wtps bread/s bwrtn/s 00:20:57 00:10:01 7.68 0.35 7.33 30.77 1396.84 00:20:57 00:11:01 0.53 0.00 0.53 0.00 9.21 00:20:57 00:12:01 0.13 0.00 0.13 0.00 2.00 00:20:57 00:13:01 0.22 0.00 0.22 0.00 3.60 00:20:57 00:14:01 0.25 0.00 0.25 0.00 2.63 00:20:57 00:15:01 0.23 0.00 0.23 0.00 3.76 00:20:57 00:16:01 0.30 0.00 0.30 0.00 5.00 00:20:57 00:17:01 0.22 0.00 0.22 0.00 3.25 00:20:57 00:18:01 0.28 0.00 0.28 0.00 3.46 00:20:57 00:19:02 0.18 0.00 0.18 0.00 2.97 00:20:57 00:20:01 0.29 0.00 0.29 0.00 3.52 00:20:57 Average: 0.94 0.03 0.91 2.80 130.80 00:20:57 00:20:57 00:09:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:20:57 00:10:01 5659876 0 614584 7.67 2620 1731860 1227036 13.55 574508 1539456 20 00:20:57 00:11:01 5663904 0 610548 7.62 2620 1731868 1163072 12.84 571780 1539420 20 00:20:57 00:12:01 5660184 0 614268 7.67 2620 1731868 1163312 12.84 575808 1539772 8 00:20:57 00:13:01 5659868 0 614576 7.67 2620 1731876 1163264 12.84 575548 1539772 8 00:20:57 00:14:01 5664040 0 610400 7.62 2620 1731880 1163324 12.84 570880 1540700 20 00:20:57 00:15:01 5663456 0 610980 7.63 2620 1731884 1163408 12.84 571468 1540700 20 00:20:57 00:16:01 5664344 0 610088 7.62 2620 1731888 1163072 12.84 570084 1540812 20 00:20:57 00:17:01 5654616 0 619812 7.74 2620 1731892 1163324 12.84 579848 1540812 12 00:20:57 00:18:01 5655848 0 618572 7.72 2620 1731900 1163072 12.84 580020 1539420 20 00:20:57 00:19:02 5654536 0 619880 7.74 2620 1731904 1163404 12.84 581632 1539420 16 00:20:57 00:20:01 5646964 0 627448 7.83 2620 1731908 1163200 12.84 588632 1539540 12 00:20:57 Average: 5658876 0 615560 7.69 2620 1731884 1169044 12.91 576383 1539984 16 00:20:57 00:20:57 00:09:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:20:57 00:10:01 eth0 57.95 81.27 331.07 14.17 0.00 0.00 0.00 0.00 00:20:57 00:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:10:01 docker0 68.18 37.50 7.20 311.05 0.00 0.00 0.00 0.00 00:20:57 00:11:01 eth0 1.10 0.08 0.11 0.01 0.00 0.00 0.00 0.00 00:20:57 00:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:12:01 eth0 0.75 0.23 0.29 0.19 0.00 0.00 0.00 0.00 00:20:57 00:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:13:01 eth0 0.80 0.17 0.17 0.07 0.00 0.00 0.00 0.00 00:20:57 00:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:14:01 eth0 2.23 0.47 0.54 0.27 0.00 0.00 0.00 0.00 00:20:57 00:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:15:01 eth0 1.63 0.52 0.61 0.39 0.00 0.00 0.00 0.00 00:20:57 00:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:16:01 eth0 0.22 0.07 0.01 0.01 0.00 0.00 0.00 0.00 00:20:57 00:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:17:01 eth0 1.72 0.28 0.38 0.20 0.00 0.00 0.00 0.00 00:20:57 00:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:18:01 eth0 0.58 0.10 0.06 0.01 0.00 0.00 0.00 0.00 00:20:57 00:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:19:02 eth0 1.52 0.88 0.87 0.63 0.00 0.00 0.00 0.00 00:20:57 00:19:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:19:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:20:01 eth0 0.25 0.17 0.07 0.04 0.00 0.00 0.00 0.00 00:20:57 00:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 00:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 Average: eth0 6.26 7.67 30.44 1.46 0.00 0.00 0.00 0.00 00:20:57 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:57 Average: docker0 6.21 3.42 0.66 28.33 0.00 0.00 0.00 0.00 00:20:57 00:20:57 00:20:57 ---> sar -P ALL: 00:20:57 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/12/21 _x86_64_ (2 CPU) 00:20:57 00:20:57 00:08:12 LINUX RESTART (2 CPU) 00:20:57 00:20:57 00:09:01 CPU %user %nice %system %iowait %steal %idle 00:20:57 00:10:01 all 2.25 0.00 0.65 0.08 0.03 97.00 00:20:57 00:10:01 0 1.69 0.00 0.69 0.15 0.03 97.43 00:20:57 00:10:01 1 2.80 0.00 0.62 0.00 0.02 96.56 00:20:57 00:11:01 all 0.23 0.00 0.05 0.00 0.02 99.70 00:20:57 00:11:01 0 0.37 0.00 0.03 0.00 0.00 99.60 00:20:57 00:11:01 1 0.10 0.00 0.07 0.00 0.03 99.80 00:20:57 00:12:01 all 0.17 0.00 0.03 0.00 0.03 99.77 00:20:57 00:12:01 0 0.30 0.00 0.02 0.00 0.03 99.65 00:20:57 00:12:01 1 0.03 0.00 0.05 0.00 0.02 99.90 00:20:57 00:13:01 all 0.22 0.00 0.03 0.00 0.02 99.73 00:20:57 00:13:01 0 0.40 0.00 0.03 0.00 0.02 99.55 00:20:57 00:13:01 1 0.03 0.00 0.03 0.00 0.02 99.92 00:20:57 00:14:01 all 0.23 0.00 0.04 0.00 0.03 99.71 00:20:57 00:14:01 0 0.37 0.00 0.03 0.00 0.02 99.58 00:20:57 00:14:01 1 0.08 0.00 0.05 0.00 0.03 99.83 00:20:57 00:15:01 all 0.21 0.00 0.05 0.00 0.01 99.73 00:20:57 00:15:01 0 0.33 0.00 0.02 0.00 0.00 99.65 00:20:57 00:15:01 1 0.08 0.00 0.08 0.00 0.02 99.82 00:20:57 00:16:01 all 0.21 0.00 0.08 0.00 0.02 99.70 00:20:57 00:16:01 0 0.37 0.00 0.07 0.00 0.02 99.55 00:20:57 00:16:01 1 0.05 0.00 0.08 0.00 0.02 99.85 00:20:57 00:17:01 all 0.27 0.00 0.04 0.00 0.02 99.67 00:20:57 00:17:01 0 0.15 0.00 0.05 0.00 0.02 99.78 00:20:57 00:17:01 1 0.38 0.00 0.03 0.00 0.02 99.57 00:20:57 00:18:01 all 0.26 0.00 0.03 0.00 0.02 99.69 00:20:57 00:18:01 0 0.05 0.00 0.03 0.00 0.02 99.90 00:20:57 00:18:01 1 0.47 0.00 0.03 0.00 0.02 99.48 00:20:57 00:19:02 all 0.21 0.00 0.05 0.00 0.01 99.73 00:20:57 00:19:02 0 0.10 0.00 0.05 0.00 0.02 99.83 00:20:57 00:19:02 1 0.32 0.00 0.05 0.00 0.00 99.63 00:20:57 00:20:01 all 0.23 0.00 0.04 0.00 0.03 99.70 00:20:57 00:20:01 0 0.08 0.00 0.05 0.00 0.03 99.83 00:20:57 00:20:01 1 0.37 0.00 0.03 0.00 0.02 99.58 00:20:57 00:20:57 Average: CPU %user %nice %system %iowait %steal %idle 00:20:57 Average: all 0.41 0.00 0.10 0.01 0.02 99.47 00:20:57 Average: 0 0.38 0.00 0.10 0.01 0.02 99.49 00:20:57 Average: 1 0.43 0.00 0.10 0.00 0.02 99.45 00:20:57 00:20:57 00:20:57