Pull request #964 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from e741b2a411ecc9c8824b4f811649eccd3458966f+aa508a3e66e4a281fa0c2e3029608a5edd05d007 (cd761cd40c0404e5f64fdbdb3e6d2ab74797ec17) 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-ssh9092651125719291603.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh7289016912723888613.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 c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-964/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-964/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3588681688775244227.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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-ssh3950340338522835607.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-964/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-964/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh758935884352091141.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-186 in /w/workspace/ndry_app-functions-sdk-go_PR-964 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-964 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/jenkins-gitclient-ssh4811928511172009805.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit aa508a3e66e4a281fa0c2e3029608a5edd05d007 into PR head commit e741b2a411ecc9c8824b4f811649eccd3458966f > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/jenkins-gitclient-ssh8700781461959110534.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/964/head:refs/remotes/origin/PR-964 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 Merge succeeded, producing e741b2a411ecc9c8824b4f811649eccd3458966f Checking out Revision e741b2a411ecc9c8824b4f811649eccd3458966f (PR-964) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/jenkins-gitclient-ssh2237603562215757624.key > git merge aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 Commit message: "ci: update app-service-template for LTS" First time build. Skipping changelog. > git rev-list --no-walk 4a982b7041d82734441c6a96dd368ca09fb966da # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:21:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:21:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:21:42 ========================================================= 17:21:42 EdgeX Global Pipelines Version Info 17:21:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:21:43 ------------------- 17:21:43 stable info: 17:21:43 ------------------- 17:21:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:21:43 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 17:21:43 Message: update stable to v1.0.206 17:21:44 ------------------- 17:21:44 experimental info: 17:21:44 ------------------- 17:21:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:21:44 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 17:21:44 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-964 [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-964 [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-964 [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e741b2a411ecc9c8824b4f811649eccd3458966f [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e741b2a [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:46 + git log --format=format:%s -1 e741b2a411ecc9c8824b4f811649eccd3458966f [Pipeline] echo 17:21:46 GIT_COMMIT: e741b2a411ecc9c8824b4f811649eccd3458966f, Commit Message: ci: update app-service-template for LTS [Pipeline] echo 17:21:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:21:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:21:47 17:21:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:21:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:21:49 latest: Pulling from edgex-devops/git-semver 17:21:49 31603596830f: Pulling fs layer 17:21:49 04fac38145f0: Pulling fs layer 17:21:49 701f6daf10bf: Pulling fs layer 17:21:49 24f72da36158: Pulling fs layer 17:21:49 24f72da36158: Waiting 17:21:49 04fac38145f0: Verifying Checksum 17:21:49 04fac38145f0: Download complete 17:21:49 31603596830f: Verifying Checksum 17:21:49 31603596830f: Download complete 17:21:49 24f72da36158: Verifying Checksum 17:21:49 24f72da36158: Download complete 17:21:49 31603596830f: Pull complete 17:21:49 701f6daf10bf: Verifying Checksum 17:21:49 701f6daf10bf: Download complete 17:21:49 04fac38145f0: Pull complete 17:21:50 701f6daf10bf: Pull complete 17:21:50 24f72da36158: Pull complete 17:21:50 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 17:21:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:21:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:21:50 prd-centos7-docker-4c-2g-186 does not seem to be running inside a container 17:21:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-964 -v /w/workspace/ndry_app-functions-sdk-go_PR-964:/w/workspace/ndry_app-functions-sdk-go_PR-964:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:21:51 $ docker top 261e3acd9062f7fd1a799c9219ba16f5a64db5f2b2c22f2b4df38e674b6c6db0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:21:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:21:51 [ssh-agent] Looking for ssh-agent implementation... 17:21:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:21:51 $ docker exec 261e3acd9062f7fd1a799c9219ba16f5a64db5f2b2c22f2b4df38e674b6c6db0 ssh-agent 17:21:51 SSH_AUTH_SOCK=/tmp/ssh-WZJZyshrC6nM/agent.14 17:21:51 SSH_AGENT_PID=20 17:21:51 Running ssh-add (command line suppressed) 17:21:51 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_3213339685943960817.key (/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_3213339685943960817.key) 17:21:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:21:52 + git tag --points-at HEAD [Pipeline] } 17:21:52 $ docker exec --env ******** --env ******** 261e3acd9062f7fd1a799c9219ba16f5a64db5f2b2c22f2b4df38e674b6c6db0 ssh-agent -k 17:21:52 unset SSH_AUTH_SOCK; 17:21:52 unset SSH_AGENT_PID; 17:21:52 echo Agent pid 20 killed; 17:21:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:21:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:21:52 [ssh-agent] Looking for ssh-agent implementation... 17:21:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:21:52 $ docker exec 261e3acd9062f7fd1a799c9219ba16f5a64db5f2b2c22f2b4df38e674b6c6db0 ssh-agent 17:21:52 SSH_AUTH_SOCK=/tmp/ssh-5F2xMz4ajhpC/agent.53 17:21:52 SSH_AGENT_PID=59 17:21:52 Running ssh-add (command line suppressed) 17:21:52 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_3893647900586968029.key (/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_3893647900586968029.key) 17:21:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:21:53 + git semver init 17:21:53 # -> Open(): unable to determine branch for HEAD 17:21:53 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-964/.git 17:21:53 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-964 17:21:53 # $SEMVER_REMOTE_NAME = origin 17:21:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:21:53 # $SEMVER_USER_NAME = edgex-jenkins 17:21:53 # $SEMVER_BRANCH = PR-964 17:21:53 # $SEMVER_TEMP = /tmp/semver-279392497 17:21:53 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:21:55 # '/tmp/semver-279392497' -> '/w/workspace/ndry_app-functions-sdk-go_PR-964/.semver' 17:21:55 # -> Force: false 17:21:55 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-964/.semver [Pipeline] } 17:21:55 $ docker exec --env ******** --env ******** 261e3acd9062f7fd1a799c9219ba16f5a64db5f2b2c22f2b4df38e674b6c6db0 ssh-agent -k 17:21:55 unset SSH_AUTH_SOCK; 17:21:55 unset SSH_AGENT_PID; 17:21:55 echo Agent pid 59 killed; 17:21:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:21:56 + git semver [Pipeline] } 17:21:56 $ docker stop --time=1 261e3acd9062f7fd1a799c9219ba16f5a64db5f2b2c22f2b4df38e674b6c6db0 17:21:57 $ docker rm -f 261e3acd9062f7fd1a799c9219ba16f5a64db5f2b2c22f2b4df38e674b6c6db0 [Pipeline] // withDockerContainer [Pipeline] sh 17:21:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:21:59 Stashed 1 file(s) [Pipeline] echo 17:21:59 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 17:22:14 Still waiting to schedule task 17:22:14 ‘prd-centos7-docker-4c-2g-174’ is offline 17:22:14 ‘prd-centos7-docker-4c-2g-176’ is offline 17:22:14 ‘prd-centos7-docker-4c-2g-180’ is offline 17:22:14 ‘prd-centos7-docker-4c-2g-181’ is offline 17:22:14 ‘prd-centos7-docker-4c-2g-185’ is offline 17:22:14 ‘prd-ubuntu18.04-docker-8c-8g-184’ doesn’t have label ‘centos7-docker-4c-2g’ 17:22:14 ‘prd-ubuntu18.04-docker-arm64-4c-16g-179’ doesn’t have label ‘centos7-docker-4c-2g’ 17:22:14 ‘prd-ubuntu18.04-docker-arm64-4c-16g-182’ doesn’t have label ‘centos7-docker-4c-2g’ 17:22:14 ‘prd-ubuntu18.04-docker-arm64-4c-16g-183’ doesn’t have label ‘centos7-docker-4c-2g’ 17:22:14 Still waiting to schedule task 17:22:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:36:33 Running on prd-centos7-docker-4c-2g-201 in /w/workspace/ndry_app-functions-sdk-go_PR-964 [Pipeline] { [Pipeline] ws 17:36:33 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:36:34 The recommended git tool is: git 17:36:40 using credential edgex-jenkins-ssh 17:36:40 Cloning the remote Git repository 17:36:40 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:36:40 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 17:36:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:36:40 > git --version # timeout=10 17:36:40 > git --version # 'git version 2.24.4' 17:36:40 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:40 [INFO] Currently running in a labeled security context 17:36:40 [INFO] Currently SELinux is 'enforcing' on the host 17:36:40 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh3013011079658177217.key 17:36:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:36:43 Merging remotes/origin/main commit aa508a3e66e4a281fa0c2e3029608a5edd05d007 into PR head commit e741b2a411ecc9c8824b4f811649eccd3458966f 17:36:43 Merge succeeded, producing e741b2a411ecc9c8824b4f811649eccd3458966f 17:36:43 Checking out Revision e741b2a411ecc9c8824b4f811649eccd3458966f (PR-964) 17:36:42 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:36:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:36:42 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:36:42 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:36:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:42 [INFO] Currently running in a labeled security context 17:36:42 [INFO] Currently SELinux is 'enforcing' on the host 17:36:42 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh7106616647996741401.key 17:36:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/964/head:refs/remotes/origin/PR-964 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:36:43 > git config core.sparsecheckout # timeout=10 17:36:43 > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 17:36:43 > git remote # timeout=10 17:36:43 > git config --get remote.origin.url # timeout=10 17:36:43 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:43 [INFO] Currently running in a labeled security context 17:36:43 [INFO] Currently SELinux is 'enforcing' on the host 17:36:43 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh2344011509678285780.key 17:36:43 > git merge aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 17:36:43 > git rev-parse HEAD^{commit} # timeout=10 17:36:43 > git config core.sparsecheckout # timeout=10 17:36:43 > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 17:36:47 Commit message: "ci: update app-service-template for LTS" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:36:48 ========================================================= 17:36:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:36:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:36:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:36:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:36:49 a0d0a0d46f8b: Pulling fs layer 17:36:49 31adcdaf11c8: Pulling fs layer 17:36:49 b8b176561691: Pulling fs layer 17:36:49 4527c011a84f: Pulling fs layer 17:36:49 5d74067f8e1e: Pulling fs layer 17:36:49 422cf6fa6bef: Pulling fs layer 17:36:49 76c23d3c928b: Pulling fs layer 17:36:49 b0ab8671f0de: Pulling fs layer 17:36:49 a7ba4ba32af5: Pulling fs layer 17:36:49 5d74067f8e1e: Waiting 17:36:49 422cf6fa6bef: Waiting 17:36:49 76c23d3c928b: Waiting 17:36:49 b0ab8671f0de: Waiting 17:36:49 a7ba4ba32af5: Waiting 17:36:49 4527c011a84f: Waiting 17:36:49 b8b176561691: Download complete 17:36:49 31adcdaf11c8: Verifying Checksum 17:36:49 31adcdaf11c8: Download complete 17:36:49 5d74067f8e1e: Verifying Checksum 17:36:49 5d74067f8e1e: Download complete 17:36:49 422cf6fa6bef: Verifying Checksum 17:36:49 422cf6fa6bef: Download complete 17:36:52 76c23d3c928b: Verifying Checksum 17:36:52 76c23d3c928b: Download complete 17:36:52 a0d0a0d46f8b: Verifying Checksum 17:36:52 a0d0a0d46f8b: Download complete 17:36:52 a0d0a0d46f8b: Pull complete 17:36:52 31adcdaf11c8: Pull complete 17:36:52 b8b176561691: Pull complete 17:36:56 b0ab8671f0de: Verifying Checksum 17:36:56 b0ab8671f0de: Download complete 17:37:14 a7ba4ba32af5: Verifying Checksum 17:37:14 a7ba4ba32af5: Download complete 17:37:14 4527c011a84f: Verifying Checksum 17:37:14 4527c011a84f: Download complete 17:37:17 4527c011a84f: Pull complete 17:37:17 5d74067f8e1e: Pull complete 17:37:17 422cf6fa6bef: Pull complete 17:37:17 76c23d3c928b: Pull complete 17:37:17 b0ab8671f0de: Pull complete 17:37:19 a7ba4ba32af5: Pull complete 17:37:19 Digest: sha256:9f522e5ba371b9c758fd7e90815c04fefb4b1d14a41cd28f68756861d8a97abf 17:37:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:37:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 17:37:20 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:37:20 + docker inspect -f . ci-base-image-x86_64 17:37:20 . [Pipeline] withDockerContainer 17:37:21 prd-centos7-docker-4c-2g-201 does not seem to be running inside a container 17:37:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:37:25 $ docker top 611e59add79d4684b6cd51d0f3789b07bc11c2496860768692ee4f0b0a589159 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:25 + go version 17:37:25 go version go1.16.8 linux/amd64 [Pipeline] } 17:37:25 $ docker stop --time=1 611e59add79d4684b6cd51d0f3789b07bc11c2496860768692ee4f0b0a589159 17:37:26 $ docker rm -f 611e59add79d4684b6cd51d0f3789b07bc11c2496860768692ee4f0b0a589159 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:37:27 + docker inspect -f . ci-base-image-x86_64 17:37:27 . [Pipeline] withDockerContainer 17:37:27 prd-centos7-docker-4c-2g-201 does not seem to be running inside a container 17:37:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:37:27 $ docker top 420e7354bc411eeb48ff664136f64ec0694377832a44009e022d47f792409a1f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:37:28 + make test 17:37:28 make -C ./app-service-template build 17:37:28 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 17:37:28 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 17:37:29 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 17:37:29 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 17:37:29 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 17:37:29 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 17:37:29 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:37:29 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:37:29 go: downloading github.com/go-kit/kit v0.9.0 17:37:29 go: downloading github.com/google/uuid v1.3.0 17:37:29 go: downloading github.com/mitchellh/copystructure v1.0.0 17:37:29 go: downloading github.com/go-playground/validator/v10 v10.6.1 17:37:29 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 17:37:29 go: downloading github.com/gorilla/mux v1.8.0 17:37:29 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:37:29 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 17:37:29 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 17:37:29 go: downloading github.com/gorilla/websocket v1.4.2 17:37:29 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:37:29 go: downloading github.com/pelletier/go-toml v1.9.2 17:37:29 go: downloading github.com/hashicorp/consul/api v1.8.1 17:37:29 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:37:29 go: downloading github.com/go-playground/universal-translator v0.17.0 17:37:29 go: downloading github.com/leodido/go-urn v1.2.0 17:37:29 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 17:37:29 go: downloading golang.org/x/text v0.3.2 17:37:29 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:37:29 go: downloading github.com/x448/float16 v0.8.4 17:37:30 go: downloading github.com/hashicorp/errwrap v1.0.0 17:37:30 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:37:30 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:37:30 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:37:30 go: downloading github.com/hashicorp/serf v0.9.5 17:37:30 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:37:30 go: downloading github.com/go-playground/locales v0.13.0 17:37:30 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:37:30 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:37:30 go: downloading github.com/fatih/color v1.9.0 17:37:30 go: downloading github.com/mattn/go-isatty v0.0.12 17:37:30 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:37:30 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:37:30 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:37:31 go: downloading github.com/pebbe/zmq4 v1.2.7 17:37:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:37:31 go: downloading github.com/mattn/go-colorable v0.1.6 17:37:31 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 17:37:31 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:37:31 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:37:41 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 17:37:41 make -C ./app-service-template test 17:37:41 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 17:37:41 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:37:41 go: downloading github.com/stretchr/testify v1.7.0 17:37:41 go: downloading github.com/davecgh/go-spew v1.1.1 17:37:41 go: downloading github.com/pmezard/go-difflib v1.0.0 17:37:41 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:37:41 go: downloading github.com/stretchr/objx v0.1.0 17:37:50 ok new-app-service 0.021s coverage: 48.1% of statements 17:37:50 ? new-app-service/config [no test files] 17:37:50 ok new-app-service/functions 0.007s 17:37:50 CGO_ENABLED=1 go vet ./... 17:37:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:37:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:37:56 ./bin/test-attribution-txt.sh 17:37:56 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:37:56 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:38:03 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 17:38:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:38:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:38:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.011s coverage: 67.5% of statements 17:38:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 17:38:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.024s coverage: 93.7% of statements 17:38:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:38:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.013s coverage: 61.8% of statements 17:38:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:38:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s 17:38:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.077s coverage: 75.7% of statements 17:38:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 17:38:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 17:38:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:38:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 17:38:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 17:38:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:38:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.3% of statements 17:38:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:38:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements 17:38:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.050s coverage: 77.0% of statements 17:38:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 17:38:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements 17:38:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements 17:38:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:38:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:38:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements 17:38:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.028s coverage: 77.3% of statements 17:38:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 17:38:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:38:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:38:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 17:38:38 $ docker stop --time=1 420e7354bc411eeb48ff664136f64ec0694377832a44009e022d47f792409a1f 17:38:39 $ docker rm -f 420e7354bc411eeb48ff664136f64ec0694377832a44009e022d47f792409a1f [Pipeline] // withDockerContainer [Pipeline] sh 17:38:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:38:40 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 17:38:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:41 17:38:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:38:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:42 latest: Pulling from edgex-lftools-log-publisher 17:38:42 b4d181a07f80: Pulling fs layer 17:38:42 a1111a8f2ec3: Pulling fs layer 17:38:42 ed53099fbce6: Pulling fs layer 17:38:42 dc539afda2c1: Pulling fs layer 17:38:42 77bc0d833cb6: Pulling fs layer 17:38:42 9065ff56babe: Pulling fs layer 17:38:42 d287ab97295c: Pulling fs layer 17:38:42 dc539afda2c1: Waiting 17:38:42 77bc0d833cb6: Waiting 17:38:42 9065ff56babe: Waiting 17:38:42 d287ab97295c: Waiting 17:38:42 a1111a8f2ec3: Verifying Checksum 17:38:42 a1111a8f2ec3: Download complete 17:38:42 dc539afda2c1: Verifying Checksum 17:38:42 dc539afda2c1: Download complete 17:38:42 77bc0d833cb6: Verifying Checksum 17:38:42 77bc0d833cb6: Download complete 17:38:42 9065ff56babe: Verifying Checksum 17:38:42 9065ff56babe: Download complete 17:38:42 ed53099fbce6: Verifying Checksum 17:38:42 ed53099fbce6: Download complete 17:38:43 b4d181a07f80: Verifying Checksum 17:38:43 b4d181a07f80: Download complete 17:38:44 b4d181a07f80: Pull complete 17:38:44 a1111a8f2ec3: Pull complete 17:38:45 ed53099fbce6: Pull complete 17:38:45 dc539afda2c1: Pull complete 17:38:45 77bc0d833cb6: Pull complete 17:38:45 9065ff56babe: Pull complete 17:38:48 d287ab97295c: Verifying Checksum 17:38:48 d287ab97295c: Download complete 17:38:53 d287ab97295c: Pull complete 17:38:53 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:38:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:38:53 prd-centos7-docker-4c-2g-201 does not seem to be running inside a container 17:38:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:38:55 $ docker top 4e4686899bff191b8547d63e0cef3cf92585cd959a6078387000411ff74eec30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:56 ---> job-cost.sh 17:38:56 lf-activate-venv: SKIPPING 17:38:56 INFO: No Stack... 17:39:29 INFO: Retrieving Pricing Info for: 17:39:29
17:39:29