Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6e54455fea00f37496bf405a1cf96c92d232c807 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-ssh4724548871039078029.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-ssh5899147777574334798.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-ssh5905441531449498625.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-ssh556663378809454169.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-ssh6440174227780836539.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-1414 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-ssh8079286292190813763.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 6e54455fea00f37496bf405a1cf96c92d232c807 (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 6e54455fea00f37496bf405a1cf96c92d232c807 # timeout=10 Commit message: "ci: Fix issue with PR template (#957)" > git rev-list --no-walk 6a6a1c5973c1070a14136fb6a022961729ef896e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:41:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:41:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:41:11 ========================================================= 01:41:11 EdgeX Global Pipelines Version Info 01:41:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:41:12 ------------------- 01:41:12 stable info: 01:41:12 ------------------- 01:41:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:41:12 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 01:41:12 Message: update stable to v1.0.205 01:41:13 ------------------- 01:41:13 experimental info: 01:41:13 ------------------- 01:41:13 Commited By: **** collab-it+edgex@linuxfoundation.org 01:41:13 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 01:41:13 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:41:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e54455fea00f37496bf405a1cf96c92d232c807 [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e54455 [Pipeline] echo 01:41:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:41:14 + git log --format=format:%s -1 6e54455fea00f37496bf405a1cf96c92d232c807 [Pipeline] echo 01:41:15 GIT_COMMIT: 6e54455fea00f37496bf405a1cf96c92d232c807, Commit Message: ci: Fix issue with PR template (#957) [Pipeline] echo 01:41:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:41:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:41:17 01:41:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:41:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:41:17 latest: Pulling from edgex-devops/git-semver 01:41:17 31603596830f: Pulling fs layer 01:41:17 04fac38145f0: Pulling fs layer 01:41:17 701f6daf10bf: Pulling fs layer 01:41:17 24f72da36158: Pulling fs layer 01:41:17 24f72da36158: Waiting 01:41:17 04fac38145f0: Download complete 01:41:18 31603596830f: Verifying Checksum 01:41:18 31603596830f: Download complete 01:41:18 31603596830f: Pull complete 01:41:18 24f72da36158: Verifying Checksum 01:41:18 24f72da36158: Download complete 01:41:18 04fac38145f0: Pull complete 01:41:18 701f6daf10bf: Verifying Checksum 01:41:18 701f6daf10bf: Download complete 01:41:18 701f6daf10bf: Pull complete 01:41:18 24f72da36158: Pull complete 01:41:18 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 01:41:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:41:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:41:19 prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container 01:41:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:41:19 $ docker top 4e64983c698b2a2db69d0289807d5f85b854aa8c0f8471d7db3ff4f9c07a39b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:41:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:41:19 [ssh-agent] Looking for ssh-agent implementation... 01:41:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:41:20 $ docker exec 4e64983c698b2a2db69d0289807d5f85b854aa8c0f8471d7db3ff4f9c07a39b7 ssh-agent 01:41:20 SSH_AUTH_SOCK=/tmp/ssh-ArwXu7TWHAFT/agent.14 01:41:20 SSH_AGENT_PID=20 01:41:20 Running ssh-add (command line suppressed) 01:41:20 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_688582855490895257.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_688582855490895257.key) 01:41:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:41:20 + git tag --points-at HEAD [Pipeline] } 01:41:20 $ docker exec --env ******** --env ******** 4e64983c698b2a2db69d0289807d5f85b854aa8c0f8471d7db3ff4f9c07a39b7 ssh-agent -k 01:41:20 unset SSH_AUTH_SOCK; 01:41:20 unset SSH_AGENT_PID; 01:41:20 echo Agent pid 20 killed; 01:41:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:41:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:41:20 [ssh-agent] Looking for ssh-agent implementation... 01:41:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:41:20 $ docker exec 4e64983c698b2a2db69d0289807d5f85b854aa8c0f8471d7db3ff4f9c07a39b7 ssh-agent 01:41:21 SSH_AUTH_SOCK=/tmp/ssh-rYvhOfAhNEG6/agent.52 01:41:21 SSH_AGENT_PID=58 01:41:21 Running ssh-add (command line suppressed) 01:41:21 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8450469883341006449.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8450469883341006449.key) 01:41:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:41:21 + git semver init 01:41:21 # -> Open(): unable to determine branch for HEAD 01:41:21 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 01:41:21 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 01:41:21 # $SEMVER_REMOTE_NAME = origin 01:41:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:41:21 # $SEMVER_USER_NAME = edgex-jenkins 01:41:21 # $SEMVER_BRANCH = main 01:41:21 # $SEMVER_TEMP = /tmp/semver-675642195 01:41:21 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 01:41:29 # '/tmp/semver-675642195' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' 01:41:29 # -> Force: false 01:41:29 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 01:41:29 $ docker exec --env ******** --env ******** 4e64983c698b2a2db69d0289807d5f85b854aa8c0f8471d7db3ff4f9c07a39b7 ssh-agent -k 01:41:29 unset SSH_AUTH_SOCK; 01:41:29 unset SSH_AGENT_PID; 01:41:29 echo Agent pid 58 killed; 01:41:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:41:30 + git semver [Pipeline] } 01:41:30 $ docker stop --time=1 4e64983c698b2a2db69d0289807d5f85b854aa8c0f8471d7db3ff4f9c07a39b7 01:41:31 $ docker rm -f 4e64983c698b2a2db69d0289807d5f85b854aa8c0f8471d7db3ff4f9c07a39b7 [Pipeline] // withDockerContainer [Pipeline] sh 01:41:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:41:32 Stashed 1 file(s) [Pipeline] echo 01:41:32 [edgeXSemver]: initialized semver on version 2.0.2-dev.19 [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 01:41:47 Still waiting to schedule task 01:41:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:41:47 Still waiting to schedule task 01:41:47 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:44:34 Running on prd-centos7-docker-4c-2g-1418 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 01:44:34 Running in /w/workspace/app-functions-sdk-go/31 [Pipeline] { [Pipeline] checkout 01:44:34 The recommended git tool is: git 01:44:37 using credential edgex-jenkins-ssh 01:44:37 Cloning the remote Git repository 01:44:37 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 01:44:37 > git init /w/workspace/app-functions-sdk-go/31 # timeout=10 01:44:37 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 01:44:37 > git --version # timeout=10 01:44:37 > git --version # 'git version 2.24.4' 01:44:37 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:37 [INFO] Currently running in a labeled security context 01:44:37 [INFO] Currently SELinux is 'enforcing' on the host 01:44:37 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/31@tmp/jenkins-gitclient-ssh5846315042345652118.key 01:44:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:44 Avoid second fetch 01:44:44 Checking out Revision 6e54455fea00f37496bf405a1cf96c92d232c807 (main) 01:44:44 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 01:44:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:44 > git config core.sparsecheckout # timeout=10 01:44:44 > git checkout -f 6e54455fea00f37496bf405a1cf96c92d232c807 # timeout=10 01:44:48 Commit message: "ci: Fix issue with PR template (#957)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:44:48 ========================================================= 01:44:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:44:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 01:44:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:44:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:44:49 540db60ca938: Pulling fs layer 01:44:49 adcc1eea9eea: Pulling fs layer 01:44:49 4c4ab2625f07: Pulling fs layer 01:44:49 db62176df00c: Pulling fs layer 01:44:49 3b30891b0d05: Pulling fs layer 01:44:49 06b49ca38bd5: Pulling fs layer 01:44:49 c788192a36de: Pulling fs layer 01:44:49 a77e37c0d609: Pulling fs layer 01:44:49 c3185cebc471: Pulling fs layer 01:44:49 3b30891b0d05: Waiting 01:44:49 06b49ca38bd5: Waiting 01:44:49 c788192a36de: Waiting 01:44:49 a77e37c0d609: Waiting 01:44:49 c3185cebc471: Waiting 01:44:49 db62176df00c: Waiting 01:44:49 4c4ab2625f07: Verifying Checksum 01:44:49 4c4ab2625f07: Download complete 01:44:49 adcc1eea9eea: Verifying Checksum 01:44:49 adcc1eea9eea: Download complete 01:44:49 3b30891b0d05: Verifying Checksum 01:44:49 3b30891b0d05: Download complete 01:44:49 06b49ca38bd5: Verifying Checksum 01:44:49 06b49ca38bd5: Download complete 01:44:49 c788192a36de: Verifying Checksum 01:44:49 c788192a36de: Download complete 01:44:49 540db60ca938: Verifying Checksum 01:44:49 540db60ca938: Download complete 01:44:49 540db60ca938: Pull complete 01:44:49 adcc1eea9eea: Pull complete 01:44:49 4c4ab2625f07: Pull complete 01:44:50 a77e37c0d609: Verifying Checksum 01:44:50 a77e37c0d609: Download complete 01:44:53 c3185cebc471: Verifying Checksum 01:44:53 c3185cebc471: Download complete 01:44:53 db62176df00c: Verifying Checksum 01:44:53 db62176df00c: Download complete 01:44:57 db62176df00c: Pull complete 01:44:57 3b30891b0d05: Pull complete 01:44:57 06b49ca38bd5: Pull complete 01:44:57 c788192a36de: Pull complete 01:44:57 a77e37c0d609: Pull complete 01:44:59 c3185cebc471: Pull complete 01:44:59 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 01:44:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:44:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 01:44:59 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 01:44:59 + docker inspect -f . ci-base-image-x86_64 01:44:59 . [Pipeline] withDockerContainer 01:44:59 prd-centos7-docker-4c-2g-1418 does not seem to be running inside a container 01:44:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@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 01:45:02 $ docker top b76a1d1790b1f114157aef6b6e009525ad09dd1b6ae1d345edfd3d08f9ddb2e8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:45:02 + go version 01:45:02 go version go1.16.6 linux/amd64 [Pipeline] } 01:45:02 $ docker stop --time=1 b76a1d1790b1f114157aef6b6e009525ad09dd1b6ae1d345edfd3d08f9ddb2e8 01:45:03 $ docker rm -f b76a1d1790b1f114157aef6b6e009525ad09dd1b6ae1d345edfd3d08f9ddb2e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:45:06 + docker inspect -f . ci-base-image-x86_64 01:45:06 . [Pipeline] withDockerContainer 01:45:06 prd-centos7-docker-4c-2g-1418 does not seem to be running inside a container 01:45:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@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 01:45:06 $ docker top 6e31cc9d3577e0f880ae99221caa21c8f5c331f8f9a3037280adf420ecf2dac2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:45:07 + make test 01:45:07 make -C ./app-service-template build 01:45:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 01:45:07 go mod tidy 01:45:07 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 01:45:08 go: downloading github.com/stretchr/testify v1.7.0 01:45:08 go: downloading github.com/google/uuid v1.3.0 01:45:08 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 01:45:08 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 01:45:08 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 01:45:08 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 01:45:08 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:45:08 go: downloading github.com/go-kit/kit v0.9.0 01:45:08 go: downloading github.com/go-playground/validator/v10 v10.6.1 01:45:08 go: downloading github.com/davecgh/go-spew v1.1.1 01:45:08 go: downloading github.com/pmezard/go-difflib v1.0.0 01:45:08 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 01:45:08 go: downloading github.com/stretchr/objx v0.1.0 01:45:08 go: downloading gopkg.in/yaml.v2 v2.4.0 01:45:08 go: downloading github.com/gorilla/mux v1.8.0 01:45:08 go: downloading github.com/hashicorp/go-multierror v1.1.1 01:45:08 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 01:45:08 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 01:45:08 go: downloading github.com/mitchellh/copystructure v1.0.0 01:45:08 go: downloading github.com/gorilla/websocket v1.4.2 01:45:08 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 01:45:08 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:45:08 go: downloading github.com/go-playground/universal-translator v0.17.0 01:45:08 go: downloading github.com/leodido/go-urn v1.2.0 01:45:09 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 01:45:09 go: downloading golang.org/x/text v0.3.2 01:45:09 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:45:09 go: downloading github.com/go-playground/locales v0.13.0 01:45:10 go: downloading github.com/go-logfmt/logfmt v0.4.0 01:45:10 go: downloading github.com/go-stack/stack v1.8.0 01:45:10 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 01:45:10 go: downloading github.com/pelletier/go-toml v1.9.2 01:45:10 go: downloading github.com/hashicorp/errwrap v1.0.0 01:45:10 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:45:10 go: downloading github.com/x448/float16 v0.8.4 01:45:10 go: downloading github.com/hashicorp/consul/api v1.8.1 01:45:10 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 01:45:10 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:45:10 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:45:10 go: downloading github.com/kr/pretty v0.2.0 01:45:10 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:45:10 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:45:10 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:45:10 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:45:10 go: downloading github.com/hashicorp/serf v0.9.5 01:45:10 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:45:10 go: downloading github.com/hashicorp/consul/sdk v0.7.0 01:45:10 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:45:10 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 01:45:10 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:45:10 go: downloading github.com/pebbe/zmq4 v1.2.7 01:45:10 go: downloading github.com/kr/text v0.1.0 01:45:10 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:45:10 go: downloading github.com/fatih/color v1.9.0 01:45:10 go: downloading github.com/mattn/go-colorable v0.1.6 01:45:10 go: downloading github.com/mattn/go-isatty v0.0.12 01:45:10 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:45:10 go: downloading github.com/pkg/errors v0.8.1 01:45:10 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:45:10 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:45:10 go: downloading github.com/hashicorp/memberlist v0.2.2 01:45:10 go: downloading github.com/onsi/ginkgo v1.10.1 01:45:10 go: downloading github.com/onsi/gomega v1.7.0 01:45:10 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:45:10 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:45:10 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:45:10 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:45:10 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:45:10 go: downloading github.com/miekg/dns v1.1.26 01:45:11 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:45:11 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:45:11 go: downloading github.com/hpcloud/tail v1.0.0 01:45:11 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 01:45:11 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:45:11 go: downloading github.com/golang/protobuf v1.3.2 01:45:11 go: downloading gopkg.in/fsnotify.v1 v1.4.7 01:45:11 go: downloading github.com/fsnotify/fsnotify v1.4.7 01:45:11 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 01:45:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 01:45:23 make -C ./app-service-template test 01:45:23 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 01:45:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 01:45:31 ok new-app-service 0.017s coverage: 48.1% of statements 01:45:31 ? new-app-service/config [no test files] 01:45:31 ok new-app-service/functions 0.008s 01:45:31 CGO_ENABLED=1 go vet ./... 01:45:39 gofmt -l . 01:45:39 [ "`gofmt -l .`" = "" ] 01:45:39 ./bin/test-attribution-txt.sh 01:45:39 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 01:45:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:45:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 01:45:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.010s coverage: 63.9% of statements 01:45:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.011s coverage: 93.7% of statements 01:45:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 01:45:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.011s coverage: 61.8% of statements 01:45:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 01:45:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.009s 01:45:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.134s coverage: 75.7% of statements 01:45:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 01:45:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 01:45:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 01:45:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 01:45:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 01:45:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 01:45:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.025s coverage: 97.3% of statements 01:45:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 01:45:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.008s coverage: 10.5% of statements 01:45:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.055s coverage: 77.0% of statements 01:45:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 01:45:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements 01:45:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements 01:45:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 01:45:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:45:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s coverage: 51.4% of statements 01:45:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1417 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 01:45:57 Running in /w/workspace/app-functions-sdk-go/31 [Pipeline] { [Pipeline] checkout 01:45:57 The recommended git tool is: git 01:46:03 using credential edgex-jenkins-ssh 01:46:03 Cloning the remote Git repository 01:46:03 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 01:46:04 > git init /w/workspace/app-functions-sdk-go/31 # timeout=10 01:46:04 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 01:46:04 > git --version # timeout=10 01:46:04 > git --version # 'git version 2.17.1' 01:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:46:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:46:09 Avoid second fetch 01:46:09 Checking out Revision 6e54455fea00f37496bf405a1cf96c92d232c807 (main) 01:46:09 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 01:46:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:46:09 > git config core.sparsecheckout # timeout=10 01:46:09 > git checkout -f 6e54455fea00f37496bf405a1cf96c92d232c807 # timeout=10 01:46:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.035s coverage: 77.3% of statements 01:46:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 01:46:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:46:12 gofmt -l . 01:46:12 [ "`gofmt -l .`" = "" ] [Pipeline] } 01:46:12 $ docker stop --time=1 6e31cc9d3577e0f880ae99221caa21c8f5c331f8f9a3037280adf420ecf2dac2 01:46:13 $ docker rm -f 6e31cc9d3577e0f880ae99221caa21c8f5c331f8f9a3037280adf420ecf2dac2 [Pipeline] // withDockerContainer [Pipeline] sh 01:46:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:46:14 Commit message: "ci: Fix issue with PR template (#957)" 01:46:14 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) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:46:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:46:16 01:46:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 01:46:17 ========================================================= 01:46:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:46:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 01:46:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:46:17 latest: Pulling from edgex-lftools-log-publisher 01:46:17 b4d181a07f80: Pulling fs layer 01:46:17 a1111a8f2ec3: Pulling fs layer 01:46:17 ed53099fbce6: Pulling fs layer 01:46:17 dc539afda2c1: Pulling fs layer 01:46:17 77bc0d833cb6: Pulling fs layer 01:46:17 9065ff56babe: Pulling fs layer 01:46:17 d287ab97295c: Pulling fs layer 01:46:17 dc539afda2c1: Waiting 01:46:17 77bc0d833cb6: Waiting 01:46:17 9065ff56babe: Waiting 01:46:17 d287ab97295c: Waiting 01:46:17 a1111a8f2ec3: Verifying Checksum 01:46:17 a1111a8f2ec3: Download complete 01:46:17 dc539afda2c1: Verifying Checksum 01:46:17 dc539afda2c1: Download complete 01:46:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:46:17 77bc0d833cb6: Verifying Checksum 01:46:17 77bc0d833cb6: Download complete 01:46:17 9065ff56babe: Verifying Checksum 01:46:17 9065ff56babe: Download complete 01:46:18 ed53099fbce6: Verifying Checksum 01:46:18 ed53099fbce6: Download complete 01:46:18 b4d181a07f80: Verifying Checksum 01:46:18 b4d181a07f80: Download complete 01:46:19 b4d181a07f80: Pull complete 01:46:19 a1111a8f2ec3: Pull complete 01:46:20 ed53099fbce6: Pull complete 01:46:20 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:46:20 595b0fe564bb: Pulling fs layer 01:46:20 24495759ef45: Pulling fs layer 01:46:20 d148012ef14d: Pulling fs layer 01:46:20 e90a11edd702: Pulling fs layer 01:46:20 d77568369979: Pulling fs layer 01:46:20 fc1c9f9a7f3b: Pulling fs layer 01:46:20 170f2ba95c9a: Pulling fs layer 01:46:20 97ac5df62f85: Pulling fs layer 01:46:20 d77568369979: Waiting 01:46:20 e90a11edd702: Waiting 01:46:20 fc1c9f9a7f3b: Waiting 01:46:20 170f2ba95c9a: Waiting 01:46:20 97ac5df62f85: Waiting 01:46:20 d148012ef14d: Verifying Checksum 01:46:20 d148012ef14d: Download complete 01:46:20 24495759ef45: Verifying Checksum 01:46:20 24495759ef45: Download complete 01:46:20 d77568369979: Verifying Checksum 01:46:20 d77568369979: Download complete 01:46:20 fc1c9f9a7f3b: Verifying Checksum 01:46:20 fc1c9f9a7f3b: Download complete 01:46:20 170f2ba95c9a: Download complete 01:46:20 595b0fe564bb: Verifying Checksum 01:46:20 595b0fe564bb: Download complete 01:46:20 dc539afda2c1: Pull complete 01:46:20 77bc0d833cb6: Pull complete 01:46:20 9065ff56babe: Pull complete 01:46:20 595b0fe564bb: Pull complete 01:46:21 24495759ef45: Pull complete 01:46:21 d148012ef14d: Pull complete 01:46:23 d287ab97295c: Verifying Checksum 01:46:23 d287ab97295c: Download complete 01:46:24 97ac5df62f85: Verifying Checksum 01:46:24 97ac5df62f85: Download complete 01:46:24 e90a11edd702: Verifying Checksum 01:46:24 e90a11edd702: Download complete 01:46:27 d287ab97295c: Pull complete 01:46:27 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:46:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:46:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:46:28 prd-centos7-docker-4c-2g-1418 does not seem to be running inside a container 01:46:28 $ 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/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@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 01:46:31 $ docker top 57486e52b339413436c506a15ac73781bb5f6f534bfdc9dff07805392cebfd79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:32 ---> job-cost.sh 01:46:32 lf-activate-venv: SKIPPING 01:46:32 INFO: No Stack... 01:46:33 INFO: Retrieving Pricing Info for: v3-standard-2 01:46:33 INFO: Archiving Costs [Pipeline] sh 01:46:33 + cat /w/workspace/app-functions-sdk-go/31/archives/cost.csv 01:46:33 + cut -d, -f6 [Pipeline] lock 01:46:33 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-31-stack-cost] 01:46:33 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-31-stack-cost] did not exist. Created. 01:46:33 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:46:34 + echo total: 0.05999999865889549 [Pipeline] stash 01:46:34 Stashed 1 file(s) [Pipeline] } 01:46:34 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 01:46:34 $ docker stop --time=1 57486e52b339413436c506a15ac73781bb5f6f534bfdc9dff07805392cebfd79 01:46:35 e90a11edd702: Pull complete 01:46:35 d77568369979: Pull complete 01:46:35 fc1c9f9a7f3b: Pull complete 01:46:35 $ docker rm -f 57486e52b339413436c506a15ac73781bb5f6f534bfdc9dff07805392cebfd79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv 01:46:35 170f2ba95c9a: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:46:41 97ac5df62f85: Pull complete 01:46:41 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 01:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:46:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 01:46:41 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 01:46:41 + docker inspect -f . ci-base-image-arm64 01:46:41 . [Pipeline] withDockerContainer 01:46:42 prd-ubuntu18.04-docker-arm64-4c-16g-1417 does not seem to be running inside a container 01:46:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@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 01:46:50 $ docker top 46f7e6ce0a3c9e4e2ec47c0ce524984de8124446cd4836f8b53ee02e85ebbda1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:51 + go version 01:46:51 go version go1.16.6 linux/arm64 [Pipeline] } 01:46:51 $ docker stop --time=1 46f7e6ce0a3c9e4e2ec47c0ce524984de8124446cd4836f8b53ee02e85ebbda1 01:46:53 $ docker rm -f 46f7e6ce0a3c9e4e2ec47c0ce524984de8124446cd4836f8b53ee02e85ebbda1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:46:54 + docker inspect -f . ci-base-image-arm64 01:46:54 . [Pipeline] withDockerContainer 01:46:54 prd-ubuntu18.04-docker-arm64-4c-16g-1417 does not seem to be running inside a container 01:46:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@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 01:46:56 $ docker top eafbe07ea325b7a480b3445104a36f2f2cdf6fb1d0f557a33b94201cecb5f23a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:46:57 + make test 01:46:57 make -C ./app-service-template build 01:46:57 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 01:46:57 go mod tidy 01:46:59 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 01:46:59 go: downloading github.com/google/uuid v1.3.0 01:46:59 go: downloading github.com/stretchr/testify v1.7.0 01:46:59 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 01:46:59 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 01:46:59 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 01:46:59 go: downloading github.com/davecgh/go-spew v1.1.1 01:46:59 go: downloading github.com/pmezard/go-difflib v1.0.0 01:46:59 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 01:46:59 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 01:46:59 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:46:59 go: downloading github.com/stretchr/objx v0.1.0 01:46:59 go: downloading github.com/go-playground/validator/v10 v10.6.1 01:46:59 go: downloading gopkg.in/yaml.v2 v2.4.0 01:46:59 go: downloading github.com/go-kit/kit v0.9.0 01:46:59 go: downloading github.com/gorilla/mux v1.8.0 01:46:59 go: downloading github.com/hashicorp/go-multierror v1.1.1 01:46:59 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 01:46:59 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 01:46:59 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:46:59 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 01:46:59 go: downloading github.com/mitchellh/copystructure v1.0.0 01:47:00 go: downloading github.com/gorilla/websocket v1.4.2 01:47:00 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 01:47:00 go: downloading github.com/hashicorp/consul/api v1.8.1 01:47:00 go: downloading github.com/pelletier/go-toml v1.9.2 01:47:00 go: downloading github.com/go-playground/universal-translator v0.17.0 01:47:00 go: downloading github.com/leodido/go-urn v1.2.0 01:47:00 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 01:47:00 go: downloading golang.org/x/text v0.3.2 01:47:00 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:47:01 go: downloading github.com/go-playground/locales v0.13.0 01:47:03 go: downloading github.com/hashicorp/errwrap v1.0.0 01:47:04 go: downloading github.com/kr/pretty v0.2.0 01:47:04 go: downloading github.com/x448/float16 v0.8.4 01:47:04 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:47:04 go: downloading github.com/go-logfmt/logfmt v0.4.0 01:47:04 go: downloading github.com/go-stack/stack v1.8.0 01:47:04 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:47:04 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:47:04 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:47:04 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:47:04 go: downloading github.com/hashicorp/serf v0.9.5 01:47:04 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:47:04 go: downloading github.com/hashicorp/consul/sdk v0.7.0 01:47:04 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:47:04 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 01:47:04 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:47:04 go: downloading github.com/kr/text v0.1.0 01:47:04 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 01:47:04 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:47:04 go: downloading github.com/pebbe/zmq4 v1.2.7 01:47:04 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:47:04 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:47:04 go: downloading github.com/fatih/color v1.9.0 01:47:04 go: downloading github.com/mattn/go-colorable v0.1.6 01:47:04 go: downloading github.com/mattn/go-isatty v0.0.12 01:47:04 go: downloading github.com/pkg/errors v0.8.1 01:47:04 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:47:04 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:47:04 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:47:04 go: downloading github.com/hashicorp/memberlist v0.2.2 01:47:04 go: downloading github.com/onsi/ginkgo v1.10.1 01:47:04 go: downloading github.com/onsi/gomega v1.7.0 01:47:05 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:47:05 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:47:05 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:47:05 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:47:05 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:47:05 go: downloading github.com/miekg/dns v1.1.26 01:47:05 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:47:05 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:47:05 go: downloading github.com/hpcloud/tail v1.0.0 01:47:05 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:47:05 go: downloading github.com/golang/protobuf v1.3.2 01:47:05 go: downloading gopkg.in/fsnotify.v1 v1.4.7 01:47:05 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 01:47:05 go: downloading github.com/fsnotify/fsnotify v1.4.7 01:47:06 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 01:47:45 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 01:47:45 make -C ./app-service-template test 01:47:45 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 01:47:45 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 01:48:17 ok new-app-service 0.042s coverage: 48.1% of statements 01:48:17 ? new-app-service/config [no test files] 01:48:17 ok new-app-service/functions 0.037s 01:48:17 CGO_ENABLED=1 go vet ./... 01:48:41 gofmt -l . 01:48:41 [ "`gofmt -l .`" = "" ] 01:48:41 ./bin/test-attribution-txt.sh 01:48:41 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/31/app-service-template' 01:48:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:48:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 01:48:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.112s coverage: 63.9% of statements 01:48:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.058s coverage: 93.7% of statements 01:48:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 01:48:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.133s coverage: 61.8% of statements 01:48:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 01:48:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.042s 01:48:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.144s coverage: 75.7% of statements 01:48:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 01:48:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 01:48:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 01:48:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 01:48:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 01:48:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 01:48:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.022s coverage: 97.3% of statements 01:48:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 01:48:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.097s coverage: 10.5% of statements 01:49:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.157s coverage: 77.0% of statements 01:49:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 01:49:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.121s coverage: 12.5% of statements 01:49:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.104s coverage: 27.3% of statements 01:49:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 01:49:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:49:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.052s coverage: 51.4% of statements 01:49:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.120s coverage: 77.3% of statements 01:49:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.045s coverage: 94.4% of statements 01:49:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:49:27 gofmt -l . 01:49:28 [ "`gofmt -l .`" = "" ] [Pipeline] } 01:49:28 $ docker stop --time=1 eafbe07ea325b7a480b3445104a36f2f2cdf6fb1d0f557a33b94201cecb5f23a 01:49:30 $ docker rm -f eafbe07ea325b7a480b3445104a36f2f2cdf6fb1d0f557a33b94201cecb5f23a [Pipeline] // withDockerContainer [Pipeline] sh 01:49:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:32 Warning: overwriting stash ‘coverage-report’ 01:49:33 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 01:49:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:49:34 01:49:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:49:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:49:34 arm64: Pulling from edgex-lftools-log-publisher 01:49:34 448f6bf000e3: Pulling fs layer 01:49:34 f757da607395: Pulling fs layer 01:49:34 05883995daec: Pulling fs layer 01:49:34 8603b9c90790: Pulling fs layer 01:49:34 8603b9c90790: Waiting 01:49:34 1560dd03e051: Pulling fs layer 01:49:34 27f5ce0e4adf: Pulling fs layer 01:49:34 c2d8d7efcc4b: Pulling fs layer 01:49:34 27f5ce0e4adf: Waiting 01:49:34 c2d8d7efcc4b: Waiting 01:49:34 1560dd03e051: Waiting 01:49:35 f757da607395: Verifying Checksum 01:49:35 f757da607395: Download complete 01:49:35 8603b9c90790: Download complete 01:49:35 1560dd03e051: Verifying Checksum 01:49:35 1560dd03e051: Download complete 01:49:35 27f5ce0e4adf: Download complete 01:49:35 05883995daec: Verifying Checksum 01:49:36 448f6bf000e3: Verifying Checksum 01:49:36 448f6bf000e3: Download complete 01:49:39 c2d8d7efcc4b: Verifying Checksum 01:49:39 c2d8d7efcc4b: Download complete 01:49:40 448f6bf000e3: Pull complete 01:49:40 f757da607395: Pull complete 01:49:42 05883995daec: Pull complete 01:49:42 8603b9c90790: Pull complete 01:49:43 1560dd03e051: Pull complete 01:49:44 27f5ce0e4adf: Pull complete 01:49:56 c2d8d7efcc4b: Pull complete 01:49:56 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 01:49:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:49:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:49:56 prd-ubuntu18.04-docker-arm64-4c-16g-1417 does not seem to be running inside a container 01:49:57 $ 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/31 -v /w/workspace/app-functions-sdk-go/31:/w/workspace/app-functions-sdk-go/31:rw,z -v /w/workspace/app-functions-sdk-go/31@tmp:/w/workspace/app-functions-sdk-go/31@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 01:50:01 $ docker top cf96acbfffc86e8fe48c0daeab45d3d2fd637f0139a37e091a784e611883cb6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:02 ---> job-cost.sh 01:50:02 lf-activate-venv: SKIPPING 01:50:02 INFO: No Stack... 01:50:03 INFO: Retrieving Pricing Info for: v3-standard-4 01:50:04 INFO: Archiving Costs [Pipeline] sh 01:50:04 + cat /w/workspace/app-functions-sdk-go/31/archives/cost.csv 01:50:04 + cut -d, -f6 [Pipeline] lock 01:50:04 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-31-stack-cost] 01:50:04 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-31-stack-cost] did not exist. Created. 01:50:04 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:50:07 /w/workspace/app-functions-sdk-go/31@tmp/durable-e2456920/script.sh: 1: /w/workspace/app-functions-sdk-go/31@tmp/durable-e2456920/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:50:07 + echo total: 0.10999999940395355 [Pipeline] stash 01:50:07 Warning: overwriting stash ‘stack-cost’ 01:50:07 Stashed 1 file(s) [Pipeline] } 01:50:07 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 01:50:07 $ docker stop --time=1 cf96acbfffc86e8fe48c0daeab45d3d2fd637f0139a37e091a784e611883cb6b 01:50:09 $ docker rm -f cf96acbfffc86e8fe48c0daeab45d3d2fd637f0139a37e091a784e611883cb6b [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 01:50:10 provisioning config files... 01:50:10 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2888205542966465310tmp [Pipeline] { [Pipeline] sh 01:50:11 + set +x 01:50:11 + curl -s https://codecov.io/bash 01:50:11 + bash -s -- 01:50:11 01:50:11 _____ _ 01:50:11 / ____| | | 01:50:11 | | ___ __| | ___ ___ _____ __ 01:50:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:50:11 | |___| (_) | (_| | __/ (_| (_) \ V / 01:50:11 \_____\___/ \__,_|\___|\___\___/ \_/ 01:50:11 Bash-1.0.6 01:50:11 01:50:11 01:50:11 ==> git version 2.24.4 found 01:50:11 ==> 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 01:50:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:50:11 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:50:11 ==> Jenkins CI detected. 01:50:11 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 01:50:11 project root: . 01:50:11 --> token set from env 01:50:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:50:11 ==> Running gcov in . (disable via -X gcov) 01:50:11 ==> Python coveragepy not found 01:50:11 ==> Searching for coverage reports in: 01:50:11 + . 01:50:11 -> Found 2 reports 01:50:11 ==> Detecting git/mercurial file structure 01:50:11 ==> Reading reports 01:50:11 + ./app-service-template/coverage.out bytes=1219 01:50:11 + ./coverage.out bytes=101685 01:50:11 ==> Appending adjustments 01:50:11 https://docs.codecov.io/docs/fixing-reports 01:50:11 + Found adjustments 01:50:11 ==> Gzipping contents 01:50:11 20K /tmp/codecov.UrWMyW.gz 01:50:11 ==> Uploading reports 01:50:11 url: https://codecov.io 01:50:11 query: branch=main&commit=6e54455fea00f37496bf405a1cf96c92d232c807&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:50:11 -> Pinging Codecov 01:50:11 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=6e54455fea00f37496bf405a1cf96c92d232c807&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:50:11 -> Uploading to 01:50:11 https://storage.googleapis.com/codecov/v4/raw/2021-09-25/3D8B5DFFC46A037C893635FACE044666/6e54455fea00f37496bf405a1cf96c92d232c807/494df2ef-7f60-4399-9267-3883ed105162.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210925T015011Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ee75bd557026c34158d4d1a6bcc18da7395ec74d0ca2c644a93214ed8cfa480 01:50:11 % Total % Received % Xferd Average Speed Time Time Time Current 01:50:11 Dload Upload Total Spent Left Speed 01:50:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17600 0 0 100 17600 0 19874 --:--:-- --:--:-- --:--:-- 19864 100 17600 0 0 100 17600 0 19870 --:--:-- --:--:-- --:--:-- 19864 01:50:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/6e54455fea00f37496bf405a1cf96c92d232c807 [Pipeline] } 01:50:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:50:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:50:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:50:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:50:13 01:50:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:50:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:50:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:50:13 188c0c94c7c5: Pulling fs layer 01:50:13 0ef7d3d256c8: Pulling fs layer 01:50:13 de9db76c5a1d: Pulling fs layer 01:50:13 0eba1c9be4d2: Pulling fs layer 01:50:13 0d57e429df01: Pulling fs layer 01:50:13 4e4be7b47b0d: Pulling fs layer 01:50:13 e1f770b5df2f: Pulling fs layer 01:50:13 85a0685a4137: Pulling fs layer 01:50:13 0d57e429df01: Waiting 01:50:13 4e4be7b47b0d: Waiting 01:50:13 e1f770b5df2f: Waiting 01:50:13 85a0685a4137: Waiting 01:50:13 0eba1c9be4d2: Waiting 01:50:13 de9db76c5a1d: Verifying Checksum 01:50:13 de9db76c5a1d: Download complete 01:50:13 0ef7d3d256c8: Verifying Checksum 01:50:13 0ef7d3d256c8: Download complete 01:50:13 0d57e429df01: Verifying Checksum 01:50:13 0d57e429df01: Download complete 01:50:14 4e4be7b47b0d: Verifying Checksum 01:50:14 4e4be7b47b0d: Download complete 01:50:14 188c0c94c7c5: Verifying Checksum 01:50:14 188c0c94c7c5: Download complete 01:50:14 188c0c94c7c5: Pull complete 01:50:14 0ef7d3d256c8: Pull complete 01:50:14 de9db76c5a1d: Pull complete 01:50:15 e1f770b5df2f: Verifying Checksum 01:50:15 e1f770b5df2f: Download complete 01:50:20 0eba1c9be4d2: Verifying Checksum 01:50:20 0eba1c9be4d2: Download complete 01:50:20 85a0685a4137: Verifying Checksum 01:50:20 85a0685a4137: Download complete 01:50:23 0eba1c9be4d2: Pull complete 01:50:23 0d57e429df01: Pull complete 01:50:23 4e4be7b47b0d: Pull complete 01:50:23 e1f770b5df2f: Pull complete 01:50:27 85a0685a4137: Pull complete 01:50:27 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:50:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:50:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:50:27 prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container 01:50:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:50:29 $ docker top 2623c4befddcace022326315c3a9aee59455ebb824c2e59fd38de23c8e756d44 -eo pid,comm [Pipeline] { [Pipeline] echo 01:50:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:50:29 + set -o pipefail 01:50:29 + snyk monitor '--org=edgex-jenkins' 01:50:35 01:50:35 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 01:50:35 01:50:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/86f8b417-7e5f-4c96-af4d-8720bd5e81b0 01:50:35 01:50:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:50:35 01:50:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:50:35 01:50:35 [Pipeline] } 01:50:35 $ docker stop --time=1 2623c4befddcace022326315c3a9aee59455ebb824c2e59fd38de23c8e756d44 01:50:36 $ docker rm -f 2623c4befddcace022326315c3a9aee59455ebb824c2e59fd38de23c8e756d44 [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 01:50:39 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:39 provisioning config files... 01:50:39 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1003081878217822111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:39 --> edgex-publish-swagger.sh 01:50:39 === Publish openapi/v2 API === 01:50:39 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 01:50:39 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 01:50:39 % Total % Received % Xferd Average Speed Time Time Time Current 01:50:39 Dload Upload Total Spent Left Speed 01:50:41 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 10577 0:00:01 0:00:01 --:--:-- 10578 100 13054 0 0 100 13054 0 6275 0:00:02 0:00:02 --:--:-- 6278 01:50:41 01:50:41 [Pipeline] } 01:50:41 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 01:50:42 + git log --format=format:%s -1 6e54455fea00f37496bf405a1cf96c92d232c807 [Pipeline] isUnix [Pipeline] sh 01:50:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:50:42 . [Pipeline] withDockerContainer 01:50:42 prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container 01:50:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:50:42 $ docker top ce8c7f311bbf6f326339972943f651deeb976061c58258daaaaa00354ad83c79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:50:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:50:43 [ssh-agent] Looking for ssh-agent implementation... 01:50:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:50:43 $ docker exec ce8c7f311bbf6f326339972943f651deeb976061c58258daaaaa00354ad83c79 ssh-agent 01:50:43 SSH_AUTH_SOCK=/tmp/ssh-Vs44ELedlpKN/agent.14 01:50:43 SSH_AGENT_PID=21 01:50:43 Running ssh-add (command line suppressed) 01:50:43 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1575116805195959087.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1575116805195959087.key) 01:50:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:50:43 + git semver tag 01:50:43 # -> Open(): unable to determine branch for HEAD 01:50:43 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 01:50:43 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 01:50:43 # $SEMVER_REMOTE_NAME = origin 01:50:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:50:43 # $SEMVER_USER_NAME = edgex-jenkins 01:50:43 # $SEMVER_BRANCH = main 01:50:43 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver 01:50:43 # 6e54455fea00f37496bf405a1cf96c92d232c807 HEAD 01:50:43 # -> Force: false 01:50:43 # f3e73d9f5990a00e422625ecd1649e7791c7b7ff refs/tags/v2.0.2-dev.19 [Pipeline] } 01:50:43 $ docker exec --env ******** --env ******** ce8c7f311bbf6f326339972943f651deeb976061c58258daaaaa00354ad83c79 ssh-agent -k 01:50:43 unset SSH_AUTH_SOCK; 01:50:43 unset SSH_AGENT_PID; 01:50:43 echo Agent pid 21 killed; 01:50:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:50:44 + git semver [Pipeline] } 01:50:44 $ docker stop --time=1 ce8c7f311bbf6f326339972943f651deeb976061c58258daaaaa00354ad83c79 01:50:45 $ docker rm -f ce8c7f311bbf6f326339972943f651deeb976061c58258daaaaa00354ad83c79 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:50:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:50:46 01:50:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:50:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:50:46 0.23.1-centos7: Pulling from edgex-lftools 01:50:46 ab5ef0e58194: Pulling fs layer 01:50:46 9712f1f96733: Pulling fs layer 01:50:46 63f879dbbcfc: Pulling fs layer 01:50:46 0d9ebad4ef96: Pulling fs layer 01:50:46 e9a5061849ea: Pulling fs layer 01:50:46 d747dcd14b5f: Pulling fs layer 01:50:46 2de7ff778b66: Pulling fs layer 01:50:46 e9a5061849ea: Waiting 01:50:46 d747dcd14b5f: Waiting 01:50:46 2de7ff778b66: Waiting 01:50:46 0d9ebad4ef96: Waiting 01:50:46 9712f1f96733: Verifying Checksum 01:50:46 9712f1f96733: Download complete 01:50:48 63f879dbbcfc: Verifying Checksum 01:50:48 63f879dbbcfc: Download complete 01:50:49 e9a5061849ea: Verifying Checksum 01:50:49 e9a5061849ea: Download complete 01:50:49 d747dcd14b5f: Download complete 01:50:50 2de7ff778b66: Verifying Checksum 01:50:50 2de7ff778b66: Download complete 01:50:50 0d9ebad4ef96: Verifying Checksum 01:50:50 0d9ebad4ef96: Download complete 01:50:50 ab5ef0e58194: Verifying Checksum 01:50:50 ab5ef0e58194: Download complete 01:50:52 ab5ef0e58194: Pull complete 01:50:52 9712f1f96733: Pull complete 01:50:53 63f879dbbcfc: Pull complete 01:50:56 0d9ebad4ef96: Pull complete 01:50:56 e9a5061849ea: Pull complete 01:50:56 d747dcd14b5f: Pull complete 01:50:57 2de7ff778b66: Pull complete 01:50:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:50:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:50:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:50:57 prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container 01:50:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:51:01 $ docker top 65165c20418acd9a4e8fa7207baf898d4477b6b2fa0d3fa0dada2c3d236feed7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:51:01 provisioning config files... 01:51:01 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2712859707699420549tmp 01:51:01 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8520205555936851864tmp 01:51:01 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4584315110475514471tmp [Pipeline] { [Pipeline] echo 01:51:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:51:01 ---> sigul-configuration.sh 01:51:01 gpg: directory `/root/.gnupg' created 01:51:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:51:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:51:01 gpg: keyring `/root/.gnupg/secring.gpg' created 01:51:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:51:01 gpg: CAST5 encrypted data 01:51:01 gpg: encrypted with 1 passphrase 01:51:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:51:01 + mkdir /home/jenkins 01:51:01 + mkdir /home/jenkins/sigul [Pipeline] sh 01:51:02 + 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 01:51:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:51:02 ---> sigul-install.sh 01:51:02 Sigul already installed; skipping installation. [Pipeline] sh 01:51:02 + git tag --list 01:51:02 v0.1.0 01:51:02 v0.1.1 01:51:02 v1.0.0 01:51:02 v1.1.0 01:51:02 v1.2.0 01:51:02 v1.3.0 01:51:02 v1.3.1 01:51:02 v2.0.0 01:51:02 v2.0.1 01:51:02 v2.0.1-dev.1 01:51:02 v2.0.1-dev.2 01:51:02 v2.0.1-dev.3 01:51:02 v2.0.1-dev.4 01:51:02 v2.0.1-dev.5 01:51:02 v2.0.1-dev.6 01:51:02 v2.0.1-dev.7 01:51:02 v2.0.2-dev.1 01:51:02 v2.0.2-dev.10 01:51:02 v2.0.2-dev.11 01:51:02 v2.0.2-dev.12 01:51:02 v2.0.2-dev.13 01:51:02 v2.0.2-dev.14 01:51:02 v2.0.2-dev.15 01:51:02 v2.0.2-dev.16 01:51:02 v2.0.2-dev.17 01:51:02 v2.0.2-dev.18 01:51:02 v2.0.2-dev.19 01:51:02 v2.0.2-dev.2 01:51:02 v2.0.2-dev.3 01:51:02 v2.0.2-dev.4 01:51:02 v2.0.2-dev.5 01:51:02 v2.0.2-dev.6 01:51:02 v2.0.2-dev.7 01:51:02 v2.0.2-dev.8 01:51:02 v2.0.2-dev.9 [Pipeline] sh 01:51:03 + lftools sign git-tag v2.0.2-dev.19 01:51:03 Signing Git tag with Sigul... 01:51:03 Signing v2.0.2-dev.19 [Pipeline] echo 01:51:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:51:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:51:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:51:05 $ docker stop --time=1 65165c20418acd9a4e8fa7207baf898d4477b6b2fa0d3fa0dada2c3d236feed7 01:51:06 $ docker rm -f 65165c20418acd9a4e8fa7207baf898d4477b6b2fa0d3fa0dada2c3d236feed7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 01:51:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:51:07 . [Pipeline] withDockerContainer 01:51:07 prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container 01:51:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:51:07 $ docker top 420c63865a40a4749d97c67267a8e26b7f9be33612041bc603bb3070fade212b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:51:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:51:07 [ssh-agent] Looking for ssh-agent implementation... 01:51:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:51:07 $ docker exec 420c63865a40a4749d97c67267a8e26b7f9be33612041bc603bb3070fade212b ssh-agent 01:51:07 SSH_AUTH_SOCK=/tmp/ssh-vkFk0CWMHRjj/agent.15 01:51:07 SSH_AGENT_PID=22 01:51:07 Running ssh-add (command line suppressed) 01:51:08 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3998124227339770182.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3998124227339770182.key) 01:51:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:51:08 + git semver bump pre 01:51:08 # -> Open(): unable to determine branch for HEAD 01:51:08 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 01:51:08 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 01:51:08 # $SEMVER_REMOTE_NAME = origin 01:51:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:51:08 # $SEMVER_USER_NAME = edgex-jenkins 01:51:08 # $SEMVER_BRANCH = main 01:51:08 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver 01:51:08 2.0.2-dev.20 [Pipeline] } 01:51:08 $ docker exec --env ******** --env ******** 420c63865a40a4749d97c67267a8e26b7f9be33612041bc603bb3070fade212b ssh-agent -k 01:51:08 unset SSH_AUTH_SOCK; 01:51:08 unset SSH_AGENT_PID; 01:51:08 echo Agent pid 22 killed; 01:51:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:51:08 + git semver [Pipeline] } 01:51:08 $ docker stop --time=1 420c63865a40a4749d97c67267a8e26b7f9be33612041bc603bb3070fade212b 01:51:10 $ docker rm -f 420c63865a40a4749d97c67267a8e26b7f9be33612041bc603bb3070fade212b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 01:51:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:51:10 . [Pipeline] withDockerContainer 01:51:10 prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container 01:51:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:51:10 $ docker top 71deb7db1c1316785eb2e471f507e002580512414993d42f3686521615588bf2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:51:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:51:11 [ssh-agent] Looking for ssh-agent implementation... 01:51:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:51:11 $ docker exec 71deb7db1c1316785eb2e471f507e002580512414993d42f3686521615588bf2 ssh-agent 01:51:11 SSH_AUTH_SOCK=/tmp/ssh-Td5b9w2LXtTj/agent.14 01:51:11 SSH_AGENT_PID=21 01:51:11 Running ssh-add (command line suppressed) 01:51:11 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_9218983439578404340.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_9218983439578404340.key) 01:51:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:51:11 + git semver push 01:51:11 # -> Open(): unable to determine branch for HEAD 01:51:11 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 01:51:11 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 01:51:11 # $SEMVER_REMOTE_NAME = origin 01:51:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:51:11 # $SEMVER_USER_NAME = edgex-jenkins 01:51:11 # $SEMVER_BRANCH = main 01:51:11 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 01:51:13 $ docker exec --env ******** --env ******** 71deb7db1c1316785eb2e471f507e002580512414993d42f3686521615588bf2 ssh-agent -k 01:51:13 unset SSH_AUTH_SOCK; 01:51:13 unset SSH_AGENT_PID; 01:51:13 echo Agent pid 21 killed; 01:51:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:51:14 + git semver [Pipeline] } 01:51:14 $ docker stop --time=1 71deb7db1c1316785eb2e471f507e002580512414993d42f3686521615588bf2 01:51:15 $ docker rm -f 71deb7db1c1316785eb2e471f507e002580512414993d42f3686521615588bf2 [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 01:51:16 + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:51:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:51:17 ---> package-listing.sh 01:51:17 ++ tr '[:upper:]' '[:lower:]' 01:51:17 ++ facter osfamily 01:51:17 + OS_FAMILY=redhat 01:51:17 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 01:51:17 + START_PACKAGES=/tmp/packages_start.txt 01:51:17 + END_PACKAGES=/tmp/packages_end.txt 01:51:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:51:17 + PACKAGES=/tmp/packages_start.txt 01:51:17 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 01:51:17 + PACKAGES=/tmp/packages_end.txt 01:51:17 + case "${OS_FAMILY}" in 01:51:17 + rpm -qa 01:51:17 + sort 01:51:18 + '[' -f /tmp/packages_start.txt ']' 01:51:18 + '[' -f /tmp/packages_end.txt ']' 01:51:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:51:18 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 01:51:18 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 01:51:18 + 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 01:51:18 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 01:51:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:51:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:19 01:51:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:51:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:19 latest: Pulling from edgex-lftools-log-publisher 01:51:19 b4d181a07f80: Pulling fs layer 01:51:19 a1111a8f2ec3: Pulling fs layer 01:51:19 ed53099fbce6: Pulling fs layer 01:51:19 dc539afda2c1: Pulling fs layer 01:51:19 77bc0d833cb6: Pulling fs layer 01:51:19 9065ff56babe: Pulling fs layer 01:51:19 d287ab97295c: Pulling fs layer 01:51:19 77bc0d833cb6: Waiting 01:51:19 9065ff56babe: Waiting 01:51:19 d287ab97295c: Waiting 01:51:19 dc539afda2c1: Waiting 01:51:19 a1111a8f2ec3: Verifying Checksum 01:51:19 a1111a8f2ec3: Download complete 01:51:19 dc539afda2c1: Verifying Checksum 01:51:19 dc539afda2c1: Download complete 01:51:19 77bc0d833cb6: Verifying Checksum 01:51:19 77bc0d833cb6: Download complete 01:51:19 9065ff56babe: Verifying Checksum 01:51:19 9065ff56babe: Download complete 01:51:20 ed53099fbce6: Verifying Checksum 01:51:20 ed53099fbce6: Download complete 01:51:21 b4d181a07f80: Verifying Checksum 01:51:21 b4d181a07f80: Download complete 01:51:22 b4d181a07f80: Pull complete 01:51:22 a1111a8f2ec3: Pull complete 01:51:23 ed53099fbce6: Pull complete 01:51:23 dc539afda2c1: Pull complete 01:51:23 77bc0d833cb6: Pull complete 01:51:23 9065ff56babe: Pull complete 01:51:24 d287ab97295c: Verifying Checksum 01:51:24 d287ab97295c: Download complete 01:51:29 d287ab97295c: Pull complete 01:51:29 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:51:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:51:29 prd-centos7-docker-4c-2g-1414 does not seem to be running inside a container 01:51:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:51:31 $ docker top 530ff20a19467da99295e351467c19680c1670bec9f12078a49593a2e58d1427 -eo pid,comm [Pipeline] { [Pipeline] sh 01:51:31 + touch /tmp/pre-build-complete [Pipeline] sh 01:51:32 + mkdir -p /var/log/sysstat [Pipeline] sh 01:51:32 + ls /var/log/sa-host 01:51:32 + sadf -c /var/log/sa-host/sa05 01:51:32 file_magic: OK 01:51:32 HZ: Using current value: 100 01:51:32 file_header: OK 01:51:32 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 01:51:32 Statistics: 01:51:32 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:51:32 File successfully converted to sysstat format version 12.0.3 01:51:32 + sadf -c /var/log/sa-host/sa25 01:51:32 file_magic: OK 01:51:32 HZ: Using current value: 100 01:51:32 file_header: OK 01:51:32 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 01:51:32 Statistics: 01:51:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:51:32 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:51:32 provisioning config files... 01:51:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7398030733645505330tmp [Pipeline] { [Pipeline] echo 01:51:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:51:33 ---> create-netrc.sh [Pipeline] } 01:51:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:51:35 ---> python-tools-install.sh [Pipeline] echo 01:51:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:51:35 ---> sudo-logs.sh 01:51:35 Archiving 'sudo' log.. 01:51:35 sudo: unable to resolve host prd-centos7-docker-4c-2g-1414.vexxhost.local: Name or service not known 01:51:35 sudo: unable to resolve host prd-centos7-docker-4c-2g-1414.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 01:51:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:51:35 ---> job-cost.sh 01:51:35 lf-activate-venv: SKIPPING 01:51:35 DEBUG: total: 0.10999999940395355 01:51:35 INFO: Retrieving Stack Cost... 01:51:36 INFO: Retrieving Pricing Info for: v3-standard-2 01:51:37 INFO: Archiving Costs [Pipeline] echo 01:51:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:51:37 ---> logs-deploy.sh 01:51:37 lf-activate-venv: SKIPPING 01:51:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/31 01:51:37 INFO: archiving workspace using pattern(s): 01:51:38 Archives upload complete. 01:51:38 INFO: archiving logs to Nexus 01:51:38 ---> uname -a: 01:51:38 Linux prd-centos7-docker-4c-2g-1414.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 01:51:38 01:51:38 01:51:38 ---> lscpu: 01:51:38 Architecture: x86_64 01:51:38 CPU op-mode(s): 32-bit, 64-bit 01:51:38 Byte Order: Little Endian 01:51:38 Address sizes: 40 bits physical, 48 bits virtual 01:51:38 CPU(s): 2 01:51:38 On-line CPU(s) list: 0,1 01:51:38 Thread(s) per core: 1 01:51:38 Core(s) per socket: 1 01:51:38 Socket(s): 2 01:51:38 NUMA node(s): 1 01:51:38 Vendor ID: AuthenticAMD 01:51:38 CPU family: 23 01:51:38 Model: 49 01:51:38 Model name: AMD EPYC-Rome Processor 01:51:38 Stepping: 0 01:51:38 CPU MHz: 2799.998 01:51:38 BogoMIPS: 5599.99 01:51:38 Virtualization: AMD-V 01:51:38 Hypervisor vendor: KVM 01:51:38 Virtualization type: full 01:51:38 L1d cache: 32K 01:51:38 L1i cache: 32K 01:51:38 L2 cache: 512K 01:51:38 L3 cache: 16384K 01:51:38 NUMA node0 CPU(s): 0,1 01:51:38 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 01:51:38 01:51:38 01:51:38 ---> nproc: 01:51:38 2 01:51:38 01:51:38 01:51:38 ---> df -h: 01:51:38 Filesystem Size Used Avail Use% Mounted on 01:51:38 overlay 40G 9.0G 32G 23% / 01:51:38 tmpfs 64M 0 64M 0% /dev 01:51:38 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:51:38 shm 64M 0 64M 0% /dev/shm 01:51:38 /dev/vda1 40G 9.0G 32G 23% /facter-os 01:51:38 01:51:38 01:51:38 ---> sar -b -r -n DEV: 01:51:38 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/25/21 _x86_64_ (2 CPU) 01:51:38 01:51:38 01:40:20 LINUX RESTART (2 CPU) 01:51:38 01:51:38 01:41:01 tps rtps wtps bread/s bwrtn/s 01:51:38 01:42:01 84.17 3.40 80.77 2557.71 4764.85 01:51:38 01:43:01 1.93 0.00 1.93 0.00 37.97 01:51:38 01:44:01 0.17 0.00 0.17 0.00 1.33 01:51:38 01:45:01 0.28 0.00 0.28 0.00 4.16 01:51:38 01:46:01 0.25 0.00 0.25 0.00 2.67 01:51:38 01:47:01 0.33 0.00 0.33 0.00 4.83 01:51:38 01:48:01 0.22 0.00 0.22 0.00 2.30 01:51:38 01:49:02 0.28 0.00 0.28 0.00 4.51 01:51:38 01:50:01 0.27 0.00 0.27 0.00 3.46 01:51:38 01:51:01 189.67 0.03 189.64 3.73 56004.00 01:51:38 Average: 27.81 0.34 27.46 256.67 6093.51 01:51:38 01:51:38 01:41:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:51:38 01:42:01 5422184 0 814924 10.18 2620 1769212 1295928 14.31 605928 1581112 136 01:51:38 01:43:01 5433252 0 803848 10.04 2620 1769220 1200556 13.25 596200 1581076 8 01:51:38 01:44:01 5433152 0 803944 10.04 2620 1769224 1200556 13.25 601028 1576156 8 01:51:38 01:45:01 5430392 0 806696 10.07 2620 1769232 1200812 13.26 604068 1576156 8 01:51:38 01:46:01 5429544 0 807540 10.08 2620 1769236 1200852 13.26 597656 1583356 20 01:51:38 01:47:01 5430080 0 807000 10.08 2620 1769240 1200620 13.26 597520 1583360 12 01:51:38 01:48:01 5428636 0 808440 10.09 2620 1769244 1200620 13.26 599204 1583580 20 01:51:38 01:49:02 5426816 0 810256 10.12 2620 1769248 1200620 13.26 600908 1583580 8 01:51:38 01:50:01 5420396 0 816672 10.20 2620 1769252 1200620 13.26 606872 1583580 16 01:51:38 01:51:01 3796508 0 1118624 13.97 2620 3091188 1326544 14.65 851564 2747148 172 01:51:38 Average: 5265096 0 839794 10.49 2620 1901430 1222773 13.50 626095 1697910 41 01:51:38 01:51:38 01:41:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:51:38 01:42:01 eth0 341.51 274.78 884.69 39.36 0.00 0.00 0.00 0.00 01:51:38 01:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:42:01 docker0 165.70 166.72 12.58 321.10 0.00 0.00 0.00 0.00 01:51:38 01:43:01 eth0 0.80 0.02 0.06 0.00 0.00 0.00 0.00 0.00 01:51:38 01:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:44:01 eth0 0.43 0.08 0.02 0.01 0.00 0.00 0.00 0.00 01:51:38 01:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:45:01 eth0 2.25 0.63 0.67 0.40 0.00 0.00 0.00 0.00 01:51:38 01:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:46:01 eth0 1.40 0.70 0.70 0.43 0.00 0.00 0.00 0.00 01:51:38 01:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:47:01 eth0 0.12 0.08 0.01 0.04 0.00 0.00 0.00 0.00 01:51:38 01:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:48:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:51:38 01:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:49:02 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:51:38 01:49:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:49:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:50:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:51:38 01:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:51:01 veth79d4480 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:51:01 eth0 1253.15 874.00 7694.71 79.30 0.00 0.00 0.00 0.00 01:51:38 01:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 01:51:01 docker0 61.04 78.65 4.89 370.83 0.00 0.00 0.00 0.00 01:51:38 Average: veth79d4480 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 Average: eth0 160.28 115.26 859.58 11.98 0.00 0.00 0.00 0.00 01:51:38 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:51:38 Average: docker0 22.72 24.58 1.75 69.32 0.00 0.00 0.00 0.00 01:51:38 01:51:38 01:51:38 ---> sar -P ALL: 01:51:38 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/25/21 _x86_64_ (2 CPU) 01:51:38 01:51:38 01:40:20 LINUX RESTART (2 CPU) 01:51:38 01:51:38 01:41:01 CPU %user %nice %system %iowait %steal %idle 01:51:38 01:42:01 all 6.41 0.00 2.46 1.94 0.06 89.12 01:51:38 01:42:01 0 6.35 0.00 2.82 1.55 0.07 89.21 01:51:38 01:42:01 1 6.47 0.00 2.11 2.33 0.05 89.04 01:51:38 01:43:01 all 0.20 0.00 0.04 0.00 0.03 99.72 01:51:38 01:43:01 0 0.08 0.00 0.03 0.00 0.03 99.85 01:51:38 01:43:01 1 0.32 0.00 0.05 0.00 0.03 99.60 01:51:38 01:44:01 all 0.09 0.00 0.03 0.00 0.03 99.84 01:51:38 01:44:01 0 0.03 0.00 0.02 0.00 0.02 99.93 01:51:38 01:44:01 1 0.15 0.00 0.05 0.00 0.05 99.75 01:51:38 01:45:01 all 0.15 0.00 0.04 0.00 0.03 99.78 01:51:38 01:45:01 0 0.15 0.00 0.03 0.00 0.02 99.80 01:51:38 01:45:01 1 0.15 0.00 0.05 0.00 0.03 99.77 01:51:38 01:46:01 all 0.14 0.00 0.03 0.00 0.04 99.78 01:51:38 01:46:01 0 0.20 0.00 0.02 0.00 0.02 99.77 01:51:38 01:46:01 1 0.08 0.00 0.05 0.00 0.07 99.80 01:51:38 01:47:01 all 0.08 0.00 0.03 0.00 0.03 99.87 01:51:38 01:47:01 0 0.10 0.00 0.03 0.00 0.03 99.83 01:51:38 01:47:01 1 0.05 0.00 0.03 0.00 0.02 99.90 01:51:38 01:48:01 all 0.08 0.00 0.08 0.00 0.03 99.82 01:51:38 01:48:01 0 0.05 0.00 0.10 0.00 0.02 99.83 01:51:38 01:48:01 1 0.12 0.00 0.05 0.00 0.03 99.80 01:51:38 01:49:02 all 0.05 0.00 0.04 0.00 0.03 99.87 01:51:38 01:49:02 0 0.05 0.00 0.02 0.00 0.02 99.92 01:51:38 01:49:02 1 0.05 0.00 0.07 0.00 0.05 99.83 01:51:38 01:50:01 all 0.08 0.00 0.04 0.00 0.03 99.84 01:51:38 01:50:01 0 0.10 0.00 0.03 0.00 0.02 99.85 01:51:38 01:50:01 1 0.07 0.00 0.05 0.00 0.05 99.83 01:51:38 01:51:01 all 20.17 0.00 9.33 1.69 0.10 68.72 01:51:38 01:51:01 0 20.52 0.00 9.91 1.70 0.09 67.79 01:51:38 01:51:01 1 19.82 0.00 8.75 1.68 0.11 69.64 01:51:38 Average: all 2.64 0.00 1.16 0.35 0.04 95.81 01:51:38 Average: 0 2.64 0.00 1.24 0.31 0.03 95.77 01:51:38 Average: 1 2.63 0.00 1.08 0.39 0.05 95.85 01:51:38 01:51:38 01:51:38