Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3697d040d6e871f9c915a9724719d570c095482d 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-ssh721443391690986233.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-ssh3899129817546753642.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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5704922808515330030.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-ssh7716295456777190099.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9174518821368297203.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 ‘prd-centos7-blackbox-4c-2g-223’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-477’ is offline ‘prd-centos7-docker-4c-2g-700’ is offline ‘prd-centos7-docker-4c-2g-703’ is offline ‘prd-ubuntu18.04-docker-8c-8g-697’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-706 in /w/workspace/oundry_app-functions-sdk-go_main [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/oundry_app-functions-sdk-go_main # 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/oundry_app-functions-sdk-go_main@tmp/jenkins-gitclient-ssh5965217950834849979.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 3697d040d6e871f9c915a9724719d570c095482d (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 3697d040d6e871f9c915a9724719d570c095482d # timeout=10 Commit message: "fix(context): update AppFunctionContext mock (#966)" > git rev-list --no-walk 1d599202cd64a06a276f3b3191668ff2dfc96df6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:46:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:46:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:46:58 ========================================================= 14:46:58 EdgeX Global Pipelines Version Info 14:46:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:46:59 ------------------- 14:46:59 stable info: 14:46:59 ------------------- 14:46:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:46:59 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 14:46:59 Message: update stable to v1.0.209 14:47:00 ------------------- 14:47:00 experimental info: 14:47:00 ------------------- 14:47:00 Commited By: **** collab-it+edgex@linuxfoundation.org 14:47:00 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 14:47:00 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3697d040d6e871f9c915a9724719d570c095482d [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3697d04 [Pipeline] echo 14:47:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:47:01 + git log --format=format:%s -1 3697d040d6e871f9c915a9724719d570c095482d [Pipeline] echo 14:47:01 GIT_COMMIT: 3697d040d6e871f9c915a9724719d570c095482d, Commit Message: fix(context): update AppFunctionContext mock (#966) [Pipeline] echo 14:47:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:47:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:47:01 14:47:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:47:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:47:01 latest: Pulling from edgex-devops/git-semver 14:47:01 a0d0a0d46f8b: Pulling fs layer 14:47:01 3e5f54012d9b: Pulling fs layer 14:47:01 4c7163046ea9: Pulling fs layer 14:47:01 0c2d73faf560: Pulling fs layer 14:47:01 0c2d73faf560: Waiting 14:47:01 3e5f54012d9b: Verifying Checksum 14:47:01 3e5f54012d9b: Download complete 14:47:01 a0d0a0d46f8b: Verifying Checksum 14:47:01 a0d0a0d46f8b: Download complete 14:47:02 0c2d73faf560: Verifying Checksum 14:47:02 0c2d73faf560: Download complete 14:47:02 4c7163046ea9: Verifying Checksum 14:47:02 4c7163046ea9: Download complete 14:47:02 a0d0a0d46f8b: Pull complete 14:47:02 3e5f54012d9b: Pull complete 14:47:02 4c7163046ea9: Pull complete 14:47:02 0c2d73faf560: Pull complete 14:47:02 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:47:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:47:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:47:02 prd-centos7-docker-4c-2g-706 does not seem to be running inside a container 14:47:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:47:03 $ docker top fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:47:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:47:03 [ssh-agent] Looking for ssh-agent implementation... 14:47:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:47:03 $ docker exec fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 ssh-agent 14:47:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcHkbdA/agent.13 14:47:03 SSH_AGENT_PID=19 14:47:03 Running ssh-add (command line suppressed) 14:47:03 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6192081042583013023.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6192081042583013023.key) 14:47:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:47:04 + git tag --points-at HEAD [Pipeline] } 14:47:04 $ docker exec --env ******** --env ******** fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 ssh-agent -k 14:47:04 unset SSH_AUTH_SOCK; 14:47:04 unset SSH_AGENT_PID; 14:47:04 echo Agent pid 19 killed; 14:47:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:47:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:47:04 [ssh-agent] Looking for ssh-agent implementation... 14:47:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:47:04 $ docker exec fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 ssh-agent 14:47:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJLeaIE/agent.54 14:47:04 SSH_AGENT_PID=61 14:47:04 Running ssh-add (command line suppressed) 14:47:04 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7929942022630756864.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7929942022630756864.key) 14:47:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:47:05 + git semver init 14:47:05 # -> Open(): unable to determine branch for HEAD 14:47:05 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 14:47:05 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 14:47:05 # $SEMVER_REMOTE_NAME = origin 14:47:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:47:05 # $SEMVER_USER_NAME = edgex-jenkins 14:47:05 # $SEMVER_BRANCH = main 14:47:05 # $SEMVER_TEMP = /tmp/semver-066256814 14:47:05 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 14:47:07 # '/tmp/semver-066256814' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' 14:47:07 # -> Force: false 14:47:07 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 14:47:07 $ docker exec --env ******** --env ******** fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 ssh-agent -k 14:47:07 unset SSH_AUTH_SOCK; 14:47:07 unset SSH_AGENT_PID; 14:47:07 echo Agent pid 61 killed; 14:47:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:47:08 + git semver [Pipeline] } 14:47:08 $ docker stop --time=1 fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 14:47:09 $ docker rm -f fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 [Pipeline] // withDockerContainer [Pipeline] sh 14:47:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:47:10 Stashed 1 file(s) [Pipeline] echo 14:47:10 [edgeXSemver]: initialized semver on version 2.0.2-dev.23 [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 14:47:25 Still waiting to schedule task 14:47:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:47:25 Still waiting to schedule task 14:47:25 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 14:49:13 Running on prd-centos7-docker-4c-2g-712 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 14:49:13 Running in /w/workspace/app-functions-sdk-go/36 [Pipeline] { [Pipeline] checkout 14:49:13 The recommended git tool is: git 14:49:15 using credential edgex-jenkins-ssh 14:49:15 Cloning the remote Git repository 14:49:14 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 14:49:14 > git init /w/workspace/app-functions-sdk-go/36 # timeout=10 14:49:14 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 14:49:14 > git --version # timeout=10 14:49:14 > git --version # 'git version 2.24.4' 14:49:14 using GIT_SSH to set credentials SSH Credentials for GitHub 14:49:14 [INFO] Currently running in a labeled security context 14:49:14 [INFO] Currently SELinux is 'enforcing' on the host 14:49:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/36@tmp/jenkins-gitclient-ssh1096854435561167756.key 14:49:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:49:17 Avoid second fetch 14:49:17 Checking out Revision 3697d040d6e871f9c915a9724719d570c095482d (main) 14:49:16 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 14:49:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:49:16 > git config core.sparsecheckout # timeout=10 14:49:16 > git checkout -f 3697d040d6e871f9c915a9724719d570c095482d # timeout=10 14:49:20 Commit message: "fix(context): update AppFunctionContext mock (#966)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:49:21 ========================================================= 14:49:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:49:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 14:49:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:49:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 14:49:21 4e9f2cdf4387: Pulling fs layer 14:49:21 57d31006c564: Pulling fs layer 14:49:21 bd5ccded8296: Pulling fs layer 14:49:21 304dd3a0f381: Pulling fs layer 14:49:21 d37cda54a23b: Pulling fs layer 14:49:21 bae75c0f2455: Pulling fs layer 14:49:21 806579b3d29a: Pulling fs layer 14:49:21 c77eb801bf70: Pulling fs layer 14:49:21 6d0567d44e1a: Pulling fs layer 14:49:21 304dd3a0f381: Waiting 14:49:21 d37cda54a23b: Waiting 14:49:21 bae75c0f2455: Waiting 14:49:21 806579b3d29a: Waiting 14:49:21 c77eb801bf70: Waiting 14:49:21 6d0567d44e1a: Waiting 14:49:21 bd5ccded8296: Verifying Checksum 14:49:21 bd5ccded8296: Download complete 14:49:21 57d31006c564: Verifying Checksum 14:49:21 57d31006c564: Download complete 14:49:21 d37cda54a23b: Verifying Checksum 14:49:21 d37cda54a23b: Download complete 14:49:21 bae75c0f2455: Verifying Checksum 14:49:21 bae75c0f2455: Download complete 14:49:21 806579b3d29a: Verifying Checksum 14:49:21 806579b3d29a: Download complete 14:49:21 4e9f2cdf4387: Verifying Checksum 14:49:21 4e9f2cdf4387: Download complete 14:49:21 c77eb801bf70: Verifying Checksum 14:49:21 c77eb801bf70: Download complete 14:49:22 4e9f2cdf4387: Pull complete 14:49:22 304dd3a0f381: Verifying Checksum 14:49:22 304dd3a0f381: Download complete 14:49:22 6d0567d44e1a: Verifying Checksum 14:49:22 6d0567d44e1a: Download complete 14:49:22 57d31006c564: Pull complete 14:49:22 bd5ccded8296: Pull complete 14:49:26 304dd3a0f381: Pull complete 14:49:26 d37cda54a23b: Pull complete 14:49:26 bae75c0f2455: Pull complete 14:49:26 806579b3d29a: Pull complete 14:49:26 c77eb801bf70: Pull complete 14:49:28 6d0567d44e1a: Pull complete 14:49:28 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 14:49:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:49:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 14:49:28 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 14:49:29 + docker inspect -f . ci-base-image-x86_64 14:49:29 . [Pipeline] withDockerContainer 14:49:29 prd-centos7-docker-4c-2g-712 does not seem to be running inside a container 14:49:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@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 ******** ci-base-image-x86_64 cat 14:49:31 $ docker top 71f0448415c91a1d714e5cb80180b81b0efa215beb986f49e035382947784259 -eo pid,comm [Pipeline] { [Pipeline] sh 14:49:31 + go version 14:49:31 go version go1.16.8 linux/amd64 [Pipeline] } 14:49:31 $ docker stop --time=1 71f0448415c91a1d714e5cb80180b81b0efa215beb986f49e035382947784259 14:49:33 $ docker rm -f 71f0448415c91a1d714e5cb80180b81b0efa215beb986f49e035382947784259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:49:33 + docker inspect -f . ci-base-image-x86_64 14:49:33 . [Pipeline] withDockerContainer 14:49:33 prd-centos7-docker-4c-2g-712 does not seem to be running inside a container 14:49:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@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 ******** ci-base-image-x86_64 cat 14:49:34 $ docker top a55cc1c93b35076e906ccfdd6a655e5156340d68894ef9a16b36890b6644995a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:49:34 + make test 14:49:34 make -C ./app-service-template build 14:49:34 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/36/app-service-template' 14:49:34 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 14:49:34 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 14:49:34 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 14:49:34 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 14:49:34 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 14:49:34 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 14:49:34 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 14:49:34 go: downloading github.com/go-kit/kit v0.9.0 14:49:34 go: downloading github.com/google/uuid v1.3.0 14:49:34 go: downloading github.com/mitchellh/copystructure v1.0.0 14:49:34 go: downloading github.com/go-playground/validator/v10 v10.6.1 14:49:34 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 14:49:34 go: downloading github.com/gorilla/mux v1.8.0 14:49:34 go: downloading github.com/hashicorp/go-multierror v1.1.1 14:49:34 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 14:49:34 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 14:49:35 go: downloading github.com/gorilla/websocket v1.4.2 14:49:35 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 14:49:35 go: downloading github.com/pelletier/go-toml v1.9.2 14:49:35 go: downloading github.com/hashicorp/consul/api v1.8.1 14:49:35 go: downloading github.com/mitchellh/reflectwalk v1.0.0 14:49:35 go: downloading github.com/go-logfmt/logfmt v0.4.0 14:49:35 go: downloading github.com/x448/float16 v0.8.4 14:49:35 go: downloading github.com/go-playground/universal-translator v0.17.0 14:49:35 go: downloading github.com/leodido/go-urn v1.2.0 14:49:35 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 14:49:35 go: downloading golang.org/x/text v0.3.2 14:49:35 go: downloading github.com/hashicorp/errwrap v1.0.0 14:49:35 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 14:49:35 go: downloading github.com/hashicorp/go-hclog v0.12.0 14:49:35 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 14:49:35 go: downloading github.com/hashicorp/serf v0.9.5 14:49:35 go: downloading github.com/mitchellh/mapstructure v1.1.2 14:49:35 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 14:49:35 go: downloading github.com/go-playground/locales v0.13.0 14:49:36 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:49:36 go: downloading github.com/fatih/color v1.9.0 14:49:36 go: downloading github.com/mattn/go-isatty v0.0.12 14:49:36 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:49:36 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 14:49:36 go: downloading github.com/go-redis/redis/v7 v7.3.0 14:49:36 go: downloading github.com/pebbe/zmq4 v1.2.7 14:49:36 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 14:49:36 go: downloading github.com/mattn/go-colorable v0.1.6 14:49:36 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 14:49:36 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 14:49:36 go: downloading github.com/hashicorp/golang-lru v0.5.0 14:49:46 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/36/app-service-template' 14:49:46 make -C ./app-service-template test 14:49:46 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/36/app-service-template' 14:49:46 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 14:49:46 go: downloading github.com/stretchr/testify v1.7.0 14:49:46 go: downloading github.com/davecgh/go-spew v1.1.1 14:49:46 go: downloading github.com/pmezard/go-difflib v1.0.0 14:49:46 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 14:49:46 go: downloading github.com/stretchr/objx v0.1.0 14:49:55 ok new-app-service 0.014s coverage: 48.1% of statements 14:49:55 ? new-app-service/config [no test files] 14:49:55 ok new-app-service/functions 0.007s 14:49:55 CGO_ENABLED=1 go vet ./... 14:50:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:50:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:50:03 ./bin/test-attribution-txt.sh 14:50:03 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:50:03 go: downloading github.com/mitchellh/go-homedir v1.1.0 14:50:03 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/36/app-service-template' 14:50:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:50:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 14:50:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.016s coverage: 67.5% of statements 14:50:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 14:50:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.014s coverage: 93.7% of statements 14:50:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 14:50:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements 14:50:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 14:50:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.007s 14:50:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.041s coverage: 75.7% of statements 14:50:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 14:50:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 14:50:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 14:50:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 14:50:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 14:50:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 14:50:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.3% of statements 14:50:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 14:50:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements 14:50:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.064s coverage: 77.0% of statements 14:50:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 14:50:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements 14:50:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements 14:50:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 14:50:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 14:50:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements 14:50:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.024s coverage: 77.3% of statements 14:50:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 14:50:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:50:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:50:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 14:50:37 $ docker stop --time=1 a55cc1c93b35076e906ccfdd6a655e5156340d68894ef9a16b36890b6644995a 14:50:38 $ docker rm -f a55cc1c93b35076e906ccfdd6a655e5156340d68894ef9a16b36890b6644995a [Pipeline] // withDockerContainer [Pipeline] sh 14:50:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:50:39 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 14:50:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:50:39 14:50:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:50:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:50:40 latest: Pulling from edgex-lftools-log-publisher 14:50:40 b4d181a07f80: Pulling fs layer 14:50:40 a1111a8f2ec3: Pulling fs layer 14:50:40 ed53099fbce6: Pulling fs layer 14:50:40 dc539afda2c1: Pulling fs layer 14:50:40 77bc0d833cb6: Pulling fs layer 14:50:40 9065ff56babe: Pulling fs layer 14:50:40 d287ab97295c: Pulling fs layer 14:50:40 dc539afda2c1: Waiting 14:50:40 77bc0d833cb6: Waiting 14:50:40 9065ff56babe: Waiting 14:50:40 d287ab97295c: Waiting 14:50:40 a1111a8f2ec3: Verifying Checksum 14:50:40 a1111a8f2ec3: Download complete 14:50:40 dc539afda2c1: Verifying Checksum 14:50:40 dc539afda2c1: Download complete 14:50:40 77bc0d833cb6: Verifying Checksum 14:50:40 77bc0d833cb6: Download complete 14:50:40 ed53099fbce6: Verifying Checksum 14:50:40 ed53099fbce6: Download complete 14:50:40 9065ff56babe: Verifying Checksum 14:50:40 9065ff56babe: Download complete 14:50:40 b4d181a07f80: Verifying Checksum 14:50:40 b4d181a07f80: Download complete 14:50:41 d287ab97295c: Verifying Checksum 14:50:41 d287ab97295c: Download complete 14:50:41 b4d181a07f80: Pull complete 14:50:42 a1111a8f2ec3: Pull complete 14:50:42 ed53099fbce6: Pull complete 14:50:42 dc539afda2c1: Pull complete 14:50:42 77bc0d833cb6: Pull complete 14:50:42 9065ff56babe: Pull complete 14:50:48 d287ab97295c: Pull complete 14:50:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:50:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:50:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:50:48 prd-centos7-docker-4c-2g-712 does not seem to be running inside a container 14:50:48 $ 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/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:50:50 $ docker top 4beccf77f4976db9637ccb5b614c26131e807e04dd39258265d8f57f032a82d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:50:50 ---> job-cost.sh 14:50:50 lf-activate-venv: SKIPPING 14:50:50 INFO: No Stack... 14:51:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-713 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 14:51:03 Running in /w/workspace/app-functions-sdk-go/36 [Pipeline] { [Pipeline] checkout 14:51:03 The recommended git tool is: git 14:51:09 INFO: Retrieving Pricing Info for: v3-standard-2 14:51:09 INFO: Archiving Costs [Pipeline] sh 14:51:09 + cat /w/workspace/app-functions-sdk-go/36/archives/cost.csv 14:51:09 + cut -d, -f6 [Pipeline] lock 14:51:09 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] 14:51:09 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] did not exist. Created. 14:51:09 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:51:09 + echo total: 0.05999999865889549 [Pipeline] stash 14:51:09 Stashed 1 file(s) [Pipeline] } 14:51:09 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } 14:51:09 $ docker stop --time=1 4beccf77f4976db9637ccb5b614c26131e807e04dd39258265d8f57f032a82d6 14:51:09 using credential edgex-jenkins-ssh 14:51:09 Cloning the remote Git repository 14:51:10 $ docker rm -f 4beccf77f4976db9637ccb5b614c26131e807e04dd39258265d8f57f032a82d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 14:51:10 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 14:51:10 > git init /w/workspace/app-functions-sdk-go/36 # timeout=10 14:51:10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 14:51:10 > git --version # timeout=10 14:51:10 > git --version # 'git version 2.17.1' 14:51:10 using GIT_SSH to set credentials SSH Credentials for GitHub 14:51:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // stage [Pipeline] } 14:51:14 Avoid second fetch 14:51:14 Checking out Revision 3697d040d6e871f9c915a9724719d570c095482d (main) 14:51:14 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 14:51:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:51:14 > git config core.sparsecheckout # timeout=10 14:51:14 > git checkout -f 3697d040d6e871f9c915a9724719d570c095482d # timeout=10 14:51:18 Commit message: "fix(context): update AppFunctionContext mock (#966)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:51:19 ========================================================= 14:51:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 14:51:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 14:51:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:51:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:51:21 bbf911997326: Pulling fs layer 14:51:21 58ec367f63d7: Pulling fs layer 14:51:21 1b4a6ffa7d45: Pulling fs layer 14:51:21 fc5181fea5dc: Pulling fs layer 14:51:21 9c418107303f: Pulling fs layer 14:51:21 284eca6f2348: Pulling fs layer 14:51:21 842844d905b1: Pulling fs layer 14:51:21 901a3a57568e: Pulling fs layer 14:51:21 fc5181fea5dc: Waiting 14:51:21 9c418107303f: Waiting 14:51:21 284eca6f2348: Waiting 14:51:21 842844d905b1: Waiting 14:51:21 901a3a57568e: Waiting 14:51:21 1b4a6ffa7d45: Verifying Checksum 14:51:21 1b4a6ffa7d45: Download complete 14:51:21 58ec367f63d7: Verifying Checksum 14:51:21 58ec367f63d7: Download complete 14:51:21 9c418107303f: Verifying Checksum 14:51:21 9c418107303f: Download complete 14:51:21 284eca6f2348: Verifying Checksum 14:51:21 284eca6f2348: Download complete 14:51:21 842844d905b1: Verifying Checksum 14:51:21 842844d905b1: Download complete 14:51:21 bbf911997326: Verifying Checksum 14:51:21 bbf911997326: Download complete 14:51:22 bbf911997326: Pull complete 14:51:23 58ec367f63d7: Pull complete 14:51:23 1b4a6ffa7d45: Pull complete 14:51:23 901a3a57568e: Verifying Checksum 14:51:23 901a3a57568e: Download complete 14:51:24 fc5181fea5dc: Verifying Checksum 14:51:24 fc5181fea5dc: Download complete 14:51:34 fc5181fea5dc: Pull complete 14:51:35 9c418107303f: Pull complete 14:51:35 284eca6f2348: Pull complete 14:51:35 842844d905b1: Pull complete 14:51:41 901a3a57568e: Pull complete 14:51:41 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 14:51:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:51:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 14:51:41 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 14:51:42 + docker inspect -f . ci-base-image-arm64 14:51:42 . [Pipeline] withDockerContainer 14:51:42 prd-ubuntu18.04-docker-arm64-4c-16g-713 does not seem to be running inside a container 14:51:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:51:48 $ docker top dcb92eb802c22a39464e5d36141d6c00c17dd6f7e10873a3f08df0637cee2ee1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:51:49 + go version 14:51:49 go version go1.16.8 linux/arm64 [Pipeline] } 14:51:49 $ docker stop --time=1 dcb92eb802c22a39464e5d36141d6c00c17dd6f7e10873a3f08df0637cee2ee1 14:51:51 $ docker rm -f dcb92eb802c22a39464e5d36141d6c00c17dd6f7e10873a3f08df0637cee2ee1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:51:52 + docker inspect -f . ci-base-image-arm64 14:51:52 . [Pipeline] withDockerContainer 14:51:52 prd-ubuntu18.04-docker-arm64-4c-16g-713 does not seem to be running inside a container 14:51:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:51:54 $ docker top a83eed6be095816fa54eb542b9c91fc06cc0d63c8108f76b64fcc1ee75d2cac9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:51:55 + make test 14:51:55 make -C ./app-service-template build 14:51:55 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/36/app-service-template' 14:51:55 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 14:51:56 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 14:51:56 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 14:51:56 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 14:51:56 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 14:51:56 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 14:51:56 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 14:51:56 go: downloading github.com/gorilla/mux v1.8.0 14:51:56 go: downloading github.com/hashicorp/go-multierror v1.1.1 14:51:57 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 14:51:57 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 14:51:57 go: downloading github.com/go-kit/kit v0.9.0 14:51:57 go: downloading github.com/google/uuid v1.3.0 14:51:57 go: downloading github.com/go-playground/validator/v10 v10.6.1 14:51:57 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 14:51:57 go: downloading github.com/pelletier/go-toml v1.9.2 14:51:57 go: downloading github.com/mitchellh/copystructure v1.0.0 14:51:57 go: downloading github.com/hashicorp/errwrap v1.0.0 14:51:57 go: downloading github.com/gorilla/websocket v1.4.2 14:51:57 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 14:51:57 go: downloading github.com/hashicorp/consul/api v1.8.1 14:51:57 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 14:51:57 go: downloading github.com/x448/float16 v0.8.4 14:51:57 go: downloading github.com/go-playground/universal-translator v0.17.0 14:51:57 go: downloading github.com/leodido/go-urn v1.2.0 14:51:57 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 14:51:57 go: downloading golang.org/x/text v0.3.2 14:51:58 go: downloading github.com/mitchellh/reflectwalk v1.0.0 14:51:58 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:51:58 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 14:51:58 go: downloading github.com/go-logfmt/logfmt v0.4.0 14:51:58 go: downloading github.com/go-redis/redis/v7 v7.3.0 14:51:58 go: downloading github.com/pebbe/zmq4 v1.2.7 14:51:58 go: downloading github.com/go-playground/locales v0.13.0 14:51:58 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 14:51:58 go: downloading github.com/hashicorp/go-hclog v0.12.0 14:51:58 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 14:51:58 go: downloading github.com/hashicorp/serf v0.9.5 14:51:59 go: downloading github.com/mitchellh/mapstructure v1.1.2 14:51:59 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 14:51:59 go: downloading github.com/fatih/color v1.9.0 14:51:59 go: downloading github.com/mattn/go-isatty v0.0.12 14:51:59 go: downloading github.com/mattn/go-colorable v0.1.6 14:51:59 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 14:51:59 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:51:59 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 14:51:59 go: downloading github.com/hashicorp/golang-lru v0.5.0 14:52:38 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/36/app-service-template' 14:52:38 make -C ./app-service-template test 14:52:38 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/36/app-service-template' 14:52:38 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 14:52:38 go: downloading github.com/stretchr/testify v1.7.0 14:52:38 go: downloading github.com/davecgh/go-spew v1.1.1 14:52:38 go: downloading github.com/pmezard/go-difflib v1.0.0 14:52:38 go: downloading github.com/stretchr/objx v0.1.0 14:52:38 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 14:53:11 ok new-app-service 0.044s coverage: 48.1% of statements 14:53:11 ? new-app-service/config [no test files] 14:53:11 ok new-app-service/functions 0.037s 14:53:11 CGO_ENABLED=1 go vet ./... 14:53:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:53:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:53:38 ./bin/test-attribution-txt.sh 14:53:38 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:53:38 go: downloading github.com/mitchellh/go-homedir v1.1.0 14:53:38 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/36/app-service-template' 14:53:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:53:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 14:53:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.195s coverage: 67.5% of statements 14:53:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 14:53:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.118s coverage: 93.7% of statements 14:53:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 14:53:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.071s coverage: 61.8% of statements 14:53:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 14:53:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.035s 14:53:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.124s coverage: 75.7% of statements 14:53:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 14:53:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 14:53:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 14:53:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 14:53:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 14:53:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 14:53:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.046s coverage: 97.3% of statements 14:53:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 14:53:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.136s coverage: 10.5% of statements 14:53:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.158s coverage: 77.0% of statements 14:53:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 14:53:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.035s coverage: 12.5% of statements 14:53:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.088s coverage: 27.3% of statements 14:53:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 14:53:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 14:53:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.039s coverage: 51.4% of statements 14:54:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.110s coverage: 77.3% of statements 14:54:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements 14:54:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:54:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:54:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 14:54:24 $ docker stop --time=1 a83eed6be095816fa54eb542b9c91fc06cc0d63c8108f76b64fcc1ee75d2cac9 14:54:26 $ docker rm -f a83eed6be095816fa54eb542b9c91fc06cc0d63c8108f76b64fcc1ee75d2cac9 [Pipeline] // withDockerContainer [Pipeline] sh 14:54:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:54:28 Warning: overwriting stash ‘coverage-report’ 14:54:29 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 14:54:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:54:30 14:54:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:54:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:54:31 arm64: Pulling from edgex-lftools-log-publisher 14:54:31 448f6bf000e3: Pulling fs layer 14:54:31 f757da607395: Pulling fs layer 14:54:31 05883995daec: Pulling fs layer 14:54:31 8603b9c90790: Pulling fs layer 14:54:31 1560dd03e051: Pulling fs layer 14:54:31 27f5ce0e4adf: Pulling fs layer 14:54:31 c2d8d7efcc4b: Pulling fs layer 14:54:31 8603b9c90790: Waiting 14:54:31 1560dd03e051: Waiting 14:54:31 27f5ce0e4adf: Waiting 14:54:31 c2d8d7efcc4b: Waiting 14:54:31 f757da607395: Verifying Checksum 14:54:31 f757da607395: Download complete 14:54:31 8603b9c90790: Verifying Checksum 14:54:31 8603b9c90790: Download complete 14:54:31 1560dd03e051: Verifying Checksum 14:54:31 1560dd03e051: Download complete 14:54:31 27f5ce0e4adf: Verifying Checksum 14:54:31 27f5ce0e4adf: Download complete 14:54:31 05883995daec: Verifying Checksum 14:54:31 05883995daec: Download complete 14:54:32 448f6bf000e3: Verifying Checksum 14:54:32 448f6bf000e3: Download complete 14:54:34 c2d8d7efcc4b: Verifying Checksum 14:54:34 c2d8d7efcc4b: Download complete 14:54:35 448f6bf000e3: Pull complete 14:54:36 f757da607395: Pull complete 14:54:38 05883995daec: Pull complete 14:54:38 8603b9c90790: Pull complete 14:54:39 1560dd03e051: Pull complete 14:54:39 27f5ce0e4adf: Pull complete 14:54:54 c2d8d7efcc4b: Pull complete 14:54:55 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:54:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:54:55 prd-ubuntu18.04-docker-arm64-4c-16g-713 does not seem to be running inside a container 14:54:55 $ 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/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:54:57 $ docker top 2dba0b52ee210c7fc4c6490e3cf6420c849a08955c85846ada9688493ed2e756 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:54:58 ---> job-cost.sh 14:54:58 lf-activate-venv: SKIPPING 14:54:58 INFO: No Stack... 14:54:59 INFO: Retrieving Pricing Info for: v3-standard-4 14:54:59 INFO: Archiving Costs [Pipeline] sh 14:55:00 + cut -d, -f6 14:55:00 + cat /w/workspace/app-functions-sdk-go/36/archives/cost.csv [Pipeline] lock 14:55:00 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] 14:55:00 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] did not exist. Created. 14:55:00 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:55:01 /w/workspace/app-functions-sdk-go/36@tmp/durable-66cde905/script.sh: 1: /w/workspace/app-functions-sdk-go/36@tmp/durable-66cde905/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:55:02 + echo total: 0.10999999940395355 [Pipeline] stash 14:55:02 Warning: overwriting stash ‘stack-cost’ 14:55:02 Stashed 1 file(s) [Pipeline] } 14:55:02 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } 14:55:02 $ docker stop --time=1 2dba0b52ee210c7fc4c6490e3cf6420c849a08955c85846ada9688493ed2e756 14:55:03 $ docker rm -f 2dba0b52ee210c7fc4c6490e3cf6420c849a08955c85846ada9688493ed2e756 [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 14:55:04 provisioning config files... 14:55:04 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5691283308635200769tmp [Pipeline] { [Pipeline] sh 14:55:04 + set +x 14:55:04 + curl -s https://codecov.io/bash 14:55:04 + bash -s -- 14:55:04 14:55:04 _____ _ 14:55:04 / ____| | | 14:55:04 | | ___ __| | ___ ___ _____ __ 14:55:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:55:04 | |___| (_) | (_| | __/ (_| (_) \ V / 14:55:04 \_____\___/ \__,_|\___|\___\___/ \_/ 14:55:04 Bash-1.0.6 14:55:04 14:55:04 14:55:04 ==> git version 2.24.4 found 14:55:04 ==> 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 14:55:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 14:55:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 14:55:04 ==> Jenkins CI detected. 14:55:04 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 14:55:04 project root: . 14:55:04 --> token set from env 14:55:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:55:04 ==> Running gcov in . (disable via -X gcov) 14:55:04 ==> Python coveragepy not found 14:55:04 ==> Searching for coverage reports in: 14:55:04 + . 14:55:04 -> Found 2 reports 14:55:04 ==> Detecting git/mercurial file structure 14:55:05 ==> Reading reports 14:55:05 + ./app-service-template/coverage.out bytes=1219 14:55:05 + ./coverage.out bytes=101380 14:55:05 ==> Appending adjustments 14:55:05 https://docs.codecov.io/docs/fixing-reports 14:55:05 + Found adjustments 14:55:05 ==> Gzipping contents 14:55:05 20K /tmp/codecov.GMuq9x.gz 14:55:05 ==> Uploading reports 14:55:05 url: https://codecov.io 14:55:05 query: branch=main&commit=3697d040d6e871f9c915a9724719d570c095482d&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:55:05 -> Pinging Codecov 14:55:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=3697d040d6e871f9c915a9724719d570c095482d&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:55:06 -> Uploading to 14:55:06 https://storage.googleapis.com/codecov/v4/raw/2021-10-12/3D8B5DFFC46A037C893635FACE044666/3697d040d6e871f9c915a9724719d570c095482d/a22e3041-fa7c-4d82-b413-5699a7c652db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211012T145505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=146cc62172f38f85103e098834032daa3899531ee9b043197b01df4a6d5a41b3 14:55:06 % Total % Received % Xferd Average Speed Time Time Time Current 14:55:06 Dload Upload Total Spent Left Speed 14:55:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17694 0 0 100 17694 0 59753 --:--:-- --:--:-- --:--:-- 59979 14:55:06 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/3697d040d6e871f9c915a9724719d570c095482d [Pipeline] } 14:55:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:55:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:55:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:55:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:55:06 14:55:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:55:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:55:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:55:07 188c0c94c7c5: Pulling fs layer 14:55:07 0ef7d3d256c8: Pulling fs layer 14:55:07 de9db76c5a1d: Pulling fs layer 14:55:07 0eba1c9be4d2: Pulling fs layer 14:55:07 0d57e429df01: Pulling fs layer 14:55:07 4e4be7b47b0d: Pulling fs layer 14:55:07 e1f770b5df2f: Pulling fs layer 14:55:07 85a0685a4137: Pulling fs layer 14:55:07 0eba1c9be4d2: Waiting 14:55:07 0d57e429df01: Waiting 14:55:07 4e4be7b47b0d: Waiting 14:55:07 e1f770b5df2f: Waiting 14:55:07 85a0685a4137: Waiting 14:55:07 de9db76c5a1d: Verifying Checksum 14:55:07 de9db76c5a1d: Download complete 14:55:07 0ef7d3d256c8: Verifying Checksum 14:55:07 0ef7d3d256c8: Download complete 14:55:07 0d57e429df01: Verifying Checksum 14:55:07 0d57e429df01: Download complete 14:55:07 4e4be7b47b0d: Verifying Checksum 14:55:07 4e4be7b47b0d: Download complete 14:55:07 188c0c94c7c5: Verifying Checksum 14:55:07 188c0c94c7c5: Download complete 14:55:07 e1f770b5df2f: Verifying Checksum 14:55:07 e1f770b5df2f: Download complete 14:55:07 188c0c94c7c5: Pull complete 14:55:07 0ef7d3d256c8: Pull complete 14:55:07 de9db76c5a1d: Pull complete 14:55:08 0eba1c9be4d2: Verifying Checksum 14:55:08 0eba1c9be4d2: Download complete 14:55:08 85a0685a4137: Verifying Checksum 14:55:08 85a0685a4137: Download complete 14:55:12 0eba1c9be4d2: Pull complete 14:55:12 0d57e429df01: Pull complete 14:55:12 4e4be7b47b0d: Pull complete 14:55:12 e1f770b5df2f: Pull complete 14:55:17 85a0685a4137: Pull complete 14:55:17 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:55:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:55:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:55:17 prd-centos7-docker-4c-2g-706 does not seem to be running inside a container 14:55:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:55:18 $ docker top 78ed9ae17a86d67358a6795ecb0d9e337d457a0e963fbde81558399b00f20d77 -eo pid,comm [Pipeline] { [Pipeline] echo 14:55:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:55:19 + set -o pipefail 14:55:19 + snyk monitor '--org=edgex-jenkins' 14:55:23 14:55:23 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 14:55:23 14:55:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/fb0fb458-9dd1-43dc-88d2-f9f9a52b4332 14:55:23 14:55:23 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:55:23 14:55:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:55:23 14:55:23 14:55:23 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 14:55:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 14:55:23 $ docker stop --time=1 78ed9ae17a86d67358a6795ecb0d9e337d457a0e963fbde81558399b00f20d77 14:55:25 $ docker rm -f 78ed9ae17a86d67358a6795ecb0d9e337d457a0e963fbde81558399b00f20d77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 14:55:25 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:55:25 provisioning config files... 14:55:25 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8464611510492027681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:55:26 --> edgex-publish-swagger.sh 14:55:26 === Publish openapi/v2 API === 14:55:26 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 14:55:26 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 14:55:26 % Total % Received % Xferd Average Speed Time Time Time Current 14:55:26 Dload Upload Total Spent Left Speed 14:55:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 12057 0:00:01 0:00:01 --:--:-- 12064 100 13054 0 0 100 13054 0 12056 0:00:01 0:00:01 --:--:-- 12064 14:55:27 14:55:27 [Pipeline] } 14:55:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:55:27 + git log --format=format:%s -1 3697d040d6e871f9c915a9724719d570c095482d [Pipeline] isUnix [Pipeline] sh 14:55:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:55:27 . [Pipeline] withDockerContainer 14:55:28 prd-centos7-docker-4c-2g-706 does not seem to be running inside a container 14:55:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:55:28 $ docker top f04c1350d1fe4c3665c10d7977a3df4faccbfb931abc408dd728c2216a258573 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:55:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:55:28 [ssh-agent] Looking for ssh-agent implementation... 14:55:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:55:28 $ docker exec f04c1350d1fe4c3665c10d7977a3df4faccbfb931abc408dd728c2216a258573 ssh-agent 14:55:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAgnMlM/agent.14 14:55:28 SSH_AGENT_PID=21 14:55:28 Running ssh-add (command line suppressed) 14:55:28 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7730167837340775644.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7730167837340775644.key) 14:55:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:55:29 + git semver tag 14:55:29 # -> Open(): unable to determine branch for HEAD 14:55:29 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 14:55:29 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 14:55:29 # $SEMVER_REMOTE_NAME = origin 14:55:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:55:29 # $SEMVER_USER_NAME = edgex-jenkins 14:55:29 # $SEMVER_BRANCH = main 14:55:29 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver 14:55:29 # 3697d040d6e871f9c915a9724719d570c095482d HEAD 14:55:29 # -> Force: false 14:55:29 # d8de01d38a68cf6a16dd9374b375ffab40922be3 refs/tags/v2.0.2-dev.23 [Pipeline] } 14:55:29 $ docker exec --env ******** --env ******** f04c1350d1fe4c3665c10d7977a3df4faccbfb931abc408dd728c2216a258573 ssh-agent -k 14:55:29 unset SSH_AUTH_SOCK; 14:55:29 unset SSH_AGENT_PID; 14:55:29 echo Agent pid 21 killed; 14:55:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:55:29 + git semver [Pipeline] } 14:55:29 $ docker stop --time=1 f04c1350d1fe4c3665c10d7977a3df4faccbfb931abc408dd728c2216a258573 14:55:30 $ docker rm -f f04c1350d1fe4c3665c10d7977a3df4faccbfb931abc408dd728c2216a258573 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:55:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:55:31 14:55:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:55:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:55:31 0.23.1-centos7: Pulling from edgex-lftools 14:55:31 ab5ef0e58194: Pulling fs layer 14:55:31 9712f1f96733: Pulling fs layer 14:55:31 63f879dbbcfc: Pulling fs layer 14:55:31 0d9ebad4ef96: Pulling fs layer 14:55:31 e9a5061849ea: Pulling fs layer 14:55:31 d747dcd14b5f: Pulling fs layer 14:55:31 2de7ff778b66: Pulling fs layer 14:55:31 0d9ebad4ef96: Waiting 14:55:31 e9a5061849ea: Waiting 14:55:31 d747dcd14b5f: Waiting 14:55:31 2de7ff778b66: Waiting 14:55:31 9712f1f96733: Verifying Checksum 14:55:31 9712f1f96733: Download complete 14:55:32 63f879dbbcfc: Verifying Checksum 14:55:32 63f879dbbcfc: Download complete 14:55:32 ab5ef0e58194: Verifying Checksum 14:55:32 ab5ef0e58194: Download complete 14:55:32 d747dcd14b5f: Verifying Checksum 14:55:32 d747dcd14b5f: Download complete 14:55:32 0d9ebad4ef96: Verifying Checksum 14:55:32 0d9ebad4ef96: Download complete 14:55:32 e9a5061849ea: Verifying Checksum 14:55:32 e9a5061849ea: Download complete 14:55:32 2de7ff778b66: Verifying Checksum 14:55:32 2de7ff778b66: Download complete 14:55:35 ab5ef0e58194: Pull complete 14:55:35 9712f1f96733: Pull complete 14:55:36 63f879dbbcfc: Pull complete 14:55:40 0d9ebad4ef96: Pull complete 14:55:41 e9a5061849ea: Pull complete 14:55:41 d747dcd14b5f: Pull complete 14:55:42 2de7ff778b66: Pull complete 14:55:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:55:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:55:42 prd-centos7-docker-4c-2g-706 does not seem to be running inside a container 14:55:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:55:45 $ docker top f9ebb9023684c38de218d2213a57e9b7a0354eb8f39074eb80f59665d3d5c878 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:55:45 provisioning config files... 14:55:45 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1943952161547743611tmp 14:55:45 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4030011642320396774tmp 14:55:45 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4166471481706147170tmp [Pipeline] { [Pipeline] echo 14:55:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:55:46 ---> sigul-configuration.sh 14:55:46 gpg: directory `/root/.gnupg' created 14:55:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:55:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:55:46 gpg: keyring `/root/.gnupg/secring.gpg' created 14:55:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:55:46 gpg: CAST5 encrypted data 14:55:46 gpg: encrypted with 1 passphrase 14:55:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:55:46 + mkdir /home/jenkins 14:55:46 + mkdir /home/jenkins/sigul [Pipeline] sh 14:55:46 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 14:55:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:55:47 ---> sigul-install.sh 14:55:47 Sigul already installed; skipping installation. [Pipeline] sh 14:55:47 + git tag --list 14:55:47 v0.1.0 14:55:47 v0.1.1 14:55:47 v1.0.0 14:55:47 v1.1.0 14:55:47 v1.2.0 14:55:47 v1.3.0 14:55:47 v1.3.1 14:55:47 v2.0.0 14:55:47 v2.0.1 14:55:47 v2.0.1-dev.1 14:55:47 v2.0.1-dev.2 14:55:47 v2.0.1-dev.3 14:55:47 v2.0.1-dev.4 14:55:47 v2.0.1-dev.5 14:55:47 v2.0.1-dev.6 14:55:47 v2.0.1-dev.7 14:55:47 v2.0.2-dev.1 14:55:47 v2.0.2-dev.10 14:55:47 v2.0.2-dev.11 14:55:47 v2.0.2-dev.12 14:55:47 v2.0.2-dev.13 14:55:47 v2.0.2-dev.14 14:55:47 v2.0.2-dev.15 14:55:47 v2.0.2-dev.16 14:55:47 v2.0.2-dev.17 14:55:47 v2.0.2-dev.18 14:55:47 v2.0.2-dev.19 14:55:47 v2.0.2-dev.2 14:55:47 v2.0.2-dev.20 14:55:47 v2.0.2-dev.21 14:55:47 v2.0.2-dev.22 14:55:47 v2.0.2-dev.23 14:55:47 v2.0.2-dev.3 14:55:47 v2.0.2-dev.4 14:55:47 v2.0.2-dev.5 14:55:47 v2.0.2-dev.6 14:55:47 v2.0.2-dev.7 14:55:47 v2.0.2-dev.8 14:55:47 v2.0.2-dev.9 [Pipeline] sh 14:55:47 + lftools sign git-tag v2.0.2-dev.23 14:55:48 Signing Git tag with Sigul... 14:55:48 Signing v2.0.2-dev.23 [Pipeline] echo 14:55:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:55:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:55:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:55:50 $ docker stop --time=1 f9ebb9023684c38de218d2213a57e9b7a0354eb8f39074eb80f59665d3d5c878 14:55:51 $ docker rm -f f9ebb9023684c38de218d2213a57e9b7a0354eb8f39074eb80f59665d3d5c878 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 14:55:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:55:51 . [Pipeline] withDockerContainer 14:55:51 prd-centos7-docker-4c-2g-706 does not seem to be running inside a container 14:55:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:55:52 $ docker top 8730fcdba01c88b851616e62f861510048af872e5cbc88f92713f400f990546d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:55:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:55:52 [ssh-agent] Looking for ssh-agent implementation... 14:55:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:55:52 $ docker exec 8730fcdba01c88b851616e62f861510048af872e5cbc88f92713f400f990546d ssh-agent 14:55:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLCoODI/agent.14 14:55:52 SSH_AGENT_PID=20 14:55:52 Running ssh-add (command line suppressed) 14:55:52 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7353476870187321955.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7353476870187321955.key) 14:55:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:55:52 + git semver bump pre 14:55:52 # -> Open(): unable to determine branch for HEAD 14:55:52 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 14:55:52 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 14:55:52 # $SEMVER_REMOTE_NAME = origin 14:55:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:55:52 # $SEMVER_USER_NAME = edgex-jenkins 14:55:52 # $SEMVER_BRANCH = main 14:55:52 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver 14:55:52 2.0.2-dev.24 [Pipeline] } 14:55:52 $ docker exec --env ******** --env ******** 8730fcdba01c88b851616e62f861510048af872e5cbc88f92713f400f990546d ssh-agent -k 14:55:53 unset SSH_AUTH_SOCK; 14:55:53 unset SSH_AGENT_PID; 14:55:53 echo Agent pid 20 killed; 14:55:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:55:53 + git semver [Pipeline] } 14:55:53 $ docker stop --time=1 8730fcdba01c88b851616e62f861510048af872e5cbc88f92713f400f990546d 14:55:54 $ docker rm -f 8730fcdba01c88b851616e62f861510048af872e5cbc88f92713f400f990546d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 14:55:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:55:54 . [Pipeline] withDockerContainer 14:55:54 prd-centos7-docker-4c-2g-706 does not seem to be running inside a container 14:55:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:55:55 $ docker top 7c6d8020fbb6094de249336054c38080c1d1c02b137b9649847e39f90c3fcbc8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:55:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:55:55 [ssh-agent] Looking for ssh-agent implementation... 14:55:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:55:55 $ docker exec 7c6d8020fbb6094de249336054c38080c1d1c02b137b9649847e39f90c3fcbc8 ssh-agent 14:55:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaLeNgp/agent.14 14:55:55 SSH_AGENT_PID=21 14:55:55 Running ssh-add (command line suppressed) 14:55:55 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5932714023144119970.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5932714023144119970.key) 14:55:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:55:56 + git semver push 14:55:56 # -> Open(): unable to determine branch for HEAD 14:55:56 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 14:55:56 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 14:55:56 # $SEMVER_REMOTE_NAME = origin 14:55:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:55:56 # $SEMVER_USER_NAME = edgex-jenkins 14:55:56 # $SEMVER_BRANCH = main 14:55:56 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 14:55:58 $ docker exec --env ******** --env ******** 7c6d8020fbb6094de249336054c38080c1d1c02b137b9649847e39f90c3fcbc8 ssh-agent -k 14:55:58 unset SSH_AUTH_SOCK; 14:55:58 unset SSH_AGENT_PID; 14:55:58 echo Agent pid 21 killed; 14:55:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:55:59 + git semver [Pipeline] } 14:55:59 $ docker stop --time=1 7c6d8020fbb6094de249336054c38080c1d1c02b137b9649847e39f90c3fcbc8 14:56:00 $ docker rm -f 7c6d8020fbb6094de249336054c38080c1d1c02b137b9649847e39f90c3fcbc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 14:56:01 + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 14:56:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:56:02 ---> package-listing.sh 14:56:02 ++ facter osfamily 14:56:02 ++ tr '[:upper:]' '[:lower:]' 14:56:02 + OS_FAMILY=redhat 14:56:02 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 14:56:02 + START_PACKAGES=/tmp/packages_start.txt 14:56:02 + END_PACKAGES=/tmp/packages_end.txt 14:56:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:56:02 + PACKAGES=/tmp/packages_start.txt 14:56:02 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 14:56:02 + PACKAGES=/tmp/packages_end.txt 14:56:02 + case "${OS_FAMILY}" in 14:56:02 + sort 14:56:02 + rpm -qa 14:56:03 + '[' -f /tmp/packages_start.txt ']' 14:56:03 + '[' -f /tmp/packages_end.txt ']' 14:56:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:56:03 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 14:56:03 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 14:56:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo 14:56:03 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:56:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:56:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:03 14:56:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:56:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:04 latest: Pulling from edgex-lftools-log-publisher 14:56:04 b4d181a07f80: Pulling fs layer 14:56:04 a1111a8f2ec3: Pulling fs layer 14:56:04 ed53099fbce6: Pulling fs layer 14:56:04 dc539afda2c1: Pulling fs layer 14:56:04 77bc0d833cb6: Pulling fs layer 14:56:04 9065ff56babe: Pulling fs layer 14:56:04 d287ab97295c: Pulling fs layer 14:56:04 77bc0d833cb6: Waiting 14:56:04 9065ff56babe: Waiting 14:56:04 d287ab97295c: Waiting 14:56:04 dc539afda2c1: Waiting 14:56:04 a1111a8f2ec3: Verifying Checksum 14:56:04 a1111a8f2ec3: Download complete 14:56:04 dc539afda2c1: Verifying Checksum 14:56:04 dc539afda2c1: Download complete 14:56:04 ed53099fbce6: Verifying Checksum 14:56:04 ed53099fbce6: Download complete 14:56:04 9065ff56babe: Verifying Checksum 14:56:04 9065ff56babe: Download complete 14:56:04 b4d181a07f80: Verifying Checksum 14:56:04 b4d181a07f80: Download complete 14:56:04 77bc0d833cb6: Verifying Checksum 14:56:04 77bc0d833cb6: Download complete 14:56:05 d287ab97295c: Verifying Checksum 14:56:05 d287ab97295c: Download complete 14:56:06 b4d181a07f80: Pull complete 14:56:06 a1111a8f2ec3: Pull complete 14:56:06 ed53099fbce6: Pull complete 14:56:06 dc539afda2c1: Pull complete 14:56:06 77bc0d833cb6: Pull complete 14:56:07 9065ff56babe: Pull complete 14:56:12 d287ab97295c: Pull complete 14:56:12 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:56:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:56:12 prd-centos7-docker-4c-2g-706 does not seem to be running inside a container 14:56:12 $ 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:56:14 $ docker top 79aa11c8022a3286057e87ae40bae54583e984ccbccb916b1ec3189001e7f6c7 -eo pid,comm [Pipeline] { [Pipeline] sh 14:56:15 + touch /tmp/pre-build-complete [Pipeline] sh 14:56:15 + mkdir -p /var/log/sysstat [Pipeline] sh 14:56:15 + ls /var/log/sa-host 14:56:15 + sadf -c /var/log/sa-host/sa12 14:56:15 file_magic: OK 14:56:15 HZ: Using current value: 100 14:56:15 file_header: OK 14:56:15 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 14:56:15 Statistics: 14:56:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:56:15 File successfully converted to sysstat format version 12.0.3 14:56:15 + sadf -c /var/log/sa-host/sa30 14:56:15 file_magic: OK 14:56:15 HZ: Using current value: 100 14:56:15 file_header: OK 14:56:15 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 14:56:15 Statistics: 14:56:15 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:56:15 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:56:15 provisioning config files... 14:56:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5092736048994527649tmp [Pipeline] { [Pipeline] echo 14:56:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:56:16 ---> create-netrc.sh [Pipeline] } 14:56:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:56:16 ---> python-tools-install.sh [Pipeline] echo 14:56:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:56:16 ---> sudo-logs.sh 14:56:16 Archiving 'sudo' log.. 14:56:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-706.novalocal: Name or service not known 14:56:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-706.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:56:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:56:16 ---> job-cost.sh 14:56:16 lf-activate-venv: SKIPPING 14:56:16 DEBUG: total: 0.10999999940395355 14:56:16 INFO: Retrieving Stack Cost... 14:56:17 INFO: Retrieving Pricing Info for: v3-standard-2 14:56:17 INFO: Archiving Costs [Pipeline] echo 14:56:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:56:17 ---> logs-deploy.sh 14:56:17 lf-activate-venv: SKIPPING 14:56:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/36 14:56:17 INFO: archiving workspace using pattern(s): 14:56:18 Archives upload complete. 14:56:18 INFO: archiving logs to Nexus 14:56:19 ---> uname -a: 14:56:19 Linux prd-centos7-docker-4c-2g-706.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 14:56:19 14:56:19 14:56:19 ---> lscpu: 14:56:19 Architecture: x86_64 14:56:19 CPU op-mode(s): 32-bit, 64-bit 14:56:19 Byte Order: Little Endian 14:56:19 Address sizes: 40 bits physical, 48 bits virtual 14:56:19 CPU(s): 2 14:56:19 On-line CPU(s) list: 0,1 14:56:19 Thread(s) per core: 1 14:56:19 Core(s) per socket: 1 14:56:19 Socket(s): 2 14:56:19 NUMA node(s): 1 14:56:19 Vendor ID: AuthenticAMD 14:56:19 CPU family: 23 14:56:19 Model: 49 14:56:19 Model name: AMD EPYC-Rome Processor 14:56:19 Stepping: 0 14:56:19 CPU MHz: 2799.998 14:56:19 BogoMIPS: 5599.99 14:56:19 Virtualization: AMD-V 14:56:19 Hypervisor vendor: KVM 14:56:19 Virtualization type: full 14:56:19 L1d cache: 32K 14:56:19 L1i cache: 32K 14:56:19 L2 cache: 512K 14:56:19 L3 cache: 16384K 14:56:19 NUMA node0 CPU(s): 0,1 14:56:19 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 14:56:19 14:56:19 14:56:19 ---> nproc: 14:56:19 2 14:56:19 14:56:19 14:56:19 ---> df -h: 14:56:19 Filesystem Size Used Avail Use% Mounted on 14:56:19 overlay 40G 9.0G 32G 23% / 14:56:19 tmpfs 64M 0 64M 0% /dev 14:56:19 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 14:56:19 shm 64M 0 64M 0% /dev/shm 14:56:19 /dev/vda1 40G 9.0G 32G 23% /facter-os 14:56:19 14:56:19 14:56:19 ---> sar -b -r -n DEV: 14:56:19 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) 14:56:19 14:56:19 14:46:20 LINUX RESTART (2 CPU) 14:56:19 14:56:19 14:47:01 tps rtps wtps bread/s bwrtn/s 14:56:19 14:48:01 15.28 0.68 14.60 330.74 3657.63 14:56:19 14:49:01 0.37 0.00 0.37 0.00 5.94 14:56:19 14:50:01 0.40 0.00 0.40 0.00 6.73 14:56:19 14:51:02 0.13 0.00 0.13 0.00 2.01 14:56:19 14:52:01 0.27 0.00 0.27 0.00 3.74 14:56:19 14:53:01 0.32 0.00 0.32 0.00 3.91 14:56:19 14:54:01 0.15 0.00 0.15 0.00 2.02 14:56:19 14:55:01 0.28 0.00 0.28 0.00 3.23 14:56:19 14:56:01 204.56 0.07 204.50 4.80 58744.89 14:56:19 Average: 24.69 0.08 24.61 37.36 6951.07 14:56:19 14:56:19 14:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:56:19 14:48:01 5652576 0 622104 7.77 2620 1731640 1263160 13.95 579496 1541656 20 14:56:19 14:49:01 5661168 0 613508 7.66 2620 1731644 1163180 12.84 573096 1541620 16 14:56:19 14:50:01 5656872 0 617800 7.71 2620 1731648 1163468 12.85 577464 1541944 20 14:56:19 14:51:02 5658048 0 616620 7.70 2620 1731652 1163180 12.84 575888 1541940 12 14:56:19 14:52:01 5663108 0 611556 7.64 2620 1731656 1163408 12.84 570128 1542564 12 14:56:19 14:53:01 5664320 0 610340 7.62 2620 1731660 1163180 12.84 568868 1542564 16 14:56:19 14:54:01 5664264 0 610392 7.62 2620 1731664 1163180 12.84 568936 1542564 8 14:56:19 14:55:01 5655924 0 618724 7.73 2620 1731672 1163180 12.84 577536 1542564 16 14:56:19 14:56:01 3967520 0 985160 12.30 2620 3053640 1449640 16.00 921700 2663868 24 14:56:19 Average: 5471533 0 656245 8.19 2620 1878542 1206175 13.32 612568 1666809 16 14:56:19 14:56:19 14:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:56:19 14:48:01 eth0 77.96 111.02 340.54 18.23 0.00 0.00 0.00 0.00 14:56:19 14:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:48:01 docker0 93.46 49.70 8.39 312.42 0.00 0.00 0.00 0.00 14:56:19 14:49:01 eth0 1.10 0.03 0.10 0.00 0.00 0.00 0.00 0.00 14:56:19 14:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:50:01 eth0 3.03 0.87 0.95 0.56 0.00 0.00 0.00 0.00 14:56:19 14:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:51:02 eth0 0.13 0.08 0.01 0.04 0.00 0.00 0.00 0.00 14:56:19 14:51:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:51:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:52:01 eth0 0.75 0.61 0.41 0.28 0.00 0.00 0.00 0.00 14:56:19 14:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:53:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:56:19 14:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:54:01 eth0 0.15 0.10 0.01 0.01 0.00 0.00 0.00 0.00 14:56:19 14:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:55:01 eth0 0.15 0.10 0.01 0.01 0.00 0.00 0.00 0.00 14:56:19 14:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:56:01 eth0 348.72 214.52 7670.65 124.39 0.00 0.00 0.00 0.00 14:56:19 14:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 14:56:01 docker0 21.69 31.00 2.32 360.23 0.00 0.00 0.00 0.00 14:56:19 Average: eth0 48.11 36.45 892.15 15.98 0.00 0.00 0.00 0.00 14:56:19 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:56:19 Average: docker0 12.82 8.99 1.19 74.89 0.00 0.00 0.00 0.00 14:56:19 14:56:19 14:56:19 ---> sar -P ALL: 14:56:19 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) 14:56:19 14:56:19 14:46:20 LINUX RESTART (2 CPU) 14:56:19 14:56:19 14:47:01 CPU %user %nice %system %iowait %steal %idle 14:56:19 14:48:01 all 3.59 0.00 1.43 0.24 0.03 94.70 14:56:19 14:48:01 0 2.96 0.00 1.57 0.19 0.03 95.25 14:56:19 14:48:01 1 4.21 0.00 1.30 0.30 0.03 94.15 14:56:19 14:49:01 all 0.31 0.00 0.08 0.00 0.01 99.61 14:56:19 14:49:01 0 0.17 0.00 0.05 0.00 0.00 99.78 14:56:19 14:49:01 1 0.45 0.00 0.10 0.00 0.02 99.43 14:56:19 14:50:01 all 0.30 0.00 0.08 0.00 0.02 99.61 14:56:19 14:50:01 0 0.12 0.00 0.08 0.00 0.02 99.78 14:56:19 14:50:01 1 0.48 0.00 0.07 0.00 0.02 99.43 14:56:19 14:51:02 all 0.23 0.00 0.07 0.00 0.03 99.68 14:56:19 14:51:02 0 0.08 0.00 0.07 0.00 0.02 99.83 14:56:19 14:51:02 1 0.37 0.00 0.07 0.00 0.03 99.53 14:56:19 14:52:01 all 0.22 0.00 0.08 0.00 0.03 99.68 14:56:19 14:52:01 0 0.27 0.00 0.10 0.00 0.03 99.59 14:56:19 14:52:01 1 0.17 0.00 0.05 0.00 0.02 99.76 14:56:19 14:53:01 all 0.25 0.00 0.04 0.00 0.02 99.69 14:56:19 14:53:01 0 0.42 0.00 0.05 0.00 0.02 99.52 14:56:19 14:53:01 1 0.08 0.00 0.03 0.00 0.02 99.87 14:56:19 14:54:01 all 0.29 0.00 0.07 0.00 0.01 99.63 14:56:19 14:54:01 0 0.30 0.00 0.07 0.00 0.02 99.62 14:56:19 14:54:01 1 0.28 0.00 0.07 0.00 0.00 99.65 14:56:19 14:55:01 all 0.27 0.00 0.05 0.00 0.02 99.67 14:56:19 14:55:01 0 0.48 0.00 0.05 0.00 0.02 99.45 14:56:19 14:55:01 1 0.05 0.00 0.05 0.00 0.02 99.88 14:56:19 14:56:01 all 27.91 0.00 12.72 1.96 0.10 57.32 14:56:19 14:56:01 0 27.54 0.00 13.11 2.18 0.11 57.07 14:56:19 14:56:01 1 28.28 0.00 12.32 1.74 0.09 57.57 14:56:19 Average: all 3.55 0.00 1.55 0.23 0.03 94.65 14:56:19 Average: 0 3.43 0.00 1.60 0.25 0.03 94.69 14:56:19 Average: 1 3.66 0.00 1.49 0.22 0.03 94.60 14:56:19 14:56:19 14:56:19