Pull request #943 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from b654a979516bd5b8f6655f4443ea055d3cb89d2a+262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe (e483560ac9f762a520bddfab0cd7ca8987b18742) Running in Durability level: MAX_SURVIVABILITY 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-ssh4675739085519158270.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-ssh3280163854467540722.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-943/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-943/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2968013008951198243.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-943/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8859194624999237791.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5208229069907669160.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-943/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-943/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7092976310436062336.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-1904 in /w/workspace/ndry_app-functions-sdk-go_PR-943 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-943 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-943@tmp/jenkins-gitclient-ssh4087192390951696492.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-943@tmp/jenkins-gitclient-ssh6230635664200967327.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/943/head:refs/remotes/origin/PR-943 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe into PR head commit b654a979516bd5b8f6655f4443ea055d3cb89d2a Merge succeeded, producing 9d11f2e492183126062d12d268c497c873071ea4 Checking out Revision 9d11f2e492183126062d12d268c497c873071ea4 (PR-943) > git config core.sparsecheckout # timeout=10 > git checkout -f b654a979516bd5b8f6655f4443ea055d3cb89d2a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-943@tmp/jenkins-gitclient-ssh6486675449016786186.key > git merge 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d11f2e492183126062d12d268c497c873071ea4 # timeout=10 Commit message: "Merge commit '262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:26:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:26:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:26:10 ========================================================= 23:26:10 EdgeX Global Pipelines Version Info 23:26:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:26:11 ------------------- 23:26:11 stable info: 23:26:11 ------------------- 23:26:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:26:11 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:26:11 Message: update stable to v1.0.205 23:26:12 ------------------- 23:26:12 experimental info: 23:26:12 ------------------- 23:26:12 Commited By: **** collab-it+edgex@linuxfoundation.org 23:26:12 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:26:12 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:26:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:26:12 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:26:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:26:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:26:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:26:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:26:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-943 [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-943 [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-943 [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d11f2e492183126062d12d268c497c873071ea4 [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d11f2e [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:26:15 + git log --format=format:%s -1 9d11f2e492183126062d12d268c497c873071ea4 [Pipeline] echo 23:26:15 GIT_COMMIT: 9d11f2e492183126062d12d268c497c873071ea4, Commit Message: Merge commit '262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe' into HEAD [Pipeline] echo 23:26:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:26:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:26:17 23:26:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:26:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:26:17 latest: Pulling from edgex-devops/git-semver 23:26:17 31603596830f: Pulling fs layer 23:26:17 04fac38145f0: Pulling fs layer 23:26:17 701f6daf10bf: Pulling fs layer 23:26:17 24f72da36158: Pulling fs layer 23:26:17 24f72da36158: Waiting 23:26:17 04fac38145f0: Download complete 23:26:18 31603596830f: Verifying Checksum 23:26:18 31603596830f: Download complete 23:26:18 31603596830f: Pull complete 23:26:18 24f72da36158: Verifying Checksum 23:26:18 24f72da36158: Download complete 23:26:18 04fac38145f0: Pull complete 23:26:18 701f6daf10bf: Verifying Checksum 23:26:18 701f6daf10bf: Download complete 23:26:19 701f6daf10bf: Pull complete 23:26:19 24f72da36158: Pull complete 23:26:19 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 23:26:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:26:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:26:19 prd-centos7-docker-4c-2g-1904 does not seem to be running inside a container 23:26:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-943 -v /w/workspace/ndry_app-functions-sdk-go_PR-943:/w/workspace/ndry_app-functions-sdk-go_PR-943:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-943@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-943@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:26:20 $ docker top 04652bd2bf960de18d0cde6b4ae3723713c59adf334f41e084e78de20c3448f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:26:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:26:20 [ssh-agent] Looking for ssh-agent implementation... 23:26:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:26:20 $ docker exec 04652bd2bf960de18d0cde6b4ae3723713c59adf334f41e084e78de20c3448f2 ssh-agent 23:26:20 SSH_AUTH_SOCK=/tmp/ssh-1VNRCRbE9ab8/agent.14 23:26:20 SSH_AGENT_PID=20 23:26:20 Running ssh-add (command line suppressed) 23:26:20 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-943@tmp/private_key_5159935891449598052.key (/w/workspace/ndry_app-functions-sdk-go_PR-943@tmp/private_key_5159935891449598052.key) 23:26:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:26:21 + git tag --points-at HEAD [Pipeline] } 23:26:21 $ docker exec --env ******** --env ******** 04652bd2bf960de18d0cde6b4ae3723713c59adf334f41e084e78de20c3448f2 ssh-agent -k 23:26:21 unset SSH_AUTH_SOCK; 23:26:21 unset SSH_AGENT_PID; 23:26:21 echo Agent pid 20 killed; 23:26:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:26:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:26:21 [ssh-agent] Looking for ssh-agent implementation... 23:26:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:26:21 $ docker exec 04652bd2bf960de18d0cde6b4ae3723713c59adf334f41e084e78de20c3448f2 ssh-agent 23:26:22 SSH_AUTH_SOCK=/tmp/ssh-fkA8oz1aG9Eq/agent.53 23:26:22 SSH_AGENT_PID=60 23:26:22 Running ssh-add (command line suppressed) 23:26:22 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-943@tmp/private_key_6936927056834372132.key (/w/workspace/ndry_app-functions-sdk-go_PR-943@tmp/private_key_6936927056834372132.key) 23:26:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:26:22 + git semver init 23:26:22 # -> Open(): unable to determine branch for HEAD 23:26:22 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-943/.git 23:26:22 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-943 23:26:22 # $SEMVER_REMOTE_NAME = origin 23:26:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:26:22 # $SEMVER_USER_NAME = edgex-jenkins 23:26:22 # $SEMVER_BRANCH = PR-943 23:26:22 # $SEMVER_TEMP = /tmp/semver-624398516 23:26:22 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:26:24 # '/tmp/semver-624398516' -> '/w/workspace/ndry_app-functions-sdk-go_PR-943/.semver' 23:26:24 # -> Force: false 23:26:24 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-943/.semver [Pipeline] } 23:26:24 $ docker exec --env ******** --env ******** 04652bd2bf960de18d0cde6b4ae3723713c59adf334f41e084e78de20c3448f2 ssh-agent -k 23:26:24 unset SSH_AUTH_SOCK; 23:26:24 unset SSH_AGENT_PID; 23:26:24 echo Agent pid 60 killed; 23:26:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:26:25 + git semver [Pipeline] } 23:26:25 $ docker stop --time=1 04652bd2bf960de18d0cde6b4ae3723713c59adf334f41e084e78de20c3448f2 23:26:26 $ docker rm -f 04652bd2bf960de18d0cde6b4ae3723713c59adf334f41e084e78de20c3448f2 [Pipeline] // withDockerContainer [Pipeline] sh 23:26:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:26:27 Stashed 1 file(s) [Pipeline] echo 23:26:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 23:26:43 Still waiting to schedule task 23:26:43 ‘prd-centos7-docker-4c-2g-1897’ is offline 23:26:43 ‘prd-centos7-docker-4c-2g-1905’ is offline 23:26:43 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1900’ doesn’t have label ‘centos7-docker-4c-2g’ 23:26:43 Still waiting to schedule task 23:26:43 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:27:55 Running on prd-centos7-docker-4c-2g-1907 in /w/workspace/ndry_app-functions-sdk-go_PR-943 [Pipeline] { [Pipeline] ws 23:27:55 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:27:55 The recommended git tool is: git 23:28:00 using credential edgex-jenkins-ssh 23:28:00 Cloning the remote Git repository 23:28:00 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:28:00 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 23:28:00 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:28:00 > git --version # timeout=10 23:28:00 > git --version # 'git version 2.24.4' 23:28:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:28:00 [INFO] Currently running in a labeled security context 23:28:00 [INFO] Currently SELinux is 'enforcing' on the host 23:28:00 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh348838520364154896.key 23:28:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:28:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:28:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:28:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:28:01 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:28:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:28:01 [INFO] Currently running in a labeled security context 23:28:01 [INFO] Currently SELinux is 'enforcing' on the host 23:28:01 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh9066130269306625200.key 23:28:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/943/head:refs/remotes/origin/PR-943 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:28:02 Merging remotes/origin/main commit 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe into PR head commit b654a979516bd5b8f6655f4443ea055d3cb89d2a 23:28:02 Merge succeeded, producing dc5f0cb315c66836bdd32083da55bc17335d176c 23:28:02 Checking out Revision dc5f0cb315c66836bdd32083da55bc17335d176c (PR-943) 23:28:02 > git config core.sparsecheckout # timeout=10 23:28:02 > git checkout -f b654a979516bd5b8f6655f4443ea055d3cb89d2a # timeout=10 23:28:02 > git remote # timeout=10 23:28:02 > git config --get remote.origin.url # timeout=10 23:28:02 using GIT_SSH to set credentials SSH Credentials for GitHub 23:28:02 [INFO] Currently running in a labeled security context 23:28:02 [INFO] Currently SELinux is 'enforcing' on the host 23:28:02 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh167584545071521884.key 23:28:02 > git merge 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe # timeout=10 23:28:02 > git rev-parse HEAD^{commit} # timeout=10 23:28:02 > git config core.sparsecheckout # timeout=10 23:28:02 > git checkout -f dc5f0cb315c66836bdd32083da55bc17335d176c # timeout=10 23:28:06 Commit message: "Merge commit '262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe' into HEAD" 23:28:06 First time build. Skipping changelog. 23:28:06 > git --version # timeout=10 23:28:06 > git --version # 'git version 2.24.4' 23:28:06 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:28:07 ========================================================= 23:28:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:28:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:28:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:28:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:28:08 540db60ca938: Pulling fs layer 23:28:08 adcc1eea9eea: Pulling fs layer 23:28:08 4c4ab2625f07: Pulling fs layer 23:28:08 db62176df00c: Pulling fs layer 23:28:08 3b30891b0d05: Pulling fs layer 23:28:08 06b49ca38bd5: Pulling fs layer 23:28:08 c788192a36de: Pulling fs layer 23:28:08 a77e37c0d609: Pulling fs layer 23:28:08 c3185cebc471: Pulling fs layer 23:28:08 db62176df00c: Waiting 23:28:08 3b30891b0d05: Waiting 23:28:08 06b49ca38bd5: Waiting 23:28:08 c788192a36de: Waiting 23:28:08 a77e37c0d609: Waiting 23:28:08 c3185cebc471: Waiting 23:28:08 4c4ab2625f07: Verifying Checksum 23:28:08 4c4ab2625f07: Download complete 23:28:08 adcc1eea9eea: Verifying Checksum 23:28:08 adcc1eea9eea: Download complete 23:28:08 3b30891b0d05: Verifying Checksum 23:28:08 3b30891b0d05: Download complete 23:28:08 06b49ca38bd5: Verifying Checksum 23:28:08 06b49ca38bd5: Download complete 23:28:08 c788192a36de: Verifying Checksum 23:28:08 c788192a36de: Download complete 23:28:08 540db60ca938: Verifying Checksum 23:28:08 540db60ca938: Pull complete 23:28:08 adcc1eea9eea: Pull complete 23:28:08 4c4ab2625f07: Pull complete 23:28:10 a77e37c0d609: Download complete 23:28:11 c3185cebc471: Verifying Checksum 23:28:11 c3185cebc471: Download complete 23:28:12 db62176df00c: Download complete 23:28:16 db62176df00c: Pull complete 23:28:16 3b30891b0d05: Pull complete 23:28:16 06b49ca38bd5: Pull complete 23:28:16 c788192a36de: Pull complete 23:28:16 a77e37c0d609: Pull complete 23:28:18 c3185cebc471: Pull complete 23:28:18 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:28:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:28:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 23:28:19 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 23:28:19 + docker inspect -f . ci-base-image-x86_64 23:28:19 . [Pipeline] withDockerContainer 23:28:19 prd-centos7-docker-4c-2g-1907 does not seem to be running inside a container 23:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:28:21 $ docker top f705edee7fb57674453862fb28f5450306f69f2b55ed931cfa73966b573acdc9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:22 + go version 23:28:22 go version go1.16.6 linux/amd64 [Pipeline] } 23:28:22 $ docker stop --time=1 f705edee7fb57674453862fb28f5450306f69f2b55ed931cfa73966b573acdc9 23:28:23 $ docker rm -f f705edee7fb57674453862fb28f5450306f69f2b55ed931cfa73966b573acdc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:28:24 + docker inspect -f . ci-base-image-x86_64 23:28:24 . [Pipeline] withDockerContainer 23:28:24 prd-centos7-docker-4c-2g-1907 does not seem to be running inside a container 23:28:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:28:24 $ docker top f2af13614061f05862a4fc5f716ba466c0f0c185063f4e8a9c8141cfab3d8622 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:28:25 + make test 23:28:25 make -C ./app-service-template build 23:28:25 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:28:25 go mod tidy 23:28:25 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:28:25 go: downloading github.com/stretchr/testify v1.7.0 23:28:25 go: downloading github.com/google/uuid v1.3.0 23:28:25 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:28:25 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:28:25 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:28:25 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:28:25 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:28:25 go: downloading github.com/davecgh/go-spew v1.1.1 23:28:25 go: downloading github.com/pmezard/go-difflib v1.0.0 23:28:25 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:28:25 go: downloading github.com/stretchr/objx v0.1.0 23:28:25 go: downloading github.com/go-kit/kit v0.9.0 23:28:25 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:28:25 go: downloading gopkg.in/yaml.v2 v2.4.0 23:28:25 go: downloading github.com/gorilla/mux v1.8.0 23:28:25 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:28:25 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:28:25 go: downloading github.com/mitchellh/copystructure v1.0.0 23:28:25 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:28:25 go: downloading github.com/gorilla/websocket v1.4.2 23:28:25 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:28:25 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:28:25 go: downloading github.com/go-playground/universal-translator v0.17.0 23:28:26 go: downloading github.com/leodido/go-urn v1.2.0 23:28:26 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:28:26 go: downloading golang.org/x/text v0.3.2 23:28:26 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:28:26 go: downloading github.com/go-playground/locales v0.13.0 23:28:27 go: downloading github.com/pelletier/go-toml v1.9.2 23:28:27 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:28:27 go: downloading github.com/go-stack/stack v1.8.0 23:28:27 go: downloading github.com/hashicorp/consul/api v1.8.1 23:28:27 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:28:27 go: downloading github.com/x448/float16 v0.8.4 23:28:27 go: downloading github.com/kr/pretty v0.2.0 23:28:27 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:28:27 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:28:27 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:28:27 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:28:27 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:28:27 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:28:27 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:28:27 go: downloading github.com/hashicorp/serf v0.9.5 23:28:27 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:28:27 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:28:27 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:28:27 go: downloading github.com/kr/text v0.1.0 23:28:27 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:28:27 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:28:27 go: downloading github.com/pebbe/zmq4 v1.2.7 23:28:27 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:28:27 go: downloading github.com/fatih/color v1.9.0 23:28:27 go: downloading github.com/mattn/go-colorable v0.1.6 23:28:27 go: downloading github.com/mattn/go-isatty v0.0.12 23:28:27 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:28:27 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:28:27 go: downloading github.com/pkg/errors v0.8.1 23:28:27 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:28:27 go: downloading github.com/hashicorp/memberlist v0.2.2 23:28:27 go: downloading github.com/onsi/ginkgo v1.10.1 23:28:27 go: downloading github.com/onsi/gomega v1.7.0 23:28:27 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:28:27 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:28:27 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:28:27 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:28:27 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:28:27 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:28:27 go: downloading github.com/miekg/dns v1.1.26 23:28:27 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:28:27 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:28:27 go: downloading github.com/hashicorp/errwrap v1.0.0 23:28:27 go: downloading github.com/hpcloud/tail v1.0.0 23:28:27 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 23:28:27 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:28:27 go: downloading github.com/golang/protobuf v1.3.2 23:28:27 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:28:27 go: downloading github.com/fsnotify/fsnotify v1.4.7 23:28:28 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 23:28:38 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:28:38 make -C ./app-service-template test 23:28:38 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:28:38 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:28:46 ok new-app-service 0.013s coverage: 48.1% of statements 23:28:46 ? new-app-service/config [no test files] 23:28:46 ok new-app-service/functions 0.007s 23:28:46 CGO_ENABLED=1 go vet ./... 23:28:54 gofmt -l . 23:28:54 [ "`gofmt -l .`" = "" ] 23:28:54 ./bin/test-attribution-txt.sh 23:28:54 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:28:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:28:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:28:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.015s coverage: 65.4% of statements 23:28:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.006s coverage: 93.2% of statements 23:28:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:28:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.011s coverage: 61.8% of statements 23:28:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:28:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.008s 23:28:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.047s coverage: 75.2% of statements 23:28:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:28:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:28:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:28:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:28:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:28:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:28:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.3% of statements 23:28:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:28:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements 23:29:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.062s coverage: 77.0% of statements 23:29:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:29:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.005s coverage: 12.5% of statements 23:29:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements 23:29:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 23:29:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:29:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements 23:29:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1908 in /w/workspace/ndry_app-functions-sdk-go_PR-943 [Pipeline] { [Pipeline] ws 23:29:10 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:29:10 The recommended git tool is: git 23:29:18 using credential edgex-jenkins-ssh 23:29:18 Cloning the remote Git repository 23:29:18 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:29:18 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 23:29:18 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:29:18 > git --version # timeout=10 23:29:18 > git --version # 'git version 2.17.1' 23:29:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:29:23 Merging remotes/origin/main commit 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe into PR head commit b654a979516bd5b8f6655f4443ea055d3cb89d2a 23:29:22 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:29:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:29:22 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:29:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:29:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/943/head:refs/remotes/origin/PR-943 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:29:23 > git config core.sparsecheckout # timeout=10 23:29:23 > git checkout -f b654a979516bd5b8f6655f4443ea055d3cb89d2a # timeout=10 23:29:23 Merge succeeded, producing 4ab11bcbcfcc708478a1935a094e3ae842b907f5 23:29:23 Checking out Revision 4ab11bcbcfcc708478a1935a094e3ae842b907f5 (PR-943) 23:29:23 > git remote # timeout=10 23:29:23 > git config --get remote.origin.url # timeout=10 23:29:23 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:23 > git merge 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe # timeout=10 23:29:23 > git rev-parse HEAD^{commit} # timeout=10 23:29:23 > git config core.sparsecheckout # timeout=10 23:29:23 > git checkout -f 4ab11bcbcfcc708478a1935a094e3ae842b907f5 # timeout=10 23:29:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.024s coverage: 77.3% of statements 23:29:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements 23:29:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:29:27 gofmt -l . 23:29:27 [ "`gofmt -l .`" = "" ] [Pipeline] } 23:29:27 $ docker stop --time=1 f2af13614061f05862a4fc5f716ba466c0f0c185063f4e8a9c8141cfab3d8622 23:29:27 Commit message: "Merge commit '262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe' into HEAD" 23:29:27 First time build. Skipping changelog. 23:29:27 > git --version # timeout=10 23:29:27 > git --version # 'git version 2.17.1' 23:29:27 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:29:28 $ docker rm -f f2af13614061f05862a4fc5f716ba466c0f0c185063f4e8a9c8141cfab3d8622 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 23:29:31 + sudo chown -R jenkins:jenkins . [Pipeline] { [Pipeline] unstash [Pipeline] stash 23:29:31 Stashed 2 file(s) [Pipeline] } [Pipeline] echo 23:29:31 ========================================================= 23:29:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:29:31 ========================================================= [Pipeline] fileExists [Pipeline] // script [Pipeline] } [Pipeline] fileExists [Pipeline] // stage [Pipeline] sh [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 23:29:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:29:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:33 23:29:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:29:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:33 latest: Pulling from edgex-lftools-log-publisher 23:29:33 b4d181a07f80: Pulling fs layer 23:29:33 a1111a8f2ec3: Pulling fs layer 23:29:33 ed53099fbce6: Pulling fs layer 23:29:33 dc539afda2c1: Pulling fs layer 23:29:33 77bc0d833cb6: Pulling fs layer 23:29:33 9065ff56babe: Pulling fs layer 23:29:33 d287ab97295c: Pulling fs layer 23:29:33 dc539afda2c1: Waiting 23:29:33 77bc0d833cb6: Waiting 23:29:33 9065ff56babe: Waiting 23:29:33 d287ab97295c: Waiting 23:29:33 a1111a8f2ec3: Verifying Checksum 23:29:33 a1111a8f2ec3: Download complete 23:29:33 dc539afda2c1: Verifying Checksum 23:29:33 dc539afda2c1: Download complete 23:29:33 77bc0d833cb6: Verifying Checksum 23:29:33 77bc0d833cb6: Download complete 23:29:33 9065ff56babe: Verifying Checksum 23:29:33 9065ff56babe: Download complete 23:29:34 ed53099fbce6: Verifying Checksum 23:29:34 ed53099fbce6: Download complete 23:29:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:29:35 595b0fe564bb: Pulling fs layer 23:29:35 24495759ef45: Pulling fs layer 23:29:35 d148012ef14d: Pulling fs layer 23:29:35 e90a11edd702: Pulling fs layer 23:29:35 d77568369979: Pulling fs layer 23:29:35 fc1c9f9a7f3b: Pulling fs layer 23:29:35 170f2ba95c9a: Pulling fs layer 23:29:35 97ac5df62f85: Pulling fs layer 23:29:35 170f2ba95c9a: Waiting 23:29:35 97ac5df62f85: Waiting 23:29:35 e90a11edd702: Waiting 23:29:35 d77568369979: Waiting 23:29:35 d148012ef14d: Verifying Checksum 23:29:35 d148012ef14d: Download complete 23:29:35 24495759ef45: Download complete 23:29:35 d77568369979: Verifying Checksum 23:29:35 d77568369979: Download complete 23:29:35 fc1c9f9a7f3b: Verifying Checksum 23:29:35 170f2ba95c9a: Verifying Checksum 23:29:35 170f2ba95c9a: Download complete 23:29:35 595b0fe564bb: Verifying Checksum 23:29:35 595b0fe564bb: Download complete 23:29:35 b4d181a07f80: Verifying Checksum 23:29:35 b4d181a07f80: Download complete 23:29:35 595b0fe564bb: Pull complete 23:29:36 24495759ef45: Pull complete 23:29:36 b4d181a07f80: Pull complete 23:29:36 a1111a8f2ec3: Pull complete 23:29:36 ed53099fbce6: Pull complete 23:29:36 dc539afda2c1: Pull complete 23:29:37 d148012ef14d: Pull complete 23:29:37 77bc0d833cb6: Pull complete 23:29:37 9065ff56babe: Pull complete 23:29:38 97ac5df62f85: Verifying Checksum 23:29:38 97ac5df62f85: Download complete 23:29:39 e90a11edd702: Verifying Checksum 23:29:39 e90a11edd702: Download complete 23:29:40 d287ab97295c: Download complete 23:29:46 d287ab97295c: Pull complete 23:29:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:29:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:29:46 prd-centos7-docker-4c-2g-1907 does not seem to be running inside a container 23:29:46 $ 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:29:48 $ docker top a56b1d40e3b838da26299b2dbd6898af01b04c89f510bfcf3c1f427c588de421 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:48 e90a11edd702: Pull complete 23:29:48 d77568369979: Pull complete 23:29:49 ---> job-cost.sh 23:29:49 lf-activate-venv: SKIPPING 23:29:49 INFO: No Stack... 23:29:49 fc1c9f9a7f3b: Pull complete 23:29:49 170f2ba95c9a: Pull complete 23:29:50 INFO: Retrieving Pricing Info for: v3-standard-2 23:29:50 INFO: Archiving Costs [Pipeline] sh 23:29:50 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 23:29:50 + cut -d, -f6 [Pipeline] lock 23:29:50 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-943-1-stack-cost] 23:29:50 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-943-1-stack-cost] did not exist. Created. 23:29:50 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-943-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:29:51 + echo total: 0.05999999865889549 [Pipeline] stash 23:29:51 Stashed 1 file(s) [Pipeline] } 23:29:51 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-943-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:29:51 $ docker stop --time=1 a56b1d40e3b838da26299b2dbd6898af01b04c89f510bfcf3c1f427c588de421 23:29:52 $ docker rm -f a56b1d40e3b838da26299b2dbd6898af01b04c89f510bfcf3c1f427c588de421 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:29:55 97ac5df62f85: Pull complete 23:29:55 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:29:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 23:29:55 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 23:29:56 + docker inspect -f . ci-base-image-arm64 23:29:56 . [Pipeline] withDockerContainer 23:29:56 prd-ubuntu18.04-docker-arm64-4c-16g-1908 does not seem to be running inside a container 23:29:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:30:03 $ docker top 863f0a3c958c32b68bc6aa1766b5bee2fee64cb60097ad667e3ae38c50c2e70f -eo pid,comm [Pipeline] { [Pipeline] sh 23:30:04 + go version 23:30:04 go version go1.16.6 linux/arm64 [Pipeline] } 23:30:04 $ docker stop --time=1 863f0a3c958c32b68bc6aa1766b5bee2fee64cb60097ad667e3ae38c50c2e70f 23:30:06 $ docker rm -f 863f0a3c958c32b68bc6aa1766b5bee2fee64cb60097ad667e3ae38c50c2e70f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:30:09 + docker inspect -f . ci-base-image-arm64 23:30:09 . [Pipeline] withDockerContainer 23:30:09 prd-ubuntu18.04-docker-arm64-4c-16g-1908 does not seem to be running inside a container 23:30:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:30:11 $ docker top aa77d0b30676b5b26c988def9c1976fe7a5a0c4a9495a5fa64728d1b36a8ba54 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:30:12 + make test 23:30:12 make -C ./app-service-template build 23:30:12 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:30:12 go mod tidy 23:30:13 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:30:13 go: downloading github.com/google/uuid v1.3.0 23:30:13 go: downloading github.com/stretchr/testify v1.7.0 23:30:13 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:30:13 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:30:13 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:30:13 go: downloading github.com/davecgh/go-spew v1.1.1 23:30:13 go: downloading github.com/pmezard/go-difflib v1.0.0 23:30:13 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:30:13 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:30:13 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:30:13 go: downloading github.com/stretchr/objx v0.1.0 23:30:13 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:30:13 go: downloading github.com/go-kit/kit v0.9.0 23:30:13 go: downloading gopkg.in/yaml.v2 v2.4.0 23:30:13 go: downloading github.com/gorilla/mux v1.8.0 23:30:14 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:30:14 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:30:14 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:30:14 go: downloading github.com/mitchellh/copystructure v1.0.0 23:30:14 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:30:14 go: downloading github.com/gorilla/websocket v1.4.2 23:30:14 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:30:14 go: downloading github.com/hashicorp/consul/api v1.8.1 23:30:14 go: downloading github.com/pelletier/go-toml v1.9.2 23:30:14 go: downloading github.com/go-playground/universal-translator v0.17.0 23:30:14 go: downloading github.com/leodido/go-urn v1.2.0 23:30:14 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:30:14 go: downloading golang.org/x/text v0.3.2 23:30:14 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:30:15 go: downloading github.com/go-playground/locales v0.13.0 23:30:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:30:17 go: downloading github.com/x448/float16 v0.8.4 23:30:17 go: downloading github.com/kr/pretty v0.2.0 23:30:17 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:30:18 go: downloading github.com/go-stack/stack v1.8.0 23:30:18 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:30:18 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:30:18 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:30:18 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:30:18 go: downloading github.com/hashicorp/serf v0.9.5 23:30:18 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:30:18 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:30:18 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:30:18 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:30:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:30:18 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:30:18 go: downloading github.com/kr/text v0.1.0 23:30:18 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:30:18 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:30:18 go: downloading github.com/pebbe/zmq4 v1.2.7 23:30:18 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:30:18 go: downloading github.com/fatih/color v1.9.0 23:30:18 go: downloading github.com/mattn/go-colorable v0.1.6 23:30:18 go: downloading github.com/mattn/go-isatty v0.0.12 23:30:18 go: downloading github.com/pkg/errors v0.8.1 23:30:18 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:30:18 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:30:18 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:30:18 go: downloading github.com/hashicorp/memberlist v0.2.2 23:30:18 go: downloading github.com/onsi/ginkgo v1.10.1 23:30:18 go: downloading github.com/onsi/gomega v1.7.0 23:30:18 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:30:18 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:30:18 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:30:18 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:30:18 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:30:18 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:30:18 go: downloading github.com/miekg/dns v1.1.26 23:30:18 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:30:19 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:30:19 go: downloading github.com/hashicorp/errwrap v1.0.0 23:30:19 go: downloading github.com/hpcloud/tail v1.0.0 23:30:19 go: downloading github.com/golang/protobuf v1.3.2 23:30:19 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:30:19 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:30:19 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 23:30:19 go: downloading github.com/fsnotify/fsnotify v1.4.7 23:30:19 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 23:30:54 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:30:54 make -C ./app-service-template test 23:30:54 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:30:54 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:31:27 ok new-app-service 0.042s coverage: 48.1% of statements 23:31:27 ? new-app-service/config [no test files] 23:31:27 ok new-app-service/functions 0.041s 23:31:27 CGO_ENABLED=1 go vet ./... 23:31:52 gofmt -l . 23:31:52 [ "`gofmt -l .`" = "" ] 23:31:52 ./bin/test-attribution-txt.sh 23:31:52 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 23:31:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:31:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:32:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.143s coverage: 65.4% of statements 23:32:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.081s coverage: 93.2% of statements 23:32:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:32:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.117s coverage: 61.8% of statements 23:32:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:32:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.038s 23:32:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.128s coverage: 75.2% of statements 23:32:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:32:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:32:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:32:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:32:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:32:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:32:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.3% of statements 23:32:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:32:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.066s coverage: 10.5% of statements 23:32:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.166s coverage: 77.0% of statements 23:32:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:32:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.048s coverage: 12.5% of statements 23:32:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.102s coverage: 27.3% of statements 23:32:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 23:32:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:32:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.045s coverage: 51.4% of statements 23:32:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.119s coverage: 77.3% of statements 23:32:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.045s coverage: 94.4% of statements 23:32:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:32:38 gofmt -l . 23:32:38 [ "`gofmt -l .`" = "" ] [Pipeline] } 23:32:39 $ docker stop --time=1 aa77d0b30676b5b26c988def9c1976fe7a5a0c4a9495a5fa64728d1b36a8ba54 23:32:41 $ docker rm -f aa77d0b30676b5b26c988def9c1976fe7a5a0c4a9495a5fa64728d1b36a8ba54 [Pipeline] // withDockerContainer [Pipeline] sh 23:32:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:32:44 Warning: overwriting stash ‘coverage-report’ 23:32:45 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:32:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:32:46 23:32:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:32:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:32:47 arm64: Pulling from edgex-lftools-log-publisher 23:32:47 448f6bf000e3: Pulling fs layer 23:32:47 f757da607395: Pulling fs layer 23:32:47 05883995daec: Pulling fs layer 23:32:47 8603b9c90790: Pulling fs layer 23:32:47 1560dd03e051: Pulling fs layer 23:32:47 27f5ce0e4adf: Pulling fs layer 23:32:47 c2d8d7efcc4b: Pulling fs layer 23:32:47 8603b9c90790: Waiting 23:32:47 1560dd03e051: Waiting 23:32:47 c2d8d7efcc4b: Waiting 23:32:47 27f5ce0e4adf: Waiting 23:32:47 f757da607395: Verifying Checksum 23:32:47 f757da607395: Download complete 23:32:47 8603b9c90790: Verifying Checksum 23:32:47 8603b9c90790: Download complete 23:32:47 1560dd03e051: Download complete 23:32:47 27f5ce0e4adf: Download complete 23:32:47 05883995daec: Verifying Checksum 23:32:47 05883995daec: Download complete 23:32:48 448f6bf000e3: Verifying Checksum 23:32:48 448f6bf000e3: Download complete 23:32:51 c2d8d7efcc4b: Verifying Checksum 23:32:51 c2d8d7efcc4b: Download complete 23:32:51 448f6bf000e3: Pull complete 23:32:52 f757da607395: Pull complete 23:32:54 05883995daec: Pull complete 23:32:54 8603b9c90790: Pull complete 23:32:55 1560dd03e051: Pull complete 23:32:55 27f5ce0e4adf: Pull complete 23:33:11 c2d8d7efcc4b: Pull complete 23:33:11 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:33:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:33:11 prd-ubuntu18.04-docker-arm64-4c-16g-1908 does not seem to be running inside a container 23:33:12 $ 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:33:16 $ docker top f568aa258027e773d442bf112889cd52d6f4984b0ea3bd0cb4474ae19da85d4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:33:17 ---> job-cost.sh 23:33:17 lf-activate-venv: SKIPPING 23:33:17 INFO: No Stack... 23:33:19 INFO: Retrieving Pricing Info for: v3-standard-4 23:33:19 INFO: Archiving Costs [Pipeline] sh 23:33:20 + + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 23:33:20 cut -d, -f6 [Pipeline] lock 23:33:20 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-943-1-stack-cost] 23:33:20 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-943-1-stack-cost] did not exist. Created. 23:33:20 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-943-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:33:21 /w/workspace/app-functions-sdk-go/1@tmp/durable-7ad6d030/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-7ad6d030/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:33:22 + echo total: 0.10999999940395355 [Pipeline] stash 23:33:22 Warning: overwriting stash ‘stack-cost’ 23:33:22 Stashed 1 file(s) [Pipeline] } 23:33:22 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-943-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:33:22 $ docker stop --time=1 f568aa258027e773d442bf112889cd52d6f4984b0ea3bd0cb4474ae19da85d4f 23:33:24 $ docker rm -f f568aa258027e773d442bf112889cd52d6f4984b0ea3bd0cb4474ae19da85d4f [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 23:33:25 provisioning config files... 23:33:25 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-943@tmp/config8534885002461583205tmp [Pipeline] { [Pipeline] sh 23:33:25 + set +x 23:33:25 + curl -s https://codecov.io/bash 23:33:25 + bash -s -- 23:33:25 23:33:25 _____ _ 23:33:25 / ____| | | 23:33:25 | | ___ __| | ___ ___ _____ __ 23:33:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:33:25 | |___| (_) | (_| | __/ (_| (_) \ V / 23:33:25 \_____\___/ \__,_|\___|\___\___/ \_/ 23:33:25 Bash-1.0.6 23:33:25 23:33:25 23:33:25 ==> git version 2.24.4 found 23:33:25 ==> 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 23:33:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:33:25 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:33:26 ==> Jenkins CI detected. 23:33:26 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-943 23:33:26 project root: . 23:33:26 --> token set from env 23:33:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:33:26 ==> Running gcov in . (disable via -X gcov) 23:33:26 ==> Python coveragepy not found 23:33:26 ==> Searching for coverage reports in: 23:33:26 + . 23:33:26 -> Found 2 reports 23:33:26 ==> Detecting git/mercurial file structure 23:33:26 ==> Reading reports 23:33:26 + ./app-service-template/coverage.out bytes=1219 23:33:26 + ./coverage.out bytes=100525 23:33:26 ==> Appending adjustments 23:33:26 https://docs.codecov.io/docs/fixing-reports 23:33:26 + Found adjustments 23:33:26 ==> Gzipping contents 23:33:26 20K /tmp/codecov.rmVB2t.gz 23:33:26 ==> Uploading reports 23:33:26 url: https://codecov.io 23:33:26 query: branch=PR-943&commit=9d11f2e492183126062d12d268c497c873071ea4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-943%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=943&job=&cmd_args= 23:33:26 -> Pinging Codecov 23:33:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-943&commit=9d11f2e492183126062d12d268c497c873071ea4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-943%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=943&job=&cmd_args= 23:33:27 -> Uploading to 23:33:27 https://storage.googleapis.com/codecov/v4/raw/2021-09-09/3D8B5DFFC46A037C893635FACE044666/9d11f2e492183126062d12d268c497c873071ea4/123ed392-b0e6-4453-91b3-1f7199339115.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210909%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210909T233326Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83e09cb3181cffa68ed8d1a9ad08cd037fe8509cb401126a3b28dd454f4e6e9c 23:33:27 % Total % Received % Xferd Average Speed Time Time Time Current 23:33:27 Dload Upload Total Spent Left Speed 23:33:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17465 0 0 100 17465 0 45585 --:--:-- --:--:-- --:--:-- 45719 23:33:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/9d11f2e492183126062d12d268c497c873071ea4 [Pipeline] } 23:33:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:33:31 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-943/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:33:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:33:32 ---> package-listing.sh 23:33:32 ++ tr '[:upper:]' '[:lower:]' 23:33:32 ++ facter osfamily 23:33:32 + OS_FAMILY=redhat 23:33:32 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-943 23:33:32 + START_PACKAGES=/tmp/packages_start.txt 23:33:32 + END_PACKAGES=/tmp/packages_end.txt 23:33:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:33:32 + PACKAGES=/tmp/packages_start.txt 23:33:32 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-943 ']' 23:33:32 + PACKAGES=/tmp/packages_end.txt 23:33:32 + case "${OS_FAMILY}" in 23:33:32 + rpm -qa 23:33:32 + sort 23:33:33 + '[' -f /tmp/packages_start.txt ']' 23:33:33 + '[' -f /tmp/packages_end.txt ']' 23:33:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:33:33 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-943 ']' 23:33:33 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-943/archives/ 23:33:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-943/archives/ [Pipeline] echo 23:33:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-943/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:33:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:33:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:33:34 23:33:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:33:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:33:34 latest: Pulling from edgex-lftools-log-publisher 23:33:34 b4d181a07f80: Pulling fs layer 23:33:34 a1111a8f2ec3: Pulling fs layer 23:33:34 ed53099fbce6: Pulling fs layer 23:33:34 dc539afda2c1: Pulling fs layer 23:33:34 77bc0d833cb6: Pulling fs layer 23:33:34 9065ff56babe: Pulling fs layer 23:33:34 d287ab97295c: Pulling fs layer 23:33:34 77bc0d833cb6: Waiting 23:33:34 9065ff56babe: Waiting 23:33:34 d287ab97295c: Waiting 23:33:34 dc539afda2c1: Waiting 23:33:35 a1111a8f2ec3: Verifying Checksum 23:33:35 a1111a8f2ec3: Download complete 23:33:35 dc539afda2c1: Verifying Checksum 23:33:35 dc539afda2c1: Download complete 23:33:35 77bc0d833cb6: Verifying Checksum 23:33:35 77bc0d833cb6: Download complete 23:33:35 9065ff56babe: Verifying Checksum 23:33:35 9065ff56babe: Download complete 23:33:35 ed53099fbce6: Verifying Checksum 23:33:35 ed53099fbce6: Download complete 23:33:36 b4d181a07f80: Verifying Checksum 23:33:36 b4d181a07f80: Download complete 23:33:37 b4d181a07f80: Pull complete 23:33:38 a1111a8f2ec3: Pull complete 23:33:38 ed53099fbce6: Pull complete 23:33:38 dc539afda2c1: Pull complete 23:33:38 77bc0d833cb6: Pull complete 23:33:38 9065ff56babe: Pull complete 23:33:41 d287ab97295c: Verifying Checksum 23:33:41 d287ab97295c: Download complete 23:33:45 d287ab97295c: Pull complete 23:33:45 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:33:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:33:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:33:45 prd-centos7-docker-4c-2g-1904 does not seem to be running inside a container 23:33:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-943/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-943 -v /w/workspace/ndry_app-functions-sdk-go_PR-943:/w/workspace/ndry_app-functions-sdk-go_PR-943:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-943@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-943@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:33:47 $ docker top ea84e9dede7b0caae19bd1952160d1b08339d5fecff2933da6d3b9fbeffb2b99 -eo pid,comm [Pipeline] { [Pipeline] sh 23:33:49 + touch /tmp/pre-build-complete [Pipeline] sh 23:33:50 + mkdir -p /var/log/sysstat [Pipeline] sh 23:33:50 + ls /var/log/sa-host 23:33:50 + sadf -c /var/log/sa-host/sa05 23:33:50 file_magic: OK 23:33:50 HZ: Using current value: 100 23:33:50 file_header: OK 23:33:50 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 23:33:50 Statistics: 23:33:50 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:33:50 File successfully converted to sysstat format version 12.0.3 23:33:50 + sadf -c /var/log/sa-host/sa09 23:33:50 file_magic: OK 23:33:50 HZ: Using current value: 100 23:33:50 file_header: OK 23:33:50 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 23:33:50 Statistics: 23:33:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:33:50 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:33:50 provisioning config files... 23:33:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-943@tmp/config4299643928493376300tmp [Pipeline] { [Pipeline] echo 23:33:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:33:51 ---> create-netrc.sh [Pipeline] } 23:33:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:33:51 ---> python-tools-install.sh [Pipeline] echo 23:33:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:33:52 ---> sudo-logs.sh 23:33:52 Archiving 'sudo' log.. 23:33:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-1904.vexxhost.local: Name or service not known 23:33:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-1904.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:33:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:33:52 ---> job-cost.sh 23:33:52 lf-activate-venv: SKIPPING 23:33:52 DEBUG: total: 0.10999999940395355 23:33:52 INFO: Retrieving Stack Cost... 23:33:53 INFO: Retrieving Pricing Info for: v3-standard-2 23:33:53 INFO: Archiving Costs [Pipeline] echo 23:33:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:33:54 ---> logs-deploy.sh 23:33:54 lf-activate-venv: SKIPPING 23:33:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-943/1 23:33:54 INFO: archiving workspace using pattern(s): 23:33:54 Archives upload complete. 23:33:54 INFO: archiving logs to Nexus 23:33:55 ---> uname -a: 23:33:55 Linux prd-centos7-docker-4c-2g-1904.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 23:33:55 23:33:55 23:33:55 ---> lscpu: 23:33:55 Architecture: x86_64 23:33:55 CPU op-mode(s): 32-bit, 64-bit 23:33:55 Byte Order: Little Endian 23:33:55 Address sizes: 40 bits physical, 48 bits virtual 23:33:55 CPU(s): 2 23:33:55 On-line CPU(s) list: 0,1 23:33:55 Thread(s) per core: 1 23:33:55 Core(s) per socket: 1 23:33:55 Socket(s): 2 23:33:55 NUMA node(s): 1 23:33:55 Vendor ID: AuthenticAMD 23:33:55 CPU family: 23 23:33:55 Model: 49 23:33:55 Model name: AMD EPYC-Rome Processor 23:33:55 Stepping: 0 23:33:55 CPU MHz: 2799.996 23:33:55 BogoMIPS: 5599.99 23:33:55 Virtualization: AMD-V 23:33:55 Hypervisor vendor: KVM 23:33:55 Virtualization type: full 23:33:55 L1d cache: 32K 23:33:55 L1i cache: 32K 23:33:55 L2 cache: 512K 23:33:55 L3 cache: 16384K 23:33:55 NUMA node0 CPU(s): 0,1 23:33:55 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 23:33:55 23:33:55 23:33:55 ---> nproc: 23:33:55 2 23:33:55 23:33:55 23:33:55 ---> df -h: 23:33:55 Filesystem Size Used Avail Use% Mounted on 23:33:55 overlay 40G 7.7G 33G 20% / 23:33:55 tmpfs 64M 0 64M 0% /dev 23:33:55 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:33:55 shm 64M 0 64M 0% /dev/shm 23:33:55 /dev/vda1 40G 7.7G 33G 20% /facter-os 23:33:55 23:33:55 23:33:55 ---> sar -b -r -n DEV: 23:33:55 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/09/21 _x86_64_ (2 CPU) 23:33:55 23:33:55 23:25:25 LINUX RESTART (2 CPU) 23:33:55 23:33:55 23:26:01 tps rtps wtps bread/s bwrtn/s 23:33:55 23:27:02 79.32 3.40 75.93 2557.28 5131.13 23:33:55 23:28:01 1.78 0.00 1.78 0.00 32.84 23:33:55 23:29:01 0.30 0.00 0.30 0.00 3.30 23:33:55 23:30:01 0.15 0.00 0.15 0.00 2.18 23:33:55 23:31:01 0.32 0.00 0.32 0.00 3.95 23:33:55 23:32:01 0.32 0.00 0.32 0.00 4.08 23:33:55 23:33:01 0.25 0.00 0.25 0.00 3.88 23:33:55 Average: 11.81 0.49 11.32 366.37 742.23 23:33:55 23:33:55 23:26:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:33:55 23:27:02 5424392 0 812884 10.15 2620 1769044 1286152 14.20 599388 1584560 128 23:33:55 23:28:01 5431928 0 805340 10.06 2620 1769052 1234080 13.62 593148 1584764 16 23:33:55 23:29:01 5435304 0 801960 10.01 2620 1769056 1201996 13.27 585804 1589148 12 23:33:55 23:30:01 5431680 0 805576 10.06 2620 1769064 1202164 13.27 588796 1589836 8 23:33:55 23:31:01 5431412 0 805840 10.06 2620 1769068 1202224 13.27 586124 1592892 8 23:33:55 23:32:01 5432128 0 805120 10.05 2620 1769072 1202176 13.27 585832 1592896 20 23:33:55 23:33:01 5431052 0 806192 10.07 2620 1769076 1202248 13.27 586248 1592892 8 23:33:55 Average: 5431128 0 806130 10.07 2620 1769062 1218720 13.46 589334 1589570 29 23:33:55 23:33:55 23:26:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:33:55 23:27:02 eth0 253.87 210.19 988.51 36.53 0.00 0.00 0.00 0.00 23:33:55 23:27:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:27:02 docker0 109.17 90.33 9.87 314.50 0.00 0.00 0.00 0.00 23:33:55 23:28:01 eth0 2.22 0.66 0.66 0.41 0.00 0.00 0.00 0.00 23:33:55 23:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:29:01 eth0 0.43 0.08 0.02 0.04 0.00 0.00 0.00 0.00 23:33:55 23:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:30:01 eth0 1.18 0.28 0.33 0.20 0.00 0.00 0.00 0.00 23:33:55 23:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:31:01 eth0 1.27 0.43 0.40 0.27 0.00 0.00 0.00 0.00 23:33:55 23:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:32:01 eth0 1.15 0.40 0.39 0.17 0.00 0.00 0.00 0.00 23:33:55 23:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:33:01 eth0 0.52 0.30 0.27 0.23 0.00 0.00 0.00 0.00 23:33:55 23:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 23:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 Average: eth0 37.33 30.42 141.91 5.42 0.00 0.00 0.00 0.00 23:33:55 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:33:55 Average: docker0 15.64 12.94 1.41 45.06 0.00 0.00 0.00 0.00 23:33:55 23:33:55 23:33:55 ---> sar -P ALL: 23:33:55 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/09/21 _x86_64_ (2 CPU) 23:33:55 23:33:55 23:25:25 LINUX RESTART (2 CPU) 23:33:55 23:33:55 23:26:01 CPU %user %nice %system %iowait %steal %idle 23:33:55 23:27:02 all 6.66 0.00 2.70 1.99 0.04 88.61 23:33:55 23:27:02 0 5.72 0.00 2.78 0.87 0.05 90.58 23:33:55 23:27:02 1 7.60 0.00 2.61 3.11 0.03 86.64 23:33:55 23:28:01 all 0.16 0.00 0.06 0.00 0.03 99.75 23:33:55 23:28:01 0 0.05 0.00 0.05 0.00 0.02 99.88 23:33:55 23:28:01 1 0.27 0.00 0.07 0.00 0.05 99.61 23:33:55 23:29:01 all 0.21 0.00 0.05 0.00 0.03 99.72 23:33:55 23:29:01 0 0.03 0.00 0.03 0.00 0.03 99.90 23:33:55 23:29:01 1 0.38 0.00 0.07 0.00 0.02 99.53 23:33:55 23:30:01 all 0.23 0.00 0.05 0.00 0.03 99.70 23:33:55 23:30:01 0 0.05 0.00 0.05 0.00 0.03 99.87 23:33:55 23:30:01 1 0.40 0.00 0.05 0.00 0.02 99.53 23:33:55 23:31:01 all 0.27 0.00 0.06 0.00 0.03 99.65 23:33:55 23:31:01 0 0.07 0.00 0.05 0.00 0.03 99.85 23:33:55 23:31:01 1 0.47 0.00 0.07 0.00 0.02 99.45 23:33:55 23:32:01 all 0.23 0.00 0.03 0.00 0.03 99.72 23:33:55 23:32:01 0 0.05 0.00 0.03 0.00 0.03 99.88 23:33:55 23:32:01 1 0.40 0.00 0.03 0.00 0.02 99.55 23:33:55 23:33:01 all 0.22 0.00 0.03 0.00 0.03 99.72 23:33:55 23:33:01 0 0.05 0.00 0.03 0.00 0.05 99.87 23:33:55 23:33:01 1 0.38 0.00 0.03 0.00 0.02 99.57 23:33:55 Average: all 1.13 0.00 0.42 0.28 0.03 98.14 23:33:55 Average: 0 0.85 0.00 0.43 0.12 0.04 98.56 23:33:55 Average: 1 1.41 0.00 0.41 0.44 0.02 97.72 23:33:55 23:33:55 23:33:55