Pull request #1109 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac+c1e6a6422f729c76392bcb9de582997aba8400de (dac4631f6fb1f69cfcad52e065b3bc57036d5922) 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-ssh583639210329959269.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-ssh3169232465472039456.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1109/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1109/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8209827911585651027.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 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-ssh17716902398089535726.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1109/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1109/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11180625517549729984.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-43369’ Running on prd-ubuntu20.04-docker-8c-8g-44775 in /w/workspace/dry_app-functions-sdk-go_PR-1109 [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-1109 # 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 c1e6a6422f729c76392bcb9de582997aba8400de into PR head commit bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac Merge succeeded, producing bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac Checking out Revision bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac (PR-1109) > 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/1109/head:refs/remotes/origin/PR-1109 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac # 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 c1e6a6422f729c76392bcb9de582997aba8400de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac # timeout=10 Commit message: "fix: Make deep copy of MessageBus Optional map to avoid external adds" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:19:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:19:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:19:32 ========================================================= 22:19:32 EdgeX Global Pipelines Version Info 22:19:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ad47ec1d630c72a4bc498188e32cff5ec05dd685 # timeout=10 22:19:32 ------------------- 22:19:32 stable info: 22:19:32 ------------------- 22:19:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:19:32 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 22:19:32 Message: update stable to v1.0.227 22:19:33 ------------------- 22:19:33 experimental info: 22:19:33 ------------------- 22:19:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:19:33 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 22:19:33 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:19:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:19:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1109 [Pipeline] echo 22:19:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1109 [Pipeline] echo 22:19:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1109 [Pipeline] echo 22:19:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac [Pipeline] echo 22:19:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bef46ca [Pipeline] echo 22:19:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:19:34 + git rev-list -1 --merges bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac~1..bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac [Pipeline] echo 22:19:34 -----------> git rev-list -1 --merges bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac~1..bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac [false] [Pipeline] sh 22:19:34 + git log --format=format:%s -1 bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac [Pipeline] echo 22:19:34 ========================================================= 22:19:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:19:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:35 + git log --format=format:%s -1 bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac [Pipeline] echo 22:19:35 [semverPrep] GIT_COMMIT: bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac, Commit Message: fix: Make deep copy of MessageBus Optional map to avoid external adds [Pipeline] echo 22:19:35 [semverPrep] This is not a build commit. [Pipeline] sh 22:19:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:19:35 + grep -v github /etc/ssh/ssh_known_hosts 22:19:35 + [ -e /tmp/ssh_known_hosts ] 22:19:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:19:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:19:35 + sudo tee -a /etc/ssh/ssh_known_hosts 22:19:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:19:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:19:35 22:19:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:19:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:19:36 latest: Pulling from edgex-devops/py-git-semver 22:19:36 1fe172e4850f: Pulling fs layer 22:19:36 caf521ccaac6: Pulling fs layer 22:19:36 3ead6fa29328: Pulling fs layer 22:19:36 5c2a1cbceb83: Pulling fs layer 22:19:36 a8d5f1318db7: Pulling fs layer 22:19:36 c427282e49a2: Pulling fs layer 22:19:36 1827001aaf11: Pulling fs layer 22:19:36 0714d37db230: Pulling fs layer 22:19:36 ac28cf19c067: Pulling fs layer 22:19:36 ca983d60f3e2: Pulling fs layer 22:19:36 9f894cec8388: Pulling fs layer 22:19:36 1827001aaf11: Waiting 22:19:36 5c2a1cbceb83: Waiting 22:19:36 0714d37db230: Waiting 22:19:36 a8d5f1318db7: Waiting 22:19:36 ac28cf19c067: Waiting 22:19:36 c427282e49a2: Waiting 22:19:36 ca983d60f3e2: Waiting 22:19:36 9f894cec8388: Waiting 22:19:36 caf521ccaac6: Verifying Checksum 22:19:36 caf521ccaac6: Download complete 22:19:36 5c2a1cbceb83: Download complete 22:19:36 a8d5f1318db7: Download complete 22:19:36 3ead6fa29328: Verifying Checksum 22:19:36 3ead6fa29328: Download complete 22:19:36 c427282e49a2: Download complete 22:19:36 0714d37db230: Download complete 22:19:36 ac28cf19c067: Download complete 22:19:36 ca983d60f3e2: Verifying Checksum 22:19:36 ca983d60f3e2: Download complete 22:19:36 9f894cec8388: Download complete 22:19:36 1fe172e4850f: Verifying Checksum 22:19:36 1fe172e4850f: Download complete 22:19:36 1827001aaf11: Verifying Checksum 22:19:36 1827001aaf11: Download complete 22:19:37 1fe172e4850f: Pull complete 22:19:37 caf521ccaac6: Pull complete 22:19:38 3ead6fa29328: Pull complete 22:19:38 5c2a1cbceb83: Pull complete 22:19:38 a8d5f1318db7: Pull complete 22:19:38 c427282e49a2: Pull complete 22:19:40 1827001aaf11: Pull complete 22:19:40 0714d37db230: Pull complete 22:19:40 ac28cf19c067: Pull complete 22:19:40 ca983d60f3e2: Pull complete 22:19:40 9f894cec8388: Pull complete 22:19:40 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:19:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:19:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:19:40 prd-ubuntu20.04-docker-8c-8g-44775 does not seem to be running inside a container 22:19:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1109 -v /w/workspace/dry_app-functions-sdk-go_PR-1109:/w/workspace/dry_app-functions-sdk-go_PR-1109:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1109@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1109@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-devops/py-git-semver:latest cat 22:19:42 $ docker top 1e0739a58786b3b73f369cccbbecabbf022cbad9643c2819faa212fde6badc32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:19:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:42 [ssh-agent] Looking for ssh-agent implementation... 22:19:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:42 $ docker exec 1e0739a58786b3b73f369cccbbecabbf022cbad9643c2819faa212fde6badc32 ssh-agent 22:19:43 SSH_AUTH_SOCK=/tmp/ssh-wkEVKtQZBLfH/agent.35 22:19:43 SSH_AGENT_PID=41 22:19:43 Running ssh-add (command line suppressed) 22:19:43 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1109@tmp/private_key_8502588265181430238.key (/w/workspace/dry_app-functions-sdk-go_PR-1109@tmp/private_key_8502588265181430238.key) 22:19:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:43 + git tag --points-at HEAD [Pipeline] } 22:19:43 $ docker exec --env ******** --env ******** 1e0739a58786b3b73f369cccbbecabbf022cbad9643c2819faa212fde6badc32 ssh-agent -k 22:19:43 unset SSH_AUTH_SOCK; 22:19:43 unset SSH_AGENT_PID; 22:19:43 echo Agent pid 41 killed; 22:19:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:19:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:43 [ssh-agent] Looking for ssh-agent implementation... 22:19:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:43 $ docker exec 1e0739a58786b3b73f369cccbbecabbf022cbad9643c2819faa212fde6badc32 ssh-agent 22:19:43 SSH_AUTH_SOCK=/tmp/ssh-5sMH5slmbpvJ/agent.73 22:19:43 SSH_AGENT_PID=79 22:19:43 Running ssh-add (command line suppressed) 22:19:44 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1109@tmp/private_key_8371497764281311092.key (/w/workspace/dry_app-functions-sdk-go_PR-1109@tmp/private_key_8371497764281311092.key) 22:19:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:44 + git semver init 22:19:44 2022-05-09 22:19:44,642 [run_init] DEBUG init version:0.0.0 force:False 22:19:44 2022-05-09 22:19:44,643 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1109/.semver 22:19:44 2022-05-09 22:19:44,643 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1109/.semver 22:19:44 2022-05-09 22:19:44,643 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1109/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1109, universal_newlines=False, shell=None, istream=None) 22:19:46 2022-05-09 22:19:46,055 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1109/.git/info/exclude 22:19:46 2022-05-09 22:19:46,056 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1109/.semver/PR-1109 with force:False 22:19:46 2022-05-09 22:19:46,056 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1109/.semver/PR-1109 22:19:46 2022-05-09 22:19:46,060 [execute] INFO git cat-file --batch-check 22:19:46 2022-05-09 22:19:46,061 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1109/.semver, universal_newlines=False, shell=None, istream=) 22:19:46 2022-05-09 22:19:46,068 [execute] INFO git cat-file --batch 22:19:46 2022-05-09 22:19:46,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1109/.semver, universal_newlines=False, shell=None, istream=) 22:19:46 2022-05-09 22:19:46,074 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1109/.semver/PR-1109 22:19:46 0.0.0 [Pipeline] } 22:19:46 $ docker exec --env ******** --env ******** 1e0739a58786b3b73f369cccbbecabbf022cbad9643c2819faa212fde6badc32 ssh-agent -k 22:19:46 unset SSH_AUTH_SOCK; 22:19:46 unset SSH_AGENT_PID; 22:19:46 echo Agent pid 79 killed; 22:19:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:19:46 + git semver [Pipeline] } 22:19:47 $ docker stop --time=1 1e0739a58786b3b73f369cccbbecabbf022cbad9643c2819faa212fde6badc32 22:19:48 $ docker rm -f 1e0739a58786b3b73f369cccbbecabbf022cbad9643c2819faa212fde6badc32 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:19:49 Stashed 1 file(s) [Pipeline] echo 22:19:49 [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 22:19:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:19:49 ========================================================= 22:19:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:19:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:19:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:19:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:19:49 59bf1c3509f3: Pulling fs layer 22:19:49 666ba61612fd: Pulling fs layer 22:19:49 8ed8ca486205: Pulling fs layer 22:19:49 4fe6c5a15a65: Pulling fs layer 22:19:49 22a0e8bec74d: Pulling fs layer 22:19:49 ca2b28591e48: Pulling fs layer 22:19:49 a51346096db8: Pulling fs layer 22:19:49 daebc70d1ce1: Pulling fs layer 22:19:49 0e18a0eac166: Pulling fs layer 22:19:49 4fe6c5a15a65: Waiting 22:19:49 a51346096db8: Waiting 22:19:49 22a0e8bec74d: Waiting 22:19:49 ca2b28591e48: Waiting 22:19:49 0e18a0eac166: Waiting 22:19:49 8ed8ca486205: Verifying Checksum 22:19:49 8ed8ca486205: Download complete 22:19:49 666ba61612fd: Verifying Checksum 22:19:49 666ba61612fd: Download complete 22:19:49 22a0e8bec74d: Download complete 22:19:49 ca2b28591e48: Verifying Checksum 22:19:49 ca2b28591e48: Download complete 22:19:49 a51346096db8: Download complete 22:19:49 59bf1c3509f3: Download complete 22:19:49 daebc70d1ce1: Verifying Checksum 22:19:49 daebc70d1ce1: Download complete 22:19:49 59bf1c3509f3: Pull complete 22:19:49 666ba61612fd: Pull complete 22:19:50 8ed8ca486205: Pull complete 22:19:50 0e18a0eac166: Verifying Checksum 22:19:50 0e18a0eac166: Download complete 22:19:50 4fe6c5a15a65: Verifying Checksum 22:19:50 4fe6c5a15a65: Download complete 22:19:54 4fe6c5a15a65: Pull complete 22:19:54 22a0e8bec74d: Pull complete 22:19:54 ca2b28591e48: Pull complete 22:19:54 a51346096db8: Pull complete 22:19:54 daebc70d1ce1: Pull complete 22:19:57 0e18a0eac166: Pull complete 22:19:57 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:19:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:19:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 22:19:57 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 22:19:57 + docker inspect -f . ci-base-image-x86_64 22:19:57 . [Pipeline] withDockerContainer 22:19:57 prd-ubuntu20.04-docker-8c-8g-44775 does not seem to be running inside a container 22:19:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1109 -v /w/workspace/dry_app-functions-sdk-go_PR-1109:/w/workspace/dry_app-functions-sdk-go_PR-1109:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1109@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:19:59 $ docker top da5da482a3b538cbab423629fbdcfdf15878ef3d99ea2619edef3251032cea0c -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:00 + go version 22:20:00 go version go1.17.6 linux/amd64 [Pipeline] } 22:20:00 $ docker stop --time=1 da5da482a3b538cbab423629fbdcfdf15878ef3d99ea2619edef3251032cea0c 22:20:01 $ docker rm -f da5da482a3b538cbab423629fbdcfdf15878ef3d99ea2619edef3251032cea0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:20:01 + docker inspect -f . ci-base-image-x86_64 22:20:01 . [Pipeline] withDockerContainer 22:20:01 prd-ubuntu20.04-docker-8c-8g-44775 does not seem to be running inside a container 22:20:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1109 -v /w/workspace/dry_app-functions-sdk-go_PR-1109:/w/workspace/dry_app-functions-sdk-go_PR-1109:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1109@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:20:02 $ docker top 0f1350baaf0f233391b46897e5aada5349da732590b02844afec06dc332c16e2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:20:02 + make test 22:20:02 make -C ./app-service-template build 22:20:02 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1109/app-service-template' 22:20:02 go mod tidy -compat=1.17 22:20:02 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 22:20:02 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.27 22:20:02 go: downloading github.com/google/uuid v1.3.0 22:20:02 go: downloading github.com/stretchr/testify v1.7.1 22:20:02 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0-dev.20 22:20:02 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 22:20:02 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 22:20:02 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 22:20:02 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:20:02 go: downloading github.com/davecgh/go-spew v1.1.1 22:20:02 go: downloading github.com/pmezard/go-difflib v1.0.0 22:20:02 go: downloading github.com/stretchr/objx v0.1.1 22:20:02 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 22:20:02 go: downloading github.com/gorilla/mux v1.8.0 22:20:02 go: downloading github.com/hashicorp/go-multierror v1.1.1 22:20:02 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.8 22:20:02 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 22:20:02 go: downloading github.com/gorilla/websocket v1.4.2 22:20:02 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 22:20:02 go: downloading github.com/go-kit/log v0.2.0 22:20:02 go: downloading github.com/go-playground/validator/v10 v10.10.1 22:20:02 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 22:20:02 go: downloading github.com/mitchellh/copystructure v1.0.0 22:20:02 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 22:20:02 go: downloading github.com/pelletier/go-toml v1.9.4 22:20:02 go: downloading github.com/hashicorp/errwrap v1.0.0 22:20:02 go: downloading github.com/hashicorp/consul/api v1.9.1 22:20:02 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 22:20:02 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:20:02 go: downloading github.com/go-logfmt/logfmt v0.5.1 22:20:02 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:20:02 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:20:02 go: downloading github.com/pebbe/zmq4 v1.2.7 22:20:02 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:20:02 go: downloading github.com/x448/float16 v0.8.4 22:20:02 go: downloading github.com/go-playground/universal-translator v0.18.0 22:20:03 go: downloading github.com/leodido/go-urn v1.2.1 22:20:03 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 22:20:03 go: downloading golang.org/x/text v0.3.7 22:20:03 go: downloading github.com/go-playground/locales v0.14.0 22:20:03 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:20:03 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:20:03 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:20:03 go: downloading github.com/hashicorp/serf v0.9.5 22:20:03 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:20:03 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:20:03 go: downloading github.com/hashicorp/consul/sdk v0.8.0 22:20:03 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:20:03 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:20:03 go: downloading github.com/zeebo/errs v1.2.2 22:20:03 go: downloading google.golang.org/grpc v1.42.0 22:20:03 go: downloading github.com/onsi/ginkgo v1.10.1 22:20:03 go: downloading github.com/onsi/gomega v1.7.0 22:20:03 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 22:20:03 go: downloading github.com/fatih/color v1.9.0 22:20:03 go: downloading github.com/mattn/go-colorable v0.1.6 22:20:03 go: downloading github.com/mattn/go-isatty v0.0.12 22:20:03 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:20:03 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 22:20:03 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:20:03 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:20:03 go: downloading github.com/hashicorp/memberlist v0.2.2 22:20:03 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 22:20:03 go: downloading google.golang.org/protobuf v1.27.1 22:20:03 go: downloading github.com/pkg/errors v0.9.1 22:20:03 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 22:20:03 go: downloading github.com/golang/protobuf v1.5.2 22:20:03 go: downloading github.com/google/go-cmp v0.5.6 22:20:04 Still waiting to schedule task 22:20:04 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-44719’ 22:20:04 go: downloading github.com/kr/pretty v0.3.0 22:20:04 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:20:04 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:20:04 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:20:04 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:20:04 go: downloading github.com/miekg/dns v1.1.26 22:20:04 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:20:04 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:20:04 go: downloading github.com/hpcloud/tail v1.0.0 22:20:04 go: downloading gopkg.in/yaml.v2 v2.2.8 22:20:04 go: downloading github.com/kr/text v0.2.0 22:20:04 go: downloading github.com/rogpeppe/go-internal v1.8.0 22:20:04 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:20:04 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 22:20:04 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:20:04 go: downloading gopkg.in/fsnotify.v1 v1.4.7 22:20:05 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 22:20:23 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1109/app-service-template' 22:20:23 make -C ./app-service-template test 22:20:23 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1109/app-service-template' 22:20:23 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 22:20:38 ok new-app-service 0.058s coverage: 48.1% of statements 22:20:38 ? new-app-service/config [no test files] 22:20:38 ok new-app-service/functions 0.052s 22:20:38 CGO_ENABLED=1 go vet ./... 22:20:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:20:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:20:48 ./bin/test-attribution-txt.sh 22:20:48 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1109/app-service-template' 22:20:48 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:20:48 go: downloading github.com/gomodule/redigo v1.8.8 22:20:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.111s coverage: 63.7% of statements 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.059s coverage: 93.8% of statements 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.093s coverage: 76.5% of statements 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.081s coverage: 88.7% of statements 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.048s coverage: 100.0% of statements 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.394s coverage: 78.5% of statements 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.067s coverage: 97.3% of statements 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.068s coverage: 91.8% of statements 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.708s coverage: 81.4% of statements 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.101s coverage: 28.7% of statements 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.065s coverage: 14.0% of statements 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.067s coverage: 27.3% of statements 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:20:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:20:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.059s coverage: 51.4% of statements 22:21:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.155s coverage: 78.6% of statements 22:21:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.088s coverage: 94.4% of statements 22:21:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:21:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 22:21:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:21:27 $ docker stop --time=1 0f1350baaf0f233391b46897e5aada5349da732590b02844afec06dc332c16e2 22:21:29 $ docker rm -f 0f1350baaf0f233391b46897e5aada5349da732590b02844afec06dc332c16e2 [Pipeline] // withDockerContainer [Pipeline] sh 22:21:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:30 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 22:21:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:30 22:21:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:21:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:30 latest: Pulling from edgex-lftools-log-publisher 22:21:30 5eb5b503b376: Pulling fs layer 22:21:30 5c69ac0246d0: Pulling fs layer 22:21:30 ec43610c2a17: Pulling fs layer 22:21:30 3a2ae6a8a46f: Pulling fs layer 22:21:30 33b1e0a273af: Pulling fs layer 22:21:30 5d3b04190fa2: Pulling fs layer 22:21:30 2f39f015ded8: Pulling fs layer 22:21:30 3a2ae6a8a46f: Waiting 22:21:30 33b1e0a273af: Waiting 22:21:30 5d3b04190fa2: Waiting 22:21:30 2f39f015ded8: Waiting 22:21:30 5c69ac0246d0: Verifying Checksum 22:21:30 5c69ac0246d0: Download complete 22:21:30 3a2ae6a8a46f: Verifying Checksum 22:21:30 3a2ae6a8a46f: Download complete 22:21:31 33b1e0a273af: Verifying Checksum 22:21:31 33b1e0a273af: Download complete 22:21:31 5d3b04190fa2: Verifying Checksum 22:21:31 5d3b04190fa2: Download complete 22:21:31 ec43610c2a17: Verifying Checksum 22:21:31 ec43610c2a17: Download complete 22:21:31 5eb5b503b376: Verifying Checksum 22:21:31 5eb5b503b376: Download complete 22:21:31 2f39f015ded8: Verifying Checksum 22:21:31 2f39f015ded8: Download complete 22:21:32 5eb5b503b376: Pull complete 22:21:32 5c69ac0246d0: Pull complete 22:21:33 ec43610c2a17: Pull complete 22:21:33 3a2ae6a8a46f: Pull complete 22:21:33 33b1e0a273af: Pull complete 22:21:33 5d3b04190fa2: Pull complete 22:21:37 2f39f015ded8: Pull complete 22:21:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:21:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:21:37 prd-ubuntu20.04-docker-8c-8g-44775 does not seem to be running inside a container 22:21:37 $ 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-1109 -v /w/workspace/dry_app-functions-sdk-go_PR-1109:/w/workspace/dry_app-functions-sdk-go_PR-1109:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1109@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:21:39 $ docker top 98bf13c7b2b8bb347d90893041a7a86776b6ea76a9f881f36942687f62287f9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:40 ---> job-cost.sh 22:21:40 lf-activate-venv: SKIPPING 22:21:40 INFO: No Stack... 22:21:41 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:41 INFO: Archiving Costs [Pipeline] sh 22:21:41 + cat /w/workspace/dry_app-functions-sdk-go_PR-1109/archives/cost.csv 22:21:41 + cut -d, -f6 [Pipeline] lock 22:21:41 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1109-2-stack-cost] 22:21:41 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1109-2-stack-cost] did not exist. Created. 22:21:41 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1109-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:42 + echo total: 0.2199999988079071 [Pipeline] stash 22:21:42 Stashed 1 file(s) [Pipeline] } 22:21:42 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1109-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:42 $ docker stop --time=1 98bf13c7b2b8bb347d90893041a7a86776b6ea76a9f881f36942687f62287f9b 22:21:43 $ docker rm -f 98bf13c7b2b8bb347d90893041a7a86776b6ea76a9f881f36942687f62287f9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:22:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44777 in /w/workspace/dry_app-functions-sdk-go_PR-1109 [Pipeline] { [Pipeline] ws 22:22:45 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:22:45 The recommended git tool is: git 22:22:52 using credential edgex-jenkins-ssh 22:22:52 Cloning the remote Git repository 22:22:52 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:22:52 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 22:22:52 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:22:52 > git --version # timeout=10 22:22:52 > git --version # 'git version 2.25.1' 22:22:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:22:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:22:56 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:22:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:22:57 Merging remotes/origin/main commit c1e6a6422f729c76392bcb9de582997aba8400de into PR head commit bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:22:57 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:22:56 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:22:56 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:22:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:22:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1109/head:refs/remotes/origin/PR-1109 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:22:57 > git config core.sparsecheckout # timeout=10 22:22:57 > git checkout -f bef46ca7bab9f978e14b2ea61246cc3f2d4f0cac # timeout=10 22:22:57 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1109/archives ] 22:22:57 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1109/archives 22:22:57 total 16 22:22:57 drwxr-xr-x 3 root root 4096 May 9 22:21 . 22:22:57 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:21 .. 22:22:57 drwxr-xr-x 2 root root 4096 May 9 22:21 cost 22:22:57 -rw-r--r-- 1 root root 92 May 9 22:21 cost.csv 22:22:57 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1109/archives 22:22:57 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1109/archives 22:22:57 total 16 22:22:57 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:21 . 22:22:57 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:21 .. 22:22:57 drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:21 cost 22:22:57 -rw-r--r-- 1 jenkins jenkins 92 May 9 22:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:22:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:22:59 ---> package-listing.sh 22:22:59 ++ facter osfamily 22:22:59 ++ tr '[:upper:]' '[:lower:]' 22:22:59 + OS_FAMILY=debian 22:22:59 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1109 22:22:59 + START_PACKAGES=/tmp/packages_start.txt 22:22:59 + END_PACKAGES=/tmp/packages_end.txt 22:22:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:22:59 + PACKAGES=/tmp/packages_start.txt 22:22:59 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1109 ']' 22:22:59 + PACKAGES=/tmp/packages_end.txt 22:22:59 + case "${OS_FAMILY}" in 22:22:59 + dpkg -l 22:22:59 + grep '^ii' 22:22:59 + '[' -f /tmp/packages_start.txt ']' 22:22:59 + '[' -f /tmp/packages_end.txt ']' 22:22:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:22:59 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1109 ']' 22:22:59 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1109/archives/ 22:22:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1109/archives/ [Pipeline] echo 22:22:59 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-1109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:22:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:23:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:00 . [Pipeline] withDockerContainer 22:23:00 prd-ubuntu20.04-docker-8c-8g-44775 does not seem to be running inside a container 22:23:00 $ 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-1109/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-1109 -v /w/workspace/dry_app-functions-sdk-go_PR-1109:/w/workspace/dry_app-functions-sdk-go_PR-1109:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1109@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1109@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 22:23:00 $ docker top 46f95e2ef366ffb39af1d4e2ddfe4dd1f83fb27a15148393f19572a6c707668b -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:00 + touch /tmp/pre-build-complete [Pipeline] sh 22:23:01 + mkdir -p /var/log/sysstat [Pipeline] sh 22:23:01 + ls /var/log/sa-host 22:23:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:01 provisioning config files... 22:23:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1109@tmp/config5495151974070826336tmp [Pipeline] { [Pipeline] echo 22:23:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:23:02 ---> create-netrc.sh [Pipeline] } 22:23:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:23:02 ---> python-tools-install.sh [Pipeline] echo 22:23:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:23:02 ---> sudo-logs.sh 22:23:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:23:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:23:03 ---> job-cost.sh 22:23:03 lf-activate-venv: SKIPPING 22:23:03 DEBUG: total: 0.2199999988079071 22:23:03 INFO: Retrieving Stack Cost... 22:23:03 INFO: Retrieving Pricing Info for: v3-standard-8 22:23:03 INFO: Archiving Costs [Pipeline] echo 22:23:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:23:04 ---> logs-deploy.sh 22:23:04 lf-activate-venv: SKIPPING 22:23:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1109/2 22:23:04 INFO: archiving workspace using pattern(s): 22:23:05 Archives upload complete. 22:23:05 INFO: archiving logs to Nexus