Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7f897940f8c59120c0cce4f60807b817186f7e19 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-ssh623238670939200442.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1538201146450735245.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/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-ssh1336939445152574899.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4486534881931023006.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-ssh3817192400981523138.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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-839 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-ssh1049295188542108232.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 7f897940f8c59120c0cce4f60807b817186f7e19 (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 7f897940f8c59120c0cce4f60807b817186f7e19 # timeout=10 Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14 (#953)" > git rev-list --no-walk be777dce5b114969bf676217563e399b5449f784 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:33:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:33:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:33:09 ========================================================= 16:33:09 EdgeX Global Pipelines Version Info 16:33:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:33:10 ------------------- 16:33:10 stable info: 16:33:10 ------------------- 16:33:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:33:10 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 16:33:10 Message: update stable to v1.0.205 16:33:11 ------------------- 16:33:11 experimental info: 16:33:11 ------------------- 16:33:11 Commited By: **** collab-it+edgex@linuxfoundation.org 16:33:11 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 16:33:11 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:33:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f897940f8c59120c0cce4f60807b817186f7e19 [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f89794 [Pipeline] echo 16:33:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:33:12 + git log --format=format:%s -1 7f897940f8c59120c0cce4f60807b817186f7e19 [Pipeline] echo 16:33:12 GIT_COMMIT: 7f897940f8c59120c0cce4f60807b817186f7e19, Commit Message: build: Update build image for app-template to be golang:1.16-alpine3.14 (#953) [Pipeline] echo 16:33:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:33:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:33:13 16:33:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:33:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:33:13 latest: Pulling from edgex-devops/git-semver 16:33:13 31603596830f: Pulling fs layer 16:33:13 04fac38145f0: Pulling fs layer 16:33:13 701f6daf10bf: Pulling fs layer 16:33:13 24f72da36158: Pulling fs layer 16:33:13 24f72da36158: Waiting 16:33:13 04fac38145f0: Verifying Checksum 16:33:13 04fac38145f0: Download complete 16:33:14 31603596830f: Verifying Checksum 16:33:14 31603596830f: Download complete 16:33:14 31603596830f: Pull complete 16:33:14 04fac38145f0: Pull complete 16:33:14 701f6daf10bf: Verifying Checksum 16:33:14 701f6daf10bf: Download complete 16:33:14 24f72da36158: Verifying Checksum 16:33:14 24f72da36158: Download complete 16:33:14 701f6daf10bf: Pull complete 16:33:15 24f72da36158: Pull complete 16:33:15 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 16:33:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:33:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:33:15 prd-centos7-docker-4c-2g-839 does not seem to be running inside a container 16:33:15 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:33:16 $ docker top c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:33:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:33:16 [ssh-agent] Looking for ssh-agent implementation... 16:33:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:33:16 $ docker exec c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 ssh-agent 16:33:16 SSH_AUTH_SOCK=/tmp/ssh-I7lLENJ39or0/agent.13 16:33:16 SSH_AGENT_PID=20 16:33:16 Running ssh-add (command line suppressed) 16:33:16 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5306224931718381326.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5306224931718381326.key) 16:33:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:33:16 + git tag --points-at HEAD [Pipeline] } 16:33:16 $ docker exec --env ******** --env ******** c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 ssh-agent -k 16:33:17 unset SSH_AUTH_SOCK; 16:33:17 unset SSH_AGENT_PID; 16:33:17 echo Agent pid 20 killed; 16:33:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:33:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:33:17 [ssh-agent] Looking for ssh-agent implementation... 16:33:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:33:17 $ docker exec c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 ssh-agent 16:33:17 SSH_AUTH_SOCK=/tmp/ssh-qtps8qjKGZ8W/agent.54 16:33:17 SSH_AGENT_PID=61 16:33:17 Running ssh-add (command line suppressed) 16:33:17 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8106745581063116057.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8106745581063116057.key) 16:33:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:33:17 + git semver init 16:33:17 # -> Open(): unable to determine branch for HEAD 16:33:17 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 16:33:17 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 16:33:17 # $SEMVER_REMOTE_NAME = origin 16:33:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:33:17 # $SEMVER_USER_NAME = edgex-jenkins 16:33:17 # $SEMVER_BRANCH = main 16:33:17 # $SEMVER_TEMP = /tmp/semver-277822378 16:33:17 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 16:33:21 # '/tmp/semver-277822378' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' 16:33:21 # -> Force: false 16:33:21 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 16:33:21 $ docker exec --env ******** --env ******** c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 ssh-agent -k 16:33:21 unset SSH_AUTH_SOCK; 16:33:21 unset SSH_AGENT_PID; 16:33:21 echo Agent pid 61 killed; 16:33:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:33:21 + git semver [Pipeline] } 16:33:21 $ docker stop --time=1 c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 16:33:23 $ docker rm -f c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 [Pipeline] // withDockerContainer [Pipeline] sh 16:33:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:33:23 Stashed 1 file(s) [Pipeline] echo 16:33:23 [edgeXSemver]: initialized semver on version 2.0.2-dev.17 [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 16:33:38 Still waiting to schedule task 16:33:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:33:38 Still waiting to schedule task 16:33:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:35:29 Running on prd-centos7-docker-4c-2g-842 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 16:35:29 Running in /w/workspace/app-functions-sdk-go/29 [Pipeline] { [Pipeline] checkout 16:35:29 The recommended git tool is: git 16:35:32 using credential edgex-jenkins-ssh 16:35:32 Cloning the remote Git repository 16:35:32 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:35:32 > git init /w/workspace/app-functions-sdk-go/29 # timeout=10 16:35:32 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:35:32 > git --version # timeout=10 16:35:32 > git --version # 'git version 2.24.4' 16:35:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:32 [INFO] Currently running in a labeled security context 16:35:32 [INFO] Currently SELinux is 'enforcing' on the host 16:35:32 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/29@tmp/jenkins-gitclient-ssh4169454710574234891.key 16:35:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:37 Avoid second fetch 16:35:37 Checking out Revision 7f897940f8c59120c0cce4f60807b817186f7e19 (main) 16:35:37 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:35:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:37 > git config core.sparsecheckout # timeout=10 16:35:37 > git checkout -f 7f897940f8c59120c0cce4f60807b817186f7e19 # timeout=10 16:35:41 Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14 (#953)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:35:42 ========================================================= 16:35:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:35:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:35:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:35:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:35:42 540db60ca938: Pulling fs layer 16:35:42 adcc1eea9eea: Pulling fs layer 16:35:42 4c4ab2625f07: Pulling fs layer 16:35:42 db62176df00c: Pulling fs layer 16:35:42 3b30891b0d05: Pulling fs layer 16:35:42 06b49ca38bd5: Pulling fs layer 16:35:42 c788192a36de: Pulling fs layer 16:35:42 a77e37c0d609: Pulling fs layer 16:35:42 c3185cebc471: Pulling fs layer 16:35:42 db62176df00c: Waiting 16:35:42 3b30891b0d05: Waiting 16:35:42 06b49ca38bd5: Waiting 16:35:42 c788192a36de: Waiting 16:35:42 a77e37c0d609: Waiting 16:35:42 c3185cebc471: Waiting 16:35:42 4c4ab2625f07: Verifying Checksum 16:35:42 4c4ab2625f07: Download complete 16:35:42 adcc1eea9eea: Verifying Checksum 16:35:42 adcc1eea9eea: Download complete 16:35:42 3b30891b0d05: Verifying Checksum 16:35:42 3b30891b0d05: Download complete 16:35:42 06b49ca38bd5: Verifying Checksum 16:35:42 06b49ca38bd5: Download complete 16:35:42 540db60ca938: Verifying Checksum 16:35:42 540db60ca938: Download complete 16:35:42 c788192a36de: Verifying Checksum 16:35:42 c788192a36de: Download complete 16:35:43 540db60ca938: Pull complete 16:35:43 adcc1eea9eea: Pull complete 16:35:43 4c4ab2625f07: Pull complete 16:35:43 a77e37c0d609: Verifying Checksum 16:35:43 a77e37c0d609: Download complete 16:35:47 c3185cebc471: Verifying Checksum 16:35:47 c3185cebc471: Download complete 16:35:47 db62176df00c: Verifying Checksum 16:35:47 db62176df00c: Download complete 16:35:51 db62176df00c: Pull complete 16:35:51 3b30891b0d05: Pull complete 16:35:51 06b49ca38bd5: Pull complete 16:35:51 c788192a36de: Pull complete 16:35:51 a77e37c0d609: Pull complete 16:35:53 c3185cebc471: Pull complete 16:35:53 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 16:35:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:35:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 16:35:54 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 16:35:54 + docker inspect -f . ci-base-image-x86_64 16:35:54 . [Pipeline] withDockerContainer 16:35:54 prd-centos7-docker-4c-2g-842 does not seem to be running inside a container 16:35:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:35:56 $ docker top 85ccac5a2c96e14235499eb78ccd278578ac66ebaed34c5196be76b5910eff73 -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:57 + go version 16:35:57 go version go1.16.6 linux/amd64 [Pipeline] } 16:35:57 $ docker stop --time=1 85ccac5a2c96e14235499eb78ccd278578ac66ebaed34c5196be76b5910eff73 16:35:58 $ docker rm -f 85ccac5a2c96e14235499eb78ccd278578ac66ebaed34c5196be76b5910eff73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:35:58 + docker inspect -f . ci-base-image-x86_64 16:35:58 . [Pipeline] withDockerContainer 16:35:58 prd-centos7-docker-4c-2g-842 does not seem to be running inside a container 16:35:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:35:59 $ docker top 30ae45f84890e036531b6c3a3e8a29fddd34eaf662d210f8e860a8e92b8963a3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:35:59 + make test 16:35:59 make -C ./app-service-template build 16:35:59 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 16:35:59 go mod tidy 16:36:00 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 16:36:00 go: downloading github.com/google/uuid v1.3.0 16:36:00 go: downloading github.com/stretchr/testify v1.7.0 16:36:00 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 16:36:00 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 16:36:00 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 16:36:00 go: downloading github.com/go-playground/validator/v10 v10.6.1 16:36:00 go: downloading github.com/go-kit/kit v0.9.0 16:36:00 go: downloading gopkg.in/yaml.v2 v2.4.0 16:36:00 go: downloading github.com/davecgh/go-spew v1.1.1 16:36:00 go: downloading github.com/pmezard/go-difflib v1.0.0 16:36:00 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 16:36:00 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 16:36:00 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:36:00 go: downloading github.com/stretchr/objx v0.1.0 16:36:00 go: downloading github.com/gorilla/mux v1.8.0 16:36:00 go: downloading github.com/hashicorp/go-multierror v1.1.1 16:36:00 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 16:36:00 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 16:36:00 go: downloading github.com/go-playground/universal-translator v0.17.0 16:36:00 go: downloading github.com/leodido/go-urn v1.2.0 16:36:00 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 16:36:00 go: downloading golang.org/x/text v0.3.2 16:36:01 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:36:01 go: downloading github.com/go-playground/locales v0.13.0 16:36:02 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 16:36:02 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:36:02 go: downloading github.com/go-stack/stack v1.8.0 16:36:02 go: downloading github.com/mitchellh/copystructure v1.0.0 16:36:02 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 16:36:02 go: downloading github.com/gorilla/websocket v1.4.2 16:36:02 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 16:36:02 go: downloading github.com/pelletier/go-toml v1.9.2 16:36:02 go: downloading github.com/hashicorp/consul/api v1.8.1 16:36:02 go: downloading github.com/hashicorp/errwrap v1.0.0 16:36:02 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 16:36:02 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:36:02 go: downloading github.com/kr/pretty v0.2.0 16:36:02 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:36:02 go: downloading github.com/x448/float16 v0.8.4 16:36:02 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:36:02 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:36:02 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:36:02 go: downloading github.com/hashicorp/serf v0.9.5 16:36:02 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:36:02 go: downloading github.com/hashicorp/consul/sdk v0.7.0 16:36:02 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:36:02 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:36:02 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:36:02 go: downloading github.com/kr/text v0.1.0 16:36:02 go: downloading github.com/fatih/color v1.9.0 16:36:02 go: downloading github.com/mattn/go-colorable v0.1.6 16:36:02 go: downloading github.com/mattn/go-isatty v0.0.12 16:36:02 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:36:02 go: downloading github.com/pkg/errors v0.8.1 16:36:02 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:36:02 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 16:36:03 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:36:03 go: downloading github.com/hashicorp/memberlist v0.2.2 16:36:03 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:36:03 go: downloading github.com/pebbe/zmq4 v1.2.7 16:36:03 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:36:03 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:36:03 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:36:03 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:36:03 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:36:03 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:36:03 go: downloading github.com/miekg/dns v1.1.26 16:36:03 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:36:03 go: downloading github.com/onsi/ginkgo v1.10.1 16:36:03 go: downloading github.com/onsi/gomega v1.7.0 16:36:03 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:36:03 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 16:36:03 go: downloading github.com/hpcloud/tail v1.0.0 16:36:03 go: downloading github.com/golang/protobuf v1.3.2 16:36:03 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:36:03 go: downloading gopkg.in/fsnotify.v1 v1.4.7 16:36:03 go: downloading github.com/fsnotify/fsnotify v1.4.7 16:36:03 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 16:36:15 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 16:36:15 make -C ./app-service-template test 16:36:15 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 16:36:15 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:36:23 ok new-app-service 0.012s coverage: 48.1% of statements 16:36:23 ? new-app-service/config [no test files] 16:36:23 ok new-app-service/functions 0.010s 16:36:23 CGO_ENABLED=1 go vet ./... 16:36:30 gofmt -l . 16:36:30 [ "`gofmt -l .`" = "" ] 16:36:30 ./bin/test-attribution-txt.sh 16:36:31 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 16:36:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:36:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:36:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.020s coverage: 63.9% of statements 16:36:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 93.7% of statements 16:36:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:36:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.014s coverage: 61.8% of statements 16:36:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:36:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.011s 16:36:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.140s coverage: 75.7% of statements 16:36:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 16:36:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 16:36:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:36:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 16:36:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 16:36:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:36:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.3% of statements 16:36:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:36:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements 16:36:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.040s coverage: 77.0% of statements 16:36:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 16:36:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.014s coverage: 12.5% of statements 16:36:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.008s coverage: 27.3% of statements 16:36:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:36:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:36:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements 16:37:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.035s coverage: 77.3% of statements 16:37:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 16:37:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:37:05 gofmt -l . 16:37:05 [ "`gofmt -l .`" = "" ] [Pipeline] } 16:37:05 $ docker stop --time=1 30ae45f84890e036531b6c3a3e8a29fddd34eaf662d210f8e860a8e92b8963a3 16:37:07 $ docker rm -f 30ae45f84890e036531b6c3a3e8a29fddd34eaf662d210f8e860a8e92b8963a3 [Pipeline] // withDockerContainer [Pipeline] sh 16:37:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:37:08 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 16:37:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:37:08 16:37:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:37:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:37:09 latest: Pulling from edgex-lftools-log-publisher 16:37:09 b4d181a07f80: Pulling fs layer 16:37:09 a1111a8f2ec3: Pulling fs layer 16:37:09 ed53099fbce6: Pulling fs layer 16:37:09 dc539afda2c1: Pulling fs layer 16:37:09 77bc0d833cb6: Pulling fs layer 16:37:09 9065ff56babe: Pulling fs layer 16:37:09 d287ab97295c: Pulling fs layer 16:37:09 77bc0d833cb6: Waiting 16:37:09 9065ff56babe: Waiting 16:37:09 d287ab97295c: Waiting 16:37:09 dc539afda2c1: Waiting 16:37:09 a1111a8f2ec3: Verifying Checksum 16:37:09 a1111a8f2ec3: Download complete 16:37:09 dc539afda2c1: Verifying Checksum 16:37:09 dc539afda2c1: Download complete 16:37:09 77bc0d833cb6: Verifying Checksum 16:37:09 77bc0d833cb6: Download complete 16:37:09 9065ff56babe: Verifying Checksum 16:37:09 9065ff56babe: Download complete 16:37:10 ed53099fbce6: Verifying Checksum 16:37:10 ed53099fbce6: Download complete 16:37:11 b4d181a07f80: Verifying Checksum 16:37:11 b4d181a07f80: Download complete 16:37:12 b4d181a07f80: Pull complete 16:37:12 a1111a8f2ec3: Pull complete 16:37:12 ed53099fbce6: Pull complete 16:37:12 dc539afda2c1: Pull complete 16:37:12 77bc0d833cb6: Pull complete 16:37:12 9065ff56babe: Pull complete 16:37:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-843 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 16:37:15 Running in /w/workspace/app-functions-sdk-go/29 [Pipeline] { [Pipeline] checkout 16:37:15 d287ab97295c: Verifying Checksum 16:37:15 d287ab97295c: Download complete 16:37:15 The recommended git tool is: git 16:37:19 d287ab97295c: Pull complete 16:37:19 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:37:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:37:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:37:19 prd-centos7-docker-4c-2g-842 does not seem to be running inside a container 16:37:19 $ 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/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:37:21 using credential edgex-jenkins-ssh 16:37:21 Cloning the remote Git repository 16:37:21 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:37:21 > git init /w/workspace/app-functions-sdk-go/29 # timeout=10 16:37:21 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:37:21 > git --version # timeout=10 16:37:21 > git --version # 'git version 2.17.1' 16:37:21 using GIT_SSH to set credentials SSH Credentials for GitHub 16:37:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:37:22 $ docker top 0f5f79659c84de6ebad8c195ef227b34ba296df643097dba0d08f642b6a115c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:23 ---> job-cost.sh 16:37:23 lf-activate-venv: SKIPPING 16:37:23 INFO: No Stack... 16:37:24 INFO: Retrieving Pricing Info for: v3-standard-2 16:37:24 INFO: Archiving Costs [Pipeline] sh 16:37:25 + cut -d, -f6 16:37:25 + cat /w/workspace/app-functions-sdk-go/29/archives/cost.csv [Pipeline] lock 16:37:25 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] 16:37:25 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] did not exist. Created. 16:37:25 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:37:25 + echo total: 0.05999999865889549 [Pipeline] stash 16:37:25 Avoid second fetch 16:37:25 Checking out Revision 7f897940f8c59120c0cce4f60807b817186f7e19 (main) 16:37:25 Stashed 1 file(s) [Pipeline] } 16:37:25 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 16:37:25 $ docker stop --time=1 0f5f79659c84de6ebad8c195ef227b34ba296df643097dba0d08f642b6a115c2 16:37:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:37:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:37:25 > git config core.sparsecheckout # timeout=10 16:37:25 > git checkout -f 7f897940f8c59120c0cce4f60807b817186f7e19 # timeout=10 16:37:26 $ docker rm -f 0f5f79659c84de6ebad8c195ef227b34ba296df643097dba0d08f642b6a115c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:37:29 Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14 (#953)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:37:31 ========================================================= 16:37:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:37:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:37:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:37:34 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:37:34 595b0fe564bb: Pulling fs layer 16:37:34 24495759ef45: Pulling fs layer 16:37:34 d148012ef14d: Pulling fs layer 16:37:34 e90a11edd702: Pulling fs layer 16:37:34 d77568369979: Pulling fs layer 16:37:34 fc1c9f9a7f3b: Pulling fs layer 16:37:34 170f2ba95c9a: Pulling fs layer 16:37:34 97ac5df62f85: Pulling fs layer 16:37:34 e90a11edd702: Waiting 16:37:34 d77568369979: Waiting 16:37:34 fc1c9f9a7f3b: Waiting 16:37:34 97ac5df62f85: Waiting 16:37:34 170f2ba95c9a: Waiting 16:37:34 d148012ef14d: Download complete 16:37:34 24495759ef45: Verifying Checksum 16:37:34 24495759ef45: Download complete 16:37:34 d77568369979: Download complete 16:37:34 fc1c9f9a7f3b: Download complete 16:37:34 595b0fe564bb: Verifying Checksum 16:37:34 595b0fe564bb: Download complete 16:37:34 170f2ba95c9a: Verifying Checksum 16:37:34 170f2ba95c9a: Download complete 16:37:34 595b0fe564bb: Pull complete 16:37:35 24495759ef45: Pull complete 16:37:35 d148012ef14d: Pull complete 16:37:37 97ac5df62f85: Verifying Checksum 16:37:37 97ac5df62f85: Download complete 16:37:37 e90a11edd702: Verifying Checksum 16:37:37 e90a11edd702: Download complete 16:37:48 e90a11edd702: Pull complete 16:37:48 d77568369979: Pull complete 16:37:48 fc1c9f9a7f3b: Pull complete 16:37:49 170f2ba95c9a: Pull complete 16:37:54 97ac5df62f85: Pull complete 16:37:54 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 16:37:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:37:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 16:37:55 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 16:37:55 + docker inspect -f . ci-base-image-arm64 16:37:55 . [Pipeline] withDockerContainer 16:37:56 prd-ubuntu18.04-docker-arm64-4c-16g-843 does not seem to be running inside a container 16:37:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:38:02 $ docker top 073861f53a1711a3e0894a61fb240f00f109bc7437e0b2bd5205ba552968af10 -eo pid,comm [Pipeline] { [Pipeline] sh 16:38:03 + go version 16:38:03 go version go1.16.6 linux/arm64 [Pipeline] } 16:38:03 $ docker stop --time=1 073861f53a1711a3e0894a61fb240f00f109bc7437e0b2bd5205ba552968af10 16:38:05 $ docker rm -f 073861f53a1711a3e0894a61fb240f00f109bc7437e0b2bd5205ba552968af10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:38:06 + docker inspect -f . ci-base-image-arm64 16:38:06 . [Pipeline] withDockerContainer 16:38:06 prd-ubuntu18.04-docker-arm64-4c-16g-843 does not seem to be running inside a container 16:38:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:38:08 $ docker top a0a2e284532b8c68be92d5cdcaa87c5fce879c0c82870adc3ed22290a81a72ae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:38:09 + make test 16:38:09 make -C ./app-service-template build 16:38:09 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 16:38:09 go mod tidy 16:38:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 16:38:10 go: downloading github.com/google/uuid v1.3.0 16:38:10 go: downloading github.com/stretchr/testify v1.7.0 16:38:11 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 16:38:11 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 16:38:11 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 16:38:11 go: downloading github.com/davecgh/go-spew v1.1.1 16:38:11 go: downloading github.com/pmezard/go-difflib v1.0.0 16:38:11 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 16:38:11 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 16:38:11 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:38:11 go: downloading github.com/stretchr/objx v0.1.0 16:38:11 go: downloading github.com/go-playground/validator/v10 v10.6.1 16:38:11 go: downloading github.com/go-kit/kit v0.9.0 16:38:11 go: downloading gopkg.in/yaml.v2 v2.4.0 16:38:11 go: downloading github.com/gorilla/mux v1.8.0 16:38:11 go: downloading github.com/hashicorp/go-multierror v1.1.1 16:38:11 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 16:38:11 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 16:38:11 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 16:38:11 go: downloading github.com/mitchellh/copystructure v1.0.0 16:38:12 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 16:38:12 go: downloading github.com/gorilla/websocket v1.4.2 16:38:12 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 16:38:12 go: downloading github.com/hashicorp/consul/api v1.8.1 16:38:12 go: downloading github.com/pelletier/go-toml v1.9.2 16:38:12 go: downloading github.com/go-playground/universal-translator v0.17.0 16:38:12 go: downloading github.com/leodido/go-urn v1.2.0 16:38:12 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 16:38:12 go: downloading golang.org/x/text v0.3.2 16:38:12 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:38:12 go: downloading github.com/go-playground/locales v0.13.0 16:38:15 go: downloading github.com/hashicorp/errwrap v1.0.0 16:38:15 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:38:15 go: downloading github.com/x448/float16 v0.8.4 16:38:15 go: downloading github.com/kr/pretty v0.2.0 16:38:15 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:38:15 go: downloading github.com/go-stack/stack v1.8.0 16:38:15 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:38:16 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:38:16 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:38:16 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:38:16 go: downloading github.com/hashicorp/serf v0.9.5 16:38:16 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:38:16 go: downloading github.com/hashicorp/consul/sdk v0.7.0 16:38:16 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:38:16 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 16:38:16 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:38:16 go: downloading github.com/kr/text v0.1.0 16:38:16 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 16:38:16 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:38:16 go: downloading github.com/pebbe/zmq4 v1.2.7 16:38:16 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:38:16 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:38:16 go: downloading github.com/fatih/color v1.9.0 16:38:16 go: downloading github.com/mattn/go-colorable v0.1.6 16:38:16 go: downloading github.com/mattn/go-isatty v0.0.12 16:38:16 go: downloading github.com/pkg/errors v0.8.1 16:38:16 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:38:16 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:38:16 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:38:16 go: downloading github.com/hashicorp/memberlist v0.2.2 16:38:16 go: downloading github.com/onsi/ginkgo v1.10.1 16:38:16 go: downloading github.com/onsi/gomega v1.7.0 16:38:16 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:38:16 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:38:16 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:38:16 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:38:16 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:38:16 go: downloading github.com/miekg/dns v1.1.26 16:38:16 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:38:17 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:38:17 go: downloading github.com/hpcloud/tail v1.0.0 16:38:17 go: downloading github.com/golang/protobuf v1.3.2 16:38:17 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 16:38:17 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:38:17 go: downloading gopkg.in/fsnotify.v1 v1.4.7 16:38:17 go: downloading github.com/fsnotify/fsnotify v1.4.7 16:38:17 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 16:38:56 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 16:38:56 make -C ./app-service-template test 16:38:56 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 16:38:56 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:39:29 ok new-app-service 0.043s coverage: 48.1% of statements 16:39:29 ? new-app-service/config [no test files] 16:39:29 ok new-app-service/functions 0.046s 16:39:29 CGO_ENABLED=1 go vet ./... 16:39:56 gofmt -l . 16:39:56 [ "`gofmt -l .`" = "" ] 16:39:56 ./bin/test-attribution-txt.sh 16:39:56 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' 16:39:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:39:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:40:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.136s coverage: 63.9% of statements 16:40:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.044s coverage: 93.7% of statements 16:40:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:40:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.121s coverage: 61.8% of statements 16:40:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:40:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.062s 16:40:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.166s coverage: 75.7% of statements 16:40:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 16:40:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 16:40:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:40:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 16:40:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 16:40:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:40:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.029s coverage: 97.3% of statements 16:40:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:40:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.045s coverage: 10.5% of statements 16:40:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.174s coverage: 77.0% of statements 16:40:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 16:40:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 12.5% of statements 16:40:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.070s coverage: 27.3% of statements 16:40:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:40:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:40:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.052s coverage: 51.4% of statements 16:40:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.112s coverage: 77.3% of statements 16:40:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.040s coverage: 94.4% of statements 16:40:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:40:42 gofmt -l . 16:40:42 [ "`gofmt -l .`" = "" ] [Pipeline] } 16:40:43 $ docker stop --time=1 a0a2e284532b8c68be92d5cdcaa87c5fce879c0c82870adc3ed22290a81a72ae 16:40:45 $ docker rm -f a0a2e284532b8c68be92d5cdcaa87c5fce879c0c82870adc3ed22290a81a72ae [Pipeline] // withDockerContainer [Pipeline] sh 16:40:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:40:47 Warning: overwriting stash ‘coverage-report’ 16:40:48 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 16:40:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:40:49 16:40:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:40:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:40:49 arm64: Pulling from edgex-lftools-log-publisher 16:40:49 448f6bf000e3: Pulling fs layer 16:40:49 f757da607395: Pulling fs layer 16:40:49 05883995daec: Pulling fs layer 16:40:49 8603b9c90790: Pulling fs layer 16:40:49 1560dd03e051: Pulling fs layer 16:40:49 27f5ce0e4adf: Pulling fs layer 16:40:49 c2d8d7efcc4b: Pulling fs layer 16:40:49 8603b9c90790: Waiting 16:40:49 1560dd03e051: Waiting 16:40:49 27f5ce0e4adf: Waiting 16:40:49 c2d8d7efcc4b: Waiting 16:40:49 f757da607395: Verifying Checksum 16:40:49 f757da607395: Download complete 16:40:49 8603b9c90790: Download complete 16:40:50 1560dd03e051: Verifying Checksum 16:40:50 1560dd03e051: Download complete 16:40:50 27f5ce0e4adf: Verifying Checksum 16:40:50 27f5ce0e4adf: Download complete 16:40:51 05883995daec: Verifying Checksum 16:40:51 05883995daec: Download complete 16:40:53 448f6bf000e3: Verifying Checksum 16:40:53 448f6bf000e3: Download complete 16:40:57 448f6bf000e3: Pull complete 16:40:57 f757da607395: Pull complete 16:40:59 05883995daec: Pull complete 16:40:59 8603b9c90790: Pull complete 16:41:00 1560dd03e051: Pull complete 16:41:01 27f5ce0e4adf: Pull complete 16:41:02 c2d8d7efcc4b: Verifying Checksum 16:41:02 c2d8d7efcc4b: Download complete 16:41:17 c2d8d7efcc4b: Pull complete 16:41:17 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:41:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:41:17 prd-ubuntu18.04-docker-arm64-4c-16g-843 does not seem to be running inside a container 16:41:18 $ 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/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:41:22 $ docker top c51631ffb8dabda2dfaa515447e254e9a7314a6bdc6f2152fb0301c8c8241310 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:23 ---> job-cost.sh 16:41:23 lf-activate-venv: SKIPPING 16:41:23 INFO: No Stack... 16:41:24 INFO: Retrieving Pricing Info for: v3-standard-4 16:41:24 INFO: Archiving Costs [Pipeline] sh 16:41:25 + cat /w/workspace/app-functions-sdk-go/29/archives/cost.csv 16:41:25 + cut -d, -f6 [Pipeline] lock 16:41:25 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] 16:41:25 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] did not exist. Created. 16:41:25 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:41:26 /w/workspace/app-functions-sdk-go/29@tmp/durable-c0c695c8/script.sh: 1: /w/workspace/app-functions-sdk-go/29@tmp/durable-c0c695c8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:41:27 + echo total: 0.10999999940395355 [Pipeline] stash 16:41:27 Warning: overwriting stash ‘stack-cost’ 16:41:27 Stashed 1 file(s) [Pipeline] } 16:41:27 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 16:41:27 $ docker stop --time=1 c51631ffb8dabda2dfaa515447e254e9a7314a6bdc6f2152fb0301c8c8241310 16:41:28 $ docker rm -f c51631ffb8dabda2dfaa515447e254e9a7314a6bdc6f2152fb0301c8c8241310 [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 16:41:29 provisioning config files... 16:41:29 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6080139026012666587tmp [Pipeline] { [Pipeline] sh 16:41:30 + set +x 16:41:30 + curl -s https://codecov.io/bash 16:41:30 + bash -s -- 16:41:30 16:41:30 _____ _ 16:41:30 / ____| | | 16:41:30 | | ___ __| | ___ ___ _____ __ 16:41:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:41:30 | |___| (_) | (_| | __/ (_| (_) \ V / 16:41:30 \_____\___/ \__,_|\___|\___\___/ \_/ 16:41:30 Bash-1.0.6 16:41:30 16:41:30 16:41:30 ==> git version 2.24.4 found 16:41:30 ==> 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 16:41:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:41:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:41:30 ==> Jenkins CI detected. 16:41:30 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 16:41:30 project root: . 16:41:30 --> token set from env 16:41:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:41:30 ==> Running gcov in . (disable via -X gcov) 16:41:30 ==> Python coveragepy not found 16:41:30 ==> Searching for coverage reports in: 16:41:30 + . 16:41:30 -> Found 2 reports 16:41:30 ==> Detecting git/mercurial file structure 16:41:30 ==> Reading reports 16:41:30 + ./app-service-template/coverage.out bytes=1219 16:41:30 + ./coverage.out bytes=101685 16:41:30 ==> Appending adjustments 16:41:30 https://docs.codecov.io/docs/fixing-reports 16:41:30 + Found adjustments 16:41:30 ==> Gzipping contents 16:41:30 20K /tmp/codecov.hqPVev.gz 16:41:30 ==> Uploading reports 16:41:30 url: https://codecov.io 16:41:30 query: branch=main&commit=7f897940f8c59120c0cce4f60807b817186f7e19&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:41:30 -> Pinging Codecov 16:41:30 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=7f897940f8c59120c0cce4f60807b817186f7e19&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:41:31 -> Uploading to 16:41:31 https://storage.googleapis.com/codecov/v4/raw/2021-09-22/3D8B5DFFC46A037C893635FACE044666/7f897940f8c59120c0cce4f60807b817186f7e19/8e6ce471-a3d8-4589-9f97-c27265f3d59e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210922T164130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9711df08a436e6c95e93d0b89320cbabd5eaf26d0d6c684765cf39bbf2054516 16:41:31 % Total % Received % Xferd Average Speed Time Time Time Current 16:41:31 Dload Upload Total Spent Left Speed 16:41:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17661 0 0 100 17661 0 20464 --:--:-- --:--:-- --:--:-- 20464 16:41:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/7f897940f8c59120c0cce4f60807b817186f7e19 [Pipeline] } 16:41:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:41:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:41:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:41:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:41:32 16:41:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:41:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:41:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:41:33 188c0c94c7c5: Pulling fs layer 16:41:33 0ef7d3d256c8: Pulling fs layer 16:41:33 de9db76c5a1d: Pulling fs layer 16:41:33 0eba1c9be4d2: Pulling fs layer 16:41:33 0d57e429df01: Pulling fs layer 16:41:33 4e4be7b47b0d: Pulling fs layer 16:41:33 e1f770b5df2f: Pulling fs layer 16:41:33 85a0685a4137: Pulling fs layer 16:41:33 4e4be7b47b0d: Waiting 16:41:33 e1f770b5df2f: Waiting 16:41:33 85a0685a4137: Waiting 16:41:33 0eba1c9be4d2: Waiting 16:41:33 0d57e429df01: Waiting 16:41:33 de9db76c5a1d: Verifying Checksum 16:41:33 de9db76c5a1d: Download complete 16:41:33 0ef7d3d256c8: Verifying Checksum 16:41:33 0ef7d3d256c8: Download complete 16:41:33 0d57e429df01: Verifying Checksum 16:41:33 0d57e429df01: Download complete 16:41:33 4e4be7b47b0d: Verifying Checksum 16:41:33 4e4be7b47b0d: Download complete 16:41:34 188c0c94c7c5: Verifying Checksum 16:41:34 188c0c94c7c5: Pull complete 16:41:34 0ef7d3d256c8: Pull complete 16:41:34 de9db76c5a1d: Pull complete 16:41:35 e1f770b5df2f: Verifying Checksum 16:41:35 e1f770b5df2f: Download complete 16:41:40 0eba1c9be4d2: Verifying Checksum 16:41:40 0eba1c9be4d2: Download complete 16:41:40 85a0685a4137: Verifying Checksum 16:41:40 85a0685a4137: Download complete 16:41:42 0eba1c9be4d2: Pull complete 16:41:42 0d57e429df01: Pull complete 16:41:42 4e4be7b47b0d: Pull complete 16:41:43 e1f770b5df2f: Pull complete 16:41:46 85a0685a4137: Pull complete 16:41:46 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:41:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:41:46 prd-centos7-docker-4c-2g-839 does not seem to be running inside a container 16:41:46 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:41:48 $ docker top e54de921bb5b752a398124c5dc5e5b840f310081a5c669552cc6605eed7f16e9 -eo pid,comm [Pipeline] { [Pipeline] echo 16:41:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:41:49 + set -o pipefail 16:41:49 + snyk monitor '--org=edgex-jenkins' 16:41:57 16:41:57 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 16:41:57 16:41:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/38bd6083-2b9c-41c8-a74d-3843427391e7 16:41:57 16:41:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:41:57 16:41:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:41:57 16:41:57 [Pipeline] } 16:41:57 $ docker stop --time=1 e54de921bb5b752a398124c5dc5e5b840f310081a5c669552cc6605eed7f16e9 16:41:59 $ docker rm -f e54de921bb5b752a398124c5dc5e5b840f310081a5c669552cc6605eed7f16e9 [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 16:42:00 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:42:00 provisioning config files... 16:42:00 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1137957195254983442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:42:00 --> edgex-publish-swagger.sh 16:42:00 === Publish openapi/v2 API === 16:42:00 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 16:42:00 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 16:42:00 % Total % Received % Xferd Average Speed Time Time Time Current 16:42:00 Dload Upload Total Spent Left Speed 16:42:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 11541 0:00:01 0:00:01 --:--:-- 11541 100 13054 0 0 100 13054 0 11539 0:00:01 0:00:01 --:--:-- 11541 16:42:01 16:42:01 [Pipeline] } 16:42:01 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 16:42:02 + git log --format=format:%s -1 7f897940f8c59120c0cce4f60807b817186f7e19 [Pipeline] isUnix [Pipeline] sh 16:42:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:42:02 . [Pipeline] withDockerContainer 16:42:02 prd-centos7-docker-4c-2g-839 does not seem to be running inside a container 16:42: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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:42:03 $ docker top 76d85ef3aea2b1197aa3c2b3f902b4a2340b73757d4d0ce55ac0234a955a270e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:03 [ssh-agent] Looking for ssh-agent implementation... 16:42:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:03 $ docker exec 76d85ef3aea2b1197aa3c2b3f902b4a2340b73757d4d0ce55ac0234a955a270e ssh-agent 16:42:03 SSH_AUTH_SOCK=/tmp/ssh-xgE5APVUbT9p/agent.15 16:42:03 SSH_AGENT_PID=22 16:42:03 Running ssh-add (command line suppressed) 16:42:03 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6629687561725710214.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6629687561725710214.key) 16:42:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:03 + git semver tag 16:42:03 # -> Open(): unable to determine branch for HEAD 16:42:03 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 16:42:03 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 16:42:03 # $SEMVER_REMOTE_NAME = origin 16:42:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:42:03 # $SEMVER_USER_NAME = edgex-jenkins 16:42:03 # $SEMVER_BRANCH = main 16:42:03 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver 16:42:03 # 7f897940f8c59120c0cce4f60807b817186f7e19 HEAD 16:42:03 # -> Force: false 16:42:03 # 4da9d11b6794553621d683615e6099ad36f7555b refs/tags/v2.0.2-dev.17 [Pipeline] } 16:42:03 $ docker exec --env ******** --env ******** 76d85ef3aea2b1197aa3c2b3f902b4a2340b73757d4d0ce55ac0234a955a270e ssh-agent -k 16:42:03 unset SSH_AUTH_SOCK; 16:42:03 unset SSH_AGENT_PID; 16:42:03 echo Agent pid 22 killed; 16:42:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:04 + git semver [Pipeline] } 16:42:04 $ docker stop --time=1 76d85ef3aea2b1197aa3c2b3f902b4a2340b73757d4d0ce55ac0234a955a270e 16:42:05 $ docker rm -f 76d85ef3aea2b1197aa3c2b3f902b4a2340b73757d4d0ce55ac0234a955a270e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:42:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:06 16:42:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:42:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:06 0.23.1-centos7: Pulling from edgex-lftools 16:42:06 ab5ef0e58194: Pulling fs layer 16:42:06 9712f1f96733: Pulling fs layer 16:42:06 63f879dbbcfc: Pulling fs layer 16:42:06 0d9ebad4ef96: Pulling fs layer 16:42:06 e9a5061849ea: Pulling fs layer 16:42:06 d747dcd14b5f: Pulling fs layer 16:42:06 2de7ff778b66: Pulling fs layer 16:42:06 e9a5061849ea: Waiting 16:42:06 d747dcd14b5f: Waiting 16:42:06 2de7ff778b66: Waiting 16:42:06 0d9ebad4ef96: Waiting 16:42:06 9712f1f96733: Download complete 16:42:10 63f879dbbcfc: Verifying Checksum 16:42:10 63f879dbbcfc: Download complete 16:42:11 e9a5061849ea: Verifying Checksum 16:42:11 e9a5061849ea: Download complete 16:42:11 d747dcd14b5f: Verifying Checksum 16:42:11 d747dcd14b5f: Download complete 16:42:15 2de7ff778b66: Verifying Checksum 16:42:15 2de7ff778b66: Download complete 16:42:16 0d9ebad4ef96: Verifying Checksum 16:42:16 0d9ebad4ef96: Download complete 16:42:17 ab5ef0e58194: Verifying Checksum 16:42:17 ab5ef0e58194: Download complete 16:42:19 ab5ef0e58194: Pull complete 16:42:19 9712f1f96733: Pull complete 16:42:20 63f879dbbcfc: Pull complete 16:42:23 0d9ebad4ef96: Pull complete 16:42:23 e9a5061849ea: Pull complete 16:42:23 d747dcd14b5f: Pull complete 16:42:24 2de7ff778b66: Pull complete 16:42:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:42:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:42:24 prd-centos7-docker-4c-2g-839 does not seem to be running inside a container 16:42:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:42:28 $ docker top 4b909021f1fd212f173bf827b933f5cd8b76437509e84c1d480f0267bbdca174 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:42:28 provisioning config files... 16:42:28 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config933516056070618282tmp 16:42:28 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2097281238752585465tmp 16:42:28 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8791787351454591542tmp [Pipeline] { [Pipeline] echo 16:42:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:42:28 ---> sigul-configuration.sh 16:42:28 gpg: directory `/root/.gnupg' created 16:42:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:42:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:42:28 gpg: keyring `/root/.gnupg/secring.gpg' created 16:42:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:42:28 gpg: CAST5 encrypted data 16:42:28 gpg: encrypted with 1 passphrase 16:42:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:42:28 + mkdir /home/jenkins 16:42:28 + mkdir /home/jenkins/sigul [Pipeline] sh 16:42:29 + 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 16:42:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:42:29 ---> sigul-install.sh 16:42:29 Sigul already installed; skipping installation. [Pipeline] sh 16:42:29 + git tag --list 16:42:29 v0.1.0 16:42:29 v0.1.1 16:42:29 v1.0.0 16:42:29 v1.1.0 16:42:29 v1.2.0 16:42:29 v1.3.0 16:42:29 v1.3.1 16:42:29 v2.0.0 16:42:29 v2.0.1 16:42:29 v2.0.1-dev.1 16:42:29 v2.0.1-dev.2 16:42:29 v2.0.1-dev.3 16:42:29 v2.0.1-dev.4 16:42:29 v2.0.1-dev.5 16:42:29 v2.0.1-dev.6 16:42:29 v2.0.1-dev.7 16:42:29 v2.0.2-dev.1 16:42:29 v2.0.2-dev.10 16:42:29 v2.0.2-dev.11 16:42:29 v2.0.2-dev.12 16:42:29 v2.0.2-dev.13 16:42:29 v2.0.2-dev.14 16:42:29 v2.0.2-dev.15 16:42:29 v2.0.2-dev.16 16:42:29 v2.0.2-dev.17 16:42:29 v2.0.2-dev.2 16:42:29 v2.0.2-dev.3 16:42:29 v2.0.2-dev.4 16:42:29 v2.0.2-dev.5 16:42:29 v2.0.2-dev.6 16:42:29 v2.0.2-dev.7 16:42:29 v2.0.2-dev.8 16:42:29 v2.0.2-dev.9 [Pipeline] sh 16:42:30 + lftools sign git-tag v2.0.2-dev.17 16:42:30 Signing Git tag with Sigul... 16:42:30 Signing v2.0.2-dev.17 [Pipeline] echo 16:42:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:42:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:42:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:42:32 $ docker stop --time=1 4b909021f1fd212f173bf827b933f5cd8b76437509e84c1d480f0267bbdca174 16:42:33 $ docker rm -f 4b909021f1fd212f173bf827b933f5cd8b76437509e84c1d480f0267bbdca174 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:42:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:42:34 . [Pipeline] withDockerContainer 16:42:34 prd-centos7-docker-4c-2g-839 does not seem to be running inside a container 16:42:34 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:42:34 $ docker top 334053ebd1ef4249b85ea690b5d35347b8949c8d878057c52ce9a9e6bec6f25e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:34 [ssh-agent] Looking for ssh-agent implementation... 16:42:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:34 $ docker exec 334053ebd1ef4249b85ea690b5d35347b8949c8d878057c52ce9a9e6bec6f25e ssh-agent 16:42:35 SSH_AUTH_SOCK=/tmp/ssh-wRDTndFaDuml/agent.14 16:42:35 SSH_AGENT_PID=21 16:42:35 Running ssh-add (command line suppressed) 16:42:35 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3586612501663763926.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3586612501663763926.key) 16:42:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:35 + git semver bump pre 16:42:35 # -> Open(): unable to determine branch for HEAD 16:42:35 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 16:42:35 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 16:42:35 # $SEMVER_REMOTE_NAME = origin 16:42:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:42:35 # $SEMVER_USER_NAME = edgex-jenkins 16:42:35 # $SEMVER_BRANCH = main 16:42:35 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver 16:42:35 2.0.2-dev.18 [Pipeline] } 16:42:35 $ docker exec --env ******** --env ******** 334053ebd1ef4249b85ea690b5d35347b8949c8d878057c52ce9a9e6bec6f25e ssh-agent -k 16:42:35 unset SSH_AUTH_SOCK; 16:42:35 unset SSH_AGENT_PID; 16:42:35 echo Agent pid 21 killed; 16:42:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:36 + git semver [Pipeline] } 16:42:36 $ docker stop --time=1 334053ebd1ef4249b85ea690b5d35347b8949c8d878057c52ce9a9e6bec6f25e 16:42:37 $ docker rm -f 334053ebd1ef4249b85ea690b5d35347b8949c8d878057c52ce9a9e6bec6f25e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:42:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:42:37 . [Pipeline] withDockerContainer 16:42:37 prd-centos7-docker-4c-2g-839 does not seem to be running inside a container 16:42:37 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:42:38 $ docker top 9ffa81389217c24c57e9bf8033212c8b2e8af7e4d33564eb3af57af2f51801ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:38 [ssh-agent] Looking for ssh-agent implementation... 16:42:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:38 $ docker exec 9ffa81389217c24c57e9bf8033212c8b2e8af7e4d33564eb3af57af2f51801ee ssh-agent 16:42:38 SSH_AUTH_SOCK=/tmp/ssh-EAFJG0jYNjdg/agent.13 16:42:38 SSH_AGENT_PID=20 16:42:38 Running ssh-add (command line suppressed) 16:42:38 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_850959481083793671.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_850959481083793671.key) 16:42:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:39 + git semver push 16:42:39 # -> Open(): unable to determine branch for HEAD 16:42:39 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 16:42:39 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 16:42:39 # $SEMVER_REMOTE_NAME = origin 16:42:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:42:39 # $SEMVER_USER_NAME = edgex-jenkins 16:42:39 # $SEMVER_BRANCH = main 16:42:39 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 16:42:41 $ docker exec --env ******** --env ******** 9ffa81389217c24c57e9bf8033212c8b2e8af7e4d33564eb3af57af2f51801ee ssh-agent -k 16:42:41 unset SSH_AUTH_SOCK; 16:42:41 unset SSH_AGENT_PID; 16:42:41 echo Agent pid 20 killed; 16:42:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:41 + git semver [Pipeline] } 16:42:41 $ docker stop --time=1 9ffa81389217c24c57e9bf8033212c8b2e8af7e4d33564eb3af57af2f51801ee 16:42:42 $ docker rm -f 9ffa81389217c24c57e9bf8033212c8b2e8af7e4d33564eb3af57af2f51801ee [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 16:42:43 + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 16:42:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:42:44 ---> package-listing.sh 16:42:44 ++ facter osfamily 16:42:44 ++ tr '[:upper:]' '[:lower:]' 16:42:44 + OS_FAMILY=redhat 16:42:44 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 16:42:44 + START_PACKAGES=/tmp/packages_start.txt 16:42:44 + END_PACKAGES=/tmp/packages_end.txt 16:42:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:42:44 + PACKAGES=/tmp/packages_start.txt 16:42:44 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 16:42:44 + PACKAGES=/tmp/packages_end.txt 16:42:44 + case "${OS_FAMILY}" in 16:42:44 + rpm -qa 16:42:44 + sort 16:42:45 + '[' -f /tmp/packages_start.txt ']' 16:42:45 + '[' -f /tmp/packages_end.txt ']' 16:42:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:42:45 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 16:42:45 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 16:42:45 + 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 16:42:45 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 16:42:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:42:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:46 16:42:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:42:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:47 latest: Pulling from edgex-lftools-log-publisher 16:42:47 b4d181a07f80: Pulling fs layer 16:42:47 a1111a8f2ec3: Pulling fs layer 16:42:47 ed53099fbce6: Pulling fs layer 16:42:47 dc539afda2c1: Pulling fs layer 16:42:47 77bc0d833cb6: Pulling fs layer 16:42:47 9065ff56babe: Pulling fs layer 16:42:47 d287ab97295c: Pulling fs layer 16:42:47 77bc0d833cb6: Waiting 16:42:47 9065ff56babe: Waiting 16:42:47 d287ab97295c: Waiting 16:42:47 dc539afda2c1: Waiting 16:42:47 a1111a8f2ec3: Verifying Checksum 16:42:47 a1111a8f2ec3: Download complete 16:42:47 dc539afda2c1: Verifying Checksum 16:42:47 dc539afda2c1: Download complete 16:42:47 77bc0d833cb6: Verifying Checksum 16:42:47 77bc0d833cb6: Download complete 16:42:47 ed53099fbce6: Verifying Checksum 16:42:47 ed53099fbce6: Download complete 16:42:47 9065ff56babe: Verifying Checksum 16:42:47 9065ff56babe: Download complete 16:42:48 b4d181a07f80: Verifying Checksum 16:42:48 b4d181a07f80: Download complete 16:42:49 b4d181a07f80: Pull complete 16:42:49 a1111a8f2ec3: Pull complete 16:42:50 ed53099fbce6: Pull complete 16:42:50 dc539afda2c1: Pull complete 16:42:50 77bc0d833cb6: Pull complete 16:42:50 9065ff56babe: Pull complete 16:42:52 d287ab97295c: Verifying Checksum 16:42:52 d287ab97295c: Download complete 16:42:58 d287ab97295c: Pull complete 16:42:58 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:42:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:42:58 prd-centos7-docker-4c-2g-839 does not seem to be running inside a container 16:42:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:43:00 $ docker top 019de950d6bd507f4332913774b6ba2e6ab14aa15bd0adde060eaa959cfd2efd -eo pid,comm [Pipeline] { [Pipeline] sh 16:43:01 + touch /tmp/pre-build-complete [Pipeline] sh 16:43:01 + mkdir -p /var/log/sysstat [Pipeline] sh 16:43:01 + ls /var/log/sa-host 16:43:01 + sadf -c /var/log/sa-host/sa05 16:43:01 file_magic: OK 16:43:01 HZ: Using current value: 100 16:43:01 file_header: OK 16:43:01 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 16:43:01 Statistics: 16:43:01 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:43:01 File successfully converted to sysstat format version 12.0.3 16:43:01 + sadf -c /var/log/sa-host/sa22 16:43:01 file_magic: OK 16:43:01 HZ: Using current value: 100 16:43:01 file_header: OK 16:43:01 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 16:43:01 Statistics: 16:43:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:43:01 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:43:01 provisioning config files... 16:43:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2309342580497099168tmp [Pipeline] { [Pipeline] echo 16:43:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:43:02 ---> create-netrc.sh [Pipeline] } 16:43:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:43:02 ---> python-tools-install.sh [Pipeline] echo 16:43:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:43:02 ---> sudo-logs.sh 16:43:02 Archiving 'sudo' log.. 16:43:03 sudo: unable to resolve host prd-centos7-docker-4c-2g-839.vexxhost.local: Name or service not known 16:43:03 sudo: unable to resolve host prd-centos7-docker-4c-2g-839.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 16:43:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:43:03 ---> job-cost.sh 16:43:03 lf-activate-venv: SKIPPING 16:43:03 DEBUG: total: 0.10999999940395355 16:43:03 INFO: Retrieving Stack Cost... 16:43:04 INFO: Retrieving Pricing Info for: v3-standard-2 16:43:05 INFO: Archiving Costs [Pipeline] echo 16:43:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:43:05 ---> logs-deploy.sh 16:43:05 lf-activate-venv: SKIPPING 16:43:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/29 16:43:05 INFO: archiving workspace using pattern(s): 16:43:06 Archives upload complete. 16:43:06 INFO: archiving logs to Nexus 16:43:06 ---> uname -a: 16:43:06 Linux prd-centos7-docker-4c-2g-839.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 16:43:06 16:43:06 16:43:06 ---> lscpu: 16:43:06 Architecture: x86_64 16:43:06 CPU op-mode(s): 32-bit, 64-bit 16:43:06 Byte Order: Little Endian 16:43:06 Address sizes: 40 bits physical, 48 bits virtual 16:43:06 CPU(s): 2 16:43:06 On-line CPU(s) list: 0,1 16:43:06 Thread(s) per core: 1 16:43:06 Core(s) per socket: 1 16:43:06 Socket(s): 2 16:43:06 NUMA node(s): 1 16:43:06 Vendor ID: AuthenticAMD 16:43:06 CPU family: 23 16:43:06 Model: 49 16:43:06 Model name: AMD EPYC-Rome Processor 16:43:06 Stepping: 0 16:43:06 CPU MHz: 2799.996 16:43:06 BogoMIPS: 5599.99 16:43:06 Virtualization: AMD-V 16:43:06 Hypervisor vendor: KVM 16:43:06 Virtualization type: full 16:43:06 L1d cache: 32K 16:43:06 L1i cache: 32K 16:43:06 L2 cache: 512K 16:43:06 L3 cache: 16384K 16:43:06 NUMA node0 CPU(s): 0,1 16:43:06 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 16:43:06 16:43:06 16:43:06 ---> nproc: 16:43:06 2 16:43:06 16:43:06 16:43:06 ---> df -h: 16:43:06 Filesystem Size Used Avail Use% Mounted on 16:43:06 overlay 40G 9.0G 32G 23% / 16:43:06 tmpfs 64M 0 64M 0% /dev 16:43:06 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:43:06 shm 64M 0 64M 0% /dev/shm 16:43:06 /dev/vda1 40G 9.0G 32G 23% /facter-os 16:43:06 16:43:06 16:43:06 ---> sar -b -r -n DEV: 16:43:06 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/22/21 _x86_64_ (2 CPU) 16:43:06 16:43:06 16:32:15 LINUX RESTART (2 CPU) 16:43:06 16:43:06 16:33:01 tps rtps wtps bread/s bwrtn/s 16:43:06 16:34:01 91.92 3.85 88.08 2618.45 5646.29 16:43:06 16:35:01 0.90 0.00 0.90 0.00 18.82 16:43:06 16:36:01 0.28 0.00 0.28 0.00 3.61 16:43:06 16:37:01 0.20 0.00 0.20 0.00 2.57 16:43:06 16:38:01 0.18 0.00 0.18 0.00 2.08 16:43:06 16:39:01 0.35 0.00 0.35 0.00 4.83 16:43:06 16:40:01 0.23 0.00 0.23 0.00 2.88 16:43:06 16:41:01 0.28 0.00 0.28 0.00 4.15 16:43:06 16:42:01 99.05 0.07 98.98 4.53 31685.70 16:43:06 16:43:01 160.28 0.10 160.18 9.99 40359.50 16:43:06 Average: 35.38 0.40 34.98 263.39 7774.69 16:43:06 16:43:06 16:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:43:06 16:34:01 5423728 0 813408 10.16 2620 1769184 1293904 14.29 601172 1584420 20 16:43:06 16:35:01 5430160 0 806972 10.08 2620 1769188 1242108 13.71 595928 1584396 16 16:43:06 16:36:01 5429296 0 807832 10.09 2620 1769192 1242184 13.71 601264 1579356 8 16:43:06 16:37:01 5433932 0 803192 10.03 2620 1769196 1210004 13.36 597800 1579356 8 16:43:06 16:38:01 5430004 0 807116 10.08 2620 1769200 1210220 13.36 597700 1583428 16 16:43:06 16:39:01 5430244 0 806872 10.07 2620 1769204 1210232 13.36 597752 1583428 8 16:43:06 16:40:01 5431208 0 805904 10.06 2620 1769208 1210004 13.36 596548 1583428 8 16:43:06 16:41:01 5429564 0 807536 10.08 2620 1769220 1210004 13.36 598408 1583432 8 16:43:06 16:42:01 4569912 0 949000 11.85 2620 2487408 1370128 15.13 746200 2193584 32 16:43:06 16:43:01 3251280 0 1173436 14.65 2620 3581604 1493556 16.49 995568 3057324 52 16:43:06 Average: 5125933 0 858127 10.71 2620 2022260 1269234 14.01 652834 1791215 18 16:43:06 16:43:06 16:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:43:06 16:34:01 eth0 383.87 282.28 1093.85 54.54 0.00 0.00 0.00 0.00 16:43:06 16:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:34:01 docker0 108.66 100.50 9.39 316.52 0.00 0.00 0.00 0.00 16:43:06 16:35:01 eth0 1.77 0.23 0.39 0.19 0.00 0.00 0.00 0.00 16:43:06 16:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:36:01 eth0 1.82 0.72 0.65 0.38 0.00 0.00 0.00 0.00 16:43:06 16:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:37:01 eth0 0.12 0.05 0.01 0.04 0.00 0.00 0.00 0.00 16:43:06 16:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:38:01 eth0 0.72 0.40 0.35 0.26 0.00 0.00 0.00 0.00 16:43:06 16:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:39:01 eth0 0.17 0.15 0.07 0.01 0.00 0.00 0.00 0.00 16:43:06 16:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:40:01 eth0 0.10 0.07 0.01 0.01 0.00 0.00 0.00 0.00 16:43:06 16:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:41:01 eth0 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 16:43:06 16:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:42:01 eth0 892.89 609.94 4486.09 90.96 0.00 0.00 0.00 0.00 16:43:06 16:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:42:01 docker0 95.57 120.70 6.84 373.88 0.00 0.00 0.00 0.00 16:43:06 16:43:01 eth0 1355.95 933.77 5918.80 162.34 0.00 0.00 0.00 0.00 16:43:06 16:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 16:43:01 docker0 2.38 1.70 0.39 0.43 0.00 0.00 0.00 0.00 16:43:06 Average: eth0 263.80 182.81 1150.27 30.88 0.00 0.00 0.00 0.00 16:43:06 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:06 Average: docker0 20.67 22.30 1.66 69.10 0.00 0.00 0.00 0.00 16:43:06 16:43:06 16:43:06 ---> sar -P ALL: 16:43:06 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/22/21 _x86_64_ (2 CPU) 16:43:06 16:43:06 16:32:15 LINUX RESTART (2 CPU) 16:43:06 16:43:06 16:33:01 CPU %user %nice %system %iowait %steal %idle 16:43:06 16:34:01 all 7.94 0.00 2.81 2.11 0.05 87.09 16:43:06 16:34:01 0 7.52 0.00 3.07 1.33 0.05 88.03 16:43:06 16:34:01 1 8.35 0.00 2.56 2.88 0.05 86.16 16:43:06 16:35:01 all 0.31 0.00 0.07 0.00 0.01 99.62 16:43:06 16:35:01 0 0.08 0.00 0.07 0.00 0.00 99.85 16:43:06 16:35:01 1 0.53 0.00 0.07 0.00 0.02 99.38 16:43:06 16:36:01 all 0.28 0.00 0.16 0.00 0.01 99.56 16:43:06 16:36:01 0 0.42 0.00 0.12 0.00 0.02 99.45 16:43:06 16:36:01 1 0.13 0.00 0.20 0.00 0.00 99.67 16:43:06 16:37:01 all 0.23 0.00 0.07 0.00 0.03 99.68 16:43:06 16:37:01 0 0.40 0.00 0.05 0.00 0.02 99.53 16:43:06 16:37:01 1 0.05 0.00 0.08 0.00 0.03 99.83 16:43:06 16:38:01 all 0.15 0.00 0.08 0.00 0.02 99.75 16:43:06 16:38:01 0 0.20 0.00 0.07 0.00 0.02 99.72 16:43:06 16:38:01 1 0.10 0.00 0.10 0.00 0.02 99.78 16:43:06 16:39:01 all 0.20 0.00 0.06 0.00 0.00 99.74 16:43:06 16:39:01 0 0.05 0.00 0.07 0.00 0.00 99.88 16:43:06 16:39:01 1 0.35 0.00 0.05 0.00 0.00 99.60 16:43:06 16:40:01 all 0.27 0.00 0.05 0.00 0.02 99.67 16:43:06 16:40:01 0 0.07 0.00 0.03 0.00 0.02 99.88 16:43:06 16:40:01 1 0.47 0.00 0.07 0.00 0.02 99.45 16:43:06 16:41:01 all 0.23 0.00 0.06 0.00 0.02 99.69 16:43:06 16:41:01 0 0.03 0.00 0.05 0.00 0.02 99.90 16:43:06 16:41:01 1 0.43 0.00 0.07 0.00 0.02 99.48 16:43:06 16:42:01 all 12.38 0.00 5.50 0.95 0.05 81.11 16:43:06 16:42:01 0 12.32 0.00 5.62 0.98 0.05 81.03 16:43:06 16:42:01 1 12.44 0.00 5.38 0.93 0.05 81.19 16:43:06 16:43:01 all 20.86 0.00 10.77 1.39 0.11 66.86 16:43:06 16:43:01 0 21.02 0.00 11.61 1.81 0.11 65.45 16:43:06 16:43:01 1 20.71 0.00 9.95 0.98 0.11 68.26 16:43:06 Average: all 4.13 0.00 1.89 0.43 0.03 93.52 16:43:06 Average: 0 4.03 0.00 1.98 0.40 0.03 93.56 16:43:06 Average: 1 4.22 0.00 1.79 0.47 0.03 93.49 16:43:06 16:43:06 16:43:06