Pull request #1105 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 2e65055c81ad331f06cf64bbe8861481efbeffcc+8ff173fd18bf782e524f745cdae59ce6ba93ae89 (708f99a513f51f4fa10d035e32ff9d99615ea909) 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-ssh14016506478624036892.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh8913724535892964690.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-1105/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-1105/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12637940065905181970.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-1105/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh683636092492460790.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh5950845156635409384.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1105/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-1105/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12359938110478816510.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-33678 in /w/workspace/dry_app-functions-sdk-go_PR-1105 [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/dry_app-functions-sdk-go_PR-1105 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8ff173fd18bf782e524f745cdae59ce6ba93ae89 into PR head commit 2e65055c81ad331f06cf64bbe8861481efbeffcc Merge succeeded, producing 2e65055c81ad331f06cf64bbe8861481efbeffcc Checking out Revision 2e65055c81ad331f06cf64bbe8861481efbeffcc (PR-1105) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1105/head:refs/remotes/origin/PR-1105 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e65055c81ad331f06cf64bbe8861481efbeffcc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8ff173fd18bf782e524f745cdae59ce6ba93ae89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e65055c81ad331f06cf64bbe8861481efbeffcc # timeout=10 Commit message: "fix: Update all doc links in app template to refer to version 2.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:11:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:11:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:11:57 ========================================================= 17:11:57 EdgeX Global Pipelines Version Info 17:11:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:11:58 ------------------- 17:11:58 stable info: 17:11:58 ------------------- 17:11:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:11:58 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 17:11:58 Message: update stable to v1.0.227 17:11:59 ------------------- 17:11:59 experimental info: 17:11:59 ------------------- 17:11:59 Commited By: **** collab-it+edgex@linuxfoundation.org 17:11:59 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 17:11:59 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:11:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1105 [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1105 [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1105 [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e65055c81ad331f06cf64bbe8861481efbeffcc [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e65055 [Pipeline] echo 17:12:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:12:01 + git rev-list -1 --merges 2e65055c81ad331f06cf64bbe8861481efbeffcc~1..2e65055c81ad331f06cf64bbe8861481efbeffcc [Pipeline] echo 17:12:01 -----------> git rev-list -1 --merges 2e65055c81ad331f06cf64bbe8861481efbeffcc~1..2e65055c81ad331f06cf64bbe8861481efbeffcc 2e65055c81ad331f06cf64bbe8861481efbeffcc [false] [Pipeline] sh 17:12:01 + git log --format=format:%s -1 2e65055c81ad331f06cf64bbe8861481efbeffcc [Pipeline] echo 17:12:01 ========================================================= 17:12:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:12:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:12:02 + git log --format=format:%s -1 2e65055c81ad331f06cf64bbe8861481efbeffcc [Pipeline] echo 17:12:02 [semverPrep] GIT_COMMIT: 2e65055c81ad331f06cf64bbe8861481efbeffcc, Commit Message: fix: Update all doc links in app template to refer to version 2.2 [Pipeline] echo 17:12:02 [semverPrep] This is not a build commit. [Pipeline] sh 17:12:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:12:02 + grep -v github /etc/ssh/ssh_known_hosts 17:12:02 + [ -e /tmp/ssh_known_hosts ] 17:12:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:12:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:12:02 + sudo tee -a /etc/ssh/ssh_known_hosts 17:12:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:12:03 17:12:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:12:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:12:03 latest: Pulling from edgex-devops/py-git-semver 17:12:03 1fe172e4850f: Pulling fs layer 17:12:03 caf521ccaac6: Pulling fs layer 17:12:03 3ead6fa29328: Pulling fs layer 17:12:03 5c2a1cbceb83: Pulling fs layer 17:12:03 a8d5f1318db7: Pulling fs layer 17:12:03 c427282e49a2: Pulling fs layer 17:12:03 1827001aaf11: Pulling fs layer 17:12:03 0714d37db230: Pulling fs layer 17:12:03 ac28cf19c067: Pulling fs layer 17:12:03 ca983d60f3e2: Pulling fs layer 17:12:03 9f894cec8388: Pulling fs layer 17:12:03 5c2a1cbceb83: Waiting 17:12:03 a8d5f1318db7: Waiting 17:12:03 c427282e49a2: Waiting 17:12:03 1827001aaf11: Waiting 17:12:03 0714d37db230: Waiting 17:12:03 9f894cec8388: Waiting 17:12:03 ca983d60f3e2: Waiting 17:12:03 ac28cf19c067: Waiting 17:12:04 caf521ccaac6: Verifying Checksum 17:12:04 caf521ccaac6: Download complete 17:12:04 5c2a1cbceb83: Verifying Checksum 17:12:04 5c2a1cbceb83: Download complete 17:12:04 a8d5f1318db7: Verifying Checksum 17:12:04 a8d5f1318db7: Download complete 17:12:04 c427282e49a2: Verifying Checksum 17:12:04 c427282e49a2: Download complete 17:12:04 3ead6fa29328: Verifying Checksum 17:12:04 3ead6fa29328: Download complete 17:12:04 0714d37db230: Download complete 17:12:04 ac28cf19c067: Download complete 17:12:04 ca983d60f3e2: Download complete 17:12:04 9f894cec8388: Download complete 17:12:04 1fe172e4850f: Verifying Checksum 17:12:04 1fe172e4850f: Download complete 17:12:04 1827001aaf11: Verifying Checksum 17:12:04 1827001aaf11: Download complete 17:12:05 1fe172e4850f: Pull complete 17:12:05 caf521ccaac6: Pull complete 17:12:05 3ead6fa29328: Pull complete 17:12:06 5c2a1cbceb83: Pull complete 17:12:06 a8d5f1318db7: Pull complete 17:12:06 c427282e49a2: Pull complete 17:12:08 1827001aaf11: Pull complete 17:12:08 0714d37db230: Pull complete 17:12:08 ac28cf19c067: Pull complete 17:12:08 ca983d60f3e2: Pull complete 17:12:08 9f894cec8388: Pull complete 17:12:08 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:12:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:12:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 17:12:08 prd-ubuntu20.04-docker-8c-8g-33678 does not seem to be running inside a container 17:12:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1105 -v /w/workspace/dry_app-functions-sdk-go_PR-1105:/w/workspace/dry_app-functions-sdk-go_PR-1105:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1105@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:10003/edgex-devops/py-git-semver:latest cat 17:12:09 $ docker top dc985e1708b3d94d0cd2d360ef2ce6c2f931c29f93486668b5321e25588a81b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:12:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:12:09 [ssh-agent] Looking for ssh-agent implementation... 17:12:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:12:10 $ docker exec dc985e1708b3d94d0cd2d360ef2ce6c2f931c29f93486668b5321e25588a81b5 ssh-agent 17:12:10 SSH_AUTH_SOCK=/tmp/ssh-F1HYv5qjzABC/agent.34 17:12:10 SSH_AGENT_PID=40 17:12:10 Running ssh-add (command line suppressed) 17:12:10 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/private_key_2959375422590748244.key (/w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/private_key_2959375422590748244.key) 17:12:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:12:10 + git tag --points-at HEAD [Pipeline] } 17:12:10 $ docker exec --env ******** --env ******** dc985e1708b3d94d0cd2d360ef2ce6c2f931c29f93486668b5321e25588a81b5 ssh-agent -k 17:12:10 unset SSH_AUTH_SOCK; 17:12:10 unset SSH_AGENT_PID; 17:12:10 echo Agent pid 40 killed; 17:12:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:12:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:12:11 [ssh-agent] Looking for ssh-agent implementation... 17:12:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:12:11 $ docker exec dc985e1708b3d94d0cd2d360ef2ce6c2f931c29f93486668b5321e25588a81b5 ssh-agent 17:12:11 SSH_AUTH_SOCK=/tmp/ssh-enuYI3rULyHc/agent.73 17:12:11 SSH_AGENT_PID=80 17:12:11 Running ssh-add (command line suppressed) 17:12:11 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/private_key_4529339274573824832.key (/w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/private_key_4529339274573824832.key) 17:12:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:12:11 + git semver init 17:12:12 2022-04-28 17:12:11,992 [run_init] DEBUG init version:0.0.0 force:False 17:12:12 2022-04-28 17:12:11,993 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver 17:12:12 2022-04-28 17:12:11,994 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1105/.semver 17:12:12 2022-04-28 17:12:11,994 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1105, universal_newlines=False, shell=None, istream=None) 17:12:13 2022-04-28 17:12:13,299 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1105/.git/info/exclude 17:12:13 2022-04-28 17:12:13,299 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver/PR-1105 with force:False 17:12:13 2022-04-28 17:12:13,300 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver/PR-1105 17:12:13 2022-04-28 17:12:13,303 [execute] INFO git cat-file --batch-check 17:12:13 2022-04-28 17:12:13,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver, universal_newlines=False, shell=None, istream=) 17:12:13 2022-04-28 17:12:13,308 [execute] INFO git cat-file --batch 17:12:13 2022-04-28 17:12:13,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver, universal_newlines=False, shell=None, istream=) 17:12:13 2022-04-28 17:12:13,313 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1105/.semver/PR-1105 17:12:13 0.0.0 [Pipeline] } 17:12:13 $ docker exec --env ******** --env ******** dc985e1708b3d94d0cd2d360ef2ce6c2f931c29f93486668b5321e25588a81b5 ssh-agent -k 17:12:13 unset SSH_AUTH_SOCK; 17:12:13 unset SSH_AGENT_PID; 17:12:13 echo Agent pid 80 killed; 17:12:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:12:14 + git semver [Pipeline] } 17:12:14 $ docker stop --time=1 dc985e1708b3d94d0cd2d360ef2ce6c2f931c29f93486668b5321e25588a81b5 17:12:15 $ docker rm -f dc985e1708b3d94d0cd2d360ef2ce6c2f931c29f93486668b5321e25588a81b5 [Pipeline] // withDockerContainer [Pipeline] sh 17:12:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:12:16 Stashed 1 file(s) [Pipeline] echo 17:12:16 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:12:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:12:17 ========================================================= 17:12:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:12:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:12:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:12:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:12:17 59bf1c3509f3: Pulling fs layer 17:12:17 666ba61612fd: Pulling fs layer 17:12:17 8ed8ca486205: Pulling fs layer 17:12:17 4fe6c5a15a65: Pulling fs layer 17:12:17 22a0e8bec74d: Pulling fs layer 17:12:17 ca2b28591e48: Pulling fs layer 17:12:17 a51346096db8: Pulling fs layer 17:12:17 daebc70d1ce1: Pulling fs layer 17:12:17 0e18a0eac166: Pulling fs layer 17:12:17 4fe6c5a15a65: Waiting 17:12:17 daebc70d1ce1: Waiting 17:12:17 22a0e8bec74d: Waiting 17:12:17 ca2b28591e48: Waiting 17:12:17 a51346096db8: Waiting 17:12:17 8ed8ca486205: Verifying Checksum 17:12:17 8ed8ca486205: Download complete 17:12:17 666ba61612fd: Download complete 17:12:17 22a0e8bec74d: Verifying Checksum 17:12:17 22a0e8bec74d: Download complete 17:12:17 ca2b28591e48: Verifying Checksum 17:12:17 ca2b28591e48: Download complete 17:12:17 59bf1c3509f3: Verifying Checksum 17:12:17 59bf1c3509f3: Download complete 17:12:17 a51346096db8: Download complete 17:12:17 daebc70d1ce1: Verifying Checksum 17:12:17 daebc70d1ce1: Download complete 17:12:17 59bf1c3509f3: Pull complete 17:12:17 666ba61612fd: Pull complete 17:12:17 8ed8ca486205: Pull complete 17:12:18 0e18a0eac166: Verifying Checksum 17:12:18 0e18a0eac166: Download complete 17:12:18 4fe6c5a15a65: Verifying Checksum 17:12:18 4fe6c5a15a65: Download complete 17:12:22 4fe6c5a15a65: Pull complete 17:12:22 22a0e8bec74d: Pull complete 17:12:22 ca2b28591e48: Pull complete 17:12:22 a51346096db8: Pull complete 17:12:22 daebc70d1ce1: Pull complete 17:12:24 0e18a0eac166: Pull complete 17:12:24 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:12:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 17:12:24 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:12:25 + docker inspect -f . ci-base-image-x86_64 17:12:25 . [Pipeline] withDockerContainer 17:12:25 prd-ubuntu20.04-docker-8c-8g-33678 does not seem to be running inside a container 17:12:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1105 -v /w/workspace/dry_app-functions-sdk-go_PR-1105:/w/workspace/dry_app-functions-sdk-go_PR-1105:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1105@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-x86_64 cat 17:12:26 $ docker top d9105561dcb50bd04d85a3460b50d7f3f5b43b467486e0b47e068e707cd4367b -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:27 + go version 17:12:27 go version go1.17.6 linux/amd64 [Pipeline] } 17:12:27 $ docker stop --time=1 d9105561dcb50bd04d85a3460b50d7f3f5b43b467486e0b47e068e707cd4367b 17:12:28 $ docker rm -f d9105561dcb50bd04d85a3460b50d7f3f5b43b467486e0b47e068e707cd4367b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:12:29 + docker inspect -f . ci-base-image-x86_64 17:12:29 . [Pipeline] withDockerContainer 17:12:29 prd-ubuntu20.04-docker-8c-8g-33678 does not seem to be running inside a container 17:12:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1105 -v /w/workspace/dry_app-functions-sdk-go_PR-1105:/w/workspace/dry_app-functions-sdk-go_PR-1105:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1105@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-x86_64 cat 17:12:29 $ docker top 232119496e31df7541163644c6178ee2c3ffe2a7c7f969d415a369ee9fdc4f22 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:12:30 + make test 17:12:30 make -C ./app-service-template build 17:12:30 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1105/app-service-template' 17:12:30 go mod tidy -compat=1.17 17:12:30 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 17:12:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.26 17:12:30 go: downloading github.com/google/uuid v1.3.0 17:12:30 go: downloading github.com/stretchr/testify v1.7.1 17:12:30 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0-dev.19 17:12:30 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 17:12:30 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 17:12:30 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:12:30 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:12:30 go: downloading github.com/davecgh/go-spew v1.1.1 17:12:30 go: downloading github.com/pmezard/go-difflib v1.0.0 17:12:30 go: downloading github.com/stretchr/objx v0.1.1 17:12:30 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:12:30 go: downloading github.com/go-playground/validator/v10 v10.10.1 17:12:30 go: downloading github.com/go-kit/log v0.2.0 17:12:30 go: downloading github.com/gorilla/mux v1.8.0 17:12:30 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:12:30 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 17:12:30 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.6 17:12:30 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 17:12:30 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:12:30 go: downloading github.com/pelletier/go-toml v1.9.4 17:12:31 go: downloading github.com/hashicorp/errwrap v1.0.0 17:12:31 go: downloading github.com/go-playground/universal-translator v0.18.0 17:12:31 go: downloading github.com/leodido/go-urn v1.2.1 17:12:31 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 17:12:31 go: downloading golang.org/x/text v0.3.7 17:12:31 go: downloading github.com/go-playground/locales v0.14.0 17:12:31 go: downloading github.com/mitchellh/copystructure v1.0.0 17:12:31 go: downloading github.com/gorilla/websocket v1.4.2 17:12:31 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 17:12:31 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:12:31 go: downloading github.com/go-logfmt/logfmt v0.5.1 17:12:31 go: downloading github.com/x448/float16 v0.8.4 17:12:31 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 17:12:31 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 17:12:31 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:12:31 Still waiting to schedule task 17:12:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:12:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:12:31 go: downloading github.com/pebbe/zmq4 v1.2.7 17:12:31 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:12:31 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:12:31 go: downloading github.com/hashicorp/consul/api v1.9.1 17:12:32 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:12:32 go: downloading github.com/kr/pretty v0.3.0 17:12:32 go: downloading github.com/zeebo/errs v1.2.2 17:12:32 go: downloading google.golang.org/grpc v1.42.0 17:12:32 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:12:32 go: downloading google.golang.org/protobuf v1.27.1 17:12:32 go: downloading github.com/kr/text v0.2.0 17:12:32 go: downloading github.com/rogpeppe/go-internal v1.8.0 17:12:32 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:12:32 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:12:32 go: downloading github.com/onsi/ginkgo v1.10.1 17:12:32 go: downloading github.com/onsi/gomega v1.7.0 17:12:32 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:12:32 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:12:32 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:12:32 go: downloading github.com/hashicorp/serf v0.9.5 17:12:32 go: downloading github.com/hashicorp/consul/sdk v0.8.0 17:12:32 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:12:32 go: downloading github.com/google/go-cmp v0.5.6 17:12:32 go: downloading github.com/fatih/color v1.9.0 17:12:32 go: downloading github.com/mattn/go-colorable v0.1.6 17:12:32 go: downloading github.com/mattn/go-isatty v0.0.12 17:12:32 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:12:32 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:12:32 go: downloading github.com/golang/protobuf v1.5.2 17:12:32 go: downloading github.com/pkg/errors v0.9.1 17:12:32 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:12:32 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:12:32 go: downloading github.com/hashicorp/memberlist v0.2.2 17:12:32 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 17:12:32 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:12:32 go: downloading github.com/hpcloud/tail v1.0.0 17:12:32 go: downloading gopkg.in/yaml.v2 v2.2.8 17:12:32 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:12:32 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:12:32 go: downloading github.com/miekg/dns v1.1.26 17:12:32 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:12:32 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:12:32 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:12:32 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:12:32 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:12:32 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:12:34 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service 17:12:52 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1105/app-service-template' 17:12:52 make -C ./app-service-template test 17:12:52 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1105/app-service-template' 17:12:52 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 17:13:10 ok new-app-service 0.069s coverage: 48.1% of statements 17:13:10 ? new-app-service/config [no test files] 17:13:10 ok new-app-service/functions 0.048s 17:13:10 CGO_ENABLED=1 go vet ./... 17:13:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:13:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:13:20 ./bin/test-attribution-txt.sh 17:13:20 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1105/app-service-template' 17:13:20 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:13:20 go: downloading github.com/gomodule/redigo v1.8.8 17:13:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.111s coverage: 63.7% of statements 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.104s coverage: 93.8% of statements 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.150s coverage: 76.5% of statements 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.068s coverage: 88.7% of statements 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.050s coverage: 100.0% of statements 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.179s coverage: 78.5% of statements 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.056s coverage: 97.3% of statements 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.090s coverage: 91.8% of statements 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.698s coverage: 79.8% of statements 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.077s coverage: 28.7% of statements 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.062s coverage: 14.0% of statements 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.057s coverage: 27.3% of statements 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:13:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:13:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.072s coverage: 51.4% of statements 17:13:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.168s coverage: 78.6% of statements 17:13:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.054s coverage: 94.4% of statements 17:13:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:13:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:13:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 17:13:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:13:59 $ docker stop --time=1 232119496e31df7541163644c6178ee2c3ffe2a7c7f969d415a369ee9fdc4f22 17:14:01 $ docker rm -f 232119496e31df7541163644c6178ee2c3ffe2a7c7f969d415a369ee9fdc4f22 [Pipeline] // withDockerContainer [Pipeline] sh 17:14:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:14:02 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:14:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:14:03 17:14:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:14:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:14:03 latest: Pulling from edgex-lftools-log-publisher 17:14:03 5eb5b503b376: Pulling fs layer 17:14:03 5c69ac0246d0: Pulling fs layer 17:14:03 ec43610c2a17: Pulling fs layer 17:14:03 3a2ae6a8a46f: Pulling fs layer 17:14:03 33b1e0a273af: Pulling fs layer 17:14:03 5d3b04190fa2: Pulling fs layer 17:14:03 2f39f015ded8: Pulling fs layer 17:14:03 3a2ae6a8a46f: Waiting 17:14:03 33b1e0a273af: Waiting 17:14:03 5d3b04190fa2: Waiting 17:14:03 2f39f015ded8: Waiting 17:14:03 5c69ac0246d0: Verifying Checksum 17:14:03 5c69ac0246d0: Download complete 17:14:03 3a2ae6a8a46f: Download complete 17:14:03 33b1e0a273af: Verifying Checksum 17:14:03 33b1e0a273af: Download complete 17:14:03 ec43610c2a17: Verifying Checksum 17:14:03 ec43610c2a17: Download complete 17:14:03 5d3b04190fa2: Verifying Checksum 17:14:03 5d3b04190fa2: Download complete 17:14:03 5eb5b503b376: Verifying Checksum 17:14:03 5eb5b503b376: Download complete 17:14:04 2f39f015ded8: Verifying Checksum 17:14:04 2f39f015ded8: Download complete 17:14:05 5eb5b503b376: Pull complete 17:14:05 5c69ac0246d0: Pull complete 17:14:05 ec43610c2a17: Pull complete 17:14:05 3a2ae6a8a46f: Pull complete 17:14:05 33b1e0a273af: Pull complete 17:14:06 5d3b04190fa2: Pull complete 17:14:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33680 in /w/workspace/dry_app-functions-sdk-go_PR-1105 [Pipeline] { [Pipeline] ws 17:14:08 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:14:08 The recommended git tool is: git 17:14:10 2f39f015ded8: Pull complete 17:14:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:14:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:14:10 prd-ubuntu20.04-docker-8c-8g-33678 does not seem to be running inside a container 17:14:10 $ 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/dry_app-functions-sdk-go_PR-1105 -v /w/workspace/dry_app-functions-sdk-go_PR-1105:/w/workspace/dry_app-functions-sdk-go_PR-1105:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1105@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:latest cat 17:14:13 $ docker top c7a3b26d1cc5dc13f2075ec0e32698ed9d04e816b96f33f610a9be4f800b44df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:13 ---> job-cost.sh 17:14:13 lf-activate-venv: SKIPPING 17:14:13 INFO: No Stack... 17:14:13 INFO: Retrieving Pricing Info for: v3-standard-8 17:14:14 INFO: Archiving Costs [Pipeline] sh 17:14:14 + cat /w/workspace/dry_app-functions-sdk-go_PR-1105/archives/cost.csv 17:14:14 + cut -d, -f6 [Pipeline] lock 17:14:14 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-1-stack-cost] 17:14:14 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-1-stack-cost] did not exist. Created. 17:14:14 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:14:15 + echo total: 0.2199999988079071 [Pipeline] stash 17:14:15 Stashed 1 file(s) [Pipeline] } 17:14:15 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-1-stack-cost] 17:14:15 using credential edgex-jenkins-ssh 17:14:15 Cloning the remote Git repository [Pipeline] // lock [Pipeline] } 17:14:15 $ docker stop --time=1 c7a3b26d1cc5dc13f2075ec0e32698ed9d04e816b96f33f610a9be4f800b44df 17:14:15 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:15 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 17:14:15 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:15 > git --version # timeout=10 17:14:16 $ docker rm -f c7a3b26d1cc5dc13f2075ec0e32698ed9d04e816b96f33f610a9be4f800b44df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 17:14:15 > git --version # 'git version 2.25.1' 17:14:15 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // stage [Pipeline] } 17:14:18 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:14:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:18 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:14:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:14:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1105/head:refs/remotes/origin/PR-1105 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:14:19 Merging remotes/origin/main commit 8ff173fd18bf782e524f745cdae59ce6ba93ae89 into PR head commit 2e65055c81ad331f06cf64bbe8861481efbeffcc 17:14:19 Merge succeeded, producing 2e65055c81ad331f06cf64bbe8861481efbeffcc 17:14:19 Checking out Revision 2e65055c81ad331f06cf64bbe8861481efbeffcc (PR-1105) 17:14:19 > git config core.sparsecheckout # timeout=10 17:14:19 > git checkout -f 2e65055c81ad331f06cf64bbe8861481efbeffcc # timeout=10 17:14:19 > git remote # timeout=10 17:14:19 > git config --get remote.origin.url # timeout=10 17:14:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:19 > git merge 8ff173fd18bf782e524f745cdae59ce6ba93ae89 # timeout=10 17:14:19 > git rev-parse HEAD^{commit} # timeout=10 17:14:20 > git config core.sparsecheckout # timeout=10 17:14:20 > git checkout -f 2e65055c81ad331f06cf64bbe8861481efbeffcc # timeout=10 17:14:24 Commit message: "fix: Update all doc links in app template to refer to version 2.2" 17:14:24 > git --version # timeout=10 17:14:24 > git --version # 'git version 2.25.1' 17:14:24 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:14:25 % Total % Received % Xferd Average Speed Time Time Time Current 17:14:25 Dload Upload Total Spent Left Speed 17:14:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87725 0 --:--:-- --:--:-- --:--:-- 88380 [Pipeline] sh 17:14:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:14:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:14:26 + sudo tee /etc/docker/daemon.new 17:14:26 { 17:14:26 "registry-mirrors": [ 17:14:26 "https://nexus3.edgexfoundry.org:10001" 17:14:26 ], 17:14:26 "bip": "10.250.0.254/24", 17:14:26 "hosts": [ 17:14:26 "tcp://0.0.0.0:5555", 17:14:26 "unix:///var/run/docker.sock" 17:14:26 ], 17:14:26 "mtu": 1458, 17:14:26 "selinux-enabled": true, 17:14:26 "seccomp-profile": "/etc/docker/seccomp.json" 17:14:26 } [Pipeline] sh 17:14:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:14:26 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 17:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:14:45 ========================================================= 17:14:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:14:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:14:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:14:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:14:46 9b3977197b4f: Pulling fs layer 17:14:46 1a89e8eeedd5: Pulling fs layer 17:14:46 94645a83ff95: Pulling fs layer 17:14:46 3f3a8bcf1eab: Pulling fs layer 17:14:46 0c92f367c5e7: Pulling fs layer 17:14:46 3096ccb668a1: Pulling fs layer 17:14:46 e8cf19c19ddd: Pulling fs layer 17:14:46 a4caa8a26152: Pulling fs layer 17:14:46 3f3a8bcf1eab: Waiting 17:14:46 0c92f367c5e7: Waiting 17:14:46 3096ccb668a1: Waiting 17:14:46 e8cf19c19ddd: Waiting 17:14:46 a4caa8a26152: Waiting 17:14:46 94645a83ff95: Verifying Checksum 17:14:46 94645a83ff95: Download complete 17:14:46 0c92f367c5e7: Verifying Checksum 17:14:46 0c92f367c5e7: Download complete 17:14:46 3096ccb668a1: Verifying Checksum 17:14:46 3096ccb668a1: Download complete 17:14:46 9b3977197b4f: Download complete 17:14:46 e8cf19c19ddd: Verifying Checksum 17:14:46 e8cf19c19ddd: Download complete 17:14:47 9b3977197b4f: Pull complete 17:14:48 1a89e8eeedd5: Pull complete 17:14:48 94645a83ff95: Pull complete 17:14:48 a4caa8a26152: Verifying Checksum 17:14:48 a4caa8a26152: Download complete 17:14:49 3f3a8bcf1eab: Verifying Checksum 17:14:49 3f3a8bcf1eab: Download complete 17:15:01 3f3a8bcf1eab: Pull complete 17:15:01 0c92f367c5e7: Pull complete 17:15:01 3096ccb668a1: Pull complete 17:15:01 e8cf19c19ddd: Pull complete 17:15:07 a4caa8a26152: Pull complete 17:15:07 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:15:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:15:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 17:15:07 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 17:15:08 + docker inspect -f . ci-base-image-arm64 17:15:08 . [Pipeline] withDockerContainer 17:15:08 prd-ubuntu20.04-docker-arm64-4c-16g-33680 does not seem to be running inside a container 17:15:08 $ 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 17:15:10 $ docker top a84e2a6d8d3d8efebeb7b460e29658b4f44a4647bf9fabf30eb516fedf00e893 -eo pid,comm [Pipeline] { [Pipeline] sh 17:15:11 + go version 17:15:11 go version go1.17.6 linux/arm64 [Pipeline] } 17:15:11 $ docker stop --time=1 a84e2a6d8d3d8efebeb7b460e29658b4f44a4647bf9fabf30eb516fedf00e893 17:15:13 $ docker rm -f a84e2a6d8d3d8efebeb7b460e29658b4f44a4647bf9fabf30eb516fedf00e893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:15:14 + docker inspect -f . ci-base-image-arm64 17:15:14 . [Pipeline] withDockerContainer 17:15:14 prd-ubuntu20.04-docker-arm64-4c-16g-33680 does not seem to be running inside a container 17:15:14 $ 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 17:15:16 $ docker top ff31c28627a3fb4e47fe060033ac3c8515077969593f7a4ef7ec56b852aea9e0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:15:17 + make test 17:15:17 make -C ./app-service-template build 17:15:17 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:15:17 go mod tidy -compat=1.17 17:15:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.26 17:15:17 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 17:15:18 go: downloading github.com/google/uuid v1.3.0 17:15:18 go: downloading github.com/stretchr/testify v1.7.1 17:15:18 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0-dev.19 17:15:18 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 17:15:18 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 17:15:18 go: downloading github.com/davecgh/go-spew v1.1.1 17:15:18 go: downloading github.com/pmezard/go-difflib v1.0.0 17:15:18 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:15:18 go: downloading github.com/go-kit/log v0.2.0 17:15:18 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 17:15:18 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:15:18 go: downloading github.com/stretchr/objx v0.1.1 17:15:18 go: downloading github.com/go-playground/validator/v10 v10.10.1 17:15:18 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.6 17:15:18 go: downloading github.com/gorilla/mux v1.8.0 17:15:18 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:15:18 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 17:15:18 go: downloading github.com/mitchellh/copystructure v1.0.0 17:15:18 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 17:15:18 go: downloading github.com/go-logfmt/logfmt v0.5.1 17:15:18 go: downloading github.com/gorilla/websocket v1.4.2 17:15:18 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 17:15:18 go: downloading github.com/pelletier/go-toml v1.9.4 17:15:18 go: downloading github.com/hashicorp/consul/api v1.9.1 17:15:18 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:15:19 go: downloading github.com/go-playground/universal-translator v0.18.0 17:15:19 go: downloading github.com/leodido/go-urn v1.2.1 17:15:19 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 17:15:19 go: downloading golang.org/x/text v0.3.7 17:15:19 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 17:15:20 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:15:20 go: downloading github.com/go-playground/locales v0.14.0 17:15:22 go: downloading github.com/hashicorp/errwrap v1.0.0 17:15:22 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 17:15:22 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:15:22 go: downloading github.com/x448/float16 v0.8.4 17:15:22 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:15:22 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:15:22 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:15:22 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:15:22 go: downloading github.com/hashicorp/serf v0.9.5 17:15:22 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:15:22 go: downloading github.com/hashicorp/consul/sdk v0.8.0 17:15:22 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:15:22 go: downloading github.com/kr/pretty v0.3.0 17:15:22 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:15:22 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:15:23 go: downloading github.com/pebbe/zmq4 v1.2.7 17:15:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:15:23 go: downloading github.com/zeebo/errs v1.2.2 17:15:23 go: downloading google.golang.org/grpc v1.42.0 17:15:24 go: downloading github.com/mattn/go-colorable v0.1.6 17:15:24 go: downloading github.com/mattn/go-isatty v0.0.12 17:15:24 go: downloading github.com/fatih/color v1.9.0 17:15:24 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:15:24 go: downloading github.com/pkg/errors v0.9.1 17:15:24 go: downloading github.com/kr/text v0.2.0 17:15:24 go: downloading github.com/rogpeppe/go-internal v1.8.0 17:15:24 go: downloading github.com/onsi/ginkgo v1.10.1 17:15:24 go: downloading github.com/onsi/gomega v1.7.0 17:15:24 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:15:24 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:15:24 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:15:24 go: downloading google.golang.org/protobuf v1.27.1 17:15:24 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:15:24 go: downloading github.com/hashicorp/memberlist v0.2.2 17:15:24 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:15:25 go: downloading github.com/golang/protobuf v1.5.2 17:15:25 go: downloading github.com/google/go-cmp v0.5.6 17:15:25 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:15:25 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:15:25 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:15:25 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:15:25 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:15:25 go: downloading github.com/miekg/dns v1.1.26 17:15:26 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:15:26 go: downloading gopkg.in/yaml.v2 v2.2.8 17:15:26 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:15:26 go: downloading github.com/hpcloud/tail v1.0.0 17:15:26 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 17:15:26 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:15:26 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:15:31 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service 17:17:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:17:23 make -C ./app-service-template test 17:17:23 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:17:23 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 17:19:29 ok new-app-service 0.239s coverage: 48.1% of statements 17:19:29 ? new-app-service/config [no test files] 17:19:29 ok new-app-service/functions 0.198s 17:19:29 CGO_ENABLED=1 go vet ./... 17:20:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:20:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:20:51 ./bin/test-attribution-txt.sh 17:20:51 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 17:20:51 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:20:51 go: downloading github.com/gomodule/redigo v1.8.8 17:20:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:21:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.563s coverage: 63.7% of statements 17:21:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.314s coverage: 93.8% of statements 17:21:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:21:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.344s coverage: 76.5% of statements 17:21:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:21:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.377s coverage: 88.7% of statements 17:21:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.161s coverage: 100.0% of statements 17:21:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.684s coverage: 78.5% of statements 17:21:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:21:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:21:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.271s coverage: 97.3% of statements 17:21:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:21:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 17:21:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.339s coverage: 91.8% of statements 17:21:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 17:21:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.001s coverage: 79.8% of statements 17:21:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 17:21:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 17:21:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.319s coverage: 28.7% of statements 17:21:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 17:21:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.235s coverage: 14.0% of statements 17:21:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.229s coverage: 27.3% of statements 17:21:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:21:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:21:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.263s coverage: 51.4% of statements 17:21:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.500s coverage: 78.6% of statements 17:21:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.301s coverage: 94.4% of statements 17:21:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:22:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:22:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:22:04 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 17:22:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:22:04 $ docker stop --time=1 ff31c28627a3fb4e47fe060033ac3c8515077969593f7a4ef7ec56b852aea9e0 17:22:05 $ docker rm -f ff31c28627a3fb4e47fe060033ac3c8515077969593f7a4ef7ec56b852aea9e0 [Pipeline] // withDockerContainer [Pipeline] sh 17:22:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:22:09 Warning: overwriting stash ‘coverage-report’ 17:22:10 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 17:22:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:22:11 17:22:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:22:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:22:11 arm64: Pulling from edgex-lftools-log-publisher 17:22:11 8998bd30e6a1: Pulling fs layer 17:22:11 04944245beec: Pulling fs layer 17:22:11 699f458cf7ca: Pulling fs layer 17:22:11 765212b225bb: Pulling fs layer 17:22:11 f23df028b6ca: Pulling fs layer 17:22:11 d65c8cfc05b1: Pulling fs layer 17:22:11 2437ff75d9bd: Pulling fs layer 17:22:11 765212b225bb: Waiting 17:22:11 f23df028b6ca: Waiting 17:22:11 d65c8cfc05b1: Waiting 17:22:11 2437ff75d9bd: Waiting 17:22:11 04944245beec: Verifying Checksum 17:22:11 04944245beec: Download complete 17:22:11 765212b225bb: Verifying Checksum 17:22:11 765212b225bb: Download complete 17:22:11 f23df028b6ca: Verifying Checksum 17:22:11 f23df028b6ca: Download complete 17:22:11 d65c8cfc05b1: Verifying Checksum 17:22:11 d65c8cfc05b1: Download complete 17:22:12 699f458cf7ca: Verifying Checksum 17:22:12 699f458cf7ca: Download complete 17:22:12 8998bd30e6a1: Verifying Checksum 17:22:12 8998bd30e6a1: Download complete 17:22:14 2437ff75d9bd: Verifying Checksum 17:22:14 2437ff75d9bd: Download complete 17:22:16 8998bd30e6a1: Pull complete 17:22:16 04944245beec: Pull complete 17:22:18 699f458cf7ca: Pull complete 17:22:18 765212b225bb: Pull complete 17:22:19 f23df028b6ca: Pull complete 17:22:19 d65c8cfc05b1: Pull complete 17:22:34 2437ff75d9bd: Pull complete 17:22:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:22:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:22:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:22:34 prd-ubuntu20.04-docker-arm64-4c-16g-33680 does not seem to be running inside a container 17:22:35 $ 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 17:22:37 $ docker top c42a2299cd6115f60188f4b75c9f3b9655ce2e6d718c137813bad170b6fb4654 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:38 ---> job-cost.sh 17:22:38 lf-activate-venv: SKIPPING 17:22:38 INFO: No Stack... 17:22:38 INFO: Retrieving Pricing Info for: v3-standard-4 17:22:39 INFO: Archiving Costs [Pipeline] sh 17:22:40 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 17:22:40 + cut -d, -f6 [Pipeline] lock 17:22:40 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-1-stack-cost] 17:22:40 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-1-stack-cost] did not exist. Created. 17:22:40 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:22:41 /w/workspace/app-functions-sdk-go/1@tmp/durable-22ef988a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:22:42 + echo total: 0.10999999940395355 [Pipeline] stash 17:22:42 Warning: overwriting stash ‘stack-cost’ 17:22:42 Stashed 1 file(s) [Pipeline] } 17:22:42 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:22:42 $ docker stop --time=1 c42a2299cd6115f60188f4b75c9f3b9655ce2e6d718c137813bad170b6fb4654 17:22:43 $ docker rm -f c42a2299cd6115f60188f4b75c9f3b9655ce2e6d718c137813bad170b6fb4654 [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 17:22:44 provisioning config files... 17:22:44 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/config5663904306416602553tmp [Pipeline] { [Pipeline] sh 17:22:45 + set +x 17:22:45 + bash -s -- 17:22:45 + curl -s https://codecov.io/bash 17:22:45 17:22:45 _____ _ 17:22:45 / ____| | | 17:22:45 | | ___ __| | ___ ___ _____ __ 17:22:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:22:45 | |___| (_) | (_| | __/ (_| (_) \ V / 17:22:45 \_____\___/ \__,_|\___|\___\___/ \_/ 17:22:45 Bash-1.0.6 17:22:45 17:22:45 17:22:45 ==> git version 2.25.1 found 17:22:45 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:22:45 Release-Date: 2020-01-08 17:22:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:22:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:22:45 ==> Jenkins CI detected. 17:22:45 current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1105 17:22:45 project root: . 17:22:45 --> token set from env 17:22:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:22:45 ==> Running gcov in . (disable via -X gcov) 17:22:45 ==> Python coveragepy not found 17:22:45 ==> Searching for coverage reports in: 17:22:45 + . 17:22:45 -> Found 2 reports 17:22:45 ==> Detecting git/mercurial file structure 17:22:45 ==> Reading reports 17:22:45 + ./app-service-template/coverage.out bytes=1222 17:22:45 + ./coverage.out bytes=119611 17:22:45 ==> Appending adjustments 17:22:45 https://docs.codecov.io/docs/fixing-reports 17:22:45 + Found adjustments 17:22:45 ==> Gzipping contents 17:22:45 24K /tmp/codecov.zlzhEi.gz 17:22:45 ==> Uploading reports 17:22:45 url: https://codecov.io 17:22:45 query: branch=PR-1105&commit=2e65055c81ad331f06cf64bbe8861481efbeffcc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1105%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1105&job=&cmd_args= 17:22:45 -> Pinging Codecov 17:22:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-1105&commit=2e65055c81ad331f06cf64bbe8861481efbeffcc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1105%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1105&job=&cmd_args= 17:22:46 -> Uploading to 17:22:46 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/3D8B5DFFC46A037C893635FACE044666/2e65055c81ad331f06cf64bbe8861481efbeffcc/a83c49f0-07d7-4f64-9791-629fa5ef5c35.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T172245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a949d18cb83610eee67a8142496a32e14ad405536cedea064fd6b1be2160b301 17:22:46 % Total % Received % Xferd Average Speed Time Time Time Current 17:22:46 Dload Upload Total Spent Left Speed 17:22:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20795 0 0 100 20795 0 83180 --:--:-- --:--:-- --:--:-- 83180 17:22:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/2e65055c81ad331f06cf64bbe8861481efbeffcc [Pipeline] } 17:22:46 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:22:48 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1105/archives ] 17:22:48 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1105/archives 17:22:48 total 16 17:22:48 drwxr-xr-x 3 root root 4096 Apr 28 17:14 . 17:22:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 17:14 .. 17:22:48 drwxr-xr-x 2 root root 4096 Apr 28 17:14 cost 17:22:48 -rw-r--r-- 1 root root 92 Apr 28 17:14 cost.csv 17:22:48 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1105/archives 17:22:48 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1105/archives 17:22:48 total 16 17:22:48 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 17:14 . 17:22:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 17:14 .. 17:22:48 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 17:14 cost 17:22:48 -rw-r--r-- 1 jenkins jenkins 92 Apr 28 17:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:22:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:22:49 ---> package-listing.sh 17:22:49 ++ facter osfamily 17:22:49 ++ tr '[:upper:]' '[:lower:]' 17:22:49 + OS_FAMILY=debian 17:22:49 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1105 17:22:49 + START_PACKAGES=/tmp/packages_start.txt 17:22:49 + END_PACKAGES=/tmp/packages_end.txt 17:22:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:22:49 + PACKAGES=/tmp/packages_start.txt 17:22:49 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1105 ']' 17:22:49 + PACKAGES=/tmp/packages_end.txt 17:22:49 + case "${OS_FAMILY}" in 17:22:49 + dpkg -l 17:22:49 + grep '^ii' 17:22:49 + '[' -f /tmp/packages_start.txt ']' 17:22:49 + '[' -f /tmp/packages_end.txt ']' 17:22:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:22:49 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1105 ']' 17:22:49 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1105/archives/ 17:22:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1105/archives/ [Pipeline] echo 17:22:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1105/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:22:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:22:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:22:50 . [Pipeline] withDockerContainer 17:22:50 prd-ubuntu20.04-docker-8c-8g-33678 does not seem to be running inside a container 17:22:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1105/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1105 -v /w/workspace/dry_app-functions-sdk-go_PR-1105:/w/workspace/dry_app-functions-sdk-go_PR-1105:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1105@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 17:22:51 $ docker top 5f773f886ae9325de05c3000619e53f0219474faf55b1a748b34417f21de7cc1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:51 + touch /tmp/pre-build-complete [Pipeline] sh 17:22:51 + mkdir -p /var/log/sysstat [Pipeline] sh 17:22:52 + ls /var/log/sa-host 17:22:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:52 provisioning config files... 17:22:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/config1145849143031309774tmp [Pipeline] { [Pipeline] echo 17:22:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:22:52 ---> create-netrc.sh [Pipeline] } 17:22:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:22:52 ---> python-tools-install.sh [Pipeline] echo 17:22:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:22:53 ---> sudo-logs.sh 17:22:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:22:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:22:53 ---> job-cost.sh 17:22:53 lf-activate-venv: SKIPPING 17:22:53 DEBUG: total: 0.2199999988079071 17:22:53 INFO: Retrieving Stack Cost... 17:22:54 INFO: Retrieving Pricing Info for: v3-standard-8 17:22:54 INFO: Archiving Costs [Pipeline] echo 17:22:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:22:54 ---> logs-deploy.sh 17:22:54 lf-activate-venv: SKIPPING 17:22:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1105/1 17:22:54 INFO: archiving workspace using pattern(s): 17:22:55 Archives upload complete. 17:22:55 INFO: archiving logs to Nexus